diff --git a/apps/reference/_supabase_js/migration-guide.md b/apps/reference/_supabase_js/migration-guide.md new file mode 100644 index 0000000000..e483c0f7e0 --- /dev/null +++ b/apps/reference/_supabase_js/migration-guide.md @@ -0,0 +1,7 @@ +--- +id: migration-guide +--- + +# Migration Guide + +Migrating from v1 to v2. diff --git a/apps/reference/_supabase_js/usage.mdx b/apps/reference/_supabase_js/usage/usage.mdx similarity index 100% rename from apps/reference/_supabase_js/usage.mdx rename to apps/reference/_supabase_js/usage/usage.mdx diff --git a/apps/reference/_supabase_js_versioned_docs/version-v1/intro.md b/apps/reference/_supabase_js_versioned_docs/version-v1/intro.md index 29e116d8e0..904e066a3b 100644 --- a/apps/reference/_supabase_js_versioned_docs/version-v1/intro.md +++ b/apps/reference/_supabase_js_versioned_docs/version-v1/intro.md @@ -4,6 +4,7 @@ slug: / sidebar_label: Supabase JavaScript Library --- -# Supabase JavaScript Library +You're viewing the documentation for supabase-js v1. View the latest docs here: -Some docs +- [Latest docs.](/docs/reference/javascript/) +- [Migration Guide.](/docs/reference/javascript/migration-guide) diff --git a/apps/reference/_supabase_js_versioned_sidebars/version-v1-sidebars.json b/apps/reference/_supabase_js_versioned_sidebars/version-v1-sidebars.json index d71f452ac2..42b51fd795 100644 --- a/apps/reference/_supabase_js_versioned_sidebars/version-v1-sidebars.json +++ b/apps/reference/_supabase_js_versioned_sidebars/version-v1-sidebars.json @@ -3,8 +3,7 @@ { "type": "category", "label": "Getting Started", - "link": { "type": "doc", "id": "intro" }, - "items": ["installing", "initializing", "generating-types"], + "items": ["intro", "installing", "initializing", "generating-types"], "collapsed": false }, { diff --git a/apps/reference/nav/supabase_js_sidebars.js b/apps/reference/nav/supabase_js_sidebars.js index 6560a74883..22af969dde 100644 --- a/apps/reference/nav/supabase_js_sidebars.js +++ b/apps/reference/nav/supabase_js_sidebars.js @@ -17,9 +17,18 @@ const sidebars = { // tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], sidebar: [ - 'intro', - 'usage', - 'release-notes', + { + type: 'category', + label: 'Getting Started', + items: ['intro', 'migration-guide', 'release-notes'], + collapsed: false, + }, + { + type: 'category', + label: 'Usage', + items: ['usage/usage'], + collapsed: false, + }, // { // type: "category", // label: "Release Notes", diff --git a/apps/reference/package-lock.json b/apps/reference/package-lock.json index 357e2332a1..7c04cdc9ad 100644 --- a/apps/reference/package-lock.json +++ b/apps/reference/package-lock.json @@ -13,10 +13,12 @@ "@kiwicopple/prism-react-renderer": "github:kiwicopple/prism-react-renderer", "@mdx-js/react": "^1.6.22", "clsx": "^1.2.1", + "docusaurus-plugin-sass": "^0.2.2", "docusaurus-theme-search-typesense": "^0.5.3", "prism-react-renderer": "^1.3.5", "react": "^17.0.2", - "react-dom": "^17.0.2" + "react-dom": "^17.0.2", + "sass": "^1.54.4" }, "devDependencies": { "@docusaurus/module-type-aliases": "2.0.0-rc.1" @@ -5575,6 +5577,18 @@ "node": ">=6" } }, + "node_modules/docusaurus-plugin-sass": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/docusaurus-plugin-sass/-/docusaurus-plugin-sass-0.2.2.tgz", + "integrity": "sha512-ZZBpj3PrhGpYE2kAnkZB9NRwy/CDi4rGun1oec6PYR8YvGzqxYGtXvLgHi6FFbu8/N483klk8udqyYMh6Ted+A==", + "dependencies": { + "sass-loader": "^10.1.1" + }, + "peerDependencies": { + "@docusaurus/core": "^2.0.0-beta", + "sass": "^1.30.0" + } + }, "node_modules/docusaurus-theme-search-typesense": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/docusaurus-theme-search-typesense/-/docusaurus-theme-search-typesense-0.5.3.tgz", @@ -7415,6 +7429,11 @@ "url": "https://opencollective.com/immer" } }, + "node_modules/immutable": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.1.0.tgz", + "integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==" + }, "node_modules/import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -10693,6 +10712,75 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, + "node_modules/sass": { + "version": "1.54.4", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.4.tgz", + "integrity": "sha512-3tmF16yvnBwtlPrNBHw/H907j8MlOX8aTBnlNX1yrKx24RKcJGPyLhFUwkoKBKesR3unP93/2z14Ll8NicwQUA==", + "dependencies": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + }, + "bin": { + "sass": "sass.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/sass-loader": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.3.1.tgz", + "integrity": "sha512-y2aBdtYkbqorVavkC3fcJIUDGIegzDWPn3/LAFhsf3G+MzPKTJx37sROf5pXtUeggSVbNbmfj8TgRaSLMelXRA==", + "dependencies": { + "klona": "^2.0.4", + "loader-utils": "^2.0.0", + "neo-async": "^2.6.2", + "schema-utils": "^3.0.0", + "semver": "^7.3.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + }, + "peerDependencies": { + "fibers": ">= 3.1.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0", + "sass": "^1.3.0", + "webpack": "^4.36.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "fibers": { + "optional": true + }, + "node-sass": { + "optional": true + }, + "sass": { + "optional": true + } + } + }, + "node_modules/sass-loader/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/webpack" + } + }, "node_modules/sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", @@ -15026,7 +15114,7 @@ }, "@kiwicopple/prism-react-renderer": { "version": "git+ssh://git@github.com/kiwicopple/prism-react-renderer.git#4a09100a587bce2d94d7ac8ed3564a61c6e70781", - "from": "@kiwicopple/prism-react-renderer@https://github.com/kiwicopple/prism-react-renderer.git", + "from": "@kiwicopple/prism-react-renderer@github:kiwicopple/prism-react-renderer", "requires": { "prismjs": "^1.22.0" } @@ -17023,6 +17111,14 @@ "@leichtgewicht/ip-codec": "^2.0.1" } }, + "docusaurus-plugin-sass": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/docusaurus-plugin-sass/-/docusaurus-plugin-sass-0.2.2.tgz", + "integrity": "sha512-ZZBpj3PrhGpYE2kAnkZB9NRwy/CDi4rGun1oec6PYR8YvGzqxYGtXvLgHi6FFbu8/N483klk8udqyYMh6Ted+A==", + "requires": { + "sass-loader": "^10.1.1" + } + }, "docusaurus-theme-search-typesense": { "version": "0.5.3", "resolved": "https://registry.npmjs.org/docusaurus-theme-search-typesense/-/docusaurus-theme-search-typesense-0.5.3.tgz", @@ -18394,6 +18490,11 @@ "resolved": "https://registry.npmjs.org/immer/-/immer-9.0.15.tgz", "integrity": "sha512-2eB/sswms9AEUSkOm4SbV5Y7Vmt/bKRwByd52jfLkW4OLYeaTP3EEiJ9agqU0O/tq6Dk62Zfj+TJSqfm1rLVGQ==" }, + "immutable": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.1.0.tgz", + "integrity": "sha512-oNkuqVTA8jqG1Q6c+UglTOD1xhC1BtjKI7XkCXRkZHrN5m18/XsnUp8Q89GkQO/z+0WjonSvl0FLhDYftp46nQ==" + }, "import-fresh": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", @@ -20686,6 +20787,40 @@ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, + "sass": { + "version": "1.54.4", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.54.4.tgz", + "integrity": "sha512-3tmF16yvnBwtlPrNBHw/H907j8MlOX8aTBnlNX1yrKx24RKcJGPyLhFUwkoKBKesR3unP93/2z14Ll8NicwQUA==", + "requires": { + "chokidar": ">=3.0.0 <4.0.0", + "immutable": "^4.0.0", + "source-map-js": ">=0.6.2 <2.0.0" + } + }, + "sass-loader": { + "version": "10.3.1", + "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-10.3.1.tgz", + "integrity": "sha512-y2aBdtYkbqorVavkC3fcJIUDGIegzDWPn3/LAFhsf3G+MzPKTJx37sROf5pXtUeggSVbNbmfj8TgRaSLMelXRA==", + "requires": { + "klona": "^2.0.4", + "loader-utils": "^2.0.0", + "neo-async": "^2.6.2", + "schema-utils": "^3.0.0", + "semver": "^7.3.2" + }, + "dependencies": { + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + } + } + }, "sax": { "version": "1.2.4", "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", diff --git a/spec/supabase_js_v2_sdk/combined.json b/spec/supabase_js_v2_sdk/combined.json index e69de29bb2..0ba764d1d1 100644 --- a/spec/supabase_js_v2_sdk/combined.json +++ b/spec/supabase_js_v2_sdk/combined.json @@ -0,0 +1,72717 @@ +{ + "id": 0, + "name": "@supabase/supabase-js", + "kind": 1, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "index", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 823, + "name": "Session", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 203 + }, + { + "id": 335, + "name": "SupabaseClientOptions", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 14, + "character": 14 + } + ], + "target": 133 + }, + { + "id": 336, + "name": "SupabaseRealtimePayload", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 14, + "character": 37 + } + ], + "target": 150 + }, + { + "id": 835, + "name": "User", + "kind": 16777216, + "kindString": "Reference", + "flags": {}, + "target": 175 + }, + { + "id": 1194, + "name": "Transformers", + "kind": 4, + "kindString": "Namespace", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1195, + "name": "PostgresTypes", + "kind": 8, + "kindString": "Enumeration", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Helpers to convert the change Payload into native JS types." + }, + "children": [ + { + "id": 1196, + "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": 1197, + "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": 1198, + "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": 1199, + "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": 1200, + "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": 1201, + "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": 1202, + "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": 1203, + "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": 1204, + "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": 1205, + "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": 1206, + "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": 1207, + "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": 1208, + "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": 1209, + "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": 1210, + "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": 1211, + "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": 1212, + "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": 1213, + "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": 1214, + "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": 1215, + "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": 1216, + "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": 1217, + "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": 1218, + "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": 1219, + "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": [ + 1196, + 1197, + 1198, + 1199, + 1200, + 1201, + 1202, + 1203, + 1204, + 1205, + 1206, + 1207, + 1208, + 1209, + 1210, + 1211, + 1212, + 1213, + 1214, + 1215, + 1216, + 1217, + 1218, + 1219 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 4, + "character": 20 + } + ] + }, + { + "id": 1233, + "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": 1234, + "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": 1235, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A postgres column type" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1236, + "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": 1220, + "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": 1221, + "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": 1222, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Columns", + "package": "@supabase/realtime-js", + "name": "Columns" + } + }, + { + "id": 1223, + "name": "record", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": {}, + "type": { + "type": "reference", + "qualifiedName": "Record", + "package": "@supabase/realtime-js", + "name": "Record" + } + }, + { + "id": 1224, + "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": 1225, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1226, + "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": [ + 1226 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "qualifiedName": "Record", + "package": "@supabase/realtime-js", + "name": "Record" + } + } + ] + }, + { + "id": 1227, + "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": 1228, + "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": 1229, + "name": "columnName", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The column that you want to convert" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1230, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Columns", + "package": "@supabase/realtime-js", + "name": "Columns" + } + }, + { + "id": 1231, + "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": 1232, + "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": 1246, + "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": 1247, + "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": 1248, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RecordValue", + "package": "@supabase/realtime-js", + "name": "RecordValue" + } + }, + { + "id": 1249, + "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": 1237, + "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": 1238, + "name": "toBoolean", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1239, + "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": 1243, + "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": 1244, + "name": "toJson", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1245, + "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": 1240, + "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": 1241, + "name": "toNumber", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1242, + "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": 1250, + "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": 1251, + "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": 1252, + "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": [ + 1195 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 1233, + 1220, + 1227, + 1246, + 1237, + 1243, + 1240, + 1250 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/lib/transformers.d.ts", + "line": 4, + "character": 0 + } + ] + }, + { + "id": 337, + "name": "GoTrueApi", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 338, + "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": 339, + "name": "new GoTrueApi", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 340, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 341, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 347, + "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": 860, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + } + }, + { + "id": 348, + "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": 349, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 350, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 351, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 352, + "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": 343, + "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": 344, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 345, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 346, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 342, + "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": [ + 347, + 348, + 343, + 342 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 337, + "qualifiedName": "GoTrueApi", + "package": "@supabase/gotrue-js", + "name": "default" + } + } + ] + }, + { + "id": 364, + "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": 365, + "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": 358, + "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": 860, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + } + }, + { + "id": 359, + "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": 360, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 361, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 362, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 363, + "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": 354, + "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": 355, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 356, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 357, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 353, + "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": 581, + "name": "createUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 298, + "character": 4 + } + ], + "signatures": [ + { + "id": 582, + "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": 583, + "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": 842, + "qualifiedName": "AdminUserAttributes", + "package": "@supabase/gotrue-js", + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 584, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 586, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 300, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 587, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 301, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 585, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 299, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 586, + 587, + 585 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 588, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 590, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 304, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 591, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 305, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 589, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 303, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 590, + 591, + 589 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 552, + "name": "deleteAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 259, + "character": 4 + } + ], + "signatures": [ + { + "id": 553, + "name": "deleteAuthCookie", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Deletes the Auth Cookies and redirects to the" + }, + "parameters": [ + { + "id": 554, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The request object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 555, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The response object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 556, + "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": 557, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 558, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 260, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 558 + ] + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 633, + "name": "deleteUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 369, + "character": 4 + } + ], + "signatures": [ + { + "id": 634, + "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": 635, + "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": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 636, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 638, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 371, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 637, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 370, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 638, + 637 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 639, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 641, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 374, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 640, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 373, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 641, + 640 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 563, + "name": "generateLink", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 277, + "character": 4 + } + ], + "signatures": [ + { + "id": 564, + "name": "generateLink", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Generates links to be sent via email or other." + }, + "parameters": [ + { + "id": 565, + "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": 566, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The user's email." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 567, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 568, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 570, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 279, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 569, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 278, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 571, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 280, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 570, + 569, + 571 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 572, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 573, + "name": "data", + "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": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 574, + "name": "error", + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 573, + 574 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 575, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 576, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 285, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 577, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 286, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 576, + 577 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 578, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 579, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 288, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 580, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 289, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 579, + 580 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 559, + "name": "getAuthCookieString", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 268, + "character": 4 + } + ], + "signatures": [ + { + "id": 560, + "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": 561, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The request object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 562, + "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": 366, + "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": 367, + "name": "getUrlForProvider", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Generates the relevant login URL for a third-party provider." + }, + "parameters": [ + { + "id": 368, + "name": "provider", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "One of the providers supported by GoTrue." + }, + "type": { + "type": "reference", + "id": 803, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 369, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 370, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 373, + "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": 374, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 375, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 376, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 371, + "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": 372, + "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": [ + 373, + 371, + 372 + ] + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 642, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 385, + "character": 4 + } + ], + "signatures": [ + { + "id": 643, + "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 user\n" + }, + "parameters": [ + { + "id": 644, + "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": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 645, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 647, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 387, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 646, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 386, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 647, + 646 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 648, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 650, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 390, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 649, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 389, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 650, + 649 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 609, + "name": "getUserByCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 337, + "character": 4 + } + ], + "signatures": [ + { + "id": 610, + "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": 611, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 612, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 613, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 616, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 340, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + }, + { + "id": 617, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 341, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 614, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 338, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 615, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 339, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 616, + 617, + 614, + 615 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 618, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 621, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 345, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + }, + { + "id": 622, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 346, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 619, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 343, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 620, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 344, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 621, + 622, + 619, + 620 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 600, + "name": "getUserById", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 326, + "character": 4 + } + ], + "signatures": [ + { + "id": 601, + "name": "getUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Get user by id." + }, + "parameters": [ + { + "id": 602, + "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": 603, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 605, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 328, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 604, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 327, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 605, + 604 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 606, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 608, + "name": "error", + "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": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 607, + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 608, + 607 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 512, + "name": "inviteUserByEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 210, + "character": 4 + } + ], + "signatures": [ + { + "id": 513, + "name": "inviteUserByEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sends an invite link to an email address." + }, + "parameters": [ + { + "id": 514, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 515, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 516, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 518, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 212, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 517, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 211, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 518, + 517 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 519, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 521, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 215, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 520, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 214, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 521, + 520 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 522, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 524, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 218, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 523, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 217, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 524, + 523 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 592, + "name": "listUsers", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 312, + "character": 4 + } + ], + "signatures": [ + { + "id": 593, + "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": 594, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 596, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 314, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 595, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 313, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 596, + 595 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 597, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 599, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 317, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 598, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 316, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 599, + 598 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 539, + "name": "refreshAccessToken", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 239, + "character": 4 + } + ], + "signatures": [ + { + "id": 540, + "name": "refreshAccessToken", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Generates a new JWT." + }, + "parameters": [ + { + "id": 541, + "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": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 542, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 544, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 241, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 543, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 240, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 544, + 543 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 545, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 547, + "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", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 546, + "name": "session", + "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 + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 547, + 546 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 525, + "name": "resetPasswordForEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 225, + "character": 4 + } + ], + "signatures": [ + { + "id": 526, + "name": "resetPasswordForEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sends a reset request to an email address." + }, + "parameters": [ + { + "id": 527, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 528, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 529, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 531, + "name": "captchaToken", + "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": 530, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 226, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 531, + 530 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 532, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 533, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 229, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 534, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + } + } + } + }, + { + "id": 535, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 230, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 533, + 535 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 536, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 537, + "name": "data", + "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": "literal", + "value": null + } + }, + { + "id": 538, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 233, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 537, + 538 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 447, + "name": "sendMagicLinkEmail", + "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": 448, + "name": "sendMagicLinkEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Sends a magic login link to an email address." + }, + "parameters": [ + { + "id": 449, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 450, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 451, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 454, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 136, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 453, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 135, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 452, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 134, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 454, + 453, + 452 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 455, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 456, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 138, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 457, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + } + } + } + }, + { + "id": 458, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 139, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 456, + 458 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 459, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 460, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 141, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 461, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 142, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 460, + 461 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 462, + "name": "sendMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 149, + "character": 4 + } + ], + "signatures": [ + { + "id": 463, + "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": 464, + "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": 465, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 466, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 468, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 151, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 467, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 150, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 468, + 467 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 469, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 470, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 153, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 471, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + } + } + } + }, + { + "id": 472, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 154, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 470, + 472 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 473, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 474, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 156, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 475, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 157, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 474, + 475 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 548, + "name": "setAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 252, + "character": 4 + } + ], + "signatures": [ + { + "id": 549, + "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": 550, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The request object." + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 551, + "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": 395, + "name": "signInWithEmail", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 69, + "character": 4 + } + ], + "signatures": [ + { + "id": 396, + "name": "signInWithEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Logs in an existing user using their email address." + }, + "parameters": [ + { + "id": 397, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 398, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 399, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 400, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 401, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 70, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 401 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 402, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 403, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 72, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 404, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 73, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 403, + 404 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 405, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 406, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 75, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 407, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 76, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 406, + 407 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 438, + "name": "signInWithOpenIDConnect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 120, + "character": 4 + } + ], + "signatures": [ + { + "id": 439, + "name": "signInWithOpenIDConnect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Logs in an OpenID Connect user using their id_token." + }, + "parameters": [ + { + "id": 440, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 919, + "qualifiedName": "OpenIDConnectCredentials", + "package": "@supabase/gotrue-js", + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 441, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 443, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 122, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 442, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 121, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 443, + 442 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 444, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 446, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 125, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 445, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 124, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 446, + 445 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 425, + "name": "signInWithPhone", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 103, + "character": 4 + } + ], + "signatures": [ + { + "id": 426, + "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": 427, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The phone number of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 428, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 429, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 430, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 431, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 104, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 431 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 432, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 434, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 107, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 433, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 106, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 434, + 433 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 435, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 437, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 110, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 436, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 109, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 437, + 436 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 476, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 163, + "character": 4 + } + ], + "signatures": [ + { + "id": 477, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Removes a logged-in session." + }, + "parameters": [ + { + "id": 478, + "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": 479, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 480, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 164, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 480 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 377, + "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": 378, + "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": 379, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The email address of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 380, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 381, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 382, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 385, + "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": 384, + "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": 383, + "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": [ + 385, + 384, + 383 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 386, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 387, + "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": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 388, + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 387, + 388 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 390, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 391, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 58, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 390, + 391 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 392, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 393, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 60, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 394, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 61, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 393, + 394 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 408, + "name": "signUpWithPhone", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 84, + "character": 4 + } + ], + "signatures": [ + { + "id": 409, + "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": 410, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The phone number of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 411, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The password of the user." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 412, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 413, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 415, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 86, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 414, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 85, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 415, + 414 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 416, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 417, + "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": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 418, + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 417, + 418 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 419, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 420, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 91, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 421, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 92, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 420, + 421 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 422, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 423, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 94, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 424, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 95, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 423, + 424 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 651, + "name": "updateUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 397, + "character": 4 + } + ], + "signatures": [ + { + "id": 652, + "name": "updateUser", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Updates the user data." + }, + "parameters": [ + { + "id": 653, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A valid, logged-in JWT." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 654, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The data you want to update.\n" + }, + "type": { + "type": "reference", + "id": 836, + "qualifiedName": "UserAttributes", + "package": "@supabase/gotrue-js", + "name": "UserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 655, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 657, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 399, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 656, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 398, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 657, + 656 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 658, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 660, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 402, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 659, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 401, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 660, + 659 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 623, + "name": "updateUserById", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 355, + "character": 4 + } + ], + "signatures": [ + { + "id": 624, + "name": "updateUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Updates the user data." + }, + "parameters": [ + { + "id": 625, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 626, + "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": 842, + "qualifiedName": "AdminUserAttributes", + "package": "@supabase/gotrue-js", + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 627, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 629, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 357, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 628, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 356, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 629, + 628 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 630, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 632, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 360, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 631, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 359, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 632, + 631 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 481, + "name": "verifyMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 172, + "character": 4 + } + ], + "signatures": [ + { + "id": 482, + "name": "verifyMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `verifyOTP` instead!" + } + ] + }, + "parameters": [ + { + "id": 483, + "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": 484, + "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": 485, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 486, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 487, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 173, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 487 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 488, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 489, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 175, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 490, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 176, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 489, + 490 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 491, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 492, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 178, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 493, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 179, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 492, + 493 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 494, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 495, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 181, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 496, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 182, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 495, + 496 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 497, + "name": "verifyOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 192, + "character": 4 + } + ], + "signatures": [ + { + "id": 498, + "name": "verifyOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Send User supplied Email / Mobile OTP to be verified" + }, + "parameters": [ + { + "id": 499, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 906, + "qualifiedName": "VerifyOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyOTPParams" + } + }, + { + "id": 500, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 501, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 502, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 193, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 502 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 503, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 504, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 195, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + }, + { + "id": 505, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 196, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 504, + 505 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 506, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 507, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 198, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + }, + { + "id": 508, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 199, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 507, + 508 + ] + } + ] + } + }, + { + "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": 201, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 511, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 202, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 510, + 511 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 338 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 364, + 365, + 358, + 359, + 354, + 353 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 581, + 552, + 633, + 563, + 559, + 366, + 642, + 609, + 600, + 512, + 592, + 539, + 525, + 447, + 462, + 548, + 395, + 438, + 425, + 476, + 377, + 408, + 651, + 623, + 481, + 497 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueApi.d.ts", + "line": 4, + "character": 21 + } + ] + }, + { + "id": 661, + "name": "GoTrueClient", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 662, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 44, + "character": 4 + } + ], + "signatures": [ + { + "id": 663, + "name": "new GoTrueClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Create a new client for use in the browser." + }, + "parameters": [ + { + "id": 664, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 665, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 673, + "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": 51, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 677, + "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": 55, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + } + }, + { + "id": 672, + "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": 50, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 678, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 56, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 679, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 680, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "A custom fetch implementation.\n" + }, + "parameters": [ + { + "id": 681, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 682, + "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": 667, + "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": 46, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 668, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 669, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 670, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 675, + "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": 53, + "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": 676, + "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": 54, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 674, + "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. If set to false, session will just be saved in memory." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 671, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "shortText": "Optional key name used for storing tokens in local storage" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 666, + "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": 45, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 673, + 677, + 672, + 678, + 667, + 675, + 676, + 674, + 671, + 666 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 661, + "qualifiedName": "GoTrueClient", + "package": "@supabase/gotrue-js", + "name": "default" + } + } + ] + }, + { + "id": 796, + "name": "_callRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 206, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 790, + "name": "_handleEmailSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 192, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 793, + "name": "_handleOpenIDConnectSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 195, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 791, + "name": "_handlePhoneSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 193, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 792, + "name": "_handleProviderSignIn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 194, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 802, + "name": "_handleVisibilityChange", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 220, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 797, + "name": "_notifyAllSubscribers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 207, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 799, + "name": "_persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 213, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 795, + "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": 205, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 794, + "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": 200, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 800, + "name": "_removeSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 214, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 798, + "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": 212, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 801, + "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": 219, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 683, + "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": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 337, + "qualifiedName": "GoTrueApi", + "package": "@supabase/gotrue-js", + "name": "default" + } + }, + { + "id": 686, + "name": "autoRefreshToken", + "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": 685, + "name": "inMemorySession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "comment": { + "shortText": "The session object for the currently logged in user or null.\nOnly used if persistSession is false." + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 20, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + ] + } + }, + { + "id": 688, + "name": "localStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 23, + "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": 691, + "name": "networkRetries", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 26, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 687, + "name": "persistSession", + "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": "intrinsic", + "name": "boolean" + } + }, + { + "id": 690, + "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": 25, + "character": 14 + } + ], + "type": { + "type": "reference", + "qualifiedName": "global.NodeJS.Timeout", + "package": "@types/node", + "name": "Timeout" + } + }, + { + "id": 692, + "name": "refreshingDeferred", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 27, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 693, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 695, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 29, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 694, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 28, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 695, + 694 + ] + } + ] + } + } + ], + "qualifiedName": "Deferred", + "package": "@supabase/gotrue-js", + "name": "Deferred" + } + ] + } + }, + { + "id": 689, + "name": "stateChangeEmitters", + "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": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 852, + "qualifiedName": "Subscription", + "package": "@supabase/gotrue-js", + "name": "Subscription" + } + ], + "qualifiedName": "Map", + "package": "typescript", + "name": "Map" + } + }, + { + "id": 684, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isExternal": true + }, + "comment": { + "shortText": "The storage key used to identity the values saved in localStorage" + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 15, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 719, + "name": "getSession", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 112, + "character": 4 + } + ], + "signatures": [ + { + "id": 720, + "name": "getSession", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the session data, refreshing it if necessary." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 721, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 723, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 114, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 722, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 113, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 723, + 722 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 724, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 726, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 117, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 725, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 116, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 726, + 725 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 727, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 729, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 120, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 728, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 119, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 729, + 728 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 762, + "name": "getSessionFromUrl", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 163, + "character": 4 + } + ], + "signatures": [ + { + "id": 763, + "name": "getSessionFromUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Gets the session data from a URL string" + }, + "parameters": [ + { + "id": 764, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 765, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 766, + "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": 164, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 766 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 767, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 769, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 167, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 768, + "name": "session", + "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": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 769, + 768 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 770, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 772, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 170, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 771, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 169, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 772, + 771 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 730, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 125, + "character": 4 + } + ], + "signatures": [ + { + "id": 731, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the user data, refreshing the session if necessary." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 732, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 734, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 127, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 733, + "name": "user", + "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": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 734, + 733 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 735, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 737, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 130, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 736, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 129, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 737, + 736 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 738, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 740, + "name": "error", + "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": "literal", + "value": null + } + }, + { + "id": 739, + "name": "user", + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 740, + 739 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 777, + "name": "onAuthStateChange", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 185, + "character": 4 + } + ], + "signatures": [ + { + "id": 778, + "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": 779, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 780, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 781, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 782, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 804, + "qualifiedName": "AuthChangeEvent", + "package": "@supabase/gotrue-js", + "name": "AuthChangeEvent" + } + }, + { + "id": 783, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 784, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 786, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 187, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 785, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 186, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 852, + "qualifiedName": "Subscription", + "package": "@supabase/gotrue-js", + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 786, + 785 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 787, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 789, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 190, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 788, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 189, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 789, + 788 + ] + } + ] + } + } + ] + } + } + ] + }, + { + "id": 750, + "name": "setSession", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 149, + "character": 4 + } + ], + "signatures": [ + { + "id": 751, + "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": 752, + "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": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 753, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 755, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 151, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 754, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 150, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 755, + 754 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 756, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 758, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 154, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 757, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 153, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 758, + 757 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 759, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 761, + "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": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 760, + "name": "session", + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 761, + 760 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 707, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 89, + "character": 4 + } + ], + "signatures": [ + { + "id": 708, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Log in an existing user via a third-party provider." + }, + "parameters": [ + { + "id": 709, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 895, + "qualifiedName": "SignInWithOAuthCredentials", + "package": "@supabase/gotrue-js", + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 814, + "qualifiedName": "OAuthResponse", + "package": "@supabase/gotrue-js", + "name": "OAuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 710, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 97, + "character": 4 + } + ], + "signatures": [ + { + "id": 711, + "name": "signInWithOtp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Passwordless method for logging in an existing user." + }, + "parameters": [ + { + "id": 712, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 884, + "qualifiedName": "SignInWithPasswordlessCredentials", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordlessCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 805, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 704, + "name": "signInWithPassword", + "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": 705, + "name": "signInWithPassword", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Log in an existing user, or login via a third-party provider." + }, + "parameters": [ + { + "id": 706, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 873, + "qualifiedName": "SignInWithPasswordCredentials", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 805, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 773, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 178, + "character": 4 + } + ], + "signatures": [ + { + "id": 774, + "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 revoke all refresh tokens for a user by passing a user's JWT through to `auth.api.signOut(JWT: string)`. There is no way to revoke a user's session JWT before it automatically expires\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 775, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 776, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 179, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 776 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 696, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 67, + "character": 4 + } + ], + "signatures": [ + { + "id": 697, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Creates a new user." + }, + "parameters": [ + { + "id": 698, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 866, + "qualifiedName": "UserCredentials", + "package": "@supabase/gotrue-js", + "name": "UserCredentials" + } + }, + { + "id": 699, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 700, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 703, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 70, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 702, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 69, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 701, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 68, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 703, + 702, + 701 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 805, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 741, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 138, + "character": 4 + } + ], + "signatures": [ + { + "id": 742, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Updates user data, if there is a logged in user." + }, + "parameters": [ + { + "id": 743, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 836, + "qualifiedName": "UserAttributes", + "package": "@supabase/gotrue-js", + "name": "UserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 744, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 746, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 140, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 745, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 139, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 746, + 745 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 747, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 749, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 143, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 748, + "name": "user", + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 749, + 748 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 713, + "name": "verifyOTP", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 106, + "character": 4 + } + ], + "signatures": [ + { + "id": 714, + "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": 715, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 906, + "qualifiedName": "VerifyOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyOTPParams" + } + }, + { + "id": 716, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 717, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 718, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 107, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 718 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 805, + "qualifiedName": "AuthResponse", + "package": "@supabase/gotrue-js", + "name": "AuthResponse" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 662 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 796, + 790, + 793, + 791, + 792, + 802, + 797, + 799, + 795, + 794, + 800, + 798, + 801, + 683, + 686, + 685, + 688, + 691, + 687, + 690, + 692, + 689, + 684 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 719, + 762, + 730, + 777, + 750, + 707, + 710, + 704, + 773, + 696, + 741, + 713 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 6, + "character": 21 + } + ] + }, + { + "id": 1043, + "name": "RealtimeChannel", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1045, + "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": 1046, + "name": "new RealtimeChannel", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1047, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1048, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1049, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1050, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1051, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1052, + "name": "socket", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 926, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1059, + "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": 1063, + "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": 1062, + "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": 1054, + "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": 1055, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1056, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1057, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1066, + "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": 1143, + "qualifiedName": "RealtimePresence", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1065, + "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": 1064, + "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": 1058, + "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": 926, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1061, + "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": 1060, + "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": 1053, + "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": 1044, + "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": 76, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1093, + "name": "canPush", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 42, + "character": 4 + } + ], + "signatures": [ + { + "id": 1094, + "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": 1133, + "name": "isClosed", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 71, + "character": 4 + } + ], + "signatures": [ + { + "id": 1134, + "name": "isClosed", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1135, + "name": "isErrored", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 72, + "character": 4 + } + ], + "signatures": [ + { + "id": 1136, + "name": "isErrored", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1137, + "name": "isJoined", + "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": 1138, + "name": "isJoined", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1139, + "name": "isJoining", + "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": 1140, + "name": "isJoining", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1141, + "name": "isLeaving", + "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": 1142, + "name": "isLeaving", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1117, + "name": "isMember", + "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": 1118, + "name": "isMember", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1119, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 1120, + "name": "joinRef", + "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": 1121, + "name": "joinRef", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1086, + "name": "off", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 36, + "character": 4 + } + ], + "signatures": [ + { + "id": 1087, + "name": "off", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1088, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1089, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1090, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1091, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1092, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1078, + "name": "on", + "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": 1079, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1080, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1081, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1082, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1083, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1084, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 1085, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1072, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 28, + "character": 4 + } + ], + "signatures": [ + { + "id": 1073, + "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": 1074, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1075, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 32, + "character": 4 + } + ], + "signatures": [ + { + "id": 1076, + "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": 1077, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1112, + "name": "onMessage", + "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": 1113, + "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": 1114, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1115, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1116, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 1095, + "name": "push", + "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": 1096, + "name": "push", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1097, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1098, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1099, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1100, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1101, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 1102, + "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": 1122, + "name": "rejoin", + "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": 1123, + "name": "rejoin", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1124, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1067, + "name": "rejoinUntilConnected", + "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": 1068, + "name": "rejoinUntilConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1130, + "name": "replyEventName", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 70, + "character": 4 + } + ], + "signatures": [ + { + "id": 1131, + "name": "replyEventName", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1132, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 1069, + "name": "subscribe", + "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": 1070, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1071, + "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": 1125, + "name": "trigger", + "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": 1126, + "name": "trigger", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1127, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 1128, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1129, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1109, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 58, + "character": 4 + } + ], + "signatures": [ + { + "id": 1110, + "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": 1111, + "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": 1103, + "name": "updateJoinPayload", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 46, + "character": 4 + } + ], + "signatures": [ + { + "id": 1104, + "name": "updateJoinPayload", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1105, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1106, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 1107, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1108, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 1045 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 1059, + 1063, + 1062, + 1054, + 1066, + 1065, + 1064, + 1058, + 1061, + 1060, + 1053, + 1044 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 1093, + 1133, + 1135, + 1137, + 1139, + 1141, + 1117, + 1120, + 1086, + 1078, + 1072, + 1075, + 1112, + 1095, + 1122, + 1067, + 1130, + 1069, + 1125, + 1109, + 1103 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeChannel.d.ts", + "line": 6, + "character": 21 + } + ] + }, + { + "id": 926, + "name": "RealtimeClient", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 927, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 77, + "character": 4 + } + ], + "signatures": [ + { + "id": 928, + "name": "new RealtimeClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Initializes the Socket." + }, + "parameters": [ + { + "id": 929, + "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": 930, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "id": 1025, + "qualifiedName": "Options", + "package": "@supabase/realtime-js", + "name": "Options" + } + } + ], + "type": { + "type": "reference", + "id": 926, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1022, + "name": "_appendParams", + "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": 1023, + "name": "_flushSendBuffer", + "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": 1019, + "name": "_onConnClose", + "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": 1020, + "name": "_onConnError", + "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": 1018, + "name": "_onConnOpen", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 176, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 1024, + "name": "_sendHeartbeat", + "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": 1021, + "name": "_triggerChanError", + "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": 931, + "name": "accessToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 32, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 932, + "name": "channels", + "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": "array", + "elementType": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + }, + { + "id": 954, + "name": "conn", + "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": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "WebSocket", + "package": "typescript", + "name": "WebSocket" + } + ] + } + }, + { + "id": 952, + "name": "decode", + "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": 951, + "name": "encode", + "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": 933, + "name": "endPoint", + "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": "intrinsic", + "name": "string" + } + }, + { + "id": 934, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 35, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 935, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 936, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 937, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 944, + "name": "heartbeatIntervalMs", + "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": "number" + } + }, + { + "id": 946, + "name": "heartbeatTimer", + "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": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "qualifiedName": "global.NodeJS.Timer", + "package": "@types/node", + "name": "Timer" + } + ] + } + }, + { + "id": 950, + "name": "logger", + "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": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 945, + "name": "longpollerTimeout", + "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": 938, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 939, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 940, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 941, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 947, + "name": "pendingHeartbeatRef", + "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": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 953, + "name": "reconnectAfterMs", + "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": 949, + "name": "reconnectTimer", + "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": "reference", + "qualifiedName": "Timer", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 948, + "name": "ref", + "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": "intrinsic", + "name": "number" + } + }, + { + "id": 955, + "name": "sendBuffer", + "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": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + }, + { + "id": 956, + "name": "serializer", + "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": "reference", + "qualifiedName": "Serializer", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 957, + "name": "stateChangeCallbacks", + "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": "reflection", + "declaration": { + "id": 958, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 960, + "name": "close", + "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" + } + } + }, + { + "id": 961, + "name": "error", + "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": 962, + "name": "message", + "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": 959, + "name": "open", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 960, + 961, + 962, + 959 + ] + } + ] + } + } + }, + { + "id": 942, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 41, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 943, + "name": "transport", + "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": "any" + } + }, + { + "id": 996, + "name": "channel", + "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": 997, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 998, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 999, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "ChannelParams", + "package": "@supabase/realtime-js", + "name": "ChannelParams" + } + } + ], + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 963, + "name": "connect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 81, + "character": 4 + } + ], + "signatures": [ + { + "id": 964, + "name": "connect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Connects the socket, unless already connected." + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 989, + "name": "connectionState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 137, + "character": 4 + } + ], + "signatures": [ + { + "id": 990, + "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": 965, + "name": "disconnect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 88, + "character": 4 + } + ], + "signatures": [ + { + "id": 966, + "name": "disconnect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Disconnects the socket." + }, + "parameters": [ + { + "id": 967, + "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": 968, + "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": 969, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 971, + "name": "data", + "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": "intrinsic", + "name": "boolean" + } + }, + { + "id": 970, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 89, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 971, + 970 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 1008, + "name": "endPointURL", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 161, + "character": 4 + } + ], + "signatures": [ + { + "id": 1009, + "name": "endPointURL", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the URL of the websocket." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 991, + "name": "isConnected", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 141, + "character": 4 + } + ], + "signatures": [ + { + "id": 992, + "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": 1015, + "name": "leaveOpenTopic", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 175, + "character": 4 + } + ], + "signatures": [ + { + "id": 1016, + "name": "leaveOpenTopic", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Unsubscribe from channels with the specified topic." + }, + "parameters": [ + { + "id": 1017, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 972, + "name": "log", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 97, + "character": 4 + } + ], + "signatures": [ + { + "id": 973, + "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": 974, + "name": "kind", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 975, + "name": "msg", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 976, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1010, + "name": "makeRef", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 165, + "character": 4 + } + ], + "signatures": [ + { + "id": 1011, + "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": 980, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 115, + "character": 4 + } + ], + "signatures": [ + { + "id": 981, + "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": 982, + "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": 1003, + "name": "onConnMessage", + "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": 1004, + "name": "onConnMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1005, + "name": "rawMessage", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1006, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1007, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 156, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1007 + ] + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 983, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 124, + "character": 4 + } + ], + "signatures": [ + { + "id": 984, + "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": 985, + "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": 986, + "name": "onMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 133, + "character": 4 + } + ], + "signatures": [ + { + "id": 987, + "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": 988, + "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": 977, + "name": "onOpen", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 106, + "character": 4 + } + ], + "signatures": [ + { + "id": 978, + "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": 979, + "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": 1000, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 154, + "character": 4 + } + ], + "signatures": [ + { + "id": 1001, + "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": 1002, + "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": 993, + "name": "remove", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 147, + "character": 4 + } + ], + "signatures": [ + { + "id": 994, + "name": "remove", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Removes a subscription from the socket." + }, + "parameters": [ + { + "id": 995, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "An open subscription.\n" + }, + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1012, + "name": "setAuth", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 171, + "character": 4 + } + ], + "signatures": [ + { + "id": 1013, + "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": 1014, + "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": [ + 927 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 1022, + 1023, + 1019, + 1020, + 1018, + 1024, + 1021, + 931, + 932, + 954, + 952, + 951, + 933, + 934, + 944, + 946, + 950, + 945, + 938, + 947, + 953, + 949, + 948, + 955, + 956, + 957, + 942, + 943 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 996, + 963, + 989, + 965, + 1008, + 991, + 1015, + 972, + 1010, + 980, + 1003, + 983, + 986, + 977, + 1000, + 993, + 1012 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 31, + "character": 21 + } + ] + }, + { + "id": 1143, + "name": "RealtimePresence", + "kind": 128, + "kindString": "Class", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1164, + "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": 1165, + "name": "new RealtimePresence", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Initializes the Presence." + }, + "parameters": [ + { + "id": 1166, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "The RealtimeChannel" + }, + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1167, + "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": 1143, + "qualifiedName": "RealtimePresence", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 1172, + "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": 1173, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1174, + "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": 1175, + "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": 1176, + "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": 1177, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1174, + 1175 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 1176 + ] + } + ] + } + } + }, + { + "id": 1168, + "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": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 1193, + "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": 1171, + "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": 1170, + "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": 1169, + "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": 1163, + "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": 1161, + "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": 1162, + "name": "transformState", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExternal": true + }, + "comment": { + "shortText": "Remove 'metas' key\nChange 'phx_ref' to 'presence_ref'\nRemove 'phx_ref' and 'phx_ref_prev'", + "tags": [ + { + "tag": "example", + "text": "\n// returns {\n abc123: [\n { presence_ref: '2', user_id: 1 },\n { presence_ref: '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": 1189, + "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": 1190, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "typeParameter": [ + { + "id": 1191, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + }, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 1192, + "name": "by", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1191, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + ], + "qualifiedName": "PresenceChooser", + "package": "@supabase/realtime-js", + "name": "PresenceChooser" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1191, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + } + } + ] + }, + { + "id": 1178, + "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": 1179, + "name": "onJoin", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1180, + "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": 1181, + "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": 1182, + "name": "onLeave", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1183, + "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": 1184, + "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": 1185, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1186, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 1187, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "signatures": [ + { + "id": 1188, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 1156, + "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": 1157, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExternal": true + }, + "comment": { + "shortText": "Returns the array of presences, with selected metadata." + }, + "typeParameter": [ + { + "id": 1158, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + }, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 1159, + "name": "presences", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + }, + { + "id": 1160, + "name": "chooser", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 1158, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + ], + "qualifiedName": "PresenceChooser", + "package": "@supabase/realtime-js", + "name": "PresenceChooser" + } + ] + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1158, + "qualifiedName": "T", + "package": "@supabase/realtime-js", + "name": "T" + } + } + } + ] + }, + { + "id": 1150, + "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": 1151, + "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": 1152, + "name": "state", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + }, + { + "id": 1153, + "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": 1154, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 1155, + "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": 1144, + "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": 1145, + "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": 1146, + "name": "currentState", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceState", + "package": "@supabase/realtime-js", + "name": "PresenceState" + } + }, + { + "id": 1147, + "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": 1148, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "qualifiedName": "PresenceOnJoinCallback", + "package": "@types/phoenix", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 1149, + "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": [ + 1164 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 1172, + 1168, + 1193, + 1171, + 1170, + 1169, + 1163, + 1161, + 1162 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 1189, + 1178, + 1181, + 1184, + 1156, + 1150, + 1144 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimePresence.d.ts", + "line": 26, + "character": 21 + } + ] + }, + { + "id": 223, + "name": "SupabaseClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "Supabase Client.", + "text": "An isomorphic Javascript client for interacting with Postgres.\n" + }, + "children": [ + { + "id": 224, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 70, + "character": 2 + } + ], + "signatures": [ + { + "id": 225, + "name": "new SupabaseClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Create a new client for use in the browser." + }, + "typeParameter": [ + { + "id": 226, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 227, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 226, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 226, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 228, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 169, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 227, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 226, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 169, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 229, + "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": 230, + "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": 231, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 133, + "typeArguments": [ + { + "type": "reference", + "id": 227, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 223, + "typeArguments": [ + { + "type": "reference", + "id": 226, + "name": "Database" + }, + { + "type": "reference", + "id": 227, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 228, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 232, + "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": 42, + "character": 2 + } + ], + "type": { + "type": "reference", + "name": "SupabaseAuthClient" + } + }, + { + "id": 234, + "name": "authUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 45, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 245, + "name": "changedAccessToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 52, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 240, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 51, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 241, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 242, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 243, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 244, + "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": 236, + "name": "functionsUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 47, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 246, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 54, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 247, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 248, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 249, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 237, + "name": "realtime", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 48, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 926, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 233, + "name": "realtimeUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 44, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 238, + "name": "rest", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 49, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 226, + "name": "Database" + }, + { + "type": "reference", + "id": 227, + "name": "SchemaName" + }, + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 227, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 226, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "qualifiedName": "GenericSchema", + "package": "@supabase/postgrest-js", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + ], + "qualifiedName": "PostgrestClient", + "package": "@supabase/postgrest-js", + "name": "default" + } + }, + { + "id": 239, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 50, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 235, + "name": "storageUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 46, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 251, + "name": "supabaseKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 250, + "name": "supabaseUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 252, + "name": "functions", + "kind": 262144, + "kindString": "Accessor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 120, + "character": 6 + } + ], + "getSignature": [ + { + "id": 253, + "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": 254, + "name": "storage", + "kind": 262144, + "kindString": "Accessor", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 130, + "character": 6 + } + ], + "getSignature": [ + { + "id": 255, + "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": 295, + "name": "_closeChannel", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 229, + "character": 16 + } + ], + "signatures": [ + { + "id": 296, + "name": "_closeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 297, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 1043, + "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": 229, + "character": 67 + } + ], + "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": 293, + "name": "_getAccessToken", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 223, + "character": 16 + } + ], + "signatures": [ + { + "id": 294, + "name": "_getAccessToken", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 327, + "name": "_handleTokenChanged", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 302, + "character": 10 + } + ], + "signatures": [ + { + "id": 328, + "name": "_handleTokenChanged", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 329, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 804, + "qualifiedName": "AuthChangeEvent", + "package": "@supabase/gotrue-js", + "name": "AuthChangeEvent" + } + }, + { + "id": 330, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 331, + "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": 316, + "name": "_initRealtimeClient", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 288, + "character": 10 + } + ], + "signatures": [ + { + "id": 317, + "name": "_initRealtimeClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 318, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 1025, + "qualifiedName": "Options", + "package": "@supabase/realtime-js", + "name": "Options" + } + } + ], + "type": { + "type": "reference", + "id": 926, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 307, + "name": "_initSupabaseAuthClient", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 259, + "character": 10 + } + ], + "signatures": [ + { + "id": 308, + "name": "_initSupabaseAuthClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 309, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 114, + "name": "SupabaseAuthClientOptions" + } + }, + { + "id": 310, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 311, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 312, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 313, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 314, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 315, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "name": "SupabaseAuthClient" + } + } + ] + }, + { + "id": 319, + "name": "_listenForAuthEvents", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 295, + "character": 10 + } + ], + "signatures": [ + { + "id": 320, + "name": "_listenForAuthEvents", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 321, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 323, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 187, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 322, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 186, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 852, + "qualifiedName": "Subscription", + "package": "@supabase/gotrue-js", + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 323, + 322 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 324, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 326, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 190, + "character": 8 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 325, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 189, + "character": 8 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 326, + 325 + ] + } + ] + } + } + ] + } + } + ] + }, + { + "id": 300, + "name": "_unsubscribeChannel", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 242, + "character": 10 + } + ], + "signatures": [ + { + "id": 301, + "name": "_unsubscribeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 302, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 303, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 304, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 242, + "character": 67 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 304 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 271, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 179, + "character": 2 + } + ], + "signatures": [ + { + "id": 272, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a channel with Broadcast and Presence." + }, + "parameters": [ + { + "id": 273, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 274, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 275, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 276, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 277, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "type": { + "type": "reference", + "id": 11, + "name": "SupabaseRealtimeChannel" + } + } + ] + }, + { + "id": 256, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 139, + "character": 2 + } + ], + "signatures": [ + { + "id": 257, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a table operation." + }, + "typeParameter": [ + { + "id": 258, + "name": "TableName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 259, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 160, + "name": "GenericTable" + } + } + ], + "parameters": [ + { + "id": 260, + "name": "table", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table name to operate on.\n" + }, + "type": { + "type": "reference", + "id": 258, + "name": "TableName" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 259, + "name": "Table" + } + ], + "qualifiedName": "PostgrestQueryBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + } + ] + }, + { + "id": 305, + "name": "getChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 255, + "character": 2 + } + ], + "signatures": [ + { + "id": 306, + "name": "getChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Returns an array of all your channels." + }, + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + } + ] + }, + { + "id": 278, + "name": "removeAllChannels", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 191, + "character": 8 + } + ], + "signatures": [ + { + "id": 279, + "name": "removeAllChannels", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Closes and removes all channels and returns a list of removed\nchannels and their errors." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 280, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 281, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 192, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 282, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 283, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 192, + "character": 14 + } + ], + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 283 + ] + } + ] + } + } + }, + { + "id": 284, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 192, + "character": 43 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 281, + 284 + ] + } + ] + } + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 285, + "name": "removeChannel", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 211, + "character": 8 + } + ], + "signatures": [ + { + "id": 286, + "name": "removeChannel", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Closes and removes a channel and returns the number of open channels." + }, + "parameters": [ + { + "id": 287, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The channel you want to close and remove.\n" + }, + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 288, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 289, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 213, + "character": 15 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 290, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 291, + "name": "openChannels", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 213, + "character": 23 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 291 + ] + } + ] + } + } + }, + { + "id": 292, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 213, + "character": 47 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 289, + 292 + ] + } + ] + } + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 261, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 155, + "character": 2 + } + ], + "signatures": [ + { + "id": 262, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 263, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 264, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 165, + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 265, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The function name to call." + }, + "type": { + "type": "reference", + "id": 263, + "name": "FunctionName" + } + }, + { + "id": 266, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" + }, + "objectType": { + "type": "reference", + "id": 264, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 267, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 268, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 270, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 163, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 269, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 162, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 270, + 269 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 264, + "name": "Function_" + } + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + }, + "extendsType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 264, + "name": "Function_" + } + } + ], + "qualifiedName": "PostgrestFilterBuilder", + "package": "@supabase/postgrest-js", + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 224 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 232, + 234, + 245, + 240, + 236, + 246, + 237, + 233, + 238, + 239, + 235, + 251, + 250 + ] + }, + { + "title": "Accessors", + "kind": 262144, + "children": [ + 252, + 254 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 295, + 293, + 327, + 316, + 307, + 319, + 300, + 271, + 256, + 305, + 278, + 285, + 261 + ] + } + ], + "sources": [ + { + "fileName": "src/SupabaseClient.ts", + "line": 30, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 332, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 333, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 226, + "name": "Database" + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 226, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 226, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 334, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 169, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 227, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 226, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 169, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 227, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 226, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 842, + "name": "AdminUserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 844, + "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": 118, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 851, + "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": 95, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + }, + "inheritedFrom": { + "type": "reference", + "id": 841, + "name": "UserAttributes.data" + } + }, + { + "id": 847, + "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": 79, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 837, + "name": "UserAttributes.email" + } + }, + { + "id": 850, + "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": 91, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 840, + "name": "UserAttributes.email_change_token" + } + }, + { + "id": 845, + "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": 124, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 849, + "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": 87, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 839, + "name": "UserAttributes.password" + } + }, + { + "id": 848, + "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": 83, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 838, + "name": "UserAttributes.phone" + } + }, + { + "id": 846, + "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": 130, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 843, + "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": 109, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 844, + 851, + 847, + 850, + 845, + 849, + 848, + 846, + 843 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 97, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 836, + "qualifiedName": "UserAttributes", + "package": "@supabase/gotrue-js", + "name": "UserAttributes" + } + ] + }, + { + "id": 203, + "name": "AuthSession", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 205, + "name": "access_token", + "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" + } + }, + { + "id": 207, + "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": 32, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 206, + "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": 28, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 204, + "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": 23, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 208, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 33, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 209, + "name": "token_type", + "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": 210, + "name": "user", + "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": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 205, + 207, + 206, + 204, + 208, + 209, + 210 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 22, + "character": 17 + } + ] + }, + { + "id": 175, + "name": "AuthUser", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 192, + "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": 63, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 177, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 50, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 178, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 179, + "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": 51, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 179 + ] + } + ], + "indexSignature": { + "id": 180, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 181, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 186, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 57, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 187, + "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": 58, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 196, + "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": 67, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 195, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 66, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 193, + "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": 64, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 189, + "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": 60, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 197, + "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": 68, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 176, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 49, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 202, + "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": 73, + "character": 4 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 824, + "qualifiedName": "UserIdentity", + "package": "@supabase/gotrue-js", + "name": "UserIdentity" + } + } + }, + { + "id": 191, + "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": 62, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 199, + "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": 70, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 190, + "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": 61, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 194, + "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": 65, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 198, + "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": 69, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 188, + "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": 59, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 200, + "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": 71, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 201, + "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": 72, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 182, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 54, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 183, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 184, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 185, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 192, + 177, + 186, + 187, + 196, + 195, + 193, + 189, + 197, + 176, + 202, + 191, + 199, + 190, + 194, + 198, + 188, + 200, + 201, + 182 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 48, + "character": 17 + } + ] + }, + { + "id": 860, + "name": "CookieOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 863, + "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": 149, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 862, + "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": 148, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 861, + "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": 147, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 864, + "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": 150, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 865, + "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": 151, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 863, + 862, + 861, + 864, + 865 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 146, + "character": 17 + } + ] + }, + { + "id": 919, + "name": "OpenIDConnectCredentials", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 923, + "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": 215, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 920, + "name": "id_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 212, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 924, + "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": 216, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 921, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 213, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 922, + "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": 214, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 803, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 923, + 920, + 924, + 921, + 922 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 211, + "character": 17 + } + ] + }, + { + "id": 899, + "name": "SignInWithOAuthOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 902, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 192, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 903, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 904, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 905, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 900, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 190, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 901, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 191, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 902, + 900, + 901 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 189, + "character": 17 + } + ] + }, + { + "id": 882, + "name": "SignInWithPasswordOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 883, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 883 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 170, + "character": 17 + } + ] + }, + { + "id": 891, + "name": "SignInWithPasswordlessOptions", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 894, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 183, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 892, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 181, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 893, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 182, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 894, + 892, + 893 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 180, + "character": 17 + } + ] + }, + { + "id": 852, + "name": "Subscription", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 853, + "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": 136, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 854, + "name": "callback", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 140, + "character": 4 + } + ], + "signatures": [ + { + "id": 855, + "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": 856, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "id": 804, + "qualifiedName": "AuthChangeEvent", + "package": "@supabase/gotrue-js", + "name": "AuthChangeEvent" + } + }, + { + "id": 857, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 858, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 144, + "character": 4 + } + ], + "signatures": [ + { + "id": 859, + "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": [ + 853 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 854, + 858 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 132, + "character": 17 + } + ] + }, + { + "id": 836, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 841, + "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": 95, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 837, + "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": 79, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 840, + "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": 91, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 839, + "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": 87, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 838, + "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": 83, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 841, + 837, + 840, + 839, + 838 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 75, + "character": 17 + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 842, + "name": "AdminUserAttributes" + } + ] + }, + { + "id": 866, + "name": "UserCredentials", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 867, + "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": 154, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 872, + "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": 159, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 919, + "qualifiedName": "OpenIDConnectCredentials", + "package": "@supabase/gotrue-js", + "name": "OpenIDConnectCredentials" + } + }, + { + "id": 869, + "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": 156, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 868, + "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": "string" + } + }, + { + "id": 871, + "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": 158, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 803, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 870, + "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": 157, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 867, + 872, + 869, + 868, + 871, + 870 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 153, + "character": 17 + } + ] + }, + { + "id": 824, + "name": "UserIdentity", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 832, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 44, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 825, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 38, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 827, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 40, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 828, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "indexSignature": { + "id": 829, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 830, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 833, + "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": 45, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 831, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 43, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 834, + "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": 46, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 826, + "name": "user_id", + "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": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 832, + 825, + 827, + 833, + 831, + 834, + 826 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 37, + "character": 17 + } + ] + }, + { + "id": 912, + "name": "VerifyEmailOTPParams", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 913, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 204, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 914, + "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": 205, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 915, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 206, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 916, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 207, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 918, + "qualifiedName": "EmailOTPType", + "package": "@supabase/gotrue-js", + "name": "EmailOTPType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 913, + 914, + 915, + 916 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 203, + "character": 17 + } + ] + }, + { + "id": 907, + "name": "VerifyMobileOTPParams", + "kind": 256, + "kindString": "Interface", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 908, + "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": 198, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 909, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 199, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 910, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 200, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 911, + "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": 201, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 917, + "qualifiedName": "MobileOTPType", + "package": "@supabase/gotrue-js", + "name": "MobileOTPType" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 908, + 909, + 910, + 911 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 197, + "character": 17 + } + ] + }, + { + "id": 804, + "name": "AuthChangeEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 3, + "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": 805, + "name": "AuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 4, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 806, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 809, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 7, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 808, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 6, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 203, + "qualifiedName": "Session", + "package": "@supabase/gotrue-js", + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 807, + "name": "user", + "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": "union", + "types": [ + { + "type": "reference", + "id": 175, + "qualifiedName": "User", + "package": "@supabase/gotrue-js", + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 809, + 808, + 807 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 4, + "character": 35 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 810, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 813, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 812, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 811, + "name": "user", + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 813, + 812, + 811 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 8, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 918, + "name": "EmailOTPType", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 210, + "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": 917, + "name": "MobileOTPType", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 209, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } + }, + { + "id": 814, + "name": "OAuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 13, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 815, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 818, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 16, + "character": 4 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 816, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 14, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 803, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 817, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 818, + 816, + 817 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 13, + "character": 36 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 819, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 822, + "name": "error", + "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": "reference", + "qualifiedName": "AuthError", + "package": "@supabase/gotrue-js", + "name": "AuthError" + } + }, + { + "id": 820, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 18, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 803, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + }, + { + "id": 821, + "name": "url", + "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": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 822, + 820, + 821 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 17, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 217, + "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/types.d.ts", + "line": 7, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 218, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 222, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 11, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 220, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 9, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 221, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 10, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 219, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 8, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 222, + 220, + 221, + 219 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 7, + "character": 37 + } + ] + } + } + }, + { + "id": 215, + "name": "PostgrestMaybeSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 39, + "character": 20 + } + ], + "typeParameter": [ + { + "id": 216, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + } + } + ], + "type": { + "type": "reference", + "id": 213, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 216, + "qualifiedName": "T", + "package": "@supabase/postgrest-js", + "name": "T" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "qualifiedName": "PostgrestSingleResponse", + "package": "@supabase/postgrest-js", + "name": "PostgrestSingleResponse" + } + }, + { + "id": 211, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 32, + "character": 20 + } + ], + "typeParameter": [ + { + "id": 212, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 212, + "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": 213, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/postgrest-js/dist/module/types.d.ts", + "line": 38, + "character": 20 + } + ], + "typeParameter": [ + { + "id": 214, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExternal": true + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 214, + "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": 803, + "name": "Provider", + "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": "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": 1025, + "name": "RealtimeClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 5, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1026, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 1033, + "name": "decode", + "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": 1032, + "name": "encode", + "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": 1035, + "name": "headers", + "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": "reflection", + "declaration": { + "id": 1036, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 14, + "character": 14 + } + ], + "indexSignature": { + "id": 1037, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1038, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 1029, + "name": "heartbeatIntervalMs", + "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": 1031, + "name": "logger", + "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": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + } + }, + { + "id": 1030, + "name": "longpollerTimeout", + "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": 1039, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 17, + "character": 4 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 1040, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 17, + "character": 13 + } + ], + "indexSignature": { + "id": 1041, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExternal": true + }, + "parameters": [ + { + "id": 1042, + "name": "key", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 1034, + "name": "reconnectAfterMs", + "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": 1028, + "name": "timeout", + "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": "intrinsic", + "name": "number" + } + }, + { + "id": 1027, + "name": "transport", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 6, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "WebSocket", + "package": "typescript", + "name": "WebSocket" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 1033, + 1032, + 1035, + 1029, + 1031, + 1030, + 1039, + 1034, + 1028, + 1027 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/realtime-js/dist/module/RealtimeClient.d.ts", + "line": 5, + "character": 30 + } + ] + } + } + }, + { + "id": 895, + "name": "SignInWithOAuthCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 185, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 896, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 898, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 187, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 899, + "qualifiedName": "SignInWithOAuthOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithOAuthOptions" + } + }, + { + "id": 897, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 186, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 803, + "qualifiedName": "Provider", + "package": "@supabase/gotrue-js", + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 898, + 897 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 185, + "character": 49 + } + ] + } + } + }, + { + "id": 873, + "name": "SignInWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 161, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 874, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 875, + "name": "email", + "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": 877, + "name": "options", + "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": 882, + "qualifiedName": "SignInWithPasswordOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordOptions" + } + }, + { + "id": 876, + "name": "password", + "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" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 875, + 877, + 876 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 161, + "character": 52 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 878, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 881, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 168, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 882, + "qualifiedName": "SignInWithPasswordOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordOptions" + } + }, + { + "id": 880, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 167, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 879, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 166, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 881, + 880, + 879 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 165, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 884, + "name": "SignInWithPasswordlessCredentials", + "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": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 885, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 886, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 174, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 887, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 175, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 891, + "qualifiedName": "SignInWithPasswordlessOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordlessOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 886, + 887 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 173, + "character": 56 + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 888, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 890, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 178, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 891, + "qualifiedName": "SignInWithPasswordlessOptions", + "package": "@supabase/gotrue-js", + "name": "SignInWithPasswordlessOptions" + } + }, + { + "id": 889, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 177, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 890, + 889 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 176, + "character": 4 + } + ] + } + } + ] + } + }, + { + "id": 925, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 223, + "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": 906, + "name": "VerifyOTPParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/lib/types.d.ts", + "line": 196, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 907, + "qualifiedName": "VerifyMobileOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyMobileOTPParams" + }, + { + "type": "reference", + "id": 912, + "qualifiedName": "VerifyEmailOTPParams", + "package": "@supabase/gotrue-js", + "name": "VerifyEmailOTPParams" + } + ] + } + }, + { + "id": 2, + "name": "createClient", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 19, + "character": 13 + } + ], + "signatures": [ + { + "id": 3, + "name": "createClient", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Creates a new Supabase Client." + }, + "typeParameter": [ + { + "id": 4, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 5, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 6, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 169, + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "id": 169, + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 7, + "name": "supabaseUrl", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8, + "name": "supabaseKey", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 9, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "id": 133, + "typeArguments": [ + { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + ], + "name": "SupabaseClientOptions" + } + } + ], + "type": { + "type": "reference", + "id": 223, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "References", + "kind": 16777216, + "children": [ + 823, + 335, + 336, + 835 + ] + }, + { + "title": "Namespaces", + "kind": 4, + "children": [ + 1194 + ] + }, + { + "title": "Classes", + "kind": 128, + "children": [ + 337, + 661, + 1043, + 926, + 1143, + 223 + ] + }, + { + "title": "Interfaces", + "kind": 256, + "children": [ + 842, + 203, + 175, + 860, + 919, + 899, + 882, + 891, + 852, + 836, + 866, + 824, + 912, + 907 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 804, + 805, + 918, + 917, + 814, + 217, + 215, + 211, + 213, + 803, + 1025, + 895, + 873, + 884, + 925, + 906 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 10, + "name": "lib/SupabaseRealtimeChannel", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 11, + "name": "SupabaseRealtimeChannel", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 12, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 7, + "character": 2 + } + ], + "signatures": [ + { + "id": 13, + "name": "new SupabaseRealtimeChannel", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 14, + "name": "name", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 15, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 17, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 18, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 19, + "name": "socket", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 926, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 11, + "name": "SupabaseRealtimeChannel" + } + } + ] + }, + { + "id": 21, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 5, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 20, + "name": "socket", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 4, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 926, + "qualifiedName": "RealtimeClient", + "package": "@supabase/realtime-js", + "name": "default" + } + }, + { + "id": 62, + "name": "getPayloadRecords", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 122, + "character": 10 + } + ], + "signatures": [ + { + "id": 63, + "name": "getPayloadRecords", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 64, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 65, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 66, + "name": "new", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 67, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + "defaultValue": "{}" + }, + { + "id": 68, + "name": "old", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 69, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + }, + "defaultValue": "{}" + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 66, + 68 + ] + } + ] + } + } + } + ] + }, + { + "id": 22, + "name": "on", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 19, + "character": 2 + } + ], + "signatures": [ + { + "id": 23, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "The event you want to listen to." + }, + "parameters": [ + { + "id": 24, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The event" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 25, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "An object that specifies what you want to listen to from the event." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 26, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A callback function that is called whenever the event occurs.\n" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 27, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 28, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 29, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 11, + "name": "SupabaseRealtimeChannel" + } + } + ] + }, + { + "id": 33, + "name": "presenceList", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 74, + "character": 2 + } + ], + "signatures": [ + { + "id": 34, + "name": "presenceList", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 35, + "name": "send", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 78, + "character": 2 + } + ], + "signatures": [ + { + "id": 36, + "name": "send", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 37, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 38, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 39, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 79, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 39 + ] + } + ], + "indexSignature": { + "id": 40, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 41, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 42, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 43, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 44, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 45, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timeout" + } + ] + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 30, + "name": "subscribe", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 46, + "character": 2 + } + ], + "signatures": [ + { + "id": 31, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Enables the channel." + }, + "parameters": [ + { + "id": 32, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "Function", + "package": "typescript", + "name": "Function" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "id": 1043, + "qualifiedName": "RealtimeChannel", + "package": "@supabase/realtime-js", + "name": "default" + } + } + ] + }, + { + "id": 46, + "name": "track", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 98, + "character": 8 + } + ], + "signatures": [ + { + "id": 47, + "name": "track", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 48, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 49, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 50, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 51, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 52, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 53, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 54, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 55, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timeout" + } + ] + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 56, + "name": "untrack", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 112, + "character": 8 + } + ], + "signatures": [ + { + "id": 57, + "name": "untrack", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 58, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 60, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 61, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "tuple", + "elements": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "ok" + }, + { + "type": "literal", + "value": "timeout" + } + ] + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 12 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 21, + 20 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 62, + 22, + 33, + 35, + 30, + 46, + 56 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 3, + "character": 13 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 11 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/SupabaseRealtimeChannel.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 70, + "name": "lib/constants", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 71, + "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": 72, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 73, + "name": "X-Client-Info", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 73 + ] + } + ] + } + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 71 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/constants.ts", + "line": 2, + "character": 0 + } + ] + }, + { + "id": 74, + "name": "lib/fetch", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 90, + "name": "fetchWithAuth", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 25, + "character": 13 + } + ], + "signatures": [ + { + "id": 91, + "name": "fetchWithAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 92, + "name": "supabaseKey", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 93, + "name": "getAccessToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 94, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 95, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 96, + "name": "customFetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 97, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 98, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 99, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 100, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 101, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 102, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 103, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 104, + "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": 75, + "name": "resolveFetch", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 5, + "character": 13 + } + ], + "signatures": [ + { + "id": 76, + "name": "resolveFetch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 77, + "name": "customFetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 78, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 79, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 80, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 81, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 82, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 83, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 84, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 85, + "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": 86, + "name": "resolveHeadersConstructor", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 17, + "character": 13 + } + ], + "signatures": [ + { + "id": 87, + "name": "resolveHeadersConstructor", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 88, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 89, + "name": "prototype", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 8291, + "character": 4 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Headers", + "package": "typescript", + "name": "Headers" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 89 + ] + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 90, + 75, + 86 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/fetch.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 105, + "name": "lib/helpers", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 111, + "name": "isBrowser", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 15, + "character": 13 + } + ], + "signatures": [ + { + "id": 112, + "name": "isBrowser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 108, + "name": "stripTrailingSlash", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 11, + "character": 16 + } + ], + "signatures": [ + { + "id": 109, + "name": "stripTrailingSlash", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 110, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 106, + "name": "uuid", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 3, + "character": 16 + } + ], + "signatures": [ + { + "id": 107, + "name": "uuid", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 111, + 108, + 106 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/helpers.ts", + "line": 3, + "character": 0 + } + ] + }, + { + "id": 113, + "name": "lib/types", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 114, + "name": "SupabaseAuthClientOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 122, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 51, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.autoRefreshToken" + } + }, + { + "id": 126, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 55, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 860, + "qualifiedName": "CookieOptions", + "package": "@supabase/gotrue-js", + "name": "CookieOptions" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.cookieOptions" + } + }, + { + "id": 121, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 50, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.detectSessionInUrl" + } + }, + { + "id": 127, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 56, + "character": 8 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 128, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 129, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 130, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 131, + "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": 116, + "name": "headers", + "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": "reflection", + "declaration": { + "id": 117, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": { + "id": 118, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 119, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.headers" + } + }, + { + "id": 124, + "name": "localStorage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 53, + "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": 125, + "name": "multiTab", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 54, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.multiTab" + } + }, + { + "id": 123, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 52, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.persistSession" + } + }, + { + "id": 120, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@supabase/gotrue-js/dist/module/GoTrueClient.d.ts", + "line": 49, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.storageKey" + } + }, + { + "id": 115, + "name": "url", + "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": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "name": "GoTrueClientOptions.url" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 122, + 126, + 121, + 127, + 116, + 124, + 125, + 123, + 120, + 115 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 17 + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "GoTrueClientOptions" + } + ] + }, + { + "id": 132, + "name": "Fetch", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "query", + "queryType": { + "type": "reference", + "id": 78, + "qualifiedName": "fetch", + "package": "typescript", + "name": "fetch" + } + } + }, + { + "id": 165, + "name": "GenericFunction", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 167, + "name": "Args", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 77, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 168, + "name": "Returns", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 167, + 168 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 30 + } + ] + } + } + }, + { + "id": 169, + "name": "GenericSchema", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 81, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 170, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 172, + "name": "Functions", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 165, + "name": "GenericFunction" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 171, + "name": "Tables", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 82, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 160, + "name": "GenericTable" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 172, + 171 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 81, + "character": 28 + } + ] + } + } + }, + { + "id": 160, + "name": "GenericTable", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 161, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 163, + "name": "Insert", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 162, + "name": "Row", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 71, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 164, + "name": "Update", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 73, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 163, + 162, + 164 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 27 + } + ] + } + } + }, + { + "id": 133, + "name": "SupabaseClientOptions", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 149, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 134, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 138, + "name": "auth", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 139, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 140, + "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": 22, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 145, + "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": 42, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "cookieOptions" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "SupabaseAuthClientOptions" + } + } + }, + { + "id": 143, + "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": 34, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 144, + "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": 38, + "character": 4 + } + ], + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "localStorage" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "SupabaseAuthClientOptions" + } + } + }, + { + "id": 142, + "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": 30, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 141, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional key name used for storing tokens in local storage" + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 26, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 140, + 145, + 143, + 144, + 142, + 141 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 9 + } + ] + } + } + }, + { + "id": 135, + "name": "db", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 136, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 137, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 15, + "character": 4 + } + ], + "type": { + "type": "reference", + "id": 149, + "name": "SchemaName" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 137 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 7 + } + ] + } + } + }, + { + "id": 147, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "A custom `fetch` implementation." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 132, + "name": "Fetch" + } + }, + { + "id": 148, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Optional headers for initializing the client." + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 55, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 146, + "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": 47, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 1025, + "qualifiedName": "Options", + "package": "@supabase/realtime-js", + "name": "RealtimeClientOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 138, + 135, + 147, + 148, + 146 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 48 + } + ] + } + } + }, + { + "id": 150, + "name": "SupabaseRealtimePayload", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 159, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 151, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 152, + "name": "commit_timestamp", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 59, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 158, + "name": "errors", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 67, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 153, + "name": "eventType", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 2 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "INSERT" + }, + { + "type": "literal", + "value": "UPDATE" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 156, + "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": 64, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 159, + "name": "T" + } + }, + { + "id": 157, + "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": 66, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 159, + "name": "T" + } + }, + { + "id": 154, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 155, + "name": "table", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 62, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 152, + 158, + 153, + 156, + 157, + 154, + 155 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 41 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Interfaces", + "kind": 256, + "children": [ + 114 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 132, + 165, + 169, + 160, + 133, + 150 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 173, + "name": "lib/version", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 174, + "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": [ + 174 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/version.ts", + "line": 1, + "character": 0 + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "kind": 2, + "children": [ + 1, + 10, + 70, + 74, + 105, + 113, + 173 + ] + } + ] +}{ + "id": 0, + "name": "@supabase/gotrue-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "GoTrueApi", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 33, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L33" + } + ], + "signatures": [ + { + "id": 3, + "name": "new GoTrueApi", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 4, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 5, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 11, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 43, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L43" + } + ], + "type": { + "type": "reference", + "id": 636, + "name": "CookieOptions" + } + }, + { + "id": 12, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 44, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L44" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 18095, + "character": 17 + } + ], + "signatures": [ + { + "id": 14, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 15, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + }, + { + "type": "reference", + "name": "URL", + "qualifiedName": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 16, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 7, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 40, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L40" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 40, + "character": 14, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L40" + } + ], + "indexSignature": { + "id": 9, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 10, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 6, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 39, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L39" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 11, + 12, + 7, + 6 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 38, + "character": 5, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L38" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + } + ] + }, + { + "id": 22, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 30, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L30" + } + ], + "type": { + "type": "reference", + "id": 636, + "name": "CookieOptions" + } + }, + { + "id": 23, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 31, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L31" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 24, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 18095, + "character": 17 + } + ], + "signatures": [ + { + "id": 25, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 26, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + }, + { + "type": "reference", + "name": "URL", + "qualifiedName": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 27, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 18, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 27, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L27" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 27, + "character": 21, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L27" + } + ], + "indexSignature": { + "id": 20, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 21, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 17, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 26, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 28, + "name": "_createRequestHeaders", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 57, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L57" + } + ], + "signatures": [ + { + "id": 29, + "name": "_createRequestHeaders", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a temporary object with all configured headers and\nadds the Authorization token to be used on request methods" + } + ] + }, + "parameters": [ + { + "id": 30, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A valid, logged-in JWT." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 31, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 58, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L58" + } + ] + } + } + } + ] + }, + { + "id": 32, + "name": "cookieName", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 63, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L63" + } + ], + "signatures": [ + { + "id": 33, + "name": "cookieName", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 249, + "name": "createUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 799, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L799" + } + ], + "signatures": [ + { + "id": 250, + "name": "createUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new user.\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "parameters": [ + { + "id": 251, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data you want to create the user with." + } + ] + }, + "type": { + "type": "reference", + "id": 616, + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 252, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 254, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 18, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + }, + { + "id": 255, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 30, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 253, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 254, + 255, + 253 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 256, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 258, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 60, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 259, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 72, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 257, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 48, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 258, + 259, + 257 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 802, + "character": 46, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L802" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 220, + "name": "deleteAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 681, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L681" + } + ], + "signatures": [ + { + "id": 221, + "name": "deleteAuthCookie", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes the Auth Cookies and redirects to the" + } + ] + }, + "parameters": [ + { + "id": 222, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The request object." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 223, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The response object." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 224, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optionally specify a " + }, + { + "kind": "code", + "text": "`redirectTo`" + }, + { + "kind": "text", + "text": " URL in the options." + } + ] + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 225, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 226, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 681, + "character": 63, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L681" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 226 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 681, + "character": 61, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L681" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + }, + { + "id": 301, + "name": "deleteUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 982, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L982" + } + ], + "signatures": [ + { + "id": 302, + "name": "deleteUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Delete a user. Requires a " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key.\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "parameters": [ + { + "id": 303, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user uid you want to remove." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 304, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 306, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 985, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L985" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 305, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 984, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L984" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 306, + 305 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 983, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L983" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 307, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 309, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 987, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L987" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 308, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 987, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L987" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 309, + 308 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 987, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L987" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 231, + "name": "generateLink", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 748, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L748" + } + ], + "signatures": [ + { + "id": 232, + "name": "generateLink", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Generates links to be sent via email or other." + } + ] + }, + "parameters": [ + { + "id": 233, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The link type (\"signup\" or \"magiclink\" or \"recovery\" or \"invite\")." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "signup" + }, + { + "type": "literal", + "value": "invite" + }, + { + "type": "literal", + "value": "magiclink" + }, + { + "type": "literal", + "value": "recovery" + } + ] + } + }, + { + "id": 234, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 235, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 236, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 238, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 753, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L753" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 237, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 752, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L752" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 239, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 754, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L754" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 238, + 237, + 239 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 751, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L751" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 240, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 241, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 758, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L758" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + }, + { + "id": 242, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 759, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L759" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 241, + 242 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 757, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L757" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 243, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 244, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 762, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L762" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + }, + { + "id": 245, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 763, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L763" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 244, + 245 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 761, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L761" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 246, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 247, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 765, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L765" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 248, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 765, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L765" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 247, + 248 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 765, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L765" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 227, + "name": "getAuthCookieString", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 700, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L700" + } + ], + "signatures": [ + { + "id": 228, + "name": "getAuthCookieString", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Helper method to generate the Auth Cookie string for you in case you can't use " + }, + { + "kind": "code", + "text": "`setAuthCookie`" + }, + { + "kind": "text", + "text": "." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "The Cookie string that needs to be set as the value for the " + }, + { + "kind": "code", + "text": "`Set-Cookie`" + }, + { + "kind": "text", + "text": " header." + } + ] + } + ] + }, + "parameters": [ + { + "id": 229, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The request object." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 230, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The response object." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ] + }, + { + "id": 34, + "name": "getUrlForProvider", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 73, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L73" + } + ], + "signatures": [ + { + "id": 35, + "name": "getUrlForProvider", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Generates the relevant login URL for a third-party provider." + } + ] + }, + "parameters": [ + { + "id": 36, + "name": "provider", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "One of the providers supported by GoTrue." + } + ] + }, + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + }, + { + "id": 37, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 38, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 41, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 78, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L78" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 42, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 78, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L78" + } + ], + "indexSignature": { + "id": 43, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 44, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 39, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 76, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L76" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 40, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 77, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 41, + 39, + 40 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 75, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L75" + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 310, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1017, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1017" + } + ], + "signatures": [ + { + "id": 311, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Gets the current user details.\n\nThis method is called by the GoTrueClient " + }, + { + "kind": "code", + "text": "`update`" + }, + { + "kind": "text", + "text": " where\nthe jwt is set to this.currentSession.access_token\nand therefore, acts like getting the currently authenticated user" + } + ] + }, + "parameters": [ + { + "id": 312, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A valid, logged-in JWT. Typically, the access_token for the currentSession" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 313, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 315, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1020, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1020" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 314, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1019, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1019" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 315, + 314 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1018, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1018" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 316, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 318, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1022, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1022" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 317, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1022, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1022" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 318, + 317 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1022, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1022" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 277, + "name": "getUserByCookie", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 866, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L866" + } + ], + "signatures": [ + { + "id": 278, + "name": "getUserByCookie", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get user by reading the cookie from the request.\nWorks for Next.js & Express (requires cookie-parser middleware)." + } + ] + }, + "parameters": [ + { + "id": 279, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 280, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 281, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 284, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 873, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L873" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 582, + "name": "User" + } + ] + } + }, + { + "id": 285, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 874, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L874" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 282, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 871, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L871" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 283, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 872, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L872" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 582, + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 284, + 285, + 282, + 283 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 870, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L870" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 286, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 289, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 879, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L879" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 582, + "name": "User" + } + ] + } + }, + { + "id": 290, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 880, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L880" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 287, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 877, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L877" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 288, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 878, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L878" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 582, + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 289, + 290, + 287, + 288 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 876, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L876" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 268, + "name": "getUserById", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 845, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L845" + } + ], + "signatures": [ + { + "id": 269, + "name": "getUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get user by id." + } + ] + }, + "parameters": [ + { + "id": 270, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 271, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 273, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 847, + "character": 27, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 272, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 847, + "character": 15, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 273, + 272 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 847, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 274, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 276, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 847, + "character": 57, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 275, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 847, + "character": 45, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 276, + 275 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 847, + "character": 43, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L847" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 180, + "name": "inviteUserByEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 524, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L524" + } + ], + "signatures": [ + { + "id": 181, + "name": "inviteUserByEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sends an invite link to an email address." + } + ] + }, + "parameters": [ + { + "id": 182, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 183, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 184, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 186, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 528, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L528" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 185, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 527, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L527" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 186, + 185 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 526, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L526" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 187, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 189, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 533, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L533" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 188, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 532, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L532" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 189, + 188 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 531, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L531" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 190, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 192, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 535, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L535" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 191, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 535, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L535" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 192, + 191 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 535, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L535" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 260, + "name": "listUsers", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 823, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823" + } + ], + "signatures": [ + { + "id": 261, + "name": "listUsers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get a list of users.\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 262, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 264, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 823, + "character": 46, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 263, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 823, + "character": 31, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 582, + "name": "User" + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 264, + 263 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 823, + "character": 29, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 265, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 267, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 823, + "character": 77, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 266, + "name": "users", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 823, + "character": 64, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 267, + 266 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 823, + "character": 62, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L823" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 207, + "name": "refreshAccessToken", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 603, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L603" + } + ], + "signatures": [ + { + "id": 208, + "name": "refreshAccessToken", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Generates a new JWT." + } + ] + }, + "parameters": [ + { + "id": 209, + "name": "refreshToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A valid refresh token that was returned on login." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 210, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 212, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 606, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L606" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 211, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 605, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L605" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 212, + 211 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 604, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L604" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 215, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 608, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L608" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 214, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 608, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L608" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 215, + 214 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 608, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L608" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 193, + "name": "resetPasswordForEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 564, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L564" + } + ], + "signatures": [ + { + "id": 194, + "name": "resetPasswordForEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sends a reset request to an email address." + } + ] + }, + "parameters": [ + { + "id": 195, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 196, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 199, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 568, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L568" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 198, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 567, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L567" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 199, + 198 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 566, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L566" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 200, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 201, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 572, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L572" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 202, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 203, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 573, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L573" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 201, + 203 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 571, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L571" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 204, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 205, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 575, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L575" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 206, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 575, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L575" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 205, + 206 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 575, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L575" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 115, + "name": "sendMagicLinkEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 326, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L326" + } + ], + "signatures": [ + { + "id": 116, + "name": "sendMagicLinkEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sends a magic login link to an email address." + } + ] + }, + "parameters": [ + { + "id": 117, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 118, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 119, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 122, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 331, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L331" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 121, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 330, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L330" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 120, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 329, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L329" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 122, + 121, + 120 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 328, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L328" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 123, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 124, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 335, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L335" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 125, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 126, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 336, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L336" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 124, + 126 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 334, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L334" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 127, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 128, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 338, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L338" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 129, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 338, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L338" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 128, + 129 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 338, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L338" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 130, + "name": "sendMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 373, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L373" + } + ], + "signatures": [ + { + "id": 131, + "name": "sendMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sends a mobile OTP via SMS. Will register the account if it doesn't already exist" + } + ] + }, + "parameters": [ + { + "id": 132, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone number WITH international prefix" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 133, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 134, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 136, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 377, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L377" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 135, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 376, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L376" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 136, + 135 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 375, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L375" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 137, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 138, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 381, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L381" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 139, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {} + } + } + }, + { + "id": 140, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 382, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L382" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 138, + 140 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 380, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L380" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 141, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 142, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 384, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L384" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 143, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 384, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L384" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 142, + 143 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 384, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L384" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 216, + "name": "setAuthCookie", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 635, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L635" + } + ], + "signatures": [ + { + "id": 217, + "name": "setAuthCookie", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set/delete the auth cookie based on the AuthChangeEvent.\nWorks for Next.js & Express (requires cookie-parser middleware)." + } + ] + }, + "parameters": [ + { + "id": 218, + "name": "req", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The request object." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 219, + "name": "res", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The response object." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 63, + "name": "signInWithEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 159, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L159" + } + ], + "signatures": [ + { + "id": 64, + "name": "signInWithEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Logs in an existing user using their email address." + } + ] + }, + "parameters": [ + { + "id": 65, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 66, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The password of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 67, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 68, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 69, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 163, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L163" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 69 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 162, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L162" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 70, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 71, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 167, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L167" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + }, + { + "id": 72, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 168, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L168" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 71, + 72 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 166, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L166" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 73, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 74, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 170, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L170" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 75, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 170, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L170" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 74, + 75 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 170, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L170" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 106, + "name": "signInWithOpenIDConnect", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 286, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L286" + } + ], + "signatures": [ + { + "id": 107, + "name": "signInWithOpenIDConnect", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Logs in an OpenID Connect user using their id_token." + } + ] + }, + "parameters": [ + { + "id": 108, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 695, + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 109, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 111, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 295, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L295" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 110, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 294, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L294" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 111, + 110 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 293, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L293" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 112, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 114, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 297, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L297" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 113, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 297, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L297" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 114, + 113 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 297, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L297" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 93, + "name": "signInWithPhone", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 246, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L246" + } + ], + "signatures": [ + { + "id": 94, + "name": "signInWithPhone", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Logs in an existing user using their phone number and password." + } + ] + }, + "parameters": [ + { + "id": 95, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone number of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 96, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The password of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 97, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 98, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 99, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 250, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L250" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 99 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 249, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L249" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 100, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 102, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 255, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L255" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 101, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 254, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L254" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 102, + 101 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 253, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L253" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 103, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 105, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 257, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L257" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 104, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 257, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L257" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 105, + 104 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 257, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L257" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 144, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 413, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L413" + } + ], + "signatures": [ + { + "id": 145, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Removes a logged-in session." + } + ] + }, + "parameters": [ + { + "id": 146, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A valid, logged-in JWT." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 147, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 148, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 413, + "character": 40, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L413" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 148 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 413, + "character": 38, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L413" + } + ] + } + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 45, + "name": "signUpWithEmail", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 105, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L105" + } + ], + "signatures": [ + { + "id": 46, + "name": "signUpWithEmail", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new user using their email address." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A logged-in session if the server has \"autoconfirm\" ON" + } + ] + }, + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A user if the server has \"autoconfirm\" OFF" + } + ] + } + ] + }, + "parameters": [ + { + "id": 47, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The email address of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 48, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The password of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 49, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 50, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 53, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 111, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L111" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 52, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 110, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L110" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 51, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 109, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L109" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 53, + 52, + 51 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 108, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L108" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 54, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 55, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 115, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L115" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + }, + { + "id": 56, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 116, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L116" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 55, + 56 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 114, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L114" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 57, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 58, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 119, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L119" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + }, + { + "id": 59, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 120, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L120" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 58, + 59 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 118, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L118" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 60, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 61, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 122, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L122" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 62, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 122, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L122" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 61, + 62 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 122, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L122" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 76, + "name": "signUpWithPhone", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 197, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L197" + } + ], + "signatures": [ + { + "id": 77, + "name": "signUpWithPhone", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Signs up a new user using their phone number and a password." + } + ] + }, + "parameters": [ + { + "id": 78, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The phone number of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 79, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The password of the user." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 80, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 81, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 83, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 202, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L202" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 82, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 201, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L201" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 83, + 82 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 200, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L200" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 84, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 85, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 206, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L206" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + }, + { + "id": 86, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 207, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L207" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 85, + 86 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 205, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L205" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 87, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 88, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 210, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L210" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + }, + { + "id": 89, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 211, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L211" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 88, + 89 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 209, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L209" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 90, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 91, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 213, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L213" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 92, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 213, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L213" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 91, + 92 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 213, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L213" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 319, + "name": "updateUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1043, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1043" + } + ], + "signatures": [ + { + "id": 320, + "name": "updateUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates the user data." + } + ] + }, + "parameters": [ + { + "id": 321, + "name": "jwt", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A valid, logged-in JWT." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 322, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data you want to update." + } + ] + }, + "type": { + "type": "reference", + "id": 610, + "name": "UserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 323, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 325, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1049, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1049" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 324, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1048, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1048" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 325, + 324 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1047, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1047" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 328, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1051, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1051" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 327, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1051, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1051" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 328, + 327 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 1051, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L1051" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 291, + "name": "updateUserById", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 950, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L950" + } + ], + "signatures": [ + { + "id": 292, + "name": "updateUserById", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates the user data." + } + ] + }, + "parameters": [ + { + "id": 293, + "name": "uid", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 294, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The data you want to update.\n\nThis function should only be called on a server. Never expose your " + }, + { + "kind": "code", + "text": "`service_role`" + }, + { + "kind": "text", + "text": " key in the browser." + } + ] + }, + "type": { + "type": "reference", + "id": 616, + "name": "AdminUserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 295, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 297, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 956, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L956" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 296, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 955, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L955" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 297, + 296 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 954, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L954" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 298, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 300, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 958, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L958" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 299, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 958, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L958" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 300, + 299 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 958, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L958" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 149, + "name": "verifyMobileOTP", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 437, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L437" + } + ], + "signatures": [ + { + "id": 150, + "name": "verifyMobileOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "Use " + }, + { + "kind": "code", + "text": "`verifyOTP`" + }, + { + "kind": "text", + "text": " instead!" + } + ] + } + ] + }, + "parameters": [ + { + "id": 151, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone number WITH international prefix" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 152, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "token that user was sent to their mobile phone" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 153, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 154, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 155, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 441, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L441" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 155 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 440, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L440" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 156, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 157, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 445, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L445" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + }, + { + "id": 158, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 446, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L446" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 157, + 158 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 444, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L444" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 159, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 160, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 449, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L449" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + }, + { + "id": 161, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 450, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L450" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 160, + 161 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 448, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L448" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 162, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 163, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 452, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L452" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 164, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 452, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L452" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 163, + 164 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 452, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L452" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 165, + "name": "verifyOTP", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 482, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L482" + } + ], + "signatures": [ + { + "id": 166, + "name": "verifyOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Send User supplied Email / Mobile OTP to be verified" + } + ] + }, + "parameters": [ + { + "id": 167, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 682, + "name": "VerifyOTPParams" + } + }, + { + "id": 168, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 169, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 170, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 485, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L485" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 170 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 484, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L484" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 171, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 172, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 489, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L489" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + }, + { + "id": 173, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 490, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L490" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 172, + 173 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 488, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L488" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 174, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 175, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 493, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L493" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + }, + { + "id": 176, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 494, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L494" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 175, + 176 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 492, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L492" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 177, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 178, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 496, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L496" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 179, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 496, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L496" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 178, + 179 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 496, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L496" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 2 + ] + }, + { + "title": "Properties", + "children": [ + 22, + 23, + 18, + 17 + ] + }, + { + "title": "Methods", + "children": [ + 28, + 32, + 249, + 220, + 301, + 231, + 227, + 34, + 310, + 277, + 268, + 180, + 260, + 207, + 193, + 115, + 130, + 216, + 63, + 106, + 93, + 144, + 45, + 76, + 319, + 291, + 149, + 165 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueApi.ts", + "line": 25, + "character": 21, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueApi.ts#L25" + } + ] + }, + { + "id": 329, + "name": "GoTrueClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 330, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 101, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L101" + } + ], + "signatures": [ + { + "id": 331, + "name": "new GoTrueClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a new client for use in the browser." + } + ] + }, + "parameters": [ + { + "id": 332, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 333, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 341, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set to \"true\" if you want to automatically refresh the token before expiring." + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 106, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L106" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 345, + "name": "cookieOptions", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 110, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L110" + } + ], + "type": { + "type": "reference", + "id": 636, + "name": "CookieOptions" + } + }, + { + "id": 340, + "name": "detectSessionInUrl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user." + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 105, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L105" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 346, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 111, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L111" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 347, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 18095, + "character": 17 + } + ], + "signatures": [ + { + "id": 348, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom fetch implementation." + } + ] + }, + "parameters": [ + { + "id": 349, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + }, + { + "type": "reference", + "name": "URL", + "qualifiedName": "URL", + "package": "typescript" + } + ] + } + }, + { + "id": 350, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 335, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Any additional headers to send to the GoTrue server." + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 103, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L103" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 336, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 103, + "character": 14, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L103" + } + ], + "indexSignature": { + "id": 337, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 338, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 344, + "name": "multiTab", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set to \"false\" if you want to disable multi-tab/window events." + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 109, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L109" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 342, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Set to \"true\" if you want to automatically save the user session into local storage. If set to false, session will just be saved in memory." + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 107, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L107" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 343, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 108, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L108" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage", + "qualifiedName": "Storage", + "package": "typescript" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "removeItem" + }, + { + "type": "literal", + "value": "setItem" + } + ] + } + ], + "name": "Pick", + "qualifiedName": "Pick", + "package": "typescript" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 339, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional key name used for storing tokens in local storage" + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 104, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L104" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 334, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The URL of the GoTrue server." + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 102, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L102" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 341, + 345, + 340, + 346, + 335, + 344, + 342, + 343, + 339, + 334 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 101, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L101" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 329, + "name": "default" + } + } + ] + }, + { + "id": 351, + "name": "api", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "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": "src/GoTrueClient.ts", + "line": 67, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L67" + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "default" + } + }, + { + "id": 354, + "name": "autoRefreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 79, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L79" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 353, + "name": "inMemorySession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The session object for the currently logged in user or null.\nOnly used if persistSession is false." + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 77, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L77" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 563, + "name": "Session" + } + ] + } + }, + { + "id": 359, + "name": "networkRetries", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 85, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L85" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "0" + }, + { + "id": 355, + "name": "persistSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 80, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L80" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 358, + "name": "refreshTokenTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 83, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L83" + } + ], + "type": { + "type": "reference", + "name": "Timeout", + "qualifiedName": "global.NodeJS.Timeout", + "package": "@types/node" + } + }, + { + "id": 360, + "name": "refreshingDeferred", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 86, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L86" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 702, + "name": "CallRefreshTokenResult" + } + ], + "name": "Deferred" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 357, + "name": "stateChangeEmitters", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 82, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L82" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "id": 626, + "name": "Subscription" + } + ], + "name": "Map", + "qualifiedName": "Map", + "package": "typescript" + }, + "defaultValue": "..." + }, + { + "id": 356, + "name": "storage", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 81, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L81" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage", + "qualifiedName": "Storage", + "package": "typescript" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "removeItem" + }, + { + "type": "literal", + "value": "setItem" + } + ] + } + ], + "name": "Pick", + "qualifiedName": "Pick", + "package": "typescript" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 352, + "name": "storageKey", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The storage key used to identity the values saved in localStorage" + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 71, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L71" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 514, + "name": "_callRefreshToken", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 780, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L780" + } + ], + "signatures": [ + { + "id": 515, + "name": "_callRefreshToken", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 516, + "name": "refreshToken", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 702, + "name": "CallRefreshTokenResult" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 455, + "name": "_doesSessionExist", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 604, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L604" + } + ], + "signatures": [ + { + "id": 456, + "name": "_doesSessionExist", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 457, + "name": "maybeSession", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "maybeSession", + "asserts": false, + "targetType": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + } + ] + }, + { + "id": 458, + "name": "_handleEmailSignIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 615, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L615" + } + ], + "signatures": [ + { + "id": 459, + "name": "_handleEmailSignIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 460, + "name": "email", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 461, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 462, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 463, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 464, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 619, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L619" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 464 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 618, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L618" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "AuthResponse" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 501, + "name": "_handleOpenIDConnectSignIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 691, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L691" + } + ], + "signatures": [ + { + "id": 502, + "name": "_handleOpenIDConnectSignIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 503, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 695, + "name": "OpenIDConnectCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 504, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 507, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 701, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L701" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 506, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 700, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L700" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 563, + "name": "Session" + } + ] + } + }, + { + "id": 505, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 699, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L699" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 582, + "name": "User" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 507, + 506, + 505 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 698, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L698" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 508, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 511, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 703, + "character": 35, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 510, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 703, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 509, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 703, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 511, + 510, + 509 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 703, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L703" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 465, + "name": "_handlePhoneSignIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 643, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L643" + } + ], + "signatures": [ + { + "id": 466, + "name": "_handlePhoneSignIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 467, + "name": "phone", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 468, + "name": "password", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 469, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 470, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 471, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 647, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L647" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 471 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 646, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L646" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 472, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 473, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 38, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 474, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 475, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 46, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654" + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + }, + { + "id": 476, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 61, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654" + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 475, + 476 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 44, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 477, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 75, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 473, + 477 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 654, + "character": 36, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L654" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 478, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 479, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 661, + "character": 15, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 480, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 481, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 661, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + }, + { + "id": 482, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 661, + "character": 32, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + }, + "defaultValue": "session.user" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 481, + 482 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 661, + "character": 21, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 483, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 661, + "character": 54, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661" + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 479, + 483 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 661, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L661" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 484, + "name": "_handleProviderSignIn", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 671, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L671" + } + ], + "signatures": [ + { + "id": 485, + "name": "_handleProviderSignIn", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 486, + "name": "provider", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + }, + { + "id": 487, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 488, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 491, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 676, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L676" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 492, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 676, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L676" + } + ], + "indexSignature": { + "id": 493, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 494, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 489, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 674, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L674" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 490, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 675, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L675" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 491, + 489, + 490 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 673, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L673" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 495, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 496, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 688, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 497, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 498, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 688, + "character": 21, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688" + } + ], + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + }, + { + "id": 499, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 688, + "character": 31, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 498, + 499 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 688, + "character": 19, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688" + } + ] + } + }, + "defaultValue": "..." + }, + { + "id": 500, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 688, + "character": 38, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688" + } + ], + "type": { + "type": "literal", + "value": null + }, + "defaultValue": "null" + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 496, + 500 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 688, + "character": 11, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L688" + } + ] + } + } + } + ] + }, + { + "id": 533, + "name": "_handleVisibilityChange", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 888, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L888" + } + ], + "signatures": [ + { + "id": 534, + "name": "_handleVisibilityChange", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "literal", + "value": false + } + ] + } + } + ] + }, + { + "id": 517, + "name": "_notifyAllSubscribers", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 820, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L820" + } + ], + "signatures": [ + { + "id": 518, + "name": "_notifyAllSubscribers", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 519, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 536, + "name": "AuthChangeEvent" + } + }, + { + "id": 520, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 563, + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 524, + "name": "_persistSession", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 848, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L848" + } + ], + "signatures": [ + { + "id": 525, + "name": "_persistSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 526, + "name": "currentSession", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 512, + "name": "_recoverAndRefresh", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 735, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L735" + } + ], + "signatures": [ + { + "id": 513, + "name": "_recoverAndRefresh", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Recovers the session from LocalStorage and refreshes\nNote: this method is async to accommodate for AsyncStorage e.g. in React native." + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "literal", + "value": null + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 527, + "name": "_removeSession", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 852, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L852" + } + ], + "signatures": [ + { + "id": 528, + "name": "_removeSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 521, + "name": "_saveSession", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 828, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L828" + } + ], + "signatures": [ + { + "id": 522, + "name": "_saveSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "set currentSession and currentUser\nprocess to _startAutoRefreshToken if possible" + } + ] + }, + "parameters": [ + { + "id": 523, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 529, + "name": "_startAutoRefreshToken", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 868, + "character": 10, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L868" + } + ], + "signatures": [ + { + "id": 530, + "name": "_startAutoRefreshToken", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Clear and re-create refresh token timer" + } + ] + }, + "parameters": [ + { + "id": 531, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "time intervals in milliseconds" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 532, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 384, + "name": "getSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 346, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L346" + } + ], + "signatures": [ + { + "id": 385, + "name": "getSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns the session data, refreshing it if necessary." + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 386, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 388, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 349, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L349" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 387, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 348, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L348" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 388, + 387 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 347, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L347" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 389, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 391, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 353, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L353" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 390, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 352, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L352" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 391, + 390 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 351, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L351" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 392, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 394, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 357, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L357" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 393, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 356, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L356" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 394, + 393 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 355, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L355" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 427, + "name": "getSessionFromUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 494, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L494" + } + ], + "signatures": [ + { + "id": 428, + "name": "getSessionFromUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Gets the session data from a URL string" + } + ] + }, + "parameters": [ + { + "id": 429, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 430, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 431, + "name": "storeSession", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optionally store the session in the browser" + } + ] + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 494, + "character": 38, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L494" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 431 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 494, + "character": 36, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L494" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 432, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 434, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 497, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L497" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 433, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 496, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L496" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 434, + 433 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 495, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L495" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 435, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 437, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 499, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L499" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 436, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 499, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L499" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 437, + 436 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 499, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L499" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 395, + "name": "getUser", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 396, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L396" + } + ], + "signatures": [ + { + "id": 396, + "name": "getUser", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns the user data, refreshing the session if necessary." + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 397, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 399, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 399, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L399" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 398, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 398, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L398" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 399, + 398 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 397, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L397" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 400, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 402, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 403, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L403" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 401, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 402, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L402" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 402, + 401 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 401, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L401" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 403, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 405, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 407, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L407" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 404, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 406, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L406" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 405, + 404 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 405, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L405" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 442, + "name": "onAuthStateChange", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 578, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L578" + } + ], + "signatures": [ + { + "id": 443, + "name": "onAuthStateChange", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Receive a notification every time an auth event happens." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "A subscription object which can be used to unsubscribe itself." + } + ] + } + ] + }, + "parameters": [ + { + "id": 444, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 445, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 578, + "character": 30, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L578" + } + ], + "signatures": [ + { + "id": 446, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 447, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 536, + "name": "AuthChangeEvent" + } + }, + { + "id": 448, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 563, + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 449, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 451, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 581, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L581" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 450, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 580, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L580" + } + ], + "type": { + "type": "reference", + "id": 626, + "name": "Subscription" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 451, + 450 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 579, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L579" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 452, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 454, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 583, + "character": 28, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L583" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 453, + "name": "subscription", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 583, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L583" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 454, + 453 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 583, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L583" + } + ] + } + } + ] + } + } + ] + }, + { + "id": 415, + "name": "setSession", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 460, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L460" + } + ], + "signatures": [ + { + "id": 416, + "name": "setSession", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sets the session data from refresh_token and returns current Session and Error" + } + ] + }, + "parameters": [ + { + "id": 417, + "name": "refresh_token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "a JWT token" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 418, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 420, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 463, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L463" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 419, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 462, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L462" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 420, + 419 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 461, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L461" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 421, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 423, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 465, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L465" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 422, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 465, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L465" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 423, + 422 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 465, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L465" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 424, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 426, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 466, + "character": 23, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L466" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 425, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 466, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L466" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 426, + 425 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 466, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L466" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 372, + "name": "signInWithOAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 245, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L245" + } + ], + "signatures": [ + { + "id": 373, + "name": "signInWithOAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Log in an existing user via a third-party provider." + } + ] + }, + "parameters": [ + { + "id": 374, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 671, + "name": "SignInWithOAuthCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 550, + "name": "OAuthResponse" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 375, + "name": "signInWithOtp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 261, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L261" + } + ], + "signatures": [ + { + "id": 376, + "name": "signInWithOtp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Passwordless method for logging in an existing user." + } + ] + }, + "parameters": [ + { + "id": 377, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 660, + "name": "SignInWithPasswordlessCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "AuthResponse" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 369, + "name": "signInWithPassword", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 208, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L208" + } + ], + "signatures": [ + { + "id": 370, + "name": "signInWithPassword", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Log in an existing user, or login via a third-party provider." + } + ] + }, + "parameters": [ + { + "id": 371, + "name": "credentials", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 649, + "name": "SignInWithPasswordCredentials" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "AuthResponse" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 438, + "name": "signOut", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 559, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L559" + } + ], + "signatures": [ + { + "id": 439, + "name": "signOut", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Inside a browser context, " + }, + { + "kind": "code", + "text": "`signOut()`" + }, + { + "kind": "text", + "text": " 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.\n\nFor server-side management, you can revoke all refresh tokens for a user by passing a user's JWT through to " + }, + { + "kind": "code", + "text": "`auth.api.signOut(JWT: string)`" + }, + { + "kind": "text", + "text": ". There is no way to revoke a user's session JWT before it automatically expires" + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 440, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 441, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 559, + "character": 29, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L559" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "name": "AuthError" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 441 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 559, + "character": 27, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L559" + } + ] + } + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 361, + "name": "signUp", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 147, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L147" + } + ], + "signatures": [ + { + "id": 362, + "name": "signUp", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new user." + } + ] + }, + "parameters": [ + { + "id": 363, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 642, + "name": "UserCredentials" + } + }, + { + "id": 364, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 365, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 368, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 152, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L152" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 367, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 151, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L151" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 366, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 150, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L150" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 368, + 367, + 366 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 149, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L149" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "AuthResponse" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 406, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 425, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L425" + } + ], + "signatures": [ + { + "id": 407, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates user data, if there is a logged in user." + } + ] + }, + "parameters": [ + { + "id": 408, + "name": "attributes", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 610, + "name": "UserAttributes" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 409, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 411, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 428, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L428" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 410, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 427, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L427" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 411, + 410 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 426, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L426" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 412, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 414, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 430, + "character": 20, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L430" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 413, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 430, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L430" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 414, + 413 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 430, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L430" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 378, + "name": "verifyOTP", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 300, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L300" + } + ], + "signatures": [ + { + "id": 379, + "name": "verifyOTP", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Log in a user given a User supplied OTP received via mobile." + } + ] + }, + "parameters": [ + { + "id": 380, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 682, + "name": "VerifyOTPParams" + } + }, + { + "id": 381, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 382, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 383, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 303, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L303" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 383 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 302, + "character": 13, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L302" + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 537, + "name": "AuthResponse" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 330 + ] + }, + { + "title": "Properties", + "children": [ + 351, + 354, + 353, + 359, + 355, + 358, + 360, + 357, + 356, + 352 + ] + }, + { + "title": "Methods", + "children": [ + 514, + 455, + 458, + 501, + 465, + 484, + 533, + 517, + 524, + 512, + 527, + 521, + 529, + 384, + 427, + 395, + 442, + 415, + 372, + 375, + 369, + 438, + 361, + 406, + 378 + ] + } + ], + "sources": [ + { + "fileName": "src/GoTrueClient.ts", + "line": 62, + "character": 21, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/GoTrueClient.ts#L62" + } + ] + }, + { + "id": 616, + "name": "AdminUserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 618, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object for app_metadata that.\n\nOnly 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." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 165, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L165" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 625, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object for user_metadata that a user can modify. Can be any JSON." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 140, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L140" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + }, + "inheritedFrom": { + "type": "reference", + "id": 615, + "name": "UserAttributes.data" + } + }, + { + "id": 621, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 120, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L120" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 611, + "name": "UserAttributes.email" + } + }, + { + "id": 624, + "name": "email_change_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An email change token." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L135" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 614, + "name": "UserAttributes.email_change_token" + } + }, + { + "id": 619, + "name": "email_confirm", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sets if a user has confirmed their email address.\n\nOnly a service role can modify." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 172, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L172" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 623, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's password." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L130" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 613, + "name": "UserAttributes.password" + } + }, + { + "id": 622, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 125, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L125" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 612, + "name": "UserAttributes.phone" + } + }, + { + "id": 620, + "name": "phone_confirm", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sets if a user has confirmed their phone number.\n\nOnly a service role can modify." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 179, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L179" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 617, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object for user_metadata.\n\nCan 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." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 155, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L155" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 618, + 625, + 621, + 624, + 619, + 623, + 622, + 620, + 617 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 143, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L143" + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 610, + "name": "UserAttributes" + } + ] + }, + { + "id": 636, + "name": "CookieOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 639, + "name": "domain", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 203, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L203" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 638, + "name": "lifetime", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 201, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L201" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 637, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 199, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L199" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 640, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 204, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L204" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 641, + "name": "sameSite", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 206, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L206" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 639, + 638, + 637, + 640, + 641 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 197, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L197" + } + ] + }, + { + "id": 695, + "name": "OpenIDConnectCredentials", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 699, + "name": "client_id", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 277, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L277" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 696, + "name": "id_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 274, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L274" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 700, + "name": "issuer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 278, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L278" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 697, + "name": "nonce", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 275, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L275" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 698, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 276, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L276" + } + ], + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 699, + 696, + 700, + 697, + 698 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 273, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L273" + } + ] + }, + { + "id": 563, + "name": "Session", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 565, + "name": "access_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 62, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L62" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 567, + "name": "expires_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A timestamp of when the token will expire. Returned when a login is confirmed." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 70, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L70" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 566, + "name": "expires_in", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the token expires (since it was issued). Returned when a login is confirmed." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 66, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L66" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 564, + "name": "provider_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 61, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L61" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 568, + "name": "refresh_token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 71, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L71" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 569, + "name": "token_type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 72, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L72" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 570, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 73, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L73" + } + ], + "type": { + "type": "reference", + "id": 582, + "name": "User" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 565, + 567, + 566, + 564, + 568, + 569, + 570 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 60, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L60" + } + ] + }, + { + "id": 675, + "name": "SignInWithOAuthOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 678, + "name": "queryParams", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 254, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L254" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 679, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 254, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L254" + } + ], + "indexSignature": { + "id": 680, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 681, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 676, + "name": "redirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 252, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L252" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 677, + "name": "scopes", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 253, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L253" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 678, + 676, + 677 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 251, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L251" + } + ] + }, + { + "id": 658, + "name": "SignInWithPasswordOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 659, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 230, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L230" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 659 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 229, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L229" + } + ] + }, + { + "id": 667, + "name": "SignInWithPasswordlessOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 670, + "name": "captchaToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 245, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L245" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 668, + "name": "emailRedirectTo", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 243, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L243" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 669, + "name": "shouldCreateUser", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 244, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L244" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 670, + 668, + 669 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 241, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L241" + } + ] + }, + { + "id": 626, + "name": "Subscription", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 628, + "name": "callback", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 190, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L190" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 629, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 190, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L190" + } + ], + "signatures": [ + { + "id": 630, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The function to call every time there is an event. eg: (eventName) => {}" + } + ] + }, + "parameters": [ + { + "id": 631, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 536, + "name": "AuthChangeEvent" + } + }, + { + "id": 632, + "name": "session", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "id": 563, + "name": "Session" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + }, + { + "id": 627, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The subscriber UUID. This will be set by the client." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 186, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L186" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 633, + "name": "unsubscribe", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 194, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L194" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 634, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 194, + "character": 15, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L194" + } + ], + "signatures": [ + { + "id": 635, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Call this to remove the listener." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 628, + 627, + 633 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 182, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L182" + } + ] + }, + { + "id": 582, + "name": "User", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 599, + "name": "action_link", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 103, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L103" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 584, + "name": "app_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L90" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 585, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 586, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 91, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L91" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 586 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 90, + "character": 16, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L90" + } + ], + "indexSignature": { + "id": 587, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 588, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 593, + "name": "aud", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 97, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L97" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 594, + "name": "confirmation_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 98, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L98" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 603, + "name": "confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 107, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L107" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 602, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 106, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L106" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 600, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 104, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L104" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 596, + "name": "email_change_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 100, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L100" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 604, + "name": "email_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 108, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L108" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 583, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 89, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L89" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 609, + "name": "identities", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 113, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L113" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 571, + "name": "UserIdentity" + } + } + }, + { + "id": 598, + "name": "invited_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 102, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L102" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 606, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 110, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L110" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 597, + "name": "new_email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 101, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L101" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 601, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 105, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L105" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 605, + "name": "phone_confirmed_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 109, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L109" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 595, + "name": "recovery_sent_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 99, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L99" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 607, + "name": "role", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 111, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L111" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 608, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 112, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L112" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 589, + "name": "user_metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 94, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L94" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 590, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 94, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L94" + } + ], + "indexSignature": { + "id": 591, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 592, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 599, + 584, + 593, + 594, + 603, + 602, + 600, + 596, + 604, + 583, + 609, + 598, + 606, + 597, + 601, + 605, + 595, + 607, + 608, + 589 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 88, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L88" + } + ] + }, + { + "id": 610, + "name": "UserAttributes", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 615, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A custom data object for user_metadata that a user can modify. Can be any JSON." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 140, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L140" + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + }, + { + "id": 611, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's email." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 120, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L120" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 614, + "name": "email_change_token", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An email change token." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 135, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L135" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 613, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's password." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 130, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L130" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 612, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The user's phone." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 125, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L125" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 615, + 611, + 614, + 613, + 612 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 116, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L116" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 616, + "name": "AdminUserAttributes" + } + ] + }, + { + "id": 642, + "name": "UserCredentials", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 643, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 210, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L210" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 648, + "name": "oidc", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 216, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L216" + } + ], + "type": { + "type": "reference", + "id": 695, + "name": "OpenIDConnectCredentials" + } + }, + { + "id": 645, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 212, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L212" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 644, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 211, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L211" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 647, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 215, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L215" + } + ], + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + }, + { + "id": 646, + "name": "refreshToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 213, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L213" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 643, + 648, + 645, + 644, + 647, + 646 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 209, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L209" + } + ] + }, + { + "id": 571, + "name": "UserIdentity", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 579, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 83, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L83" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 572, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 77, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L77" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 574, + "name": "identity_data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L79" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 575, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 79, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L79" + } + ], + "indexSignature": { + "id": 576, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 577, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + } + } + }, + { + "id": 580, + "name": "last_sign_in_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 84, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L84" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 578, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 82, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L82" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 581, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 85, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L85" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 573, + "name": "user_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 78, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L78" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 579, + 572, + 574, + 580, + 578, + 581, + 573 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 76, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L76" + } + ] + }, + { + "id": 688, + "name": "VerifyEmailOTPParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 689, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 265, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L265" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 690, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 266, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L266" + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 691, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 267, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L267" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 692, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 268, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L268" + } + ], + "type": { + "type": "reference", + "id": 694, + "name": "EmailOTPType" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 689, + 690, + 691, + 692 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 264, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L264" + } + ] + }, + { + "id": 683, + "name": "VerifyMobileOTPParams", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 684, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 259, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L259" + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 685, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 260, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L260" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 686, + "name": "token", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 261, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L261" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 687, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 262, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L262" + } + ], + "type": { + "type": "reference", + "id": 693, + "name": "MobileOTPType" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 684, + 685, + 686, + 687 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 258, + "character": 17, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L258" + } + ] + }, + { + "id": 536, + "name": "AuthChangeEvent", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 21, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L21" + } + ], + "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": 537, + "name": "AuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 29, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L29" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 538, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 539, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L31" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 540, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 542, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L33" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 563, + "name": "Session" + }, + { + "type": "literal", + "value": null + } + ] + } + }, + { + "id": 541, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 32, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L32" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 582, + "name": "User" + }, + { + "type": "literal", + "value": null + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 542, + 541 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 31, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L31" + } + ] + } + } + }, + { + "id": 543, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L35" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 539, + 543 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 30, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L30" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 544, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 545, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 38, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L38" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 546, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 548, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 40, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L40" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 547, + "name": "user", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 39, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L39" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 548, + 547 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 38, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L38" + } + ] + } + } + }, + { + "id": 549, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 42, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L42" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 545, + 549 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 37, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L37" + } + ] + } + } + ] + } + }, + { + "id": 702, + "name": "CallRefreshTokenResult", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 292, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L292" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 703, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 705, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 295, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L295" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 704, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 294, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L294" + } + ], + "type": { + "type": "reference", + "id": 563, + "name": "Session" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 705, + 704 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 293, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L293" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 706, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 708, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 299, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L299" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + }, + { + "id": 707, + "name": "session", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 298, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L298" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 708, + 707 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 297, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L297" + } + ] + } + } + ] + } + }, + { + "id": 694, + "name": "EmailOTPType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 271, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L271" + } + ], + "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": 693, + "name": "MobileOTPType", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 270, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L270" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "sms" + }, + { + "type": "literal", + "value": "phone_change" + } + ] + } + }, + { + "id": 550, + "name": "OAuthResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 45, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L45" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 551, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 552, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 47, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L47" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 553, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 554, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 48, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L48" + } + ], + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + }, + { + "id": 555, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 49, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L49" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 554, + 555 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 47, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L47" + } + ] + } + } + }, + { + "id": 556, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 51, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L51" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 552, + 556 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 46, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L46" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 557, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 558, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 54, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L54" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 559, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 560, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 55, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L55" + } + ], + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + }, + { + "id": 561, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 56, + "character": 8, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L56" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 560, + 561 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 54, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L54" + } + ] + } + } + }, + { + "id": 562, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 58, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L58" + } + ], + "type": { + "type": "reference", + "name": "AuthError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 558, + 562 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 53, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L53" + } + ] + } + } + ] + } + }, + { + "id": 535, + "name": "Provider", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 3, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L3" + } + ], + "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": 671, + "name": "SignInWithOAuthCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 247, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L247" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 672, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 674, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 249, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L249" + } + ], + "type": { + "type": "reference", + "id": 675, + "name": "SignInWithOAuthOptions" + } + }, + { + "id": 673, + "name": "provider", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 248, + "character": 2, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L248" + } + ], + "type": { + "type": "reference", + "id": 535, + "name": "Provider" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 674, + 673 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 247, + "character": 41, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L247" + } + ] + } + } + }, + { + "id": 649, + "name": "SignInWithPasswordCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 218, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L218" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 650, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 651, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 220, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L220" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 653, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 222, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L222" + } + ], + "type": { + "type": "reference", + "id": 658, + "name": "SignInWithPasswordOptions" + } + }, + { + "id": 652, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 221, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L221" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 651, + 653, + 652 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 219, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L219" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 654, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 657, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 227, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L227" + } + ], + "type": { + "type": "reference", + "id": 658, + "name": "SignInWithPasswordOptions" + } + }, + { + "id": 656, + "name": "password", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 226, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L226" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 655, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 225, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L225" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 657, + 656, + 655 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 224, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L224" + } + ] + } + } + ] + } + }, + { + "id": 660, + "name": "SignInWithPasswordlessCredentials", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 232, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L232" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 661, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 662, + "name": "email", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 234, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L234" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 663, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 235, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L235" + } + ], + "type": { + "type": "reference", + "id": 667, + "name": "SignInWithPasswordlessOptions" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 662, + 663 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 233, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L233" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 664, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 666, + "name": "options", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 239, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L239" + } + ], + "type": { + "type": "reference", + "id": 667, + "name": "SignInWithPasswordlessOptions" + } + }, + { + "id": 665, + "name": "phone", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 238, + "character": 6, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L238" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 666, + 665 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 237, + "character": 4, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L237" + } + ] + } + } + ] + } + }, + { + "id": 701, + "name": "SupportedStorage", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 290, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L290" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Storage", + "qualifiedName": "Storage", + "package": "typescript" + }, + { + "type": "union", + "types": [ + { + "type": "literal", + "value": "getItem" + }, + { + "type": "literal", + "value": "setItem" + }, + { + "type": "literal", + "value": "removeItem" + } + ] + } + ], + "name": "Pick", + "qualifiedName": "Pick", + "package": "typescript" + } + ], + "name": "PromisifyMethods" + } + }, + { + "id": 682, + "name": "VerifyOTPParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 257, + "character": 12, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/lib/types.ts#L257" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 683, + "name": "VerifyMobileOTPParams" + }, + { + "type": "reference", + "id": 688, + "name": "VerifyEmailOTPParams" + } + ] + } + } + ], + "groups": [ + { + "title": "Classes", + "children": [ + 1, + 329 + ] + }, + { + "title": "Interfaces", + "children": [ + 616, + 636, + 695, + 563, + 675, + 658, + 667, + 626, + 582, + 610, + 642, + 571, + 688, + 683 + ] + }, + { + "title": "Type Aliases", + "children": [ + 536, + 537, + 702, + 694, + 693, + 550, + 535, + 671, + 649, + 660, + 701, + 682 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/gotrue-js/blob/b41bb84/src/index.ts#L1" + } + ] +}{ + "id": 0, + "name": "@supabase/postgrest-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 483, + "name": "PostgrestBuilder", + "kind": 128, + "kindString": "Class", + "flags": { + "isAbstract": true + }, + "children": [ + { + "id": 484, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 485, + "name": "new PostgrestBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 486, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 487, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 483, + "typeArguments": [ + { + "type": "reference", + "id": 486, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 483, + "typeArguments": [ + { + "type": "reference", + "id": 486, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 500, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 492, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 495, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 496, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 497, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 498, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 499, + "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": 490, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 488, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + } + }, + { + "id": 491, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 493, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 494, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 489, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 504, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 50, + "character": 2 + } + ], + "signatures": [ + { + "id": 505, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 506, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "id": 486, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 507, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 508, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 509, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 510, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 511, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "id": 486, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 512, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 513, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 514, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 515, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + }, + { + "type": "reference", + "id": 382, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + } + ], + "implementationOf": { + "type": "reference", + "name": "PromiseLike.then" + } + }, + { + "id": 501, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 45, + "character": 2 + } + ], + "signatures": [ + { + "id": 502, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "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", + "tags": [ + { + "tag": "deprecated", + "text": "Use `throwOnError` in the `PostgrestClient` constructor instead.\n" + } + ] + }, + "parameters": [ + { + "id": 503, + "name": "throwOnError", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "reference", + "id": 483, + "typeArguments": [ + { + "type": "reference", + "id": 486, + "name": "Result" + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 484 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 500, + 492, + 495, + 490, + 488, + 491, + 493, + 494, + 489 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 504, + 501 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 5, + "character": 30 + } + ], + "typeParameter": [ + { + "id": 516, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 393, + "name": "PostgrestTransformBuilder" + } + ], + "implementedTypes": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "id": 486, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + }, + { + "id": 1, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 29, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "comment": { + "shortText": "Creates a PostgREST client." + }, + "typeParameter": [ + { + "id": 4, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 5, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 6, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "parameters": [ + { + "id": 7, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "URL of the PostgREST endpoint." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 8, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 9, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 12, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 39, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 13, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 14, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 15, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 16, + "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": 10, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 37, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 11, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 38, + "character": 6 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + }, + { + "id": 17, + "name": "throwOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 40, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 12, + 10, + 11, + 17 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 1, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 21, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 19, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 22, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 23, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 24, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 25, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "qualifiedName": "RequestInit", + "package": "typescript", + "name": "RequestInit" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "qualifiedName": "Response", + "package": "typescript", + "name": "Response" + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + } + } + }, + { + "id": 19, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 17, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 20, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 18, + "character": 2 + } + ], + "type": { + "type": "reference", + "id": 5, + "name": "SchemaName" + } + }, + { + "id": 26, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 20, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 16, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 27, + "name": "auth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 57, + "character": 2 + } + ], + "signatures": [ + { + "id": 28, + "name": "auth", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Authenticates the request with JWT.", + "tags": [ + { + "tag": "deprecated", + "text": "Use `headers` in constructor instead.\n" + } + ] + }, + "parameters": [ + { + "id": 29, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The JWT token to use.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 1, + "typeArguments": [ + { + "type": "reference", + "id": 4, + "name": "Database" + }, + { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + { + "type": "reference", + "id": 6, + "name": "Schema" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 30, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 67, + "character": 2 + } + ], + "signatures": [ + { + "id": 31, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a table operation." + }, + "typeParameter": [ + { + "id": 32, + "name": "TableName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 33, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericTable" + } + } + ], + "parameters": [ + { + "id": 34, + "name": "table", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The table name to operate on.\n" + }, + "type": { + "type": "reference", + "id": 32, + "name": "TableName" + } + } + ], + "type": { + "type": "reference", + "id": 48, + "typeArguments": [ + { + "type": "reference", + "id": 33, + "name": "Table" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 35, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 89, + "character": 2 + } + ], + "signatures": [ + { + "id": 36, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Perform a function call." + }, + "typeParameter": [ + { + "id": 37, + "name": "FunctionName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 38, + "name": "Function_", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericFunction" + } + } + ], + "parameters": [ + { + "id": 39, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The function name to call." + }, + "type": { + "type": "reference", + "id": 37, + "name": "FunctionName" + } + }, + { + "id": 40, + "name": "args", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The parameters to pass to the function call." + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Args" + }, + "objectType": { + "type": "reference", + "id": 38, + "name": "Function_" + } + }, + "defaultValue": "{}" + }, + { + "id": 41, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Named parameters." + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 42, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 44, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "Count algorithm to use to count rows in a table.\n" + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 100, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 43, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "When set to true, no data will be returned." + }, + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 99, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 44, + 43 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 38, + "name": "Function_" + } + }, + "extendsType": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "trueType": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "number" + }, + "objectType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + } + }, + "extendsType": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "intrinsic", + "name": "any" + }, + "objectType": { + "type": "intrinsic", + "name": "any" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + "falseType": { + "type": "intrinsic", + "name": "never" + } + }, + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Returns" + }, + "objectType": { + "type": "reference", + "id": 38, + "name": "Function_" + } + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 2 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 21, + 19, + 20, + 26, + 18 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 27, + 30, + 35 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestClient.ts", + "line": 7, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 45, + "name": "Database", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 46, + "name": "SchemaName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + }, + "default": { + "type": "conditional", + "checkType": { + "type": "literal", + "value": "public" + }, + "extendsType": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "trueType": { + "type": "literal", + "value": "public" + }, + "falseType": { + "type": "intersection", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "id": 4, + "name": "Database" + } + } + ] + } + } + }, + { + "id": 47, + "name": "Schema", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericSchema" + }, + "default": { + "type": "conditional", + "checkType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "extendsType": { + "type": "reference", + "name": "GenericSchema" + }, + "trueType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 5, + "name": "SchemaName" + }, + "objectType": { + "type": "reference", + "id": 4, + "name": "Database" + } + }, + "falseType": { + "type": "intrinsic", + "name": "any" + } + } + } + ] + }, + { + "id": 111, + "name": "PostgrestFilterBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 112, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 113, + "name": "new PostgrestFilterBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 114, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 115, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 116, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 483, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 395, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 394, + "name": "default.constructor" + } + }, + { + "id": 375, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 465, + "name": "default.allowEmpty" + } + }, + { + "id": 367, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 457, + "name": "default.body" + } + }, + { + "id": 370, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 371, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 372, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 373, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 374, + "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", + "id": 460, + "name": "default.fetch" + } + }, + { + "id": 365, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 455, + "name": "default.headers" + } + }, + { + "id": 363, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 453, + "name": "default.method" + } + }, + { + "id": 366, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 456, + "name": "default.schema" + } + }, + { + "id": 368, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 458, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 369, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 459, + "name": "default.signal" + } + }, + { + "id": 364, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 454, + "name": "default.url" + } + }, + { + "id": 343, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 344, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 345, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 434, + "name": "default.abortSignal" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 433, + "name": "default.abortSignal" + } + }, + { + "id": 221, + "name": "containedBy", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 250, + "character": 2 + } + ], + "signatures": [ + { + "id": 222, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`." + }, + "typeParameter": [ + { + "id": 223, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 224, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 223, + "name": "ColumnName" + } + }, + { + "id": 225, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 223, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 226, + "name": "containedBy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 227, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 228, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 213, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 223, + "character": 2 + } + ], + "signatures": [ + { + "id": 214, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`." + }, + "typeParameter": [ + { + "id": 215, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 216, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 215, + "name": "ColumnName" + } + }, + { + "id": 217, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 215, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 218, + "name": "contains", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 219, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 220, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 350, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 138, + "character": 2 + } + ], + "signatures": [ + { + "id": 351, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to CSV." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 441, + "name": "default.csv" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 440, + "name": "default.csv" + } + }, + { + "id": 133, + "name": "eq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 72, + "character": 2 + } + ], + "signatures": [ + { + "id": 134, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 135, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 136, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 135, + "name": "ColumnName" + } + }, + { + "id": 137, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 135, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 138, + "name": "eq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 139, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 140, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 354, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 160, + "character": 2 + } + ], + "signatures": [ + { + "id": 355, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Obtains the EXPLAIN plan for this request." + }, + "parameters": [ + { + "id": 356, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 357, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 358, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 167, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 361, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 170, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 360, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 169, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 359, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 168, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 362, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 358, + 361, + 360, + 359, + 362 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 445, + "name": "default.explain" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 444, + "name": "default.explain" + } + }, + { + "id": 293, + "name": "filter", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 406, + "character": 2 + } + ], + "signatures": [ + { + "id": 294, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose `column` satisfies the filter." + }, + "typeParameter": [ + { + "id": 295, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 296, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 295, + "name": "ColumnName" + } + }, + { + "id": 297, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with." + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "FilterOperator" + }, + { + "type": "literal", + "value": "not.eq" + }, + { + "type": "literal", + "value": "not.neq" + }, + { + "type": "literal", + "value": "not.gt" + }, + { + "type": "literal", + "value": "not.gte" + }, + { + "type": "literal", + "value": "not.lt" + }, + { + "type": "literal", + "value": "not.lte" + }, + { + "type": "literal", + "value": "not.like" + }, + { + "type": "literal", + "value": "not.ilike" + }, + { + "type": "literal", + "value": "not.is" + }, + { + "type": "literal", + "value": "not.in" + }, + { + "type": "literal", + "value": "not.cs" + }, + { + "type": "literal", + "value": "not.cd" + }, + { + "type": "literal", + "value": "not.sl" + }, + { + "type": "literal", + "value": "not.sr" + }, + { + "type": "literal", + "value": "not.nxl" + }, + { + "type": "literal", + "value": "not.nxr" + }, + { + "type": "literal", + "value": "not.adj" + }, + { + "type": "literal", + "value": "not.ov" + }, + { + "type": "literal", + "value": "not.fts" + }, + { + "type": "literal", + "value": "not.plfts" + }, + { + "type": "literal", + "value": "not.phfts" + }, + { + "type": "literal", + "value": "not.wfts" + } + ] + } + }, + { + "id": 298, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 299, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 300, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 301, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 302, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 352, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 353, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to GeoJSON." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 443, + "name": "default.geojson" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 442, + "name": "default.geojson" + } + }, + { + "id": 149, + "name": "gt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 100, + "character": 2 + } + ], + "signatures": [ + { + "id": 150, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 151, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 152, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 151, + "name": "ColumnName" + } + }, + { + "id": 153, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 151, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 154, + "name": "gt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 155, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 156, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 157, + "name": "gte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 114, + "character": 2 + } + ], + "signatures": [ + { + "id": 158, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`." + }, + "typeParameter": [ + { + "id": 159, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 160, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 159, + "name": "ColumnName" + } + }, + { + "id": 161, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 159, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 162, + "name": "gte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 163, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 164, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 189, + "name": "ilike", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 170, + "character": 2 + } + ], + "signatures": [ + { + "id": 190, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)." + }, + "typeParameter": [ + { + "id": 191, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 192, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 191, + "name": "ColumnName" + } + }, + { + "id": 193, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 194, + "name": "ilike", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 195, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 196, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 205, + "name": "in", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 201, + "character": 2 + } + ], + "signatures": [ + { + "id": 206, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`." + }, + "typeParameter": [ + { + "id": 207, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 208, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 207, + "name": "ColumnName" + } + }, + { + "id": 209, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to filter with.\n" + }, + "type": { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 207, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 210, + "name": "in", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 211, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 212, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 197, + "name": "is", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 184, + "character": 2 + } + ], + "signatures": [ + { + "id": 198, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`." + }, + "typeParameter": [ + { + "id": 199, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 200, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 199, + "name": "ColumnName" + } + }, + { + "id": 201, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 199, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + }, + { + "type": "literal", + "value": null + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 199, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + }, + { + "type": "literal", + "value": false + } + ] + }, + { + "type": "intersection", + "types": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 199, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + }, + { + "type": "literal", + "value": true + } + ] + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 202, + "name": "is", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 203, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 204, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 181, + "name": "like", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 156, + "character": 2 + } + ], + "signatures": [ + { + "id": 182, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)." + }, + "typeParameter": [ + { + "id": 183, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 184, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 183, + "name": "ColumnName" + } + }, + { + "id": 185, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The pattern to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 186, + "name": "like", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 187, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 188, + "name": "pattern", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 330, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 2 + } + ], + "signatures": [ + { + "id": 331, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result with the specified `count`." + }, + "parameters": [ + { + "id": 332, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum no. of rows to limit to." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 333, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 335, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 335 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 421, + "name": "default.limit" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 420, + "name": "default.limit" + } + }, + { + "id": 165, + "name": "lt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 128, + "character": 2 + } + ], + "signatures": [ + { + "id": 166, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 167, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 168, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 167, + "name": "ColumnName" + } + }, + { + "id": 169, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 167, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 170, + "name": "lt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 171, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 172, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 173, + "name": "lte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 142, + "character": 2 + } + ], + "signatures": [ + { + "id": 174, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`." + }, + "typeParameter": [ + { + "id": 175, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 176, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 175, + "name": "ColumnName" + } + }, + { + "id": 177, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 175, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 178, + "name": "lte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 179, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 180, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 303, + "name": "match", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 423, + "character": 2 + } + ], + "signatures": [ + { + "id": 304, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose columns match the specified `query` object." + }, + "typeParameter": [ + { + "id": 305, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 306, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The object to filter with, with column names as keys mapped\n to their filter values.\n" + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 305, + "name": "ColumnName" + }, + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 305, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 307, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 308, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 348, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 129, + "character": 2 + } + ], + "signatures": [ + { + "id": 349, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 439, + "name": "default.maybeSingle" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 438, + "name": "default.maybeSingle" + } + }, + { + "id": 141, + "name": "neq", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 86, + "character": 2 + } + ], + "signatures": [ + { + "id": 142, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`." + }, + "typeParameter": [ + { + "id": 143, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 144, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 143, + "name": "ColumnName" + } + }, + { + "id": 145, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 143, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 146, + "name": "neq", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 147, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 148, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 117, + "name": "not", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 42, + "character": 2 + } + ], + "signatures": [ + { + "id": 118, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows which doesn't satisfy the filter." + }, + "typeParameter": [ + { + "id": 119, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 120, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 119, + "name": "ColumnName" + } + }, + { + "id": 121, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The operator to filter with." + }, + "type": { + "type": "reference", + "name": "FilterOperator" + } + }, + { + "id": 122, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 119, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 123, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 124, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 125, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 126, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 127, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 59, + "character": 2 + } + ], + "signatures": [ + { + "id": 128, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows satisfying at least one of the filters." + }, + "parameters": [ + { + "id": 129, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The filters to use, separated by commas." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 130, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (if `column` is a foreign column).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 131, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 132, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 59, + "character": 42 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 132 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 314, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 315, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Orders the result with the specified `column`." + }, + "typeParameter": [ + { + "id": 316, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 317, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order on." + }, + "type": { + "type": "reference", + "id": 316, + "name": "ColumnName" + } + }, + { + "id": 318, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 319, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 320, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 322, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 321, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 320, + 322, + 321 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 405, + "name": "default.order" + } + }, + { + "id": 323, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 324, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 325, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 327, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 329, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 328, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 327, + 329, + 328 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 413, + "name": "default.order" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 404, + "name": "default.order" + } + }, + { + "id": 269, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 346, + "character": 2 + } + ], + "signatures": [ + { + "id": 270, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`." + }, + "typeParameter": [ + { + "id": 271, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 272, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 271, + "name": "ColumnName" + } + }, + { + "id": 273, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The value to filter with.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "id": 271, + "name": "ColumnName" + }, + "objectType": { + "type": "reference", + "id": 114, + "name": "Table" + } + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 274, + "name": "overlaps", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 275, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 276, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "unknown" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 336, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 2 + } + ], + "signatures": [ + { + "id": 337, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result to rows within the specified range, inclusive." + }, + "parameters": [ + { + "id": 338, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 339, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 340, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 341, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 342, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 342 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 427, + "name": "default.range" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 426, + "name": "default.range" + } + }, + { + "id": 261, + "name": "rangeAdjacent", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 332, + "character": 2 + } + ], + "signatures": [ + { + "id": 262, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`." + }, + "typeParameter": [ + { + "id": 263, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 264, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 263, + "name": "ColumnName" + } + }, + { + "id": 265, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 266, + "name": "rangeAdjacent", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 267, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 268, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 237, + "name": "rangeGt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 290, + "character": 2 + } + ], + "signatures": [ + { + "id": 238, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`." + }, + "typeParameter": [ + { + "id": 239, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 240, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 239, + "name": "ColumnName" + } + }, + { + "id": 241, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 242, + "name": "rangeGt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 243, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 244, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 245, + "name": "rangeGte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 304, + "character": 2 + } + ], + "signatures": [ + { + "id": 246, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`." + }, + "typeParameter": [ + { + "id": 247, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 248, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 247, + "name": "ColumnName" + } + }, + { + "id": 249, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 250, + "name": "rangeGte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 251, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 252, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 229, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 276, + "character": 2 + } + ], + "signatures": [ + { + "id": 230, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`." + }, + "typeParameter": [ + { + "id": 231, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 232, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 231, + "name": "ColumnName" + } + }, + { + "id": 233, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 234, + "name": "rangeLt", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 235, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 236, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 253, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 318, + "character": 2 + } + ], + "signatures": [ + { + "id": 254, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`." + }, + "typeParameter": [ + { + "id": 255, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 256, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 255, + "name": "ColumnName" + } + }, + { + "id": 257, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The range to filter with.\n" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 258, + "name": "rangeLte", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 259, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 260, + "name": "range", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 309, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 310, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "typeParameter": [ + { + "id": 311, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 312, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 311, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 313, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas.\n" + }, + "type": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 312, + "name": "NewResult" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 400, + "name": "default.select" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 399, + "name": "default.select" + } + }, + { + "id": 346, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 119, + "character": 2 + } + ], + "signatures": [ + { + "id": 347, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 437, + "name": "default.single" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 436, + "name": "default.single" + } + }, + { + "id": 277, + "name": "textSearch", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 371, + "character": 2 + } + ], + "signatures": [ + { + "id": 278, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`." + }, + "typeParameter": [ + { + "id": 279, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 280, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to filter on." + }, + "type": { + "type": "reference", + "id": 279, + "name": "ColumnName" + } + }, + { + "id": 281, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The Postgres tsquery string to filter with." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 282, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 283, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 284, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 374, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 285, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 374, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 284, + 285 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 286, + "name": "textSearch", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 287, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 288, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 289, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 290, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 291, + "name": "config", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 379, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 292, + "name": "type", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 379, + "character": 33 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "plain" + }, + { + "type": "literal", + "value": "phrase" + }, + { + "type": "literal", + "value": "websearch" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 291, + 292 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 379, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 50, + "character": 2 + } + ], + "signatures": [ + { + "id": 380, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 381, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 382, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 383, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 384, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 385, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 386, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 387, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 388, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 389, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 390, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + }, + { + "type": "reference", + "id": 382, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 470, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 469, + "name": "default.then" + } + }, + { + "id": 376, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 45, + "character": 2 + } + ], + "signatures": [ + { + "id": 377, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "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", + "tags": [ + { + "tag": "deprecated", + "text": "Use `throwOnError` in the `PostgrestClient` constructor instead.\n" + } + ] + }, + "parameters": [ + { + "id": 378, + "name": "throwOnError", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 467, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 466, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 112 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 375, + 367, + 370, + 365, + 363, + 366, + 368, + 369, + 364 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 343, + 221, + 213, + 350, + 133, + 354, + 293, + 352, + 149, + 157, + 189, + 205, + 197, + 181, + 330, + 165, + 173, + 303, + 348, + 141, + 117, + 127, + 314, + 269, + 336, + 261, + 237, + 245, + 229, + 253, + 309, + 346, + 277, + 379, + 376 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestFilterBuilder.ts", + "line": 31, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 391, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 392, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 114, + "name": "Table" + }, + { + "type": "reference", + "id": 115, + "name": "Result" + } + ], + "name": "default" + } + ] + }, + { + "id": 48, + "name": "PostgrestQueryBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 49, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 14, + "character": 2 + } + ], + "signatures": [ + { + "id": 50, + "name": "new PostgrestQueryBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 51, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericTable" + } + } + ], + "parameters": [ + { + "id": 52, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 53, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 54, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 57, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 24, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 58, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 59, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 60, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 61, + "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": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 22, + "character": 6 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 56, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 23, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 62, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 25, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 57, + 55, + 56, + 62 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 48, + "typeArguments": [ + { + "type": "reference", + "id": 51, + "name": "Table" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 68, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 69, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 70, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 71, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 72, + "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": 64, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 8, + "character": 2 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 65, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 66, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 67, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + }, + { + "id": 63, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 7, + "character": 2 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + } + }, + { + "id": 105, + "name": "delete", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 221, + "character": 2 + } + ], + "signatures": [ + { + "id": 106, + "name": "delete", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs a DELETE on the table." + }, + "parameters": [ + { + "id": 107, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Count algorithm to use to count rows in a table.\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 108, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 109, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 224, + "character": 4 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 109 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 51, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 82, + "name": "insert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 92, + "character": 2 + } + ], + "signatures": [ + { + "id": 83, + "name": "insert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs an INSERT into the table." + }, + "typeParameter": [ + { + "id": 84, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 85, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to insert." + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 84, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 84, + "name": "Row" + } + } + ] + } + }, + { + "id": 86, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Count algorithm to use to count rows in a table.\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 87, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 88, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 97, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 88 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 51, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 73, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 42, + "character": 2 + } + ], + "signatures": [ + { + "id": 74, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "typeParameter": [ + { + "id": 75, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 76, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 51, + "name": "Table" + } + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 75, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 75, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 77, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas." + }, + "type": { + "type": "reference", + "id": 75, + "name": "Query" + } + }, + { + "id": 78, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 79, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 81, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 52, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 80, + "name": "head", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 51, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 81, + 80 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 51, + "name": "Table" + } + }, + { + "type": "reference", + "id": 76, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 98, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 185, + "character": 2 + } + ], + "signatures": [ + { + "id": 99, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs an UPDATE on the table." + }, + "typeParameter": [ + { + "id": 100, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 101, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to update." + }, + "type": { + "type": "reference", + "id": 100, + "name": "Row" + } + }, + { + "id": 102, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "Count algorithm to use to count rows in a table.\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 103, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 104, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 190, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 104 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 51, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 89, + "name": "upsert", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 141, + "character": 2 + } + ], + "signatures": [ + { + "id": 90, + "name": "upsert", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs an UPSERT into the table." + }, + "typeParameter": [ + { + "id": 91, + "name": "Row", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + } + ], + "parameters": [ + { + "id": 92, + "name": "values", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The values to insert." + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 91, + "name": "Row" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 91, + "name": "Row" + } + } + ] + } + }, + { + "id": 93, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 94, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 96, + "name": "count", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 149, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "exact" + }, + { + "type": "literal", + "value": "planned" + }, + { + "type": "literal", + "value": "estimated" + } + ] + } + }, + { + "id": 97, + "name": "ignoreDuplicates", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 150, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 95, + "name": "onConflict", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 148, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 96, + 97, + 95 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 111, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "literal", + "value": "Row" + }, + "objectType": { + "type": "reference", + "id": 51, + "name": "Table" + } + }, + { + "type": "intrinsic", + "name": "undefined" + } + ], + "name": "default" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 49 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 68, + 64, + 65, + 66, + 67, + 63 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 105, + 82, + 73, + 98, + 89 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestQueryBuilder.ts", + "line": 6, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 110, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "GenericTable" + } + } + ] + }, + { + "id": 393, + "name": "PostgrestTransformBuilder", + "kind": 128, + "kindString": "Class", + "flags": {}, + "comment": { + "shortText": "Post-filters (transforms)" + }, + "children": [ + { + "id": 394, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "signatures": [ + { + "id": 395, + "name": "new PostgrestTransformBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "typeParameter": [ + { + "id": 396, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 397, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "parameters": [ + { + "id": 398, + "name": "builder", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 483, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + } + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 485, + "name": "default.constructor" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 484, + "name": "default.constructor" + } + }, + { + "id": 465, + "name": "allowEmpty", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 16, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 500, + "name": "default.allowEmpty" + } + }, + { + "id": 457, + "name": "body", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 12, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + }, + "inheritedFrom": { + "type": "reference", + "id": 492, + "name": "default.body" + } + }, + { + "id": 460, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 15, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 461, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 462, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 463, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 464, + "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", + "id": 495, + "name": "default.fetch" + } + }, + { + "id": 455, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + }, + "inheritedFrom": { + "type": "reference", + "id": 490, + "name": "default.headers" + } + }, + { + "id": 453, + "name": "method", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "GET" + }, + { + "type": "literal", + "value": "HEAD" + }, + { + "type": "literal", + "value": "POST" + }, + { + "type": "literal", + "value": "PATCH" + }, + { + "type": "literal", + "value": "DELETE" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "id": 488, + "name": "default.method" + } + }, + { + "id": 456, + "name": "schema", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 491, + "name": "default.schema" + } + }, + { + "id": 458, + "name": "shouldThrowOnError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 13, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "id": 493, + "name": "default.shouldThrowOnError" + } + }, + { + "id": 459, + "name": "signal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + }, + "inheritedFrom": { + "type": "reference", + "id": 494, + "name": "default.signal" + } + }, + { + "id": 454, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 9, + "character": 12 + } + ], + "type": { + "type": "reference", + "qualifiedName": "URL", + "package": "typescript", + "name": "URL" + }, + "inheritedFrom": { + "type": "reference", + "id": 489, + "name": "default.url" + } + }, + { + "id": 433, + "name": "abortSignal", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 110, + "character": 2 + } + ], + "signatures": [ + { + "id": 434, + "name": "abortSignal", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Sets the AbortSignal for the fetch request." + }, + "parameters": [ + { + "id": 435, + "name": "signal", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "AbortSignal", + "package": "typescript", + "name": "AbortSignal" + } + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 440, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 138, + "character": 2 + } + ], + "signatures": [ + { + "id": 441, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to CSV." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 444, + "name": "explain", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 160, + "character": 2 + } + ], + "signatures": [ + { + "id": 445, + "name": "explain", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Obtains the EXPLAIN plan for this request." + }, + "parameters": [ + { + "id": 446, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 447, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 448, + "name": "analyze", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 167, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 451, + "name": "buffers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 170, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 450, + "name": "settings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 169, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 449, + "name": "verbose", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 168, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 452, + "name": "wal", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 171, + "character": 4 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 448, + 451, + 450, + 449, + 452 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 442, + "name": "geojson", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 146, + "character": 2 + } + ], + "signatures": [ + { + "id": 443, + "name": "geojson", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Set the response type to GeoJSON." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 420, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 2 + } + ], + "signatures": [ + { + "id": 421, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result with the specified `count`." + }, + "parameters": [ + { + "id": 422, + "name": "count", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The maximum no. of rows to limit to." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 423, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 424, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 425, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 85, + "character": 43 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 425 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 438, + "name": "maybeSingle", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 129, + "character": 2 + } + ], + "signatures": [ + { + "id": 439, + "name": "maybeSingle", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves at most one row from the result. Result must be at most one row\n(e.g. using `eq` on a UNIQUE column), otherwise this will result in an\nerror." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 521, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "PostgrestMaybeSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 404, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 51, + "character": 2 + } + ], + "signatures": [ + { + "id": 405, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Orders the result with the specified `column`." + }, + "typeParameter": [ + { + "id": 406, + "name": "ColumnName", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 407, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The column to order on." + }, + "type": { + "type": "reference", + "id": 316, + "name": "ColumnName" + } + }, + { + "id": 408, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 409, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 410, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 412, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "undefined" + } + }, + { + "id": 411, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 53, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 410, + 412, + 411 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + } + }, + { + "id": 413, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 414, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 415, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 416, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 417, + "name": "ascending", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 419, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 59 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 418, + "name": "nullsFirst", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 57, + "character": 37 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 417, + 419, + 418 + ] + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 426, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 2 + } + ], + "signatures": [ + { + "id": 427, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Limits the result to rows within the specified range, inclusive." + }, + "parameters": [ + { + "id": 428, + "name": "from", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The starting index from which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 429, + "name": "to", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The last index to which to limit the result, inclusive." + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 430, + "name": "foreignTable", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "The foreign table to use (for foreign columns).\n" + }, + "originalName": "__namedParameters", + "type": { + "type": "reflection", + "declaration": { + "id": 431, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 432, + "name": "foreignTable", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 98, + "character": 54 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 432 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 399, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 18, + "character": 2 + } + ], + "signatures": [ + { + "id": 400, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "typeParameter": [ + { + "id": 401, + "name": "Query", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "default": { + "type": "literal", + "value": "*" + } + }, + { + "id": 402, + "name": "NewResult", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "conditional", + "checkType": { + "type": "reference", + "id": 311, + "name": "Query" + }, + "extendsType": { + "type": "literal", + "value": "*" + }, + "trueType": { + "type": "literal", + "value": "*" + }, + "falseType": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "name": "GetResult" + } + } + ], + "parameters": [ + { + "id": 403, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "The columns to retrieve, separated by commas.\n" + }, + "type": { + "type": "reference", + "id": 311, + "name": "Query" + } + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 312, + "name": "NewResult" + } + ], + "name": "default" + } + } + ] + }, + { + "id": 436, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 119, + "character": 2 + } + ], + "signatures": [ + { + "id": 437, + "name": "single", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error." + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "PostgrestSingleResponse" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + } + ] + }, + { + "id": 469, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 50, + "character": 2 + } + ], + "signatures": [ + { + "id": 470, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "typeParameter": [ + { + "id": 471, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + }, + { + "id": 472, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "never" + } + } + ], + "parameters": [ + { + "id": 473, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 474, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 475, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 476, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 517, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "PostgrestResponse" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + }, + { + "id": 477, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 478, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 479, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 480, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 382, + "name": "TResult2" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 382, + "name": "TResult2" + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + } + ] + } + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 381, + "name": "TResult1" + }, + { + "type": "reference", + "id": 382, + "name": "TResult2" + } + ] + } + ], + "qualifiedName": "PromiseLike", + "package": "typescript", + "name": "PromiseLike" + }, + "inheritedFrom": { + "type": "reference", + "id": 505, + "name": "default.then" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 504, + "name": "default.then" + } + }, + { + "id": 466, + "name": "throwOnError", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/PostgrestBuilder.ts", + "line": 45, + "character": 2 + } + ], + "signatures": [ + { + "id": 467, + "name": "throwOnError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "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", + "tags": [ + { + "tag": "deprecated", + "text": "Use `throwOnError` in the `PostgrestClient` constructor instead.\n" + } + ] + }, + "parameters": [ + { + "id": 468, + "name": "throwOnError", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "type": { + "type": "reference", + "id": 393, + "typeArguments": [ + { + "type": "reference", + "id": 396, + "name": "Table" + }, + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + }, + "inheritedFrom": { + "type": "reference", + "id": 502, + "name": "default.throwOnError" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 501, + "name": "default.throwOnError" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 394 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 465, + 457, + 460, + 455, + 453, + 456, + 458, + 459, + 454 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 433, + 440, + 444, + 442, + 420, + 438, + 404, + 426, + 399, + 436, + 469, + 466 + ] + } + ], + "sources": [ + { + "fileName": "src/PostgrestTransformBuilder.ts", + "line": 9, + "character": 21 + } + ], + "typeParameter": [ + { + "id": 481, + "name": "Table", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 482, + "name": "Result", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 483, + "typeArguments": [ + { + "type": "reference", + "id": 397, + "name": "Result" + } + ], + "name": "default" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 111, + "name": "PostgrestFilterBuilder" + } + ] + }, + { + "id": 523, + "name": "PostgrestError", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "comment": { + "shortText": "Error format", + "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n" + }, + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 524, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 528, + "name": "code", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 12, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 526, + "name": "details", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 10, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 527, + "name": "hint", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 11, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 525, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 9, + "character": 2 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 528, + 526, + 527, + 525 + ] + } + ], + "sources": [ + { + "fileName": "src/types.ts", + "line": 8, + "character": 29 + } + ] + } + } + }, + { + "id": 521, + "name": "PostgrestMaybeSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 45, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 522, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "reference", + "id": 519, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "id": 522, + "name": "T" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + ], + "name": "PostgrestSingleResponse" + } + }, + { + "id": 517, + "name": "PostgrestResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 35, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 518, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 518, + "name": "T" + } + ], + "name": "PostgrestResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } + }, + { + "id": 519, + "name": "PostgrestSingleResponse", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "src/types.ts", + "line": 42, + "character": 12 + } + ], + "typeParameter": [ + { + "id": 520, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 520, + "name": "T" + } + ], + "name": "PostgrestSingleResponseSuccess" + }, + { + "type": "reference", + "name": "PostgrestResponseFailure" + } + ] + } + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 483, + 1, + 111, + 48, + 393 + ] + }, + { + "title": "Type Aliases", + "kind": 4194304, + "children": [ + 523, + 521, + 517, + 519 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] +}{ + "id": 0, + "name": "@supabase/realtime-js", + "kind": 0, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 386, + "name": "\"RealtimeChannel\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/RealtimeChannel.ts", + "children": [ + { + "id": 387, + "name": "RealtimeChannel", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 396, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 403, + "name": "new RealtimeChannel", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 404, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 405, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 406, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 407, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 408, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 19, + "character": 18 + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 409, + "name": "socket", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 146, + "name": "RealtimeClient" + } + } + ], + "type": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 15, + "character": 28 + } + ] + }, + { + "id": 388, + "name": "bindings", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 8, + "character": 10 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + }, + "defaultValue": "[]" + }, + { + "id": 392, + "name": "joinPush", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 12, + "character": 10 + } + ], + "type": { + "type": "reference", + "id": 35, + "name": "Push" + } + }, + { + "id": 391, + "name": "joinedOnce", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 11, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 398, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 19, + "character": 17 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 399, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 400, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 401, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 19, + "character": 18 + } + ] + } + } + }, + { + "id": 395, + "name": "presence", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 15, + "character": 10 + } + ], + "type": { + "type": "reference", + "id": 290, + "name": "RealtimePresence" + } + }, + { + "id": 394, + "name": "pushBuffer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 35, + "name": "Push" + } + }, + "defaultValue": "[]" + }, + { + "id": 393, + "name": "rejoinTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 13, + "character": 13 + } + ], + "type": { + "type": "reference", + "id": 101, + "name": "Timer" + } + }, + { + "id": 402, + "name": "socket", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 20, + "character": 17 + } + ], + "type": { + "type": "reference", + "id": 146, + "name": "RealtimeClient" + } + }, + { + "id": 390, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 10, + "character": 7 + } + ], + "type": { + "type": "reference", + "id": 9, + "name": "CHANNEL_STATES" + }, + "defaultValue": "CHANNEL_STATES.closed" + }, + { + "id": 389, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 9, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 397, + "name": "topic", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 18, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 436, + "name": "canPush", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 437, + "name": "canPush", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Returns `true` if the socket is connected and the channel has been joined." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 160, + "character": 9 + } + ] + }, + { + "id": 476, + "name": "isClosed", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 477, + "name": "isClosed", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 264, + "character": 10 + } + ] + }, + { + "id": 478, + "name": "isErrored", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 479, + "name": "isErrored", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 267, + "character": 11 + } + ] + }, + { + "id": 480, + "name": "isJoined", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 481, + "name": "isJoined", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 270, + "character": 10 + } + ] + }, + { + "id": 482, + "name": "isJoining", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 483, + "name": "isJoining", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 273, + "character": 11 + } + ] + }, + { + "id": 484, + "name": "isLeaving", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 485, + "name": "isLeaving", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 276, + "character": 11 + } + ] + }, + { + "id": 460, + "name": "isMember", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 461, + "name": "isMember", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 462, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 221, + "character": 10 + } + ] + }, + { + "id": 463, + "name": "joinRef", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 464, + "name": "joinRef", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 225, + "character": 9 + } + ] + }, + { + "id": 429, + "name": "off", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 430, + "name": "off", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 431, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 432, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 433, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 434, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 435, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 148, + "character": 27 + } + ] + } + } + } + ], + "type": { + "type": "unknown", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 148, + "character": 5 + } + ] + }, + { + "id": 421, + "name": "on", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 422, + "name": "on", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 423, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 424, + "name": "filter", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 425, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 426, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 427, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 428, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "unknown", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 139, + "character": 4 + } + ] + }, + { + "id": 415, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 416, + "name": "onClose", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Registers a callback that will be executed when the channel closes." + }, + "parameters": [ + { + "id": 417, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 128, + "character": 9 + } + ] + }, + { + "id": 418, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 419, + "name": "onError", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Registers a callback that will be executed when the channel encounteres an error." + }, + "parameters": [ + { + "id": 420, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 135, + "character": 9 + } + ] + }, + { + "id": 455, + "name": "onMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 456, + "name": "onMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 457, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 458, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 459, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 217, + "character": 11 + } + ] + }, + { + "id": 438, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 439, + "name": "push", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 440, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 441, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 442, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 443, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 444, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 164, + "character": 30 + } + ] + } + } + }, + { + "id": 445, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "this.timeout" + } + ], + "type": { + "type": "reference", + "id": 35, + "name": "Push" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 164, + "character": 6 + } + ] + }, + { + "id": 465, + "name": "rejoin", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 466, + "name": "rejoin", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 467, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "this.timeout" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 229, + "character": 8 + } + ] + }, + { + "id": 410, + "name": "rejoinUntilConnected", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 411, + "name": "rejoinUntilConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 94, + "character": 22 + } + ] + }, + { + "id": 473, + "name": "replyEventName", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 474, + "name": "replyEventName", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 475, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 260, + "character": 16 + } + ] + }, + { + "id": 412, + "name": "subscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 413, + "name": "subscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 414, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "this.timeout" + } + ], + "type": { + "type": "reference", + "id": 35, + "name": "Push" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 101, + "character": 11 + } + ] + }, + { + "id": 468, + "name": "trigger", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 469, + "name": "trigger", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 470, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 471, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 472, + "name": "ref", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 238, + "character": 9 + } + ] + }, + { + "id": 452, + "name": "unsubscribe", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 453, + "name": "unsubscribe", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 454, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "this.timeout" + } + ], + "type": { + "type": "reference", + "id": 35, + "name": "Push" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 192, + "character": 13 + } + ] + }, + { + "id": 446, + "name": "updateJoinPayload", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 447, + "name": "updateJoinPayload", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 448, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 449, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 450, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 451, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 179, + "character": 28 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 179, + "character": 19 + } + ] + }, + { + "id": 486, + "name": "isEqual", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExported": true + }, + "signatures": [ + { + "id": 487, + "name": "isEqual", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 488, + "name": "obj1", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 489, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 490, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 491, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 281, + "character": 9 + } + ] + } + } + }, + { + "id": 492, + "name": "obj2", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 493, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 494, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 495, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 282, + "character": 9 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 280, + "character": 24 + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 396 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 388, + 392, + 391, + 398, + 395, + 394, + 393, + 402, + 390, + 389, + 397 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 436, + 476, + 478, + 480, + 482, + 484, + 460, + 463, + 429, + 421, + 415, + 418, + 455, + 438, + 465, + 410, + 473, + 412, + 468, + 452, + 446, + 486 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 7, + "character": 36 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 387 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeChannel.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 145, + "name": "\"RealtimeClient\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/RealtimeClient.ts", + "children": [ + { + "id": 146, + "name": "RealtimeClient", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 178, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Initializes the Socket." + }, + "signatures": [ + { + "id": 179, + "name": "new RealtimeClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Initializes the Socket." + }, + "parameters": [ + { + "id": 180, + "name": "endPoint", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": 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": 181, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "reference", + "id": 258, + "name": "Options" + } + } + ], + "type": { + "type": "reference", + "id": 146, + "name": "RealtimeClient" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 73, + "character": 3 + } + ] + }, + { + "id": 147, + "name": "accessToken", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 43, + "character": 13 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 148, + "name": "channels", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 44, + "character": 10 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + }, + "defaultValue": "[]" + }, + { + "id": 170, + "name": "conn", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 60, + "character": 6 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "WebSocket" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 168, + "name": "decode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 58, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 167, + "name": "encode", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 57, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 149, + "name": "endPoint", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 45, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "\"\"" + }, + { + "id": 150, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 46, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 151, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 152, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 153, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + }, + "defaultValue": "DEFAULT_HEADERS" + }, + { + "id": 160, + "name": "heartbeatIntervalMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 50, + "character": 21 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "30000" + }, + { + "id": 162, + "name": "heartbeatTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 52, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "typeArguments": [ + { + "type": "query", + "queryType": { + "type": "reference", + "name": "setInterval" + } + } + ], + "name": "ReturnType" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 166, + "name": "logger", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 56, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + }, + "defaultValue": "noop" + }, + { + "id": 161, + "name": "longpollerTimeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 51, + "character": 19 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "20000" + }, + { + "id": 154, + "name": "params", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 47, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 155, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 156, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 157, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 163, + "name": "pendingHeartbeatRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 53, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 169, + "name": "reconnectAfterMs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 59, + "character": 18 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 165, + "name": "reconnectTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 55, + "character": 16 + } + ], + "type": { + "type": "reference", + "id": 101, + "name": "Timer" + } + }, + { + "id": 164, + "name": "ref", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 54, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "0" + }, + { + "id": 171, + "name": "sendBuffer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 61, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "name": "Function" + } + }, + "defaultValue": "[]" + }, + { + "id": 172, + "name": "serializer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 62, + "character": 12 + } + ], + "type": { + "type": "reference", + "id": 115, + "name": "Serializer" + }, + "defaultValue": "new Serializer()" + }, + { + "id": 158, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 48, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "DEFAULT_TIMEOUT" + }, + { + "id": 159, + "name": "transport", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 49, + "character": 11 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + }, + "defaultValue": "w3cwebsocket" + }, + { + "id": 247, + "name": "_appendParams", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 248, + "name": "_appendParams", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 249, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 250, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 251, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 252, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 253, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 405, + "character": 11 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 403, + "character": 23 + } + ] + }, + { + "id": 254, + "name": "_flushSendBuffer", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 255, + "name": "_flushSendBuffer", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 416, + "character": 26 + } + ] + }, + { + "id": 239, + "name": "_onConnClose", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 240, + "name": "_onConnClose", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 241, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 383, + "character": 22 + } + ] + }, + { + "id": 242, + "name": "_onConnError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 243, + "name": "_onConnError", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 244, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "ErrorEvent" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 391, + "character": 22 + } + ] + }, + { + "id": 237, + "name": "_onConnOpen", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 238, + "name": "_onConnOpen", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 371, + "character": 21 + } + ] + }, + { + "id": 256, + "name": "_sendHeartbeat", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 257, + "name": "_sendHeartbeat", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 423, + "character": 24 + } + ] + }, + { + "id": 245, + "name": "_triggerChanError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 246, + "name": "_triggerChanError", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 397, + "character": 27 + } + ] + }, + { + "id": 215, + "name": "channel", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 216, + "name": "channel", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 217, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 218, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 282, + "name": "ChannelParams" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 264, + "character": 9 + } + ] + }, + { + "id": 182, + "name": "connect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 183, + "name": "connect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Connects the socket, unless already connected." + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 125, + "character": 9 + } + ] + }, + { + "id": 208, + "name": "connectionState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 209, + "name": "connectionState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Returns the current state of the socket." + }, + "type": { + "type": "reference", + "id": 24, + "name": "CONNECTION_STATE" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 233, + "character": 17 + } + ] + }, + { + "id": 184, + "name": "disconnect", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 185, + "name": "disconnect", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Disconnects the socket." + }, + "parameters": [ + { + "id": 186, + "name": "code", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "comment": { + "text": "A numeric status code to send on disconnect." + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 187, + "name": "reason", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "comment": { + "text": "A custom reason for the disconnect.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 188, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 190, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 151, + "character": 40 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 189, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 151, + "character": 20 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "Error" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 190, + 189 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 151, + "character": 13 + } + ] + } + } + ], + "name": "Promise" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 148, + "character": 12 + } + ] + }, + { + "id": 227, + "name": "endPointURL", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 228, + "name": "endPointURL", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Returns the URL of the websocket." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 320, + "character": 13 + } + ] + }, + { + "id": 210, + "name": "isConnected", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 211, + "name": "isConnected", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Retuns `true` is the connection is open." + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 249, + "character": 13 + } + ] + }, + { + "id": 234, + "name": "leaveOpenTopic", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 235, + "name": "leaveOpenTopic", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Unsubscribe from channels with the specified topic." + }, + "parameters": [ + { + "id": 236, + "name": "topic", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 361, + "character": 16 + } + ] + }, + { + "id": 191, + "name": "log", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 192, + "name": "log", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Logs the message.", + "text": "For customized logging, `this.logger` can be overriden.\n" + }, + "parameters": [ + { + "id": 193, + "name": "kind", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 194, + "name": "msg", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 195, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 178, + "character": 5 + } + ] + }, + { + "id": 229, + "name": "makeRef", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 230, + "name": "makeRef", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Return the next message ref, accounting for overflows" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 330, + "character": 9 + } + ] + }, + { + "id": 199, + "name": "onClose", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 200, + "name": "onClose", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 201, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 202, + "character": 9 + } + ] + }, + { + "id": 222, + "name": "onConnMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 223, + "name": "onConnMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 224, + "name": "rawMessage", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 225, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 226, + "name": "data", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 290, + "character": 34 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 226 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 290, + "character": 27 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 290, + "character": 15 + } + ] + }, + { + "id": 202, + "name": "onError", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 203, + "name": "onError", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 204, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 214, + "character": 9 + } + ] + }, + { + "id": 205, + "name": "onMessage", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 206, + "name": "onMessage", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 207, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 226, + "character": 11 + } + ] + }, + { + "id": 196, + "name": "onOpen", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 197, + "name": "onOpen", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 198, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A function to be called when the event occurs.\n" + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 190, + "character": 8 + } + ] + }, + { + "id": 219, + "name": "push", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 220, + "name": "push", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 221, + "name": "data", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 276, + "name": "Message" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 275, + "character": 6 + } + ] + }, + { + "id": 212, + "name": "remove", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 213, + "name": "remove", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Removes a subscription from the socket." + }, + "parameters": [ + { + "id": 214, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "An open subscription.\n" + }, + "type": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 258, + "character": 8 + } + ] + }, + { + "id": 231, + "name": "setAuth", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 232, + "name": "setAuth", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS." + }, + "parameters": [ + { + "id": 233, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "A JWT string.\n" + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 346, + "character": 9 + } + ] + }, + { + "id": 173, + "name": "stateChangeCallbacks", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 175, + "name": "close", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 70, + "character": 9 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 176, + "name": "error", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 71, + "character": 9 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 177, + "name": "message", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 72, + "character": 11 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + }, + { + "id": 174, + "name": "open", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 69, + "character": 8 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "never" + } + }, + "defaultValue": "[]" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 175, + 176, + 177, + 174 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 63, + "character": 22 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 178 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 147, + 148, + 170, + 168, + 167, + 149, + 150, + 160, + 162, + 166, + 161, + 154, + 163, + 169, + 165, + 164, + 171, + 172, + 158, + 159 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 247, + 254, + 239, + 242, + 237, + 256, + 245, + 215, + 182, + 208, + 184, + 227, + 210, + 234, + 191, + 229, + 199, + 222, + 202, + 205, + 196, + 219, + 212, + 231 + ] + }, + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 173 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 42, + "character": 35 + } + ] + }, + { + "id": 282, + "name": "ChannelParams", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 35, + "character": 18 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 283, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": [ + { + "id": 285, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 286, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "children": [ + { + "id": 284, + "name": "selfBroadcast", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 36, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 284 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 35, + "character": 20 + } + ] + } + } + }, + { + "id": 276, + "name": "Message", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 28, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 277, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 279, + "name": "event", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 30, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 280, + "name": "payload", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 31, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + }, + { + "id": 281, + "name": "ref", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 32, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 278, + "name": "topic", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 29, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 279, + 280, + 281, + 278 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 28, + "character": 14 + } + ] + } + } + }, + { + "id": 258, + "name": "Options", + "kind": 4194304, + "kindString": "Type alias", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 16, + "character": 19 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 259, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 266, + "name": "decode", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 23, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 265, + "name": "encode", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 22, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 268, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 25, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 269, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 270, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 271, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 262, + "name": "heartbeatIntervalMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 19, + "character": 21 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 264, + "name": "logger", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 21, + "character": 8 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 263, + "name": "longpollerTimeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 20, + "character": 19 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 272, + "name": "params", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 26, + "character": 8 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 273, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 274, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 275, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + ] + } + }, + { + "id": 267, + "name": "reconnectAfterMs", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 24, + "character": 18 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 261, + "name": "timeout", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 18, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + }, + { + "id": 260, + "name": "transport", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 17, + "character": 11 + } + ], + "type": { + "type": "reference", + "name": "WebSocket" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 266, + 265, + 268, + 262, + 264, + 263, + 272, + 267, + 261, + 260 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 16, + "character": 21 + } + ] + } + } + }, + { + "id": 287, + "name": "noop", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "signatures": [ + { + "id": 288, + "name": "noop", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 40, + "character": 10 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 146 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 282, + 276, + 258 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 287 + ] + } + ], + "sources": [ + { + "fileName": "RealtimeClient.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 289, + "name": "\"RealtimePresence\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/RealtimePresence.ts", + "children": [ + { + "id": 290, + "name": "RealtimePresence", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 301, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Initializes the Presence." + }, + "signatures": [ + { + "id": 303, + "name": "new RealtimePresence", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Initializes the Presence." + }, + "parameters": [ + { + "id": 304, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The RealtimeChannel" + }, + "type": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + }, + { + "id": 305, + "name": "opts", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "comment": { + "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n" + }, + "type": { + "type": "reference", + "name": "PresenceOpts" + } + } + ], + "type": { + "type": "reference", + "id": 290, + "name": "RealtimePresence" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 55, + "character": 3 + } + ] + }, + { + "id": 302, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "comment": { + "shortText": "The RealtimeChannel" + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 64, + "character": 28 + } + ], + "type": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + }, + { + "id": 293, + "name": "joinRef", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 46, + "character": 9 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 292, + "name": "pendingDiffs", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 45, + "character": 14 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 376, + "name": "RawPresenceDiff" + } + }, + "defaultValue": "[]" + }, + { + "id": 291, + "name": "state", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 44, + "character": 7 + } + ], + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + }, + { + "id": 352, + "name": "inPendingSyncState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 353, + "name": "inPendingSyncState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 327, + "character": 28 + } + ] + }, + { + "id": 348, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 349, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 350, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 351, + "name": "by", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "reference", + "id": 380, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T", + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "PresenceChooser" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "typeParameter", + "name": "T", + "default": { + "type": "intrinsic", + "name": "any" + } + } + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 323, + "character": 6 + } + ] + }, + { + "id": 337, + "name": "onJoin", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 338, + "name": "onJoin", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 339, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "PresenceOnJoinCallback" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 311, + "character": 8 + } + ] + }, + { + "id": 340, + "name": "onLeave", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 341, + "name": "onLeave", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 342, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 315, + "character": 9 + } + ] + }, + { + "id": 343, + "name": "onSync", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 344, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 345, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 346, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 347, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 319, + "character": 18 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 319, + "character": 8 + } + ] + }, + { + "id": 331, + "name": "cloneDeep", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExported": true + }, + "signatures": [ + { + "id": 332, + "name": "cloneDeep", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 333, + "name": "obj", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 334, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 335, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 336, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 307, + "character": 31 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 307, + "character": 26 + } + ] + }, + { + "id": 318, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExported": true + }, + "signatures": [ + { + "id": 319, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Returns the array of presences, with selected metadata." + }, + "typeParameter": [ + { + "id": 320, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 321, + "name": "presences", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + }, + { + "id": 322, + "name": "chooser", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 380, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T", + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "PresenceChooser" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "typeParameter", + "name": "T", + "default": { + "type": "intrinsic", + "name": "any" + } + } + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 241, + "character": 13 + } + ] + }, + { + "id": 323, + "name": "map", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExported": true + }, + "signatures": [ + { + "id": 324, + "name": "map", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 325, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 326, + "name": "obj", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + }, + { + "id": 327, + "name": "func", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 380, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T", + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "PresenceChooser" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "typeParameter", + "name": "T", + "default": { + "type": "intrinsic", + "name": "any" + } + } + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 254, + "character": 20 + } + ] + }, + { + "id": 312, + "name": "syncDiff", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExported": true + }, + "signatures": [ + { + "id": 313, + "name": "syncDiff", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 314, + "name": "state", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + }, + { + "id": 315, + "name": "diff", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 376, + "name": "RawPresenceDiff" + }, + { + "type": "reference", + "id": 363, + "name": "PresenceDiff" + } + ] + } + }, + { + "id": 316, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 317, + "name": "onLeave", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 179, + "character": 17 + } + ] + }, + { + "id": 306, + "name": "syncState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isStatic": true, + "isExported": true + }, + "signatures": [ + { + "id": 307, + "name": "syncState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 308, + "name": "currentState", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + }, + { + "id": 309, + "name": "newState", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 367, + "name": "RawPresenceState" + }, + { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + ] + } + }, + { + "id": 310, + "name": "onJoin", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "PresenceOnJoinCallback" + } + }, + { + "id": 311, + "name": "onLeave", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "PresenceOnLeaveCallback" + } + } + ], + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 122, + "character": 18 + } + ] + }, + { + "id": 328, + "name": "transformState", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isStatic": true, + "isExported": true + }, + "signatures": [ + { + "id": 329, + "name": "transformState", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Remove 'metas' key\nChange 'phx_ref' to 'presence_ref'\nRemove 'phx_ref' and 'phx_ref_prev'", + "tags": [ + { + "tag": "example", + "text": "\n// returns {\n abc123: [\n { presence_ref: '2', user_id: 1 },\n { presence_ref: '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" + } + ] + }, + "parameters": [ + { + "id": 330, + "name": "state", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 367, + "name": "RawPresenceState" + }, + { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 282, + "character": 31 + } + ] + }, + { + "id": 294, + "name": "caller", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 295, + "name": "onJoin", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 296, + "name": "onJoin", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 52, + "character": 10 + } + ] + }, + { + "id": 297, + "name": "onLeave", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 298, + "name": "onLeave", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 53, + "character": 11 + } + ] + }, + { + "id": 299, + "name": "onSync", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 300, + "name": "onSync", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 54, + "character": 10 + } + ] + } + ], + "groups": [ + { + "title": "Functions", + "kind": 64, + "children": [ + 295, + 297, + 299 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 47, + "character": 8 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 301 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 302, + 293, + 292, + 291 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 352, + 348, + 337, + 340, + 343, + 331, + 318, + 323, + 312, + 306, + 328 + ] + }, + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 294 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 43, + "character": 37 + } + ] + }, + { + "id": 354, + "name": "Presence", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 13, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 355, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": [ + { + "id": 357, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 358, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "children": [ + { + "id": 356, + "name": "presence_ref", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 14, + "character": 14 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 356 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 13, + "character": 15 + } + ] + } + } + }, + { + "id": 380, + "name": "PresenceChooser", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "typeParameter": [ + { + "id": 381, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {} + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 41, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 382, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 383, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 384, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 385, + "name": "presences", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "typeParameter", + "name": "T" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 41, + "character": 25 + } + ] + } + } + }, + { + "id": 363, + "name": "PresenceDiff", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 20, + "character": 17 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 364, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 365, + "name": "joins", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 21, + "character": 7 + } + ], + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + }, + { + "id": 366, + "name": "leaves", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 22, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 359, + "name": "PresenceState" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 365, + 366 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 20, + "character": 19 + } + ] + } + } + }, + { + "id": 359, + "name": "PresenceState", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 18, + "character": 18 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 360, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": [ + { + "id": 361, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 362, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 354, + "name": "Presence" + } + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 18, + "character": 20 + } + ] + } + } + }, + { + "id": 376, + "name": "RawPresenceDiff", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 36, + "character": 20 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 377, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 378, + "name": "joins", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 37, + "character": 7 + } + ], + "type": { + "type": "reference", + "id": 367, + "name": "RawPresenceState" + } + }, + { + "id": 379, + "name": "leaves", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 38, + "character": 8 + } + ], + "type": { + "type": "reference", + "id": 367, + "name": "RawPresenceState" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 378, + 379 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 36, + "character": 22 + } + ] + } + } + }, + { + "id": 367, + "name": "RawPresenceState", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 25, + "character": 21 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 368, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": [ + { + "id": 369, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 370, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 530, + "typeArguments": [ + { + "type": "stringLiteral", + "value": "metas" + }, + { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 371, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": [ + { + "id": 374, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 375, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "children": [ + { + "id": 372, + "name": "phx_ref", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 29, + "character": 13 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 373, + "name": "phx_ref_prev", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 30, + "character": 18 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 372, + 373 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 27, + "character": 12 + } + ] + } + } + } + ], + "name": "Record" + } + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 25, + "character": 23 + } + ] + } + } + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 290 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 354, + 380, + 363, + 359, + 376, + 367 + ] + } + ], + "sources": [ + { + "fileName": "RealtimePresence.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 570, + "name": "\"index\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/index.ts", + "sources": [ + { + "fileName": "index.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 3, + "name": "\"lib/constants\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/constants.ts", + "children": [ + { + "id": 15, + "name": "CHANNEL_EVENTS", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 21, + "name": "access_token", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 32, + "character": 14 + } + ], + "defaultValue": "\"access_token\"" + }, + { + "id": 16, + "name": "close", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 27, + "character": 7 + } + ], + "defaultValue": "\"phx_close\"" + }, + { + "id": 17, + "name": "error", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 28, + "character": 7 + } + ], + "defaultValue": "\"phx_error\"" + }, + { + "id": 18, + "name": "join", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 29, + "character": 6 + } + ], + "defaultValue": "\"phx_join\"" + }, + { + "id": 20, + "name": "leave", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 31, + "character": 7 + } + ], + "defaultValue": "\"phx_leave\"" + }, + { + "id": 19, + "name": "reply", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 30, + "character": 7 + } + ], + "defaultValue": "\"phx_reply\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 21, + 16, + 17, + 18, + 20, + 19 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 26, + "character": 26 + } + ] + }, + { + "id": 9, + "name": "CHANNEL_STATES", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 10, + "name": "closed", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 19, + "character": 8 + } + ], + "defaultValue": "\"closed\"" + }, + { + "id": 11, + "name": "errored", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 20, + "character": 9 + } + ], + "defaultValue": "\"errored\"" + }, + { + "id": 12, + "name": "joined", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 21, + "character": 8 + } + ], + "defaultValue": "\"joined\"" + }, + { + "id": 13, + "name": "joining", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 22, + "character": 9 + } + ], + "defaultValue": "\"joining\"" + }, + { + "id": 14, + "name": "leaving", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 23, + "character": 9 + } + ], + "defaultValue": "\"leaving\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 10, + 11, + 12, + 13, + 14 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 18, + "character": 26 + } + ] + }, + { + "id": 24, + "name": "CONNECTION_STATE", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 28, + "name": "Closed", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 43, + "character": 8 + } + ], + "defaultValue": "\"closed\"" + }, + { + "id": 27, + "name": "Closing", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 42, + "character": 9 + } + ], + "defaultValue": "\"closing\"" + }, + { + "id": 25, + "name": "Connecting", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 40, + "character": 12 + } + ], + "defaultValue": "\"connecting\"" + }, + { + "id": 26, + "name": "Open", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 41, + "character": 6 + } + ], + "defaultValue": "\"open\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 28, + 27, + 25, + 26 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 39, + "character": 28 + } + ] + }, + { + "id": 4, + "name": "SOCKET_STATES", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 8, + "name": "closed", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 15, + "character": 8 + } + ], + "defaultValue": "3" + }, + { + "id": 7, + "name": "closing", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 14, + "character": 9 + } + ], + "defaultValue": "2" + }, + { + "id": 5, + "name": "connecting", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 12, + "character": 12 + } + ], + "defaultValue": "0" + }, + { + "id": 6, + "name": "open", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 13, + "character": 6 + } + ], + "defaultValue": "1" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 8, + 7, + 5, + 6 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 11, + "character": 25 + } + ] + }, + { + "id": 22, + "name": "TRANSPORTS", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 23, + "name": "websocket", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 36, + "character": 11 + } + ], + "defaultValue": "\"websocket\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 23 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 35, + "character": 22 + } + ] + }, + { + "id": 32, + "name": "DEFAULT_TIMEOUT", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 7, + "character": 28 + } + ], + "type": { + "type": "unknown", + "name": "10000" + }, + "defaultValue": "10000" + }, + { + "id": 31, + "name": "VSN", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 5, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "\"1.0.0\"" + }, + { + "id": 33, + "name": "WS_CLOSE_NORMAL", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 9, + "character": 28 + } + ], + "type": { + "type": "unknown", + "name": "1000" + }, + "defaultValue": "1000" + }, + { + "id": 29, + "name": "DEFAULT_HEADERS", + "kind": 2097152, + "kindString": "Object literal", + "flags": { + "isExported": true, + "isConst": true + }, + "children": [ + { + "id": 30, + "name": "X-Client-Info", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 48 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "`realtime-js/${version}`" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 30 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 3, + "character": 28 + } + ], + "type": { + "type": "intrinsic", + "name": "object" + } + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 4, + "children": [ + 15, + 9, + 24, + 4, + 22 + ] + }, + { + "title": "Variables", + "kind": 32, + "children": [ + 32, + 31, + 33 + ] + }, + { + "title": "Object literals", + "kind": 2097152, + "children": [ + 29 + ] + } + ], + "sources": [ + { + "fileName": "lib/constants.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 34, + "name": "\"lib/push\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/push.ts", + "children": [ + { + "id": 35, + "name": "Push", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 48, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Initializes the Push" + }, + "signatures": [ + { + "id": 56, + "name": "new Push", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Initializes the Push" + }, + "parameters": [ + { + "id": 57, + "name": "channel", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The Channel" + }, + "type": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + }, + { + "id": 58, + "name": "event", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The event, for example `\"phx_join\"`" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 59, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The payload, for example `{user_id: 123}`" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 60, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 61, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 62, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 29, + "character": 19 + } + ] + } + }, + "defaultValue": "{}" + }, + { + "id": 63, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The push timeout in milliseconds\n" + }, + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "DEFAULT_TIMEOUT" + } + ], + "type": { + "type": "reference", + "id": 35, + "name": "Push" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 16, + "character": 32 + } + ] + }, + { + "id": 49, + "name": "channel", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "comment": { + "shortText": "The Channel" + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 27, + "character": 18 + } + ], + "type": { + "type": "reference", + "id": 387, + "name": "RealtimeChannel" + } + }, + { + "id": 50, + "name": "event", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "comment": { + "shortText": "The event, for example `\"phx_join\"`" + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 28, + "character": 16 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 51, + "name": "payload", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "comment": { + "shortText": "The payload, for example `{user_id: 123}`" + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 29, + "character": 18 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 52, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 53, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 54, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 29, + "character": 19 + } + ] + } + } + }, + { + "id": 43, + "name": "recHooks", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 12, + "character": 10 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 44, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 46, + "name": "callback", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 14, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 45, + "name": "status", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 13, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 46, + 45 + ] + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 12, + "character": 11 + } + ] + } + } + }, + "defaultValue": "[]" + }, + { + "id": 39, + "name": "receivedResp", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 8, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 40, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 42, + "name": "response", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 10, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 41, + "name": "status", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 9, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 42, + 41 + ] + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 8, + "character": 15 + } + ] + } + }, + { + "type": "intrinsic", + "name": "null" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 38, + "name": "ref", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 7, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "\"\"" + }, + { + "id": 47, + "name": "refEvent", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 16, + "character": 10 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "null" + } + ] + }, + "defaultValue": "null" + }, + { + "id": 36, + "name": "sent", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 5, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false" + }, + { + "id": 55, + "name": "timeout", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "comment": { + "shortText": "The push timeout in milliseconds\n" + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 30, + "character": 18 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 37, + "name": "timeoutTimer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 6, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 87, + "name": "_cancelRefEvent", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 88, + "name": "_cancelRefEvent", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 100, + "character": 25 + } + ] + }, + { + "id": 89, + "name": "_cancelTimeout", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 90, + "name": "_cancelTimeout", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 108, + "character": 24 + } + ] + }, + { + "id": 97, + "name": "_hasReceived", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 98, + "name": "_hasReceived", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 99, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "null" + }, + { + "type": "intrinsic", + "name": "false" + }, + { + "type": "intrinsic", + "name": "true" + } + ] + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 125, + "character": 22 + } + ] + }, + { + "id": 91, + "name": "_matchReceive", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 92, + "name": "_matchReceive", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 93, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__0", + "type": { + "type": "reflection", + "declaration": { + "id": 94, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 96, + "name": "response", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 115, + "character": 12 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 95, + "name": "status", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/push.ts", + "line": 114, + "character": 10 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 96, + 95 + ] + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 113, + "character": 24 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 113, + "character": 23 + } + ] + }, + { + "id": 85, + "name": "destroy", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 86, + "name": "destroy", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 95, + "character": 9 + } + ] + }, + { + "id": 75, + "name": "receive", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 76, + "name": "receive", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 77, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 78, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "unknown", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 61, + "character": 9 + } + ] + }, + { + "id": 64, + "name": "resend", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 65, + "name": "resend", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 66, + "name": "timeout", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 33, + "character": 8 + } + ] + }, + { + "id": 67, + "name": "send", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 68, + "name": "send", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 43, + "character": 6 + } + ] + }, + { + "id": 79, + "name": "startTimeout", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 80, + "name": "startTimeout", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 70, + "character": 14 + } + ] + }, + { + "id": 81, + "name": "trigger", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 82, + "name": "trigger", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 83, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 84, + "name": "response", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 91, + "character": 9 + } + ] + }, + { + "id": 69, + "name": "updatePayload", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 70, + "name": "updatePayload", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 71, + "name": "payload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 72, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 73, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 74, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 57, + "character": 24 + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 57, + "character": 15 + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 48 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 49, + 50, + 51, + 43, + 39, + 38, + 47, + 36, + 55, + 37 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 87, + 89, + 97, + 91, + 85, + 75, + 64, + 67, + 79, + 81, + 69 + ] + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 4, + "character": 25 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 35 + ] + } + ], + "sources": [ + { + "fileName": "lib/push.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 114, + "name": "\"lib/serializer\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/serializer.ts", + "children": [ + { + "id": 115, + "name": "Serializer", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 116, + "name": "HEADER_LENGTH", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 5, + "character": 15 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "1" + }, + { + "id": 121, + "name": "_binaryDecode", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 122, + "name": "_binaryDecode", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 123, + "name": "buffer", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "ArrayBuffer" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 124, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 127, + "name": "event", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 33, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 128, + "name": "payload", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 34, + "character": 11 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 129, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 130, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 131, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 34, + "character": 12 + } + ] + } + } + }, + { + "id": 125, + "name": "ref", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 31, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "null" + } + }, + { + "id": 126, + "name": "topic", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 32, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 127, + 128, + 125, + 126 + ] + } + ] + } + } + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 19, + "character": 23 + } + ] + }, + { + "id": 132, + "name": "_decodeBroadcast", + "kind": 2048, + "kindString": "Method", + "flags": { + "isPrivate": true, + "isExported": true + }, + "signatures": [ + { + "id": 133, + "name": "_decodeBroadcast", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 134, + "name": "buffer", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "ArrayBuffer" + } + }, + { + "id": 135, + "name": "view", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "DataView" + } + }, + { + "id": 136, + "name": "decoder", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "TextDecoder" + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 137, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 140, + "name": "event", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 33, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 141, + "name": "payload", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 34, + "character": 11 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 142, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 143, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 144, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 34, + "character": 12 + } + ] + } + } + }, + { + "id": 138, + "name": "ref", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 31, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "null" + } + }, + { + "id": 139, + "name": "topic", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 32, + "character": 9 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 140, + 141, + 138, + 139 + ] + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 30, + "character": 4 + } + ] + } + } + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 26, + "character": 26 + } + ] + }, + { + "id": 117, + "name": "decode", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 118, + "name": "decode", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 119, + "name": "rawPayload", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "name": "ArrayBuffer" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 120, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 7, + "character": 8 + } + ] + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 116 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 121, + 132, + 117 + ] + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 4, + "character": 31 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 115 + ] + } + ], + "sources": [ + { + "fileName": "lib/serializer.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 100, + "name": "\"lib/timer\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/timer.ts", + "children": [ + { + "id": 101, + "name": "Timer", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Creates a timer that accepts a `timerCalc` function to perform calculated timeout retries, such as exponential backoff.", + "tags": [ + { + "tag": "example", + "text": "\n let reconnectTimer = new Timer(() => this.connect(), function(tries){\n return [1000, 5000, 10000][tries - 1] || 10000\n })\n reconnectTimer.scheduleTimeout() // fires after 1000\n reconnectTimer.scheduleTimeout() // fires after 5000\n reconnectTimer.reset()\n reconnectTimer.scheduleTimeout() // fires after 1000\n" + } + ] + }, + "children": [ + { + "id": 104, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 107, + "name": "new Timer", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 108, + "name": "callback", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 109, + "name": "timerCalc", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "name": "Function" + } + } + ], + "type": { + "type": "reference", + "id": 101, + "name": "Timer" + } + } + ], + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 15, + "character": 19 + } + ] + }, + { + "id": 105, + "name": "callback", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 17, + "character": 29 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 102, + "name": "timer", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 14, + "character": 7 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + }, + "defaultValue": "undefined" + }, + { + "id": 106, + "name": "timerCalc", + "kind": 1024, + "kindString": "Property", + "flags": { + "isPublic": true, + "isExported": true, + "isConstructorProperty": true + }, + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 17, + "character": 57 + } + ], + "type": { + "type": "reference", + "name": "Function" + } + }, + { + "id": 103, + "name": "tries", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 15, + "character": 7 + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "0" + }, + { + "id": 110, + "name": "reset", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 111, + "name": "reset", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 22, + "character": 7 + } + ] + }, + { + "id": 112, + "name": "scheduleTimeout", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 113, + "name": "scheduleTimeout", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "void" + } + } + ], + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 28, + "character": 17 + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 104 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 105, + 102, + 106, + 103 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 110, + 112 + ] + } + ], + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 13, + "character": 26 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 101 + ] + } + ], + "sources": [ + { + "fileName": "lib/timer.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 496, + "name": "\"lib/transformers\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/transformers.ts", + "children": [ + { + "id": 497, + "name": "PostgresTypes", + "kind": 4, + "kindString": "Enumeration", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Helpers to convert the change Payload into native JS types." + }, + "children": [ + { + "id": 498, + "name": "abstime", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 9, + "character": 9 + } + ], + "defaultValue": "\"abstime\"" + }, + { + "id": 499, + "name": "bool", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 10, + "character": 6 + } + ], + "defaultValue": "\"bool\"" + }, + { + "id": 500, + "name": "date", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 11, + "character": 6 + } + ], + "defaultValue": "\"date\"" + }, + { + "id": 501, + "name": "daterange", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 12, + "character": 11 + } + ], + "defaultValue": "\"daterange\"" + }, + { + "id": 502, + "name": "float4", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 13, + "character": 8 + } + ], + "defaultValue": "\"float4\"" + }, + { + "id": 503, + "name": "float8", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 14, + "character": 8 + } + ], + "defaultValue": "\"float8\"" + }, + { + "id": 504, + "name": "int2", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 15, + "character": 6 + } + ], + "defaultValue": "\"int2\"" + }, + { + "id": 505, + "name": "int4", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 16, + "character": 6 + } + ], + "defaultValue": "\"int4\"" + }, + { + "id": 506, + "name": "int4range", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 17, + "character": 11 + } + ], + "defaultValue": "\"int4range\"" + }, + { + "id": 507, + "name": "int8", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 18, + "character": 6 + } + ], + "defaultValue": "\"int8\"" + }, + { + "id": 508, + "name": "int8range", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 19, + "character": 11 + } + ], + "defaultValue": "\"int8range\"" + }, + { + "id": 509, + "name": "json", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 20, + "character": 6 + } + ], + "defaultValue": "\"json\"" + }, + { + "id": 510, + "name": "jsonb", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 21, + "character": 7 + } + ], + "defaultValue": "\"jsonb\"" + }, + { + "id": 511, + "name": "money", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 22, + "character": 7 + } + ], + "defaultValue": "\"money\"" + }, + { + "id": 512, + "name": "numeric", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 23, + "character": 9 + } + ], + "defaultValue": "\"numeric\"" + }, + { + "id": 513, + "name": "oid", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 24, + "character": 5 + } + ], + "defaultValue": "\"oid\"" + }, + { + "id": 514, + "name": "reltime", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 25, + "character": 9 + } + ], + "defaultValue": "\"reltime\"" + }, + { + "id": 515, + "name": "text", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 26, + "character": 6 + } + ], + "defaultValue": "\"text\"" + }, + { + "id": 516, + "name": "time", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 27, + "character": 6 + } + ], + "defaultValue": "\"time\"" + }, + { + "id": 517, + "name": "timestamp", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 28, + "character": 11 + } + ], + "defaultValue": "\"timestamp\"" + }, + { + "id": 518, + "name": "timestamptz", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 29, + "character": 13 + } + ], + "defaultValue": "\"timestamptz\"" + }, + { + "id": 519, + "name": "timetz", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 30, + "character": 8 + } + ], + "defaultValue": "\"timetz\"" + }, + { + "id": 520, + "name": "tsrange", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 31, + "character": 9 + } + ], + "defaultValue": "\"tsrange\"" + }, + { + "id": 521, + "name": "tstzrange", + "kind": 16, + "kindString": "Enumeration member", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 32, + "character": 11 + } + ], + "defaultValue": "\"tstzrange\"" + } + ], + "groups": [ + { + "title": "Enumeration members", + "kind": 16, + "children": [ + 498, + 499, + 500, + 501, + 502, + 503, + 504, + 505, + 506, + 507, + 508, + 509, + 510, + 511, + 512, + 513, + 514, + 515, + 516, + 517, + 518, + 519, + 520, + 521 + ] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 8, + "character": 25 + } + ] + }, + { + "id": 528, + "name": "BaseValue", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 42, + "character": 14 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "null" + }, + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + }, + { + "id": 522, + "name": "Columns", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 35, + "character": 12 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 523, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 526, + "name": "flags", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 38, + "character": 7 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 524, + "name": "name", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 36, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 525, + "name": "type", + "kind": 32, + "kindString": "Variable", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 37, + "character": 6 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 527, + "name": "type_modifier", + "kind": 32, + "kindString": "Variable", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 39, + "character": 15 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "number" + } + ] + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 526, + 524, + 525, + 527 + ] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 35, + "character": 14 + } + ] + } + } + } + }, + { + "id": 530, + "name": "Record", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 45, + "character": 11 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 531, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "indexSignature": [ + { + "id": 532, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 533, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 45, + "character": 13 + } + ] + } + } + }, + { + "id": 529, + "name": "RecordValue", + "kind": 4194304, + "kindString": "Type alias", + "flags": {}, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 43, + "character": 16 + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "id": 528, + "name": "BaseValue" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "id": 528, + "name": "BaseValue" + } + } + ] + } + }, + { + "id": 547, + "name": "convertCell", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": 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" + } + ] + }, + "signatures": [ + { + "id": 548, + "name": "convertCell", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 549, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "A postgres column type" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 550, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 118, + "character": 24 + } + ] + }, + { + "id": 534, + "name": "convertChangeData", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": 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" + } + ] + }, + "signatures": [ + { + "id": 535, + "name": "convertChangeData", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 536, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 522, + "name": "Columns" + } + }, + { + "id": 537, + "name": "record", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": {}, + "type": { + "type": "reference", + "id": 530, + "name": "Record" + } + }, + { + "id": 538, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The map of various options that can be applied to the mapper" + }, + "type": { + "type": "reflection", + "declaration": { + "id": 539, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 540, + "name": "skipTypes", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 64, + "character": 22 + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 540 + ] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 64, + "character": 10 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 530, + "name": "Record" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 61, + "character": 30 + } + ] + }, + { + "id": 541, + "name": "convertColumn", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": 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" + } + ] + }, + "signatures": [ + { + "id": 542, + "name": "convertColumn", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 543, + "name": "columnName", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The column that you want to convert" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 544, + "name": "columns", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 522, + "name": "Columns" + } + }, + { + "id": 545, + "name": "record", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "The map of string values" + }, + "type": { + "type": "reference", + "id": 530, + "name": "Record" + } + }, + { + "id": 546, + "name": "skipTypes", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "An array of types that should not be converted" + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 88, + "character": 26 + } + ] + }, + { + "id": 551, + "name": "noop", + "kind": 64, + "kindString": "Function", + "flags": { + "isConst": true + }, + "signatures": [ + { + "id": 552, + "name": "noop", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 553, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 162, + "character": 10 + } + ] + }, + { + "id": 563, + "name": "toArray", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": 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" + } + ] + }, + "signatures": [ + { + "id": 564, + "name": "toArray", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 565, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + }, + { + "id": 566, + "name": "type", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 206, + "character": 20 + } + ] + }, + { + "id": 554, + "name": "toBoolean", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": true + }, + "signatures": [ + { + "id": 555, + "name": "toBoolean", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 556, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 165, + "character": 22 + } + ] + }, + { + "id": 560, + "name": "toJson", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": true + }, + "signatures": [ + { + "id": 561, + "name": "toJson", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 562, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 184, + "character": 19 + } + ] + }, + { + "id": 557, + "name": "toNumber", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": true + }, + "signatures": [ + { + "id": 558, + "name": "toNumber", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 559, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 175, + "character": 21 + } + ] + }, + { + "id": 567, + "name": "toTimestampString", + "kind": 64, + "kindString": "Function", + "flags": { + "isExported": true, + "isConst": 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" + } + ] + }, + "signatures": [ + { + "id": 568, + "name": "toTimestampString", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": 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": 569, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "type": { + "type": "reference", + "id": 529, + "name": "RecordValue" + } + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 241, + "character": 30 + } + ] + } + ], + "groups": [ + { + "title": "Enumerations", + "kind": 4, + "children": [ + 497 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 528, + 522, + 530, + 529 + ] + }, + { + "title": "Functions", + "kind": 64, + "children": [ + 547, + 534, + 541, + 551, + 563, + 554, + 560, + 557, + 567 + ] + } + ], + "sources": [ + { + "fileName": "lib/transformers.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 1, + "name": "\"lib/version\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/Users/inian/dev/supabase/realtime-js/src/lib/version.ts", + "children": [ + { + "id": 2, + "name": "version", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true, + "isConst": true + }, + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 20 + } + ], + "type": { + "type": "stringLiteral", + "value": "0.0.0-automated" + }, + "defaultValue": "\"0.0.0-automated\"" + } + ], + "groups": [ + { + "title": "Variables", + "kind": 32, + "children": [ + 2 + ] + } + ], + "sources": [ + { + "fileName": "lib/version.ts", + "line": 1, + "character": 0 + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "kind": 1, + "children": [ + 386, + 145, + 289, + 570, + 3, + 34, + 114, + 100, + 496, + 1 + ] + } + ] +}{ + "id": 0, + "name": "@supabase/storage-js", + "kind": 1, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "index", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 375, + "name": "StorageApiError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 376, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 17, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L17" + } + ], + "signatures": [ + { + "id": 377, + "name": "new StorageApiError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 378, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 379, + "name": "status", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "id": 375, + "name": "StorageApiError" + }, + "overwrites": { + "type": "reference", + "id": 372, + "name": "StorageError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 371, + "name": "StorageError.constructor" + } + }, + { + "id": 387, + "name": "__isStorageError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 2, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L2" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "true", + "inheritedFrom": { + "type": "reference", + "id": 374, + "name": "StorageError.__isStorageError" + } + }, + { + "id": 380, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 381, + "name": "toJSON", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L23" + } + ], + "signatures": [ + { + "id": 382, + "name": "toJSON", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 383, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 385, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 26, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L26" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 384, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 25, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L25" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "..." + }, + { + "id": 386, + "name": "status", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 27, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L27" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "defaultValue": "..." + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 385, + 384, + 386 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 24, + "character": 11, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L24" + } + ] + } + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 376 + ] + }, + { + "title": "Properties", + "children": [ + 387, + 380 + ] + }, + { + "title": "Methods", + "children": [ + 381 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 14, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L14" + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 370, + "name": "StorageError" + } + ] + }, + { + "id": 245, + "name": "StorageClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 246, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 6, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L6" + } + ], + "signatures": [ + { + "id": 247, + "name": "new StorageClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 248, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 249, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 250, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 6, + "character": 36, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L6" + } + ], + "indexSignature": { + "id": 251, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 252, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 253, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 254, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 17731, + "character": 17 + } + ], + "signatures": [ + { + "id": 255, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 256, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + } + }, + { + "id": 257, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 245, + "name": "StorageClient" + }, + "overwrites": { + "type": "reference", + "id": 5, + "name": "default.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 4, + "name": "default.constructor" + } + }, + { + "id": 266, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 10, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L10" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 267, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 17731, + "character": 17 + } + ], + "signatures": [ + { + "id": 268, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 269, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + } + }, + { + "id": 270, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "id": 21, + "name": "default.fetch" + } + }, + { + "id": 262, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 9, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 263, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 9, + "character": 21, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9" + } + ], + "indexSignature": { + "id": 264, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 265, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "inheritedFrom": { + "type": "reference", + "id": 17, + "name": "default.headers" + } + }, + { + "id": 261, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 8, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "id": 16, + "name": "default.url" + } + }, + { + "id": 288, + "name": "createBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 78, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L78" + } + ], + "signatures": [ + { + "id": 289, + "name": "createBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new Storage bucket" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "newly created bucket id" + } + ] + } + ] + }, + "parameters": [ + { + "id": 290, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are creating." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 291, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 292, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 293, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 80, + "character": 15, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 293 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 80, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80" + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 294, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 295, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 83, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L83" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 336, + "name": "Bucket" + }, + { + "type": "literal", + "value": "name" + } + ], + "name": "Pick", + "qualifiedName": "Pick", + "package": "typescript" + } + }, + { + "id": 296, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 84, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L84" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 295, + 296 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 82, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L82" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 297, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 298, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 87, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L87" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 299, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 88, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L88" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 298, + 299 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 86, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L86" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "id": 44, + "name": "default.createBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 43, + "name": "default.createBucket" + } + }, + { + "id": 325, + "name": "deleteBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 183, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L183" + } + ], + "signatures": [ + { + "id": 326, + "name": "deleteBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first " + }, + { + "kind": "code", + "text": "`empty()`" + }, + { + "kind": "text", + "text": " the bucket." + } + ] + }, + "parameters": [ + { + "id": 327, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to delete." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 328, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 329, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 187, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 330, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 331, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 187, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 331 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 187, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187" + } + ] + } + } + }, + { + "id": 332, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 188, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L188" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 329, + 332 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 186, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L186" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 333, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 334, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 191, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L191" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 335, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 192, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L192" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 334, + 335 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 190, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L190" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "id": 81, + "name": "default.deleteBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 80, + "name": "default.deleteBucket" + } + }, + { + "id": 314, + "name": "emptyBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 148, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L148" + } + ], + "signatures": [ + { + "id": 315, + "name": "emptyBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Removes all objects inside a single bucket." + } + ] + }, + "parameters": [ + { + "id": 316, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to empty." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 317, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 318, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 319, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 320, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 320 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152" + } + ] + } + } + }, + { + "id": 321, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 153, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L153" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 318, + 321 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 151, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L151" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 322, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 323, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 156, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L156" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 324, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 157, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L157" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 323, + 324 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 155, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L155" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "id": 70, + "name": "default.emptyBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 69, + "name": "default.emptyBucket" + } + }, + { + "id": 258, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L15" + } + ], + "signatures": [ + { + "id": 259, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform file operation in a bucket." + } + ] + }, + "parameters": [ + { + "id": 260, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The bucket id to operate on." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 92, + "name": "default" + } + } + ] + }, + { + "id": 279, + "name": "getBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 48, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L48" + } + ], + "signatures": [ + { + "id": 280, + "name": "getBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of an existing Storage bucket." + } + ] + }, + "parameters": [ + { + "id": 281, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 282, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 283, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 52, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L52" + } + ], + "type": { + "type": "reference", + "id": 336, + "name": "Bucket" + } + }, + { + "id": 284, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 53, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L53" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 283, + 284 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 51, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L51" + } + ] + } + }, + { + "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/packages/StorageBucketApi.ts", + "line": 56, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L56" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 287, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 57, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L57" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 286, + 287 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 55, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L55" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "id": 35, + "name": "default.getBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 34, + "name": "default.getBucket" + } + }, + { + "id": 271, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 21, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L21" + } + ], + "signatures": [ + { + "id": 272, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of all Storage buckets within an existing project." + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 273, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 274, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 23, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L23" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 336, + "name": "Bucket" + } + } + }, + { + "id": 275, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 24, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L24" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 274, + 275 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 22, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L22" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 276, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 277, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 27, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L27" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 278, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 28, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L28" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 277, + 278 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 26, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L26" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "id": 27, + "name": "default.listBuckets" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 26, + "name": "default.listBuckets" + } + }, + { + "id": 300, + "name": "updateBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 113, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L113" + } + ], + "signatures": [ + { + "id": 301, + "name": "updateBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates a new Storage bucket" + } + ] + }, + "parameters": [ + { + "id": 302, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are updating." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 303, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 304, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 305, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 115, + "character": 15, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 305 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 115, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 306, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 307, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 118, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 308, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 309, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 118, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 309 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 118, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118" + } + ] + } + } + }, + { + "id": 310, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 119, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L119" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 307, + 310 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 117, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L117" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 311, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 312, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 122, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L122" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 313, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 123, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L123" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 312, + 313 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 121, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L121" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "id": 56, + "name": "default.updateBucket" + } + } + ], + "inheritedFrom": { + "type": "reference", + "id": 55, + "name": "default.updateBucket" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 246 + ] + }, + { + "title": "Properties", + "children": [ + 266, + 262, + 261 + ] + }, + { + "title": "Methods", + "children": [ + 288, + 325, + 314, + 258, + 279, + 271, + 300 + ] + } + ], + "sources": [ + { + "fileName": "src/StorageClient.ts", + "line": 5, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/StorageClient.ts#L5" + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 3, + "name": "default" + } + ] + }, + { + "id": 370, + "name": "StorageError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 371, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 4, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L4" + } + ], + "signatures": [ + { + "id": 372, + "name": "new StorageError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 373, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + }, + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "name": "Error.constructor" + } + }, + { + "id": 374, + "name": "__isStorageError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 2, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L2" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "true" + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 371 + ] + }, + { + "title": "Properties", + "children": [ + 374 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 1, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L1" + } + ], + "extendedTypes": [ + { + "type": "reference", + "name": "Error", + "qualifiedName": "Error", + "package": "typescript" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 375, + "name": "StorageApiError" + }, + { + "type": "reference", + "id": 388, + "name": "StorageUnknownError" + } + ] + }, + { + "id": 388, + "name": "StorageUnknownError", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 389, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 35, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L35" + } + ], + "signatures": [ + { + "id": 390, + "name": "new StorageUnknownError", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 391, + "name": "message", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 392, + "name": "originalError", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "reference", + "id": 388, + "name": "StorageUnknownError" + }, + "overwrites": { + "type": "reference", + "id": 372, + "name": "StorageError.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "id": 371, + "name": "StorageError.constructor" + } + }, + { + "id": 394, + "name": "__isStorageError", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 2, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L2" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "true", + "inheritedFrom": { + "type": "reference", + "id": 374, + "name": "StorageError.__isStorageError" + } + }, + { + "id": 393, + "name": "originalError", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 33, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L33" + } + ], + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 389 + ] + }, + { + "title": "Properties", + "children": [ + 394, + 393 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 32, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L32" + } + ], + "extendedTypes": [ + { + "type": "reference", + "id": 370, + "name": "StorageError" + } + ] + }, + { + "id": 336, + "name": "Bucket", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 340, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 5, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L5" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 337, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 2, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L2" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 338, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 3, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L3" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 339, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 4, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L4" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 342, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 7, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L7" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 341, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 6, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L6" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 340, + 337, + 338, + 339, + 342, + 341 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 1, + "character": 17, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L1" + } + ] + }, + { + "id": 343, + "name": "FileObject", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 345, + "name": "bucket_id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 12, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L12" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 352, + "name": "buckets", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 19, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L19" + } + ], + "type": { + "type": "reference", + "id": 336, + "name": "Bucket" + } + }, + { + "id": 349, + "name": "created_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 16, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L16" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 347, + "name": "id", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 14, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L14" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 350, + "name": "last_accessed_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 17, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L17" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 351, + "name": "metadata", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 18, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L18" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Record", + "qualifiedName": "Record", + "package": "typescript" + } + }, + { + "id": 344, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 11, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L11" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 346, + "name": "owner", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 13, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L13" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 348, + "name": "updated_at", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 15, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L15" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 345, + 352, + 349, + 347, + 350, + 351, + 344, + 346, + 348 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 10, + "character": 17, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L10" + } + ] + }, + { + "id": 356, + "name": "FileOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 357, + "name": "cacheControl", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 28, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L28" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 358, + "name": "contentType", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 29, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L29" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 359, + "name": "upsert", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 30, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L30" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 357, + 358, + 359 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 27, + "character": 17, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L27" + } + ] + }, + { + "id": 365, + "name": "Metadata", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 366, + "name": "name", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 49, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L49" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 366 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 48, + "character": 17, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L48" + } + ] + }, + { + "id": 360, + "name": "SearchOptions", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 361, + "name": "limit", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of files you want to be returned." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 35, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L35" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 362, + "name": "offset", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The starting position." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 38, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L38" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 364, + "name": "search", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The search string to filter files by." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 44, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L44" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 363, + "name": "sortBy", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The column to sort by. Can be any column inside a FileObject." + } + ] + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 41, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L41" + } + ], + "type": { + "type": "reference", + "id": 353, + "name": "SortBy" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 361, + 362, + 364, + 363 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 33, + "character": 17, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L33" + } + ] + }, + { + "id": 353, + "name": "SortBy", + "kind": 256, + "kindString": "Interface", + "flags": {}, + "children": [ + { + "id": 354, + "name": "column", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 23, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L23" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 355, + "name": "order", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 24, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 354, + 355 + ] + } + ], + "sources": [ + { + "fileName": "src/lib/types.ts", + "line": 22, + "character": 17, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/types.ts#L22" + } + ] + }, + { + "id": 367, + "name": "isStorageError", + "kind": 64, + "kindString": "Function", + "flags": {}, + "sources": [ + { + "fileName": "src/lib/errors.ts", + "line": 10, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/lib/errors.ts#L10" + } + ], + "signatures": [ + { + "id": 368, + "name": "isStorageError", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 369, + "name": "error", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "predicate", + "name": "error", + "asserts": false, + "targetType": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [ + 375, + 245, + 370, + 388 + ] + }, + { + "title": "Interfaces", + "children": [ + 336, + 343, + 356, + 365, + 360, + 353 + ] + }, + { + "title": "Functions", + "children": [ + 367 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/index.ts#L1" + } + ] + }, + { + "id": 2, + "name": "packages/StorageBucketApi", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 3, + "name": "default", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 4, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 12, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L12" + } + ], + "signatures": [ + { + "id": 5, + "name": "new default", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 6, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 7, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 8, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 12, + "character": 36, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L12" + } + ], + "indexSignature": { + "id": 9, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 10, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 11, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 12, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 17731, + "character": 17 + } + ], + "signatures": [ + { + "id": 13, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 14, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + } + }, + { + "id": 15, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 3, + "name": "default" + } + } + ] + }, + { + "id": 21, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 10, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L10" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 22, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 17731, + "character": 17 + } + ], + "signatures": [ + { + "id": 23, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 24, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + } + }, + { + "id": 25, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 17, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 9, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 9, + "character": 21, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L9" + } + ], + "indexSignature": { + "id": 19, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 20, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 16, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 8, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L8" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 43, + "name": "createBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 78, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L78" + } + ], + "signatures": [ + { + "id": 44, + "name": "createBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new Storage bucket" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "newly created bucket id" + } + ] + } + ] + }, + "parameters": [ + { + "id": 45, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are creating." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 46, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 47, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 48, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 80, + "character": 15, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 48 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 80, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L80" + } + ] + } + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 49, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 50, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 83, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L83" + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "id": 336, + "name": "Bucket" + }, + { + "type": "literal", + "value": "name" + } + ], + "name": "Pick", + "qualifiedName": "Pick", + "package": "typescript" + } + }, + { + "id": 51, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 84, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L84" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 50, + 51 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 82, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L82" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 52, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 53, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 87, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L87" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 54, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 88, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L88" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 53, + 54 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 86, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L86" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 80, + "name": "deleteBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 183, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L183" + } + ], + "signatures": [ + { + "id": 81, + "name": "deleteBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes an existing bucket. A bucket can't be deleted with existing objects inside it.\nYou must first " + }, + { + "kind": "code", + "text": "`empty()`" + }, + { + "kind": "text", + "text": " the bucket." + } + ] + }, + "parameters": [ + { + "id": 82, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to delete." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 83, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 84, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 187, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 85, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 86, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 187, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 86 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 187, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L187" + } + ] + } + } + }, + { + "id": 87, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 188, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L188" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 84, + 87 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 186, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L186" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 88, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 89, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 191, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L191" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 90, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 192, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L192" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 89, + 90 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 190, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L190" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 69, + "name": "emptyBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 148, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L148" + } + ], + "signatures": [ + { + "id": 70, + "name": "emptyBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Removes all objects inside a single bucket." + } + ] + }, + "parameters": [ + { + "id": 71, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to empty." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 72, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 73, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 74, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 75, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 75 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 152, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L152" + } + ] + } + } + }, + { + "id": 76, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 153, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L153" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 73, + 76 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 151, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L151" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 77, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 78, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 156, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L156" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 79, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 157, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L157" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 78, + 79 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 155, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L155" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 34, + "name": "getBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 48, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L48" + } + ], + "signatures": [ + { + "id": 35, + "name": "getBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of an existing Storage bucket." + } + ] + }, + "parameters": [ + { + "id": 36, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The unique identifier of the bucket you would like to retrieve." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 37, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 38, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 52, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L52" + } + ], + "type": { + "type": "reference", + "id": 336, + "name": "Bucket" + } + }, + { + "id": 39, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 53, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L53" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 38, + 39 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 51, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L51" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 40, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 41, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 56, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L56" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 42, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 57, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L57" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 41, + 42 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 55, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L55" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 26, + "name": "listBuckets", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 21, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L21" + } + ], + "signatures": [ + { + "id": 27, + "name": "listBuckets", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the details of all Storage buckets within an existing project." + } + ] + }, + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 28, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 29, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 23, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L23" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 336, + "name": "Bucket" + } + } + }, + { + "id": 30, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 24, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L24" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 29, + 30 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 22, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L22" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 31, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 32, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 27, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L27" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 33, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 28, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L28" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 32, + 33 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 26, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L26" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 55, + "name": "updateBucket", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 113, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L113" + } + ], + "signatures": [ + { + "id": 56, + "name": "updateBucket", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Updates a new Storage bucket" + } + ] + }, + "parameters": [ + { + "id": 57, + "name": "id", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A unique identifier for the bucket you are updating." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 58, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 59, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 60, + "name": "public", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 115, + "character": 15, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 60 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 115, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L115" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 61, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 62, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 118, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 63, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 64, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 118, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 64 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 118, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L118" + } + ] + } + } + }, + { + "id": 65, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 119, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L119" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 62, + 65 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 117, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L117" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 66, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 67, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 122, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L122" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 68, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 123, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L123" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 67, + 68 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 121, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L121" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 4 + ] + }, + { + "title": "Properties", + "children": [ + 21, + 17, + 16 + ] + }, + { + "title": "Methods", + "children": [ + 43, + 80, + 69, + 34, + 26, + 55 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 7, + "character": 21, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L7" + } + ], + "extendedBy": [ + { + "type": "reference", + "id": 245, + "name": "StorageClient" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [ + 3 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageBucketApi.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageBucketApi.ts#L1" + } + ] + }, + { + "id": 91, + "name": "packages/StorageFileApi", + "kind": 2, + "kindString": "Module", + "flags": {}, + "children": [ + { + "id": 92, + "name": "default", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 93, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 27, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L27" + } + ], + "signatures": [ + { + "id": 94, + "name": "new default", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 95, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 96, + "name": "headers", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 97, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 29, + "character": 13, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L29" + } + ], + "indexSignature": { + "id": 98, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 99, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + }, + "defaultValue": "{}" + }, + { + "id": 100, + "name": "bucketId", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 101, + "name": "fetch", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 102, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 17731, + "character": 17 + } + ], + "signatures": [ + { + "id": 103, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 104, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + } + }, + { + "id": 105, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "id": 92, + "name": "default" + } + } + ] + }, + { + "id": 111, + "name": "bucketId", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 24, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L24" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 112, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 25, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L25" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 113, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "node_modules/typescript/lib/lib.dom.d.ts", + "line": 17731, + "character": 17 + } + ], + "signatures": [ + { + "id": 114, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 115, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "name": "RequestInfo", + "qualifiedName": "RequestInfo", + "package": "typescript" + } + }, + { + "id": 116, + "name": "init", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "name": "RequestInit", + "qualifiedName": "RequestInit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Response", + "qualifiedName": "Response", + "package": "typescript" + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 107, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 23, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L23" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 108, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 23, + "character": 21, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L23" + } + ], + "indexSignature": { + "id": 109, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": {}, + "parameters": [ + { + "id": 110, + "name": "key", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + } + } + }, + { + "id": 106, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 22, + "character": 12, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L22" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 169, + "name": "copy", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 238, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L238" + } + ], + "signatures": [ + { + "id": 170, + "name": "copy", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Copies an existing file." + } + ] + }, + "parameters": [ + { + "id": 171, + "name": "fromPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original file path, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 172, + "name": "toPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new file path, including the new file name. For example " + }, + { + "kind": "code", + "text": "`folder/image-copy.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 173, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 174, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 243, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L243" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 175, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 176, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 243, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L243" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 176 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 243, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L243" + } + ] + } + } + }, + { + "id": 177, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 244, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L244" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 174, + 177 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 242, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L242" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 178, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 179, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 247, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L247" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 180, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 248, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L248" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 179, + 180 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 246, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L246" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 181, + "name": "createSignedUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 274, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L274" + } + ], + "signatures": [ + { + "id": 182, + "name": "createSignedUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create signed URL to download file without requiring permissions. This URL can be valid for a set number of seconds." + } + ] + }, + "parameters": [ + { + "id": 183, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path to be downloaded, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 184, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the signed URL expires. For example, " + }, + { + "kind": "code", + "text": "`60`" + }, + { + "kind": "text", + "text": " for a URL which is valid for one minute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 185, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 186, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 279, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L279" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 187, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 188, + "name": "signedURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 279, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L279" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 188 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 279, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L279" + } + ] + } + } + }, + { + "id": 189, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 280, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L280" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 186, + 189 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 278, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L278" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 190, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 191, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 283, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L283" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 192, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 284, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L284" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 191, + 192 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 282, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L282" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 193, + "name": "createSignedUrls", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 313, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L313" + } + ], + "signatures": [ + { + "id": 194, + "name": "createSignedUrls", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create signed URLs to download files without requiring permissions. These URLs can be valid for a set number of seconds." + } + ] + }, + "parameters": [ + { + "id": 195, + "name": "paths", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file paths to be downloaded, including the current file names. For example " + }, + { + "kind": "code", + "text": "`['folder/image.png', 'folder2/image2.png']`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 196, + "name": "expiresIn", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The number of seconds until the signed URLs expire. For example, " + }, + { + "kind": "code", + "text": "`60`" + }, + { + "kind": "text", + "text": " for URLs which are valid for one minute." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 197, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 198, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 318, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 199, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 200, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 318, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 201, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 318, + "character": 38, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + }, + { + "id": 202, + "name": "signedURL", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 318, + "character": 59, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 200, + 201, + 202 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 318, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L318" + } + ] + } + } + } + }, + { + "id": 203, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 319, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L319" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 198, + 203 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 317, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L317" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 204, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 205, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 322, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L322" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 206, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 323, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L323" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 205, + 206 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 321, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L321" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 207, + "name": "download", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 354, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L354" + } + ], + "signatures": [ + { + "id": 208, + "name": "download", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Downloads a file." + } + ] + }, + "parameters": [ + { + "id": 209, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path to be downloaded, including the path and file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 210, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 211, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 358, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L358" + } + ], + "type": { + "type": "reference", + "name": "Blob", + "qualifiedName": "Blob", + "package": "typescript" + } + }, + { + "id": 212, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 359, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L359" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 211, + 212 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 357, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L357" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 213, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 214, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 362, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L362" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 215, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 363, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L363" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 214, + 215 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 361, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L361" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 216, + "name": "getPublicUrl", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 388, + "character": 2, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L388" + } + ], + "signatures": [ + { + "id": 217, + "name": "getPublicUrl", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieve URLs for assets in public buckets and encapsulates it in a return object" + } + ] + }, + "parameters": [ + { + "id": 218, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The file path to be downloaded, including the path and file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 228, + "name": "list", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 496, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L496" + } + ], + "signatures": [ + { + "id": 229, + "name": "list", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Lists all the files within a bucket." + } + ] + }, + "parameters": [ + { + "id": 230, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The folder path." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 231, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Search options, including " + }, + { + "kind": "code", + "text": "`limit`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`offset`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`sortBy`" + }, + { + "kind": "text", + "text": ", and " + }, + { + "kind": "code", + "text": "`search`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "reference", + "id": 360, + "name": "SearchOptions" + } + }, + { + "id": 232, + "name": "parameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fetch parameters, currently only supports " + }, + { + "kind": "code", + "text": "`signal`" + }, + { + "kind": "text", + "text": ", which is an AbortController's signal" + } + ] + }, + "type": { + "type": "reference", + "name": "FetchParameters" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 233, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 234, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 502, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L502" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 343, + "name": "FileObject" + } + } + }, + { + "id": 235, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 503, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L503" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 234, + 235 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 501, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L501" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 236, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 237, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 506, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L506" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 238, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 507, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L507" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 237, + 238 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 505, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L505" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 157, + "name": "move", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 202, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L202" + } + ], + "signatures": [ + { + "id": 158, + "name": "move", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Moves an existing file." + } + ] + }, + "parameters": [ + { + "id": 159, + "name": "fromPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original file path, including the current file name. For example " + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 160, + "name": "toPath", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The new file path, including the new file name. For example " + }, + { + "kind": "code", + "text": "`folder/image-new.png`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 161, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 162, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 207, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L207" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 163, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 164, + "name": "message", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 207, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L207" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 164 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 207, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L207" + } + ] + } + } + }, + { + "id": 165, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 208, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L208" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 162, + 165 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 206, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L206" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 166, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 167, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 211, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L211" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 168, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 212, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L212" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 167, + 168 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 210, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L210" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 219, + "name": "remove", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 398, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L398" + } + ], + "signatures": [ + { + "id": 220, + "name": "remove", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Deletes files within the same bucket" + } + ] + }, + "parameters": [ + { + "id": 221, + "name": "paths", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An array of files to be deleted, including the path and file name. For example [" + }, + { + "kind": "code", + "text": "`folder/image.png`" + }, + { + "kind": "text", + "text": "]." + } + ] + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 222, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 223, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 402, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L402" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "id": 343, + "name": "FileObject" + } + } + }, + { + "id": 224, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 403, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L403" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 223, + 224 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 401, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L401" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 225, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 226, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 406, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L406" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 227, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 407, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L407" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 226, + 227 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 405, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L405" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 144, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 169, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L169" + } + ], + "signatures": [ + { + "id": 145, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Replaces an existing file at the specified path with a new one." + } + ] + }, + "parameters": [ + { + "id": 146, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The relative file path. Should be of the format " + }, + { + "kind": "code", + "text": "`folder/subfolder/filename.png`" + }, + { + "kind": "text", + "text": ". The bucket must already exist before attempting to upload." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 147, + "name": "fileBody", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The body of the file to be stored in the bucket." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "name": "ArrayBuffer", + "qualifiedName": "ArrayBuffer", + "package": "typescript" + }, + { + "type": "reference", + "name": "ArrayBufferView", + "qualifiedName": "ArrayBufferView", + "package": "typescript" + }, + { + "type": "reference", + "name": "Blob", + "qualifiedName": "Blob", + "package": "typescript" + }, + { + "type": "reference", + "name": "Buffer", + "qualifiedName": "Buffer", + "package": "@types/node" + }, + { + "type": "reference", + "name": "File", + "qualifiedName": "File", + "package": "typescript" + }, + { + "type": "reference", + "name": "FormData", + "qualifiedName": "FormData", + "package": "typescript" + }, + { + "type": "reference", + "name": "ReadableStream", + "qualifiedName": "NodeJS.ReadableStream", + "package": "@types/node" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Uint8Array", + "qualifiedName": "Uint8Array", + "package": "typescript" + } + ], + "name": "ReadableStream", + "qualifiedName": "ReadableStream", + "package": "typescript" + }, + { + "type": "reference", + "name": "URLSearchParams", + "qualifiedName": "URLSearchParams", + "package": "typescript" + } + ] + } + }, + { + "id": 148, + "name": "fileOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP headers.\n" + }, + { + "kind": "code", + "text": "`cacheControl`" + }, + { + "kind": "text", + "text": ": string, the " + }, + { + "kind": "code", + "text": "`Cache-Control: max-age=`" + }, + { + "kind": "text", + "text": " seconds value.\n" + }, + { + "kind": "code", + "text": "`contentType`" + }, + { + "kind": "text", + "text": ": string, the " + }, + { + "kind": "code", + "text": "`Content-Type`" + }, + { + "kind": "text", + "text": " header value. Should be specified if using a " + }, + { + "kind": "code", + "text": "`fileBody`" + }, + { + "kind": "text", + "text": " that is neither " + }, + { + "kind": "code", + "text": "`Blob`" + }, + { + "kind": "text", + "text": " nor " + }, + { + "kind": "code", + "text": "`File`" + }, + { + "kind": "text", + "text": " nor " + }, + { + "kind": "code", + "text": "`FormData`" + }, + { + "kind": "text", + "text": ", otherwise will default to " + }, + { + "kind": "code", + "text": "`text/plain;charset=UTF-8`" + }, + { + "kind": "text", + "text": ".\n" + }, + { + "kind": "code", + "text": "`upsert`" + }, + { + "kind": "text", + "text": ": boolean, whether to perform an upsert." + } + ] + }, + "type": { + "type": "reference", + "id": 356, + "name": "FileOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 149, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 150, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 185, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L185" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 151, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 152, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 185, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L185" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 152 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 185, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L185" + } + ] + } + } + }, + { + "id": 153, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 186, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L186" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 150, + 153 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 184, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L184" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 154, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 155, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 189, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L189" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 156, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 190, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L190" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 155, + 156 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 188, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L188" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 131, + "name": "upload", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 132, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L132" + } + ], + "signatures": [ + { + "id": 132, + "name": "upload", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Uploads a file to an existing bucket." + } + ] + }, + "parameters": [ + { + "id": 133, + "name": "path", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The relative file path. Should be of the format " + }, + { + "kind": "code", + "text": "`folder/subfolder/filename.png`" + }, + { + "kind": "text", + "text": ". The bucket must already exist before attempting to upload." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 134, + "name": "fileBody", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The body of the file to be stored in the bucket." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "name": "ArrayBuffer", + "qualifiedName": "ArrayBuffer", + "package": "typescript" + }, + { + "type": "reference", + "name": "ArrayBufferView", + "qualifiedName": "ArrayBufferView", + "package": "typescript" + }, + { + "type": "reference", + "name": "Blob", + "qualifiedName": "Blob", + "package": "typescript" + }, + { + "type": "reference", + "name": "Buffer", + "qualifiedName": "Buffer", + "package": "@types/node" + }, + { + "type": "reference", + "name": "File", + "qualifiedName": "File", + "package": "typescript" + }, + { + "type": "reference", + "name": "FormData", + "qualifiedName": "FormData", + "package": "typescript" + }, + { + "type": "reference", + "name": "ReadableStream", + "qualifiedName": "NodeJS.ReadableStream", + "package": "@types/node" + }, + { + "type": "reference", + "typeArguments": [ + { + "type": "reference", + "name": "Uint8Array", + "qualifiedName": "Uint8Array", + "package": "typescript" + } + ], + "name": "ReadableStream", + "qualifiedName": "ReadableStream", + "package": "typescript" + }, + { + "type": "reference", + "name": "URLSearchParams", + "qualifiedName": "URLSearchParams", + "package": "typescript" + } + ] + } + }, + { + "id": 135, + "name": "fileOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP headers.\n" + }, + { + "kind": "code", + "text": "`cacheControl`" + }, + { + "kind": "text", + "text": ": string, the " + }, + { + "kind": "code", + "text": "`Cache-Control: max-age=`" + }, + { + "kind": "text", + "text": " seconds value.\n" + }, + { + "kind": "code", + "text": "`contentType`" + }, + { + "kind": "text", + "text": ": string, the " + }, + { + "kind": "code", + "text": "`Content-Type`" + }, + { + "kind": "text", + "text": " header value. Should be specified if using a " + }, + { + "kind": "code", + "text": "`fileBody`" + }, + { + "kind": "text", + "text": " that is neither " + }, + { + "kind": "code", + "text": "`Blob`" + }, + { + "kind": "text", + "text": " nor " + }, + { + "kind": "code", + "text": "`File`" + }, + { + "kind": "text", + "text": " nor " + }, + { + "kind": "code", + "text": "`FormData`" + }, + { + "kind": "text", + "text": ", otherwise will default to " + }, + { + "kind": "code", + "text": "`text/plain;charset=UTF-8`" + }, + { + "kind": "text", + "text": ".\n" + }, + { + "kind": "code", + "text": "`upsert`" + }, + { + "kind": "text", + "text": ": boolean, whether to perform an upsert." + } + ] + }, + "type": { + "type": "reference", + "id": 356, + "name": "FileOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 136, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 137, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 148, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L148" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 138, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 139, + "name": "path", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 148, + "character": 16, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L148" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 139 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 148, + "character": 14, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L148" + } + ] + } + } + }, + { + "id": 140, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 149, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L149" + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 137, + 140 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 147, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L147" + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 141, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 142, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 152, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L152" + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 143, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 153, + "character": 8, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L153" + } + ], + "type": { + "type": "reference", + "id": 370, + "name": "StorageError" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 142, + 143 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 151, + "character": 6, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L151" + } + ] + } + } + ] + } + ], + "name": "Promise", + "qualifiedName": "Promise", + "package": "typescript" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 93 + ] + }, + { + "title": "Properties", + "children": [ + 111, + 112, + 107, + 106 + ] + }, + { + "title": "Methods", + "children": [ + 169, + 181, + 193, + 207, + 216, + 228, + 157, + 219, + 144, + 131 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 21, + "character": 21, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L21" + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "children": [ + 92 + ] + } + ], + "sources": [ + { + "fileName": "src/packages/StorageFileApi.ts", + "line": 1, + "character": 0, + "url": "https://github.com/supabase/storage-js/blob/15aaea2/src/packages/StorageFileApi.ts#L1" + } + ] + } + ], + "groups": [ + { + "title": "Modules", + "children": [ + 1, + 2, + 91 + ] + } + ] +}{ + "id": 0, + "name": "@supabase/functions-js", + "kind": 1, + "kindString": "Project", + "flags": {}, + "originalName": "", + "children": [ + { + "id": 1, + "name": "FunctionsClient", + "kind": 128, + "kindString": "Class", + "flags": {}, + "children": [ + { + "id": 2, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 9, + "character": 2 + } + ], + "signatures": [ + { + "id": 3, + "name": "new FunctionsClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": {}, + "parameters": [ + { + "id": 4, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 5, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reflection", + "declaration": { + "id": 6, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 8, + "name": "customFetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/index.ts", + "line": 16, + "character": 6 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 9, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 10, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 11, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 12, + "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": 7, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "src/index.ts", + "line": 15, + "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": [ + 8, + 7 + ] + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 1, + "name": "FunctionsClient" + } + } + ] + }, + { + "id": 15, + "name": "fetch", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/index.ts", + "line": 7, + "character": 12 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 16, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "signatures": [ + { + "id": 17, + "name": "__type", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "parameters": [ + { + "id": 18, + "name": "input", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "reference", + "qualifiedName": "RequestInfo", + "package": "typescript", + "name": "RequestInfo" + } + }, + { + "id": 19, + "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": 14, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/index.ts", + "line": 6, + "character": 12 + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "qualifiedName": "Record", + "package": "typescript", + "name": "Record" + } + }, + { + "id": 13, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isProtected": true + }, + "sources": [ + { + "fileName": "src/index.ts", + "line": 5, + "character": 12 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 23, + "name": "invoke", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 40, + "character": 8 + } + ], + "signatures": [ + { + "id": 24, + "name": "invoke", + "kind": 4096, + "kindString": "Call signature", + "flags": {}, + "comment": { + "shortText": "Invokes a function" + }, + "typeParameter": [ + { + "id": 25, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": {}, + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "parameters": [ + { + "id": 26, + "name": "functionName", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "comment": { + "shortText": "the name of the function to invoke" + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 27, + "name": "invokeOptions", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isOptional": true + }, + "comment": { + "shortText": "object with the following properties\n`headers`: object representing the headers to send with the request\n`body`: the body of the request\n`responseType`: how the response should be parsed. The default is `json`\n" + }, + "type": { + "type": "reference", + "name": "FunctionInvokeOptions" + } + } + ], + "type": { + "type": "reference", + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 28, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 29, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 43, + "character": 15 + } + ], + "type": { + "type": "reference", + "id": 25, + "name": "T" + } + }, + { + "id": 30, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 43, + "character": 24 + } + ], + "type": { + "type": "literal", + "value": null + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 29, + 30 + ] + } + ] + } + }, + { + "type": "reflection", + "declaration": { + "id": 31, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": {}, + "children": [ + { + "id": 32, + "name": "data", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 43, + "character": 42 + } + ], + "type": { + "type": "literal", + "value": null + } + }, + { + "id": 33, + "name": "error", + "kind": 1024, + "kindString": "Property", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 43, + "character": 54 + } + ], + "type": { + "type": "reference", + "qualifiedName": "Error", + "package": "typescript", + "name": "Error" + } + } + ], + "groups": [ + { + "title": "Properties", + "kind": 1024, + "children": [ + 32, + 33 + ] + } + ] + } + } + ] + } + ], + "qualifiedName": "Promise", + "package": "typescript", + "name": "Promise" + } + } + ] + }, + { + "id": 20, + "name": "setAuth", + "kind": 2048, + "kindString": "Method", + "flags": {}, + "sources": [ + { + "fileName": "src/index.ts", + "line": 28, + "character": 2 + } + ], + "signatures": [ + { + "id": 21, + "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": 22, + "name": "token", + "kind": 32768, + "kindString": "Parameter", + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 2 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 15, + 14, + 13 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 23, + 20 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 4, + "character": 13 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 1 + ] + } + ], + "sources": [ + { + "fileName": "src/index.ts", + "line": 1, + "character": 0 + } + ] +} \ No newline at end of file