diff --git a/Makefile b/Makefile
index c9600afb4c0..a6cdc86ac47 100644
--- a/Makefile
+++ b/Makefile
@@ -25,11 +25,8 @@ github.issues:
github.repos: \
github.repos.supabase \
github.repos.realtime \
- github.repos.marketplace \
- github.repos.pg-api \
- github.repos.postgrest-js \
github.repos.postgres \
- github.repos.doctest-js
+ github.repos.pg-api
github.repos.%:
curl -sS https://api.github.com/repos/supabase/$* \
diff --git a/examples/todo-next-js/package-lock.json b/examples/todo-next-js/package-lock.json
index e498c6ee404..f7d6f4b7517 100644
--- a/examples/todo-next-js/package-lock.json
+++ b/examples/todo-next-js/package-lock.json
@@ -1272,32 +1272,69 @@
}
}
},
- "@supabase/postgrest-js": {
- "version": "0.17.0",
- "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.17.0.tgz",
- "integrity": "sha512-7Dt7ALli+bOQK51JMolraI08sJg2UweNuGFghr8MrX4nc3WoDwL5PP6fNZwy+j/7f7nvvM6s1OUtqNTvqiW+5Q==",
+ "@supabase/gotrue-js": {
+ "version": "1.5.10",
+ "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-1.5.10.tgz",
+ "integrity": "sha512-SAoT5znv6r/nasJQp35n72dYGkBMWgKsCHc45vrCu8M/XDNpU/9vN8TzzziK4M0tWg3LGKm7MbRkNOwLEk5a8A==",
"requires": {
- "superagent": "^5.2.1"
+ "cross-fetch": "^3.0.6"
+ },
+ "dependencies": {
+ "cross-fetch": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz",
+ "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==",
+ "requires": {
+ "node-fetch": "2.6.1"
+ }
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
+ }
+ }
+ },
+ "@supabase/postgrest-js": {
+ "version": "0.21.0",
+ "resolved": "https://registry.npmjs.org/@supabase/postgrest-js/-/postgrest-js-0.21.0.tgz",
+ "integrity": "sha512-2MxPodIf1Ij+iR2RYVxziZpBv/9j6zT2d2UWSvdu2GT8yODo1hO2oXXT4cFJqvxmVX6A+z4J39wBqutt9vlttQ==",
+ "requires": {
+ "cross-fetch": "^3.0.6"
+ },
+ "dependencies": {
+ "cross-fetch": {
+ "version": "3.0.6",
+ "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.0.6.tgz",
+ "integrity": "sha512-KBPUbqgFjzWlVcURG+Svp9TlhA5uliYtiNx/0r8nv0pdypeQCRJ9IaSIc3q/x3q8t3F75cHuwxVql1HFGHCNJQ==",
+ "requires": {
+ "node-fetch": "2.6.1"
+ }
+ },
+ "node-fetch": {
+ "version": "2.6.1",
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+ "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
+ }
}
},
"@supabase/realtime-js": {
- "version": "0.9.0",
- "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-0.9.0.tgz",
- "integrity": "sha512-aYkVsD2hNgD7QPPBV+LALJTexNf8pVhIh9qJC13NnOLYZpudtHbof+rg0dgq5+GIhYa8HzqUMdf+OwwlQVJgsw==",
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/@supabase/realtime-js/-/realtime-js-1.0.6.tgz",
+ "integrity": "sha512-qzYYBzXteYsqQYlLzoYwee2OloWn3w8YzUFbDYFUPdkUwLs01OIqsm+lRCzKDivmyn2G0FJQjloWcF4BF5TyBg==",
"requires": {
- "@babel/runtime": "^7.9.2",
+ "@types/websocket": "^1.0.1",
"query-string": "^6.12.1",
"websocket": "^1.0.31"
}
},
"@supabase/supabase-js": {
- "version": "0.36.5",
- "resolved": "https://registry.npmjs.org/@supabase/supabase-js/-/supabase-js-0.36.5.tgz",
- "integrity": "sha512-iiY5lDIrbhQjT8grRgXbUfIU5omD8CfNI4Iio3z/DHjsdrzYNf9o0/kRAzVVITPOuqlN9g0QhPt7bzRQKxLbwA==",
+ "version": "github:kiwicopple/supabase-js#6199fa765eee19a83befd755faff9c9dcb250a00",
+ "from": "github:kiwicopple/supabase-js#feature/migrate_to_typescript",
"requires": {
- "@supabase/postgrest-js": "^0.17.0",
- "@supabase/realtime-js": "^0.9.0",
- "superagent": "^5.2.1"
+ "@supabase/gotrue-js": "^1.5.10",
+ "@supabase/postgrest-js": "^0.21.0",
+ "@supabase/realtime-js": "^1.0.6"
}
},
"@types/json-schema": {
@@ -1305,6 +1342,19 @@
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz",
"integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw=="
},
+ "@types/node": {
+ "version": "14.14.0",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.0.tgz",
+ "integrity": "sha512-BfbIHP9IapdupGhq/hc+jT5dyiBVZ2DdeC5WwJWQWDb0GijQlzUFAeIQn/2GtvZcd2HVUU7An8felIICFTC2qg=="
+ },
+ "@types/websocket": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@types/websocket/-/websocket-1.0.1.tgz",
+ "integrity": "sha512-f5WLMpezwVxCLm1xQe/kdPpQIOmL0TXYx2O15VYfYzc7hTIdxiOoOvez+McSIw3b7z/1zGovew9YSL7+h4h7/Q==",
+ "requires": {
+ "@types/node": "*"
+ }
+ },
"@webassemblyjs/ast": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz",
@@ -1707,11 +1757,6 @@
"resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz",
"integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ=="
},
- "asynckit": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
- },
"atob": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz",
@@ -2232,14 +2277,6 @@
"integrity": "sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==",
"dev": true
},
- "combined-stream": {
- "version": "1.0.8",
- "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
- "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
- "requires": {
- "delayed-stream": "~1.0.0"
- }
- },
"commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
@@ -2297,11 +2334,6 @@
"safe-buffer": "~5.1.1"
}
},
- "cookiejar": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz",
- "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA=="
- },
"copy-concurrently": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz",
@@ -2638,11 +2670,6 @@
"integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=",
"dev": true
},
- "delayed-stream": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
- },
"des.js": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz",
@@ -3082,11 +3109,6 @@
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
- "fast-safe-stringify": {
- "version": "2.0.7",
- "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz",
- "integrity": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA=="
- },
"figgy-pudding": {
"version": "3.5.2",
"resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz",
@@ -3158,21 +3180,6 @@
"resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
"integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA="
},
- "form-data": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.0.tgz",
- "integrity": "sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==",
- "requires": {
- "asynckit": "^0.4.0",
- "combined-stream": "^1.0.8",
- "mime-types": "^2.1.12"
- }
- },
- "formidable": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.2.tgz",
- "integrity": "sha512-V8gLm+41I/8kguQ4/o1D3RIHRmhYFG4pnNyonvua+40rqcEmT4+V71yaZ3B457xbbgCsCfjSPi65u/W6vK1U5Q=="
- },
"fragment-cache": {
"version": "0.2.1",
"resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz",
@@ -3854,11 +3861,6 @@
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
"integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w=="
},
- "methods": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
- "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4="
- },
"micromatch": {
"version": "3.1.10",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz",
@@ -3895,24 +3897,6 @@
}
}
},
- "mime": {
- "version": "2.4.6",
- "resolved": "https://registry.npmjs.org/mime/-/mime-2.4.6.tgz",
- "integrity": "sha512-RZKhC3EmpBchfTGBVb8fb+RL2cWyw/32lshnsETttkBAyAUXSGHxbEJWWRXc751DrIxG1q04b8QwMbAwkRPpUA=="
- },
- "mime-db": {
- "version": "1.44.0",
- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
- "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
- },
- "mime-types": {
- "version": "2.1.27",
- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
- "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
- "requires": {
- "mime-db": "1.44.0"
- }
- },
"minimalistic-assert": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz",
@@ -5167,15 +5151,10 @@
}
}
},
- "qs": {
- "version": "6.9.4",
- "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz",
- "integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ=="
- },
"query-string": {
- "version": "6.13.5",
- "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.13.5.tgz",
- "integrity": "sha512-svk3xg9qHR39P3JlHuD7g3nRnyay5mHbrPctEBDUxUkHRifPHXJDhBUycdCC0NBjXoDf44Gb+IsOZL1Uwn8M/Q==",
+ "version": "6.13.6",
+ "resolved": "https://registry.npmjs.org/query-string/-/query-string-6.13.6.tgz",
+ "integrity": "sha512-/WWZ7d9na6s2wMEGdVCVgKWE9Rt7nYyNIf7k8xmHXcesPMlEzicWo3lbYwHyA4wBktI2KrXxxZeACLbE84hvSQ==",
"requires": {
"decode-uri-component": "^0.2.0",
"split-on-first": "^1.0.0",
@@ -6018,41 +5997,6 @@
"resolved": "https://registry.npmjs.org/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz",
"integrity": "sha512-nTbZoaqoBnmK+ptANthb10ZRZOGC+EmTLLUxeYIuHNkEKcmKgXX1XWKkUBT2Ac4es3NybooPe0SmvKdhKJZAuw=="
},
- "superagent": {
- "version": "5.3.1",
- "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz",
- "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==",
- "requires": {
- "component-emitter": "^1.3.0",
- "cookiejar": "^2.1.2",
- "debug": "^4.1.1",
- "fast-safe-stringify": "^2.0.7",
- "form-data": "^3.0.0",
- "formidable": "^1.2.2",
- "methods": "^1.1.2",
- "mime": "^2.4.6",
- "qs": "^6.9.4",
- "readable-stream": "^3.6.0",
- "semver": "^7.3.2"
- },
- "dependencies": {
- "readable-stream": {
- "version": "3.6.0",
- "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
- "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
- "requires": {
- "inherits": "^2.0.3",
- "string_decoder": "^1.1.1",
- "util-deprecate": "^1.0.1"
- }
- },
- "semver": {
- "version": "7.3.2",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
- "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
- }
- }
- },
"supports-color": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
diff --git a/examples/todo-next-js/package.json b/examples/todo-next-js/package.json
index d975b7eb523..08615355505 100644
--- a/examples/todo-next-js/package.json
+++ b/examples/todo-next-js/package.json
@@ -7,7 +7,7 @@
"start": "next start"
},
"dependencies": {
- "@supabase/supabase-js": "^0.36.5",
+ "@supabase/supabase-js": "github:kiwicopple/supabase-js#feature/migrate_to_typescript",
"next": "latest",
"react": "^16.13.1",
"react-dom": "^16.13.1"
diff --git a/web/ReferenceGenerator.ts b/web/ReferenceGenerator.ts
new file mode 100644
index 00000000000..5273f612c40
--- /dev/null
+++ b/web/ReferenceGenerator.ts
@@ -0,0 +1,244 @@
+/**
+ * Usage:
+ * ts-node docGen.ts -o {output_dir} {input}.yml
+ */
+
+import Example from './spec/gen/components/Example'
+import Page from './spec/gen/components/Page'
+import Sidebar from './spec/gen/components/Sidebar'
+import SidebarCategory from './spec/gen/components/SidebarCategory'
+import Tab from './spec/gen/components/Tab'
+import Tabs from './spec/gen/components/Tabs'
+import { slugify, tsDocCommentToMdComment, writeToDisk } from './spec/gen/lib/helpers'
+import { TsDoc, OpenRef } from './spec/gen/definitions'
+
+const yaml = require('js-yaml')
+const fs = require('fs')
+
+const main = (fileNames, options) => {
+ try {
+ const outputDir = options.o || options.output || ''
+ fileNames.forEach((inputFileName) => {
+ gen(inputFileName, outputDir)
+ })
+ return
+ } catch (e) {
+ console.log(e)
+ }
+}
+
+async function gen(inputFileName, outputDir) {
+ const docSpec = yaml.safeLoad(fs.readFileSync(inputFileName, 'utf8'))
+ const defRef = fs.readFileSync(docSpec.info.definition, 'utf8')
+ if (!defRef) return
+
+ const definition = JSON.parse(defRef)
+ const allLanguages = docSpec.info.libraries
+ const pages = Object.entries(docSpec.pages).map(([name, x]: [string, OpenRef.Page]) => ({
+ ...x,
+ pageName: name,
+ }))
+
+ // Sidebar
+ const inputFileNameToSnakeCase = inputFileName.replace('/', '_').replace('.yml', '')
+ const sidebarFileName = `sidebar_${inputFileNameToSnakeCase}.js`
+ const sidebar = generateSidebar(docSpec)
+ await writeToDisk(sidebarFileName, sidebar)
+ console.log('Sidebar created: ', sidebarFileName)
+
+ // Index Page
+ const indexFilename = outputDir + `/index.mdx`
+ const index = generateDocsIndexPage(docSpec)
+ await writeToDisk(indexFilename, index)
+ console.log('The index was saved: ', indexFilename)
+
+ // Generate Pages
+ pages.forEach(async (pageSpec: OpenRef.Page) => {
+ try {
+ const slug = slugify(pageSpec.pageName)
+ const hasTsRef = pageSpec['$ref'] || null
+ const tsDefinition = hasTsRef && extractTsDocNode(hasTsRef, definition)
+ if (hasTsRef && !tsDefinition) throw new Error('Definition not found: ' + hasTsRef)
+
+ const description =
+ pageSpec.description || tsDocCommentToMdComment(getDescriptionFromDefintion(tsDefinition))
+
+ // Create page
+ const content = Page({
+ slug,
+ id: slug,
+ title: pageSpec.title || pageSpec.pageName,
+ description,
+ parameters: hasTsRef ? generateParameters(tsDefinition) : '',
+ spotlight: generateSpotlight(pageSpec['examples'] || [], allLanguages),
+ examples: generateExamples(pageSpec['examples'] || [], allLanguages),
+ notes: pageSpec.notes,
+ })
+
+ // Write to disk
+ const dest = outputDir + `/${slug}.mdx`
+ await writeToDisk(dest, content)
+ console.log('Saved: ', dest)
+ } catch (error) {
+ console.error(error)
+ }
+ })
+}
+
+function generateParameters(tsDefinition: any) {
+ let functionDeclaration = null
+ if (tsDefinition.kindString == 'Method') {
+ functionDeclaration = tsDefinition
+ } else if (tsDefinition.kindString == 'Constructor') {
+ functionDeclaration = tsDefinition
+ } else functionDeclaration = tsDefinition?.type?.declaration
+ if (!functionDeclaration) return ''
+
+ const paramDefinitions: TsDoc.TypeDefinition[] = functionDeclaration.signatures[0].parameters // PMC: seems flaky.. why the [0]?
+ if (!paramDefinitions) return ''
+
+ // const paramsComments: TsDoc.CommentTag = tsDefinition.comment?.tags?.filter(x => x.tag == 'param')
+ let parameters = paramDefinitions.map((x) => recurseThroughParams(x)).join(`\n`)
+ return methodListGroup(parameters)
+}
+
+function getDescriptionFromDefintion(tsDefinition) {
+ if (!tsDefinition) return null
+ if (['Method', 'Constructor', 'Constructor signature'].includes(tsDefinition.kindString))
+ return tsDefinition?.signatures[0].comment
+ else return tsDefinition?.comment || ''
+}
+
+function recurseThroughParams(paramDefinition: TsDoc.TypeDefinition) {
+ let children = paramDefinition.type?.declaration?.children
+ const labelParams = {
+ name: paramDefinition.name,
+ isOptional: !!paramDefinition.flags.isOptional,
+ type: extractParamTypeAsString(paramDefinition),
+ description: paramDefinition.comment ? tsDocCommentToMdComment(paramDefinition.comment) : null,
+ }
+ let subContent = ''
+
+ if (!!children) {
+ let properties = children
+ .sort((a, b) => (a.flags?.isOptional ? 1 : -1)) // required params first
+ .map((x) => recurseThroughParams(x))
+ let heading = `
Properties `
+ subContent = methodListGroup([heading].concat(properties).join('\n'))
+ }
+
+ return methodListItemLabel(labelParams, subContent)
+}
+
+const methodListGroup = (items) => `
+
+`
+
+const methodListItemLabel = ({ name, isOptional, type, description }, subContent) => `
+
+
+
+ ${name}
+
+
+ ${isOptional ? 'optional' : 'required'}
+
+
+ ${type}
+
+
+
+
+${description ? description : 'No description provided. '}
+
+
+ ${subContent}
+
+`
+
+function generateExamples(specExamples: any, allLanguages: any) {
+ return specExamples.map((example) => {
+ let allTabs = Tabs(allLanguages, generateTabs(allLanguages, example))
+ return Example({ name: example.name, description: example.description, tabs: allTabs })
+ })
+}
+
+/**
+ * A spotlight is an example which appears at the top of the page.
+ */
+function generateSpotlight(specExamples: any, allLanguages: any) {
+ const spotlight = specExamples.find((x) => x.isSpotlight) || null
+ const spotlightContent = !spotlight
+ ? ''
+ : Tabs(allLanguages, generateTabs(allLanguages, spotlight))
+ return spotlightContent
+}
+
+function generateTabs(allLanguages: any, example: any) {
+ return allLanguages
+ .map((library) => {
+ let content = example[library.id] || notImplemented
+ return Tab(library.id, content)
+ })
+ .join('\n')
+}
+
+const notImplemented = `
+\`\`\`
+Not yet implemented
+\`\`\`
+`
+
+function extractParamTypeAsString(paramDefinition) {
+ if (paramDefinition.type?.name) {
+ return paramDefinition.type.name
+ }
+ if (paramDefinition.type?.type == 'union') {
+ return paramDefinition.type.types.map((x) => x.value).join(' | ')
+ } else {
+ return 'object'
+ }
+}
+
+/**
+ * Iterates through the definition to find the correct definition.
+ * You can pass it a deeply nested node using dot notation. eg: 'LoggedInUser.data.email'
+ */
+function extractTsDocNode(nodeToFind: string, definition: any) {
+ const nodePath = nodeToFind.split('.')
+ let i = 0
+ let currentNode = definition
+ while (i < nodePath.length) {
+ currentNode = currentNode.children.find((x) => x.name == nodePath[i]) || null
+ if (currentNode == null) break
+ i++
+ }
+ return currentNode
+}
+
+function generateSidebar(docSpec: any) {
+ let path = docSpec.info.docs.path || ''
+ let categories = docSpec.info.docs.sidebar.map((x) => {
+ const items = x.items.map((item) => {
+ let slug = slugify(item)
+ return `'${path}${slug}'`
+ })
+ return SidebarCategory(x.name, items)
+ })
+ return Sidebar(categories)
+}
+
+function generateDocsIndexPage(docSpec: any) {
+ return Page({
+ slug: slugify(docSpec.info.title),
+ id: 'index',
+ title: docSpec.info.title,
+ description: docSpec.info.description,
+ })
+}
+
+// Run everything
+const argv = require('minimist')(process.argv.slice(2))
+main(argv['_'], argv)
diff --git a/web/blog/2020-07-09-postgresql-templates.md b/web/blog/2020-07-09-postgresql-templates.md
index ad0f758f0d6..ba6910f735c 100644
--- a/web/blog/2020-07-09-postgresql-templates.md
+++ b/web/blog/2020-07-09-postgresql-templates.md
@@ -14,7 +14,7 @@ Whenever you create a new database in Postgres, you are actually [basing it off
-This database, `template1`, and another, called `template0`, are standard system databases that exist in every newly created database cluster. Don't believe me? Why not quickly [spin up a database](/docs/postgres/postgres-intro) and see it for yourself with this query:
+This database, `template1`, and another, called `template0`, are standard system databases that exist in every newly created database cluster. Don't believe me? Why not quickly [spin up a database](/docs/postgres/server/about) and see it for yourself with this query:
```sql
SELECT * FROM pg_database;
```
diff --git a/web/blog/2020-08-05-supabase-auth.mdx b/web/blog/2020-08-05-supabase-auth.mdx
index ea80140f310..33cd05c5c6a 100644
--- a/web/blog/2020-08-05-supabase-auth.mdx
+++ b/web/blog/2020-08-05-supabase-auth.mdx
@@ -35,7 +35,7 @@ Supabase Auth provides all the backend services you need to authenticate and aut
### User management
-Supabase makes it simple to onboard your users with our new `supabase.auth.signup()` and `supabase.auth.login()` [functions](/docs/library/user-management).
+Supabase makes it simple to onboard your users with our new `supabase.auth.signup()` and `supabase.auth.login()` [functions](/docs/guides/auth).
diff --git a/web/blog/2020-10-03-supabase-alpha-september-2020.mdx b/web/blog/2020-10-03-supabase-alpha-september-2020.md
similarity index 100%
rename from web/blog/2020-10-03-supabase-alpha-september-2020.mdx
rename to web/blog/2020-10-03-supabase-alpha-september-2020.md
diff --git a/web/blog/2020-10-30-improved-dx.md b/web/blog/2020-10-30-improved-dx.md
new file mode 100644
index 00000000000..9d12a1f4e3f
--- /dev/null
+++ b/web/blog/2020-10-30-improved-dx.md
@@ -0,0 +1,122 @@
+---
+title: Supabase.js 1.0.0
+description: We're releasing a new version of our Supabase client with some awesome new improvements.
+author: Paul Copplestone
+author_title: Supabase
+author_url: https://github.com/kiwicopple
+author_image_url: https://avatars2.githubusercontent.com/u/10214025?s=400&u=c6775be2ae667e2acae3ccd347fed62bb3f5b3e7&v=4
+authorURL: https://github.com/kiwicopple
+# image: /img/supabase-september-2020.png
+tags:
+ - supabase
+---
+
+Today we're releasing [supabase-js](https://github.com/supabase/supabase-js) version 1.0.0, and it comes with some major Developer Experience improvements.
+
+
+
+### New Docs
+
+Before digging into the improvements, we're excited to point out our new [developer docs](http://localhost:3005/docs/client/supabase-client). While they're still a work in progress, here are some things we think you'll like:
+
+- The [Reference Docs](/docs/client/supabase-client) are auto-generated from our Typescript definitions and then enriched with examples. This forces us to document our code and makes it easier to keep everything in sync.
+- We added placeholders for the other languages that the community is developing. They have already started with Python, C#, Dart, Rust, and Swift. Expect to see the docs filling up soon!
+- We've added sections for all of the open source tools we use, including [Postgres](/docs/postgres/server/about), [PostgREST](/docs/postgrest/server/about), [GoTrue](/docs/gotrue/server/about), and [Realtime](/docs/realtime/server/about). We'll be filling these with lots of valuable information including self-hosting, benchmarks, and simple guides.
+
+
+### Errors are returned, not thrown
+
+We attribute this improvement to community feedback. This has significantly improved the developer experience. Previously we would throw errors:
+
+```js
+try {
+ const { body } = supabase.from('todos').select('*')
+}
+catch (error) {
+ console.log(error)
+}
+```
+
+And now we simply return them:
+
+```js
+const { data, error } = supabase.from('todos').select('*')
+if (error) console.log(error)
+
+// else, carry on ..
+```
+
+After testing this for a while we're very happy with this pattern. Errors are handled next to the offending function. Of course you can always rethrow the error if that's your preference.
+
+
+### We created `gotrue-js`
+
+Our goal for `supabase-js` is to tie together many sub-libaries. Each sub-library is a standalone implementation for a single external system. This is one of the ways we support existing open source tools.
+
+To maintain this philosophy, we created [`gotrue-js`](https://github.com/supabase/goture-js), a library for Netlify's GoTrue auth server. This libary includes a number of new additions, including third-party logins.
+
+Previously:
+
+```js
+const {
+ body: { user },
+} = await supabase.auth.signup(
+ 'someone@email.com',
+ 'password'
+)
+```
+
+Now:
+
+```js
+const { user, error } = await supabase.auth.signUp({
+ email: 'someone@email.com',
+ password: 'password'
+})
+```
+
+### Enhancements and fixes
+
+- Native Typescript. All of our libraries are now natively built with Typescript: [`supabase-js`](https://github.com/supabase/supabase-js), [`postgrest-js`](https://github.com/supabase/postgrest-js), [`gotrue-js`](https://github.com/supabase/gotrue-js), and [`realtime-js`](https://github.com/supabase/realtime-js).
+- Better realtime scalability: we only generate one socket connection per Supabase client. Previously we would create a connection for every subscription.
+- We've added support for OAuth providers.
+- 60% of minor bugs outstanding for `supabase-js` have been [solved](https://github.com/supabase/supabase-js/pull/50).
+- You can use `select()` instead of `select(*)`
+
+### Breaking changes
+
+We've bumped the major version because there are a number of breaking changes. We've detailed these in the [release notes](https://github.com/supabase/supabase-js/releases/tag/v1.0.0), but here are a few to be aware of:
+
+- `signup()` is now `signUp()` and `email` / `password` is passed as an object
+- `logout()` is now `signOut()`
+- `login()` is now `signIn()`
+- `ova()` and `ovr()` are now just `ov()`
+- `body` is now `data`
+
+Previously:
+
+```js
+const { body } = supabase.from('todos').select('*')
+```
+
+Now:
+
+```js
+const { data } = supabase.from('todos').select()
+```
+
+
+### Upgrading
+
+There will be a number of tasks that you want to do when you upgrade:
+
+1. Install the new version: `npm install @supabase/supabase-js@latest`
+2. Update all your `body` constants to `data`
+3. Update all your `supabase.auth` functions with the new [Auth interface](/docs/client/auth-signup)
+
+### Get started
+
+- Start using Supabase today: [app.supabase.io](https://app.supabase.io/)
+- Make sure to [star us on GitHub](https://github.com/supabase/supabase)
+- Follow us [on Twitter](https://twitter.com/supabase_io)
+- Become a [sponsor](https://github.com/sponsors/supabase)
\ No newline at end of file
diff --git a/web/docs/client/adj.mdx b/web/docs/client/adj.mdx
new file mode 100644
index 00000000000..44dcc93b56d
--- /dev/null
+++ b/web/docs/client/adj.mdx
@@ -0,0 +1,225 @@
+---
+id: adj
+title: ".adj()"
+slug: adj
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` is adjacent to
+the specified `range`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .adj('population_range_millions', [70, 185])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .adj('population_range_millions', [70, 185])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .adj('population_range_millions', [70, 185])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .adj('population_range_millions', [70, 185])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .adj('population_range_millions', [70, 185])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-forgotpassword.mdx b/web/docs/client/auth-forgotpassword.mdx
new file mode 100644
index 00000000000..88d443d08e4
--- /dev/null
+++ b/web/docs/client/auth-forgotpassword.mdx
@@ -0,0 +1,39 @@
+---
+id: auth-forgotpassword
+title: "auth.forgotPassword()"
+slug: auth-forgotpassword
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Sends a reset request to an email address.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-onauthstatechange.mdx b/web/docs/client/auth-onauthstatechange.mdx
new file mode 100644
index 00000000000..0f2c15ad19a
--- /dev/null
+++ b/web/docs/client/auth-onauthstatechange.mdx
@@ -0,0 +1,108 @@
+---
+id: auth-onauthstatechange
+title: "auth.onAuthStateChange()"
+slug: auth-onauthstatechange
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Receive a notification every time an auth event happens.
+
+
+
+
+
+```js
+supabase.auth.onAuthStateChange((event, session) => {
+ console.log(event, session)
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Listen to auth changes
+
+
+
+
+
+
+
+```js
+supabase.auth.onAuthStateChange((event, session) => {
+ console.log(event, session)
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-password-reset.mdx b/web/docs/client/auth-password-reset.mdx
new file mode 100644
index 00000000000..60f876cb859
--- /dev/null
+++ b/web/docs/client/auth-password-reset.mdx
@@ -0,0 +1,39 @@
+---
+id: auth-password-reset
+title: "auth.password-reset"
+slug: auth-password-reset
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Sends a reset request to an email address.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-session.mdx b/web/docs/client/auth-session.mdx
new file mode 100644
index 00000000000..6081c408e3b
--- /dev/null
+++ b/web/docs/client/auth-session.mdx
@@ -0,0 +1,80 @@
+---
+id: auth-session
+title: "auth.session()"
+slug: auth-session
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Returns the session data, if there is an active session.
+
+
+
+
+
+```js
+const session = supabase.auth.session()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Get the session data
+
+
+
+
+
+
+
+```js
+const session = supabase.auth.session()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-signin.mdx b/web/docs/client/auth-signin.mdx
new file mode 100644
index 00000000000..a9da5265ebf
--- /dev/null
+++ b/web/docs/client/auth-signin.mdx
@@ -0,0 +1,211 @@
+---
+id: auth-signin
+title: "auth.signIn()"
+slug: auth-signin
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Log in an existing user, or login via a third-party provider.
+
+
+
+
+
+```js
+const { error, data } = await supabase.auth.signIn({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+## Notes
+
+- A user can sign up either via email or OAuth.
+- If you provide `email` without a `password`, the user will be sent a magic link.
+- Specifying a `provider` will open the browser to the relevant login page.
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Sign in
+
+
+
+
+
+
+
+```js
+const { error, data } = await supabase.auth.signIn({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Sign in using third-party providers.
+
+
+
+
+
+
+
+```js
+const { user, error } = await supabase.auth.signIn({
+ // provider can be 'github', 'google', 'gitlab', or 'bitbucket'
+ provider: 'github'
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-signout.mdx b/web/docs/client/auth-signout.mdx
new file mode 100644
index 00000000000..26a5ea0101b
--- /dev/null
+++ b/web/docs/client/auth-signout.mdx
@@ -0,0 +1,80 @@
+---
+id: auth-signout
+title: "auth.signOut()"
+slug: auth-signout
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Signs out the current user, if there is a logged in user.
+
+
+
+
+
+```js
+const { error, data } = supabase.signOut()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Sign out
+
+
+
+
+
+
+
+```js
+const { error, data } = supabase.signOut()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-signup.mdx b/web/docs/client/auth-signup.mdx
new file mode 100644
index 00000000000..70a05368039
--- /dev/null
+++ b/web/docs/client/auth-signup.mdx
@@ -0,0 +1,156 @@
+---
+id: auth-signup
+title: "auth.signUp()"
+slug: auth-signup
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Creates a new user.
+
+
+
+
+
+```js
+const { error, data } = await supabase.auth.signUp({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Sign up
+
+
+
+
+
+
+
+```js
+const { error, data } = await supabase.auth.signUp({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-update.mdx b/web/docs/client/auth-update.mdx
new file mode 100644
index 00000000000..58665a9657f
--- /dev/null
+++ b/web/docs/client/auth-update.mdx
@@ -0,0 +1,110 @@
+---
+id: auth-update
+title: "auth.update()"
+slug: auth-update
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Updates user data, if there is a logged in user.
+
+
+
+
+
+```js
+const { user, error } = await supabase.auth.update({
+ data: { hello: 'world' }
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+## Notes
+
+It's generally better to store user data in a table inside your public schema (i.e. `public.users`).
+Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Update a user's metadata.
+
+
+
+
+
+
+
+```js
+const { user, error } = await supabase.auth.update({
+ data: { hello: 'world' }
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/auth-user.mdx b/web/docs/client/auth-user.mdx
new file mode 100644
index 00000000000..4b37b53dfdc
--- /dev/null
+++ b/web/docs/client/auth-user.mdx
@@ -0,0 +1,80 @@
+---
+id: auth-user
+title: "auth.user()"
+slug: auth-user
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Returns the user data, if there is a logged in user.
+
+
+
+
+
+```js
+const user = supabase.auth.user()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Get the logged in user
+
+
+
+
+
+
+
+```js
+const user = supabase.auth.user()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/cd.mdx b/web/docs/client/cd.mdx
new file mode 100644
index 00000000000..f6a68d90db3
--- /dev/null
+++ b/web/docs/client/cd.mdx
@@ -0,0 +1,225 @@
+---
+id: cd
+title: ".cd()"
+slug: cd
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose json, array, or range value on the stated `column` is
+contained by the specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .cd('main_exports', ['cars', 'food', 'machine'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .cd('main_exports', ['cars', 'food', 'machine'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .cd('main_exports', ['orks', 'surveillance', 'evil'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .cd('main_exports', ['cars', 'food', 'machine'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .cd('main_exports', ['cars', 'food', 'machine'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/cs.mdx b/web/docs/client/cs.mdx
new file mode 100644
index 00000000000..9eb4006c281
--- /dev/null
+++ b/web/docs/client/cs.mdx
@@ -0,0 +1,225 @@
+---
+id: cs
+title: ".cs()"
+slug: cs
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose json, array, or range value on the stated `column`
+contains the values specified in `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .cs('main_exports', ['oil'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .cs('main_exports', ['oil'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .cs('main_exports', ['oil'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .cs('main_exports', ['oil'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .cs('main_exports', ['oil'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/delete.mdx b/web/docs/client/delete.mdx
new file mode 100644
index 00000000000..c2ad8afcfd5
--- /dev/null
+++ b/web/docs/client/delete.mdx
@@ -0,0 +1,87 @@
+---
+id: delete
+title: "Delete data: delete()"
+slug: delete
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs a DELETE on the table.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .match({ id: 666 })
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+
+
+## Notes
+
+- `delete()` should always be combined with [Filters](/docs/client/using-filters) to target the item(s) you wish to delete.
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Delete records
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .match({ id: 666 })
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/eq.mdx b/web/docs/client/eq.mdx
new file mode 100644
index 00000000000..a487d92428d
--- /dev/null
+++ b/web/docs/client/eq.mdx
@@ -0,0 +1,225 @@
+---
+id: eq
+title: ".eq()"
+slug: eq
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` exactly matches the
+specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .eq('name', 'The shire')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .eq('name', 'The shire')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .eq('name', 'San Francisco')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .eq('name', 'Mordor')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .eq('name', 'San Francisco')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/filter.mdx b/web/docs/client/filter.mdx
new file mode 100644
index 00000000000..695bffd7c06
--- /dev/null
+++ b/web/docs/client/filter.mdx
@@ -0,0 +1,278 @@
+---
+id: filter
+title: ".filter()"
+slug: filter
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose `column` satisfies the filter.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .filter('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ operator
+
+
+ required
+
+
+ FilterOperator
+
+
+
+
+The operator to filter with.
+
+
+
+
+
+
+
+
+
+ value
+
+
+ required
+
+
+ any
+
+
+
+
+The value to filter with.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .filter('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .filter('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .filter({'name', 'eq', 'Paris'})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .filter({'name', 'eq', 'Paris'})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Filter embedded resources
+
+
+
+
+
+
+
+```js
+export const getFilterJsEmbedded = `
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, countries ( name )')
+ .filter('countries.name', 'eq', 'France')
+`.trim()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/fts.mdx b/web/docs/client/fts.mdx
new file mode 100644
index 00000000000..e5e6be69d90
--- /dev/null
+++ b/web/docs/client/fts.mdx
@@ -0,0 +1,107 @@
+---
+id: fts
+title: ".fts()"
+slug: fts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+to_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/library/getting-started.mdx b/web/docs/client/generating-types.mdx
old mode 100755
new mode 100644
similarity index 63%
rename from web/docs/library/getting-started.mdx
rename to web/docs/client/generating-types.mdx
index b453fedee18..021dfb8df6e
--- a/web/docs/library/getting-started.mdx
+++ b/web/docs/client/generating-types.mdx
@@ -1,33 +1,17 @@
---
-id: getting-started
-title: Getting Started
-description: 'How to install Supabase and start interacting with your database'
+id: generating-types
+title: "Generating Types"
+slug: generating-types
---
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
-## Installing
-
-```bash
-npm install --save @supabase/supabase-js
-# OR
-yarn add @supabase/supabase-js
-```
-
-
-## Initializing
-
-```js
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key");
-```
-
-
+Supabase will soon release native type generators that dump your database types for various languages. For now, we support TypeScript through a third-party tool.
## Usage with TypeScript
-Supabase-js ships with type definitions for usage with TypeScript and for convenient IntelliSense autocomplete and documentation in your editor.
+`supabase-js` ships with type definitions for usage with TypeScript and for convenient IntelliSense autocomplete and documentation in your editor.
When using TypeScript, you can pass the type of database row as a type parameter to the `from` method to get better autocompletion support down the chain.
If you don't provide a type for the row you need to explicitly pass `from('tableName')`.
@@ -93,34 +77,4 @@ export default async (req: NextApiRequest, res: NextApiResponse) => {
.eq("status", "ONLINE");
res.status(200).json(allOnlineUsers);
};
-```
-
-## Reference
-
-### `createClient()`
-
-```js
-createClient('supabaseURL', 'supabaseKey', OPTIONS)
-```
-
-#### `supabaseURL: string`
-The unique Supabase URL which is supplied when you create a new project in [your project dashboard](https://app.supabase.io).
-
-#### `supabaseKey: string`
-The unique Supabase Key which is supplied when you create a new project in [your project dashboard](https://app.supabase.io).
-
-#### `OPTIONS: object?`
-
-```js
-/**
- * @param {string} [schema='public']
- * You can switch in between schemas.
- * The schema however would need to be on the list of exposed schemas.
- * Defaults to the 'public' schema.
- * If there is the need to use more than one schema,
- * another instance of .createClient() would need to be instantiated.
- */
-const options = {
- schema: 'public'
-}
-```
+```
\ No newline at end of file
diff --git a/web/docs/client/getsubscriptions.mdx b/web/docs/client/getsubscriptions.mdx
new file mode 100644
index 00000000000..27763f4bd1b
--- /dev/null
+++ b/web/docs/client/getsubscriptions.mdx
@@ -0,0 +1,80 @@
+---
+id: getsubscriptions
+title: "getSubscriptions()"
+slug: getsubscriptions
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Returns an array of all your subscriptions.
+
+
+
+
+
+```js
+const subscriptions = supabase.getSubscriptions()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Remove a subscription
+
+
+
+
+
+
+
+```js
+const subscriptions = supabase.getSubscriptions()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/gt.mdx b/web/docs/client/gt.mdx
new file mode 100644
index 00000000000..9fa06e99b11
--- /dev/null
+++ b/web/docs/client/gt.mdx
@@ -0,0 +1,225 @@
+---
+id: gt
+title: ".gt()"
+slug: gt
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is greater than the
+specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .gt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .gt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .gt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .gt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .gt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/gte.mdx b/web/docs/client/gte.mdx
new file mode 100644
index 00000000000..e39532bd679
--- /dev/null
+++ b/web/docs/client/gte.mdx
@@ -0,0 +1,225 @@
+---
+id: gte
+title: ".gte()"
+slug: gte
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is greater than or
+equal to the specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .gte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .gte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .gte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .gte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .gte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/ilike.mdx b/web/docs/client/ilike.mdx
new file mode 100644
index 00000000000..b8f0262bdc4
--- /dev/null
+++ b/web/docs/client/ilike.mdx
@@ -0,0 +1,225 @@
+---
+id: ilike
+title: ".ilike()"
+slug: ilike
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value in the stated `column` matches the supplied
+`pattern` (case insensitive).
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .ilike('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .ilike('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .ilike('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .ilike('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .ilike('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/in.mdx b/web/docs/client/in.mdx
new file mode 100644
index 00000000000..3f0a9eb80a1
--- /dev/null
+++ b/web/docs/client/in.mdx
@@ -0,0 +1,225 @@
+---
+id: in
+title: ".in()"
+slug: in
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is found on the
+specified `values`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/index.mdx b/web/docs/client/index.mdx
new file mode 100644
index 00000000000..65e2a8c6a12
--- /dev/null
+++ b/web/docs/client/index.mdx
@@ -0,0 +1,19 @@
+---
+id: index
+title: "Supabase Client"
+slug: supabase-client
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+
+Our client library is modular. Each sub-library is a standalone implementation for a single external system. This is one of the ways we support existing tools.
+
+
+| Repo | Official | Community |
+|-----------------------|--------------------------------------------------|------------------|
+| **`supabase-{lang}`** Combines libraries and adds enrichments. | [`JavaScript`](https://github.com/supabase/supabase-js) | [`C#`](https://github.com/supabase/supabase-csharp), [`Python`](https://github.com/supabase/supabase-py), `Rust` |
+| `postgrest-{lang}` Client library to work with [PostgREST](https://github.com/postgrest/postgrest) | [`JavaScript`](https://github.com/supabase/postgrest-js) | [`C#`](https://github.com/supabase/postgrest-csharp), [`Python`](https://github.com/supabase/postgrest-py), [`Rust`](https://github.com/supabase/postgrest-rs) |
+| `realtime-{lang}` Client library to work with [Realtime](https://github.com/supabase/realtime) | [`JavaScript`](https://github.com/supabase/realtime-js) | `C#`, `Python`, `Rust` |
+| `gotrue-{lang}` Client library to work with [GoTrue](https://github.com/netlify/gotrue) | [`JavaScript`](https://github.com/supabase/gotrue-js) | `C#`, `Python`, `Rust` |
\ No newline at end of file
diff --git a/web/docs/client/initializing.mdx b/web/docs/client/initializing.mdx
new file mode 100644
index 00000000000..0134715a537
--- /dev/null
+++ b/web/docs/client/initializing.mdx
@@ -0,0 +1,159 @@
+---
+id: initializing
+title: "Initializing"
+slug: initializing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+You can initialize a new Supabase client using the `createClient()` method.
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ supabaseUrl
+
+
+ required
+
+
+ string
+
+
+
+
+The unique Supabase URL which is supplied when you create a new project in your project dashboard.
+
+
+
+
+
+
+
+
+
+ supabaseKey
+
+
+ required
+
+
+ string
+
+
+
+
+The unique Supabase Key which is supplied when you create a new project in your project dashboard.
+
+
+
+
+
+
+
+
+
+ options
+
+
+ optional
+
+
+ SupabaseClientOptions
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### createClient()
+
+
+
+
+
+
+
+```js
+import { createClient } from '@supabase/supabase-js'
+
+// Create a single supabase client for interacting with your database
+const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key")
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With additional parameters
+
+
+
+
+
+
+
+```js
+import { createClient } from '@supabase/supabase-js'
+
+const options = { }
+const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key", options)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/insert.mdx b/web/docs/client/insert.mdx
new file mode 100644
index 00000000000..113db0db357
--- /dev/null
+++ b/web/docs/client/insert.mdx
@@ -0,0 +1,253 @@
+---
+id: insert
+title: "Create data: insert()"
+slug: insert
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs an INSERT into the table.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .insert([
+ { name: 'The Shire', country_id: 554 }
+ ])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Create a record
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .insert([
+ { name: 'The Shire', country_id: 554 }
+ ])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Bulk create
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .insert([
+ { name: 'The Shire', country_id: 554 },
+ { name: 'Rohan', country_id: 555 },
+ ])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Upsert
+
+For upsert, if set to true, primary key columns would need to be included
+in the data parameter in order for an update to properly happen. Also, primary keys
+used must be natural, not surrogate. There are however,
+[workarounds](https://github.com/PostgREST/postgrest/issues/1118)
+for surrogate primary keys.
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .insert(
+ [
+ { name: 'The Shire', country_id: 554 },
+ { name: 'Rohan', country_id: 555 },
+ { name: 'City by the Bay', country_id:840}
+ ],
+ { upsert: true })
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/installing.mdx b/web/docs/client/installing.mdx
new file mode 100644
index 00000000000..604b025496c
--- /dev/null
+++ b/web/docs/client/installing.mdx
@@ -0,0 +1,25 @@
+---
+id: installing
+title: "Installing"
+slug: installing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+All JavaScript libraries are built directly by the Supabase team.
+
+Other languages are built by the community and supported by Supabase.
+
+## Javascript
+
+```bash
+npm install @supabase/postgrest-js
+```
+
+Find the source code on [GitHub](https://github.com/supabase/postgrest-js).
+
+## Python
+
+```bash
+# Not yet implemented
\ No newline at end of file
diff --git a/web/docs/client/is.mdx b/web/docs/client/is.mdx
new file mode 100644
index 00000000000..ef48d5f9b66
--- /dev/null
+++ b/web/docs/client/is.mdx
@@ -0,0 +1,225 @@
+---
+id: is
+title: ".is()"
+slug: is
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+A check for exact equality (null, true, false), finds all rows whose
+value on the stated `column` exactly match the specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .is('name', null)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .is('name', null)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .is('name', null)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .is('name', null)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .is('name', null)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/like.mdx b/web/docs/client/like.mdx
new file mode 100644
index 00000000000..754d7ca7b0c
--- /dev/null
+++ b/web/docs/client/like.mdx
@@ -0,0 +1,225 @@
+---
+id: like
+title: ".like()"
+slug: like
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value in the stated `column` matches the supplied
+`pattern` (case sensitive).
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .like('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .like('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .like('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .like('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .like('name', '%la%')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/limit.mdx b/web/docs/client/limit.mdx
new file mode 100644
index 00000000000..610d2f4d27f
--- /dev/null
+++ b/web/docs/client/limit.mdx
@@ -0,0 +1,188 @@
+---
+id: limit
+title: "limit()"
+slug: limit
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Limits the result with the specified `count`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .limit(1)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .limit(1)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With embedded resources
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, cities(name)')
+ .eq('name', 'United States')
+ .limit(1, 'cities')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/lt.mdx b/web/docs/client/lt.mdx
new file mode 100644
index 00000000000..a06f5f0e454
--- /dev/null
+++ b/web/docs/client/lt.mdx
@@ -0,0 +1,225 @@
+---
+id: lt
+title: ".lt()"
+slug: lt
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is less than the
+specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .lt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .lt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .lt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .lt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .lt('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/lte.mdx b/web/docs/client/lte.mdx
new file mode 100644
index 00000000000..a9ffeec2170
--- /dev/null
+++ b/web/docs/client/lte.mdx
@@ -0,0 +1,225 @@
+---
+id: lte
+title: ".lte()"
+slug: lte
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is less than or equal
+to the specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .lte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .lte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .lte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .lte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .lte('country_id', 250)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/match.mdx b/web/docs/client/match.mdx
new file mode 100644
index 00000000000..ed00b59258e
--- /dev/null
+++ b/web/docs/client/match.mdx
@@ -0,0 +1,204 @@
+---
+id: match
+title: ".match()"
+slug: match
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose columns match the specified `query` object.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .match({name: 'Beijing', country_id: 156})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .match({name: 'Beijing', country_id: 156})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .match({name: 'Beijing', country_id: 156})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .match({name: 'Beijing', country_id: 156})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .match({name: 'Beijing', country_id: 156})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/neq.mdx b/web/docs/client/neq.mdx
new file mode 100644
index 00000000000..4959eb504bd
--- /dev/null
+++ b/web/docs/client/neq.mdx
@@ -0,0 +1,225 @@
+---
+id: neq
+title: ".neq()"
+slug: neq
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` doesn't match the
+specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .neq('name', 'The shire')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .neq('name', 'The shire')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .neq('name', 'San Francisco')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .neq('name', 'Mordor')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .neq('name', 'Lagos')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/not.mdx b/web/docs/client/not.mdx
new file mode 100644
index 00000000000..3929ba86c16
--- /dev/null
+++ b/web/docs/client/not.mdx
@@ -0,0 +1,245 @@
+---
+id: not
+title: ".not()"
+slug: not
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows which doesn't satisfy the filter.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .not('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ operator
+
+
+ required
+
+
+ FilterOperator
+
+
+
+
+The operator to filter with.
+
+
+
+
+
+
+
+
+
+ value
+
+
+ required
+
+
+ any
+
+
+
+
+The value to filter with.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .not('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .not('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .not('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_cities)
+ .not('name', 'eq', 'Paris')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/nxl.mdx b/web/docs/client/nxl.mdx
new file mode 100644
index 00000000000..9be0ac5a7eb
--- /dev/null
+++ b/web/docs/client/nxl.mdx
@@ -0,0 +1,225 @@
+---
+id: nxl
+title: ".nxl()"
+slug: nxl
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` does not extend
+to the left of the specified `range`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .nxl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .nxl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .nxl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .nxl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .nxl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/nxr.mdx b/web/docs/client/nxr.mdx
new file mode 100644
index 00000000000..94372a0371c
--- /dev/null
+++ b/web/docs/client/nxr.mdx
@@ -0,0 +1,225 @@
+---
+id: nxr
+title: ".nxr()"
+slug: nxr
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` does not extend
+to the right of the specified `range`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .nxr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .nxr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .nxr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .nxr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .nxr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/on.mdx b/web/docs/client/on.mdx
new file mode 100644
index 00000000000..312ed154ffb
--- /dev/null
+++ b/web/docs/client/on.mdx
@@ -0,0 +1,293 @@
+---
+id: on
+title: "Subscribing: on()"
+slug: on
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Subscribe to realtime changes in your databse.
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('*')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ event
+
+
+ required
+
+
+ INSERT | UPDATE | DELETE | *
+
+
+
+
+The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes.
+
+
+
+
+
+
+
+
+
+ callback
+
+
+ required
+
+
+ object
+
+
+
+
+A callback that will handle the payload that is sent whenever your database changes.
+
+
+
+
+
+
+
+
+## Notes
+
+- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Listen to all database changes
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('*')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to a specific table
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to inserts
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('INSERT', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to updates
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('UPDATE', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to deletes
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('DELETE', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to multiple events
+
+You can chain listeners if you want to listen to multiple events for each table.
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('INSERT', handleRecordInserted)
+ .on('DELETE', handleRecordDeleted)
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/or.mdx b/web/docs/client/or.mdx
new file mode 100644
index 00000000000..2e242471f52
--- /dev/null
+++ b/web/docs/client/or.mdx
@@ -0,0 +1,141 @@
+---
+id: or
+title: ".or()"
+slug: or
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows satisfying at least one of the filters.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .or('id.eq.20,id.eq.30')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .or('id.eq.20,id.eq.30')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### User `or` with `and`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/order.mdx b/web/docs/client/order.mdx
new file mode 100644
index 00000000000..24d67909629
--- /dev/null
+++ b/web/docs/client/order.mdx
@@ -0,0 +1,230 @@
+---
+id: order
+title: "order()"
+slug: order
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Orders the result with the specified `column`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name', 'country_id')
+ .order('id')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name', 'country_id')
+ .order('id')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With embedded resources
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, cities(name)')
+ .eq('name', 'United States')
+ .order('cities.name')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/ov.mdx b/web/docs/client/ov.mdx
new file mode 100644
index 00000000000..1cbe1ac7175
--- /dev/null
+++ b/web/docs/client/ov.mdx
@@ -0,0 +1,225 @@
+---
+id: ov
+title: ".ov()"
+slug: ov
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose array or range value on the stated `column` is
+contained by the specified `value`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .ova('main_exports', ['computers', 'minerals'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .ova('main_exports', ['computers', 'minerals'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+let countries = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .ova('main_exports', ['computers', 'minerals'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .ova('main_exports', ['computers', 'minerals'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .ova('main_exports', ['computers', 'minerals'])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/phfts.mdx b/web/docs/client/phfts.mdx
new file mode 100644
index 00000000000..606301fe414
--- /dev/null
+++ b/web/docs/client/phfts.mdx
@@ -0,0 +1,107 @@
+---
+id: phfts
+title: ".phfts()"
+slug: phfts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+phraseto_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/plfts.mdx b/web/docs/client/plfts.mdx
new file mode 100644
index 00000000000..b0ed2423e1d
--- /dev/null
+++ b/web/docs/client/plfts.mdx
@@ -0,0 +1,107 @@
+---
+id: plfts
+title: ".plfts()"
+slug: plfts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+plainto_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/range.mdx b/web/docs/client/range.mdx
new file mode 100644
index 00000000000..91c87cc1e94
--- /dev/null
+++ b/web/docs/client/range.mdx
@@ -0,0 +1,177 @@
+---
+id: range
+title: "range()"
+slug: range
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Limits the result to rows within the specified range, inclusive.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .range(0,3)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ from
+
+
+ required
+
+
+ number
+
+
+
+
+The starting index from which to limit the result, inclusive.
+
+
+
+
+
+
+
+
+
+ to
+
+
+ required
+
+
+ number
+
+
+
+
+The last index to which to limit the result, inclusive.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .range(0,3)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/removesubscription.mdx b/web/docs/client/removesubscription.mdx
new file mode 100644
index 00000000000..13ac2fd394a
--- /dev/null
+++ b/web/docs/client/removesubscription.mdx
@@ -0,0 +1,104 @@
+---
+id: removesubscription
+title: "removeSubscription()"
+slug: removesubscription
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Removes an active subscription and returns the number of open connections.
+
+
+
+
+
+```js
+supabase.removeSubscription(mySubscription)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Remove a subscription
+
+
+
+
+
+
+
+```js
+supabase.removeSubscription(mySubscription)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/reset-password-email.mdx b/web/docs/client/reset-password-email.mdx
new file mode 100644
index 00000000000..b442e17bdb5
--- /dev/null
+++ b/web/docs/client/reset-password-email.mdx
@@ -0,0 +1,104 @@
+---
+id: reset-password-email
+title: "Reset Password (Email)"
+slug: reset-password-email
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Sends a reset request to an email address.
+
+
+
+
+
+```js
+const { data, error } = supabase.auth.api.resetPasswordForEmail('user@email.com')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Reset password
+
+
+
+
+
+
+
+```js
+const { data, error } = supabase.auth.api.resetPasswordForEmail('user@email.com')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/rpc.mdx b/web/docs/client/rpc.mdx
new file mode 100644
index 00000000000..e5ddb81bd1f
--- /dev/null
+++ b/web/docs/client/rpc.mdx
@@ -0,0 +1,229 @@
+---
+id: rpc
+title: "Stored Procedures: rpc()"
+slug: rpc
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+You can call stored procedures as a "Remote Procedure Call".
+
+That's a fancy way of saying that you can put some logic into your database then call it from anywhere.
+It's especially useful when the logic rarely changes - like password resets and updates.
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .rpc('hello_world')
+}
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Call a stored procedure
+
+This is an example invoking a stored procedure.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .rpc('hello_world')
+}
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With Parameters
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .rpc('echo_city', { name: 'The Shire' })
+}
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Bulk call
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .rpc('echo_city', [
+ { name: 'The Shire' },
+ { name: 'Mordor' }
+ ])
+}
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With filters.
+
+Stored procedures that return tables can also be combined with
+[Modifiers](/docs/client/using-modifiers) and
+[Filters](/docs/client/using-filters).
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .eq('name', 'The Shire')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/select.mdx b/web/docs/client/select.mdx
new file mode 100644
index 00000000000..71dfde68cfa
--- /dev/null
+++ b/web/docs/client/select.mdx
@@ -0,0 +1,254 @@
+---
+id: select
+title: "Fetch data: select()"
+slug: select
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs horizontal filtering with SELECT.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+## Notes
+
+- `select()` can be combined with [Modifiers](/docs/client/using-modifiers)
+- `select()` can be combined with [Filters](/docs/client/using-filters)
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Getting your data
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Selecting specific columns
+
+You can select specific fields from your tables.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name')
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Query foreign tables
+
+If your database has relationships, you can query related tables too.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select(`
+ name,
+ cities (
+ name
+ )
+ `)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Query the same foreign table multiple times
+
+Sometimes you will need to query the same foreign table twice.
+In this case, you can use the name of the joined column to identify
+which join you intend to use. For convenience, you can also give an
+alias for each column. For example, if we had a shop of products,
+and we wanted to get the supplier and the purchaser at the same time
+(both in the users) table:
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('products')
+ .select(`
+ id,
+ supplier:supplier_id ( name ),
+ purchaser:purchaser_id ( name )
+ `)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Quering JSON data
+
+If you have data inside of a JSONB column, you can apply select
+and query filters to the data values. Postgres offers a
+[number of operators](https://www.postgresql.org/docs/9.5/functions-json.html)
+for querying JSON data. Also see
+[PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details.
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('products')
+ .select(`
+ id,
+ supplier:supplier_id ( name ),
+ purchaser:purchaser_id ( name )
+ `)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/single.mdx b/web/docs/client/single.mdx
new file mode 100644
index 00000000000..a253168ad95
--- /dev/null
+++ b/web/docs/client/single.mdx
@@ -0,0 +1,87 @@
+---
+id: single
+title: "single()"
+slug: single
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Retrieves only one row from the result. Result must be one row (e.g. using
+`limit`), otherwise this will result in an error.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .single()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .single()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/sl.mdx b/web/docs/client/sl.mdx
new file mode 100644
index 00000000000..b2c58af4635
--- /dev/null
+++ b/web/docs/client/sl.mdx
@@ -0,0 +1,225 @@
+---
+id: sl
+title: ".sl()"
+slug: sl
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` is strictly to the
+left of the specified `range`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .sl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .sl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .sl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .sl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .sl('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/sr.mdx b/web/docs/client/sr.mdx
new file mode 100644
index 00000000000..cc0408ea019
--- /dev/null
+++ b/web/docs/client/sr.mdx
@@ -0,0 +1,225 @@
+---
+id: sr
+title: ".sr()"
+slug: sr
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` is strictly to
+the right of the specified `range`.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .sr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### With `select()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .sr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `update()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .sr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `delete()`
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .sr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### With `rpc()`
+
+
+
+
+
+
+
+```js
+// Only valid if the Stored Procedure returns a table type.
+const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .sr('population_range_millions', [150, 250])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/subscribe.mdx b/web/docs/client/subscribe.mdx
new file mode 100644
index 00000000000..c02561c2ed3
--- /dev/null
+++ b/web/docs/client/subscribe.mdx
@@ -0,0 +1,331 @@
+---
+id: subscribe
+title: "on().subscribe()"
+slug: subscribe
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Subscribe to realtime changes in your databse.
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('*')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ event
+
+
+ required
+
+
+ INSERT | UPDATE | DELETE | *
+
+
+
+
+The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes.
+
+
+
+
+
+
+
+
+
+ callback
+
+
+ required
+
+
+ object
+
+
+
+
+A callback that will handle the payload that is sent whenever your database changes.
+
+
+
+
+
+
+
+
+## Notes
+
+- If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Listen to all database changes
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('*')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to a specific table
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to inserts
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('INSERT', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to updates
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('UPDATE', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to deletes
+
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('DELETE', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to multiple events
+
+You can chain listeners if you want to listen to multiple events for each table.
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('INSERT', handleRecordInserted)
+ .on('DELETE', handleRecordDeleted)
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+### Listening to row level changes
+
+You can listen to individual rows using the format `{table}:{col}.eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match.
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries:id.eq.200')
+ .on('UPDATE', handleRecordUpdated)
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/update.mdx b/web/docs/client/update.mdx
new file mode 100644
index 00000000000..3ab8f2d0f14
--- /dev/null
+++ b/web/docs/client/update.mdx
@@ -0,0 +1,111 @@
+---
+id: update
+title: "Modify data: update()"
+slug: update
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs an UPDATE on the table.
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Middle Earth' })
+ .match({ name: 'Auckland' })
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+## Notes
+
+- `update()` should always be combined with [Filters](/docs/client/using-filters) to target the item(s) you wish to update.
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Updating your data
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Middle Earth' })
+ .match({ name: 'Auckland' })
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/client/using-filters.mdx b/web/docs/client/using-filters.mdx
new file mode 100644
index 00000000000..78494041e5f
--- /dev/null
+++ b/web/docs/client/using-filters.mdx
@@ -0,0 +1,12 @@
+---
+id: using-filters
+title: "Using Filters"
+slug: using-filters
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Filters can be used on `select()`, `update()`, and `delete()` queries.
+
+If a Stored Procedure returns a table response, you can also apply filters.
\ No newline at end of file
diff --git a/web/docs/client/using-modifiers.mdx b/web/docs/client/using-modifiers.mdx
new file mode 100644
index 00000000000..be03d7183ea
--- /dev/null
+++ b/web/docs/client/using-modifiers.mdx
@@ -0,0 +1,12 @@
+---
+id: using-modifiers
+title: "Using Modifiers"
+slug: using-modifiers
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Modifiers can be used on `select()` queries.
+
+If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function.
\ No newline at end of file
diff --git a/web/docs/client/wfts.mdx b/web/docs/client/wfts.mdx
new file mode 100644
index 00000000000..483aa792884
--- /dev/null
+++ b/web/docs/client/wfts.mdx
@@ -0,0 +1,107 @@
+---
+id: wfts
+title: ".wfts()"
+slug: wfts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+websearch_to_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/common/_DummyData.mdx b/web/docs/common/_DummyData.mdx
deleted file mode 100644
index 139b641678e..00000000000
--- a/web/docs/common/_DummyData.mdx
+++ /dev/null
@@ -1,39 +0,0 @@
-
-import Collapsable from '../../src/components/Collapsable'
-
-
-
-We will be fictional "world" database in all of our examples.
-
-
-
-
-Countries
-
-| id | name | iso2 | population_range_millions | main_exports |
-| --- | ------------- | :--: | ------------------------- | --------------------- |
-| 76 | Brazil | BR | ( 205, 215 ) | [ beans, minerals ] |
-| 156 | China | CN | ( 1380, 1390 ) | [ computers, phones ] |
-| 250 | France | FR | ( 60, 70 ) | [ cars, machines ] |
-| 554 | New Zealand | NZ | ( 4, 6 ) | [ food, machines ] |
-| 556 | Nigeria | NG | ( 185, 195 ) | [ oil, beans ] |
-| 840 | United States | US | ( 320, 330 ) | [ oil, cars, food ] |
-
-
-
-Cities
-
-| name | country_id |
-| -------------- | :--------: |
-| Rio de Janeiro | 76 |
-| Beijing | 156 |
-| Paris | 250 |
-| Auckland | 554 |
-| Lagos | 556 |
-| Los Angeles | 840 |
-| San Francisco | 840 |
-
-
-
-
-
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-getuser.mdx b/web/docs/gotrue/client/api-getuser.mdx
new file mode 100644
index 00000000000..4316d5577ff
--- /dev/null
+++ b/web/docs/gotrue/client/api-getuser.mdx
@@ -0,0 +1,39 @@
+---
+id: api-getuser
+title: "api.getUser"
+slug: api-getuser
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Gets the user details.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-refreshaccesstoken.mdx b/web/docs/gotrue/client/api-refreshaccesstoken.mdx
new file mode 100644
index 00000000000..13a3c760749
--- /dev/null
+++ b/web/docs/gotrue/client/api-refreshaccesstoken.mdx
@@ -0,0 +1,39 @@
+---
+id: api-refreshaccesstoken
+title: "api.refreshAccessToken"
+slug: api-refreshaccesstoken
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Generates a new JWT.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-resetpasswordforemail.mdx b/web/docs/gotrue/client/api-resetpasswordforemail.mdx
new file mode 100644
index 00000000000..1aa696e9311
--- /dev/null
+++ b/web/docs/gotrue/client/api-resetpasswordforemail.mdx
@@ -0,0 +1,39 @@
+---
+id: api-resetpasswordforemail
+title: "api.resetPasswordForEmail"
+slug: api-resetpasswordforemail
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Sends a reset request to an email address.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-signinwithemail.mdx b/web/docs/gotrue/client/api-signinwithemail.mdx
new file mode 100644
index 00000000000..ed1b259c622
--- /dev/null
+++ b/web/docs/gotrue/client/api-signinwithemail.mdx
@@ -0,0 +1,60 @@
+---
+id: api-signinwithemail
+title: "api.signInWithEmail"
+slug: api-signinwithemail
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Logs in an existing using their email address.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-signout.mdx b/web/docs/gotrue/client/api-signout.mdx
new file mode 100644
index 00000000000..3bdeadffd9d
--- /dev/null
+++ b/web/docs/gotrue/client/api-signout.mdx
@@ -0,0 +1,39 @@
+---
+id: api-signout
+title: "api.signOut"
+slug: api-signout
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Removes a logged-in session.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-signupwithemail.mdx b/web/docs/gotrue/client/api-signupwithemail.mdx
new file mode 100644
index 00000000000..5f284488bc0
--- /dev/null
+++ b/web/docs/gotrue/client/api-signupwithemail.mdx
@@ -0,0 +1,105 @@
+---
+id: api-signupwithemail
+title: "api.signUpWithEmail"
+slug: api-signupwithemail
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Creates a new user using their email address.
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Sign up a new user with email
+
+
+
+
+
+
+
+```js
+const { error, data } = await api
+ .signUpWithEmail('example@email.com', 'example-password')
+```
+
+
+
+
+
+
+```
+Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/api-updateuser.mdx b/web/docs/gotrue/client/api-updateuser.mdx
new file mode 100644
index 00000000000..0805fde7604
--- /dev/null
+++ b/web/docs/gotrue/client/api-updateuser.mdx
@@ -0,0 +1,60 @@
+---
+id: api-updateuser
+title: "api.updateUser"
+slug: api-updateuser
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Updates the user data.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/index.mdx b/web/docs/gotrue/client/index.mdx
new file mode 100644
index 00000000000..f3e55390a8f
--- /dev/null
+++ b/web/docs/gotrue/client/index.mdx
@@ -0,0 +1,12 @@
+---
+id: index
+title: "GoTrue Client"
+slug: gotrue-client
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+GoTrue is an authentication server.
+
+Supabase provides client libraries to interact with the server
\ No newline at end of file
diff --git a/web/docs/gotrue/client/initializing.mdx b/web/docs/gotrue/client/initializing.mdx
new file mode 100644
index 00000000000..81cd1185b72
--- /dev/null
+++ b/web/docs/gotrue/client/initializing.mdx
@@ -0,0 +1,169 @@
+---
+id: initializing
+title: "Initializing"
+slug: initializing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Create a new client for use in the browser.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/installing.mdx b/web/docs/gotrue/client/installing.mdx
new file mode 100644
index 00000000000..a26915b240a
--- /dev/null
+++ b/web/docs/gotrue/client/installing.mdx
@@ -0,0 +1,24 @@
+---
+id: installing
+title: "Installing"
+slug: installing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+All JavaScript libraries are built directly by the Supabase team.
+
+Other languages are built by the community and supported by Supabase.
+
+## Javascript
+
+```bash
+npm install @supabase/gotrue-js
+```
+
+## Python
+
+```bash
+# Not yet implemented
+```
\ No newline at end of file
diff --git a/web/docs/gotrue/client/onauthstatechange.mdx b/web/docs/gotrue/client/onauthstatechange.mdx
new file mode 100644
index 00000000000..2fb33e4a689
--- /dev/null
+++ b/web/docs/gotrue/client/onauthstatechange.mdx
@@ -0,0 +1,8 @@
+---
+id: onauthstatechange
+title: "onAuthStateChange"
+slug: onauthstatechange
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
\ No newline at end of file
diff --git a/web/docs/gotrue/client/session.mdx b/web/docs/gotrue/client/session.mdx
new file mode 100644
index 00000000000..f646f6b547b
--- /dev/null
+++ b/web/docs/gotrue/client/session.mdx
@@ -0,0 +1,59 @@
+---
+id: session
+title: "session"
+slug: session
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Returns the session data, if there is an active session.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Get user
+
+
+
+
+
+
+
+```js
+const user = auth.session()
+```
+
+
+
+
+
+
+```
+Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/signin.mdx b/web/docs/gotrue/client/signin.mdx
new file mode 100644
index 00000000000..81262ee71d3
--- /dev/null
+++ b/web/docs/gotrue/client/signin.mdx
@@ -0,0 +1,177 @@
+---
+id: signin
+title: "signIn"
+slug: signin
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Log in an existing user, or login via a third-party provider.
+
+
+
+
+
+```js
+const { error, data } = await auth.signIn({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Sign in
+
+
+
+
+
+
+
+```js
+const { error, data } = await auth.signIn({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/signout.mdx b/web/docs/gotrue/client/signout.mdx
new file mode 100644
index 00000000000..501d0c64834
--- /dev/null
+++ b/web/docs/gotrue/client/signout.mdx
@@ -0,0 +1,59 @@
+---
+id: signout
+title: "signOut"
+slug: signout
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Signs out the current user, if there is a logged in user.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Sign out
+
+
+
+
+
+
+
+```js
+const { error, data } = await auth.signOut()
+```
+
+
+
+
+
+
+```
+Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/signup.mdx b/web/docs/gotrue/client/signup.mdx
new file mode 100644
index 00000000000..009736fce3c
--- /dev/null
+++ b/web/docs/gotrue/client/signup.mdx
@@ -0,0 +1,134 @@
+---
+id: signup
+title: "signUp"
+slug: signup
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Creates a new user.
+
+
+
+## Parameters
+
+
+
+
+
+## Notes
+
+- A user can sign up either via email or OAuth.
+- If you provide `email`, `password` is also required
+- If you provide `access_token`, `password` is also required
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Sign up
+
+
+
+
+
+
+
+```js
+const { error, data } = await auth.signUp({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/update.mdx b/web/docs/gotrue/client/update.mdx
new file mode 100644
index 00000000000..e029b0607dc
--- /dev/null
+++ b/web/docs/gotrue/client/update.mdx
@@ -0,0 +1,39 @@
+---
+id: update
+title: "update"
+slug: update
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Updates user data, if there is a logged in user.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/client/user.mdx b/web/docs/gotrue/client/user.mdx
new file mode 100644
index 00000000000..2cb353feadd
--- /dev/null
+++ b/web/docs/gotrue/client/user.mdx
@@ -0,0 +1,59 @@
+---
+id: user
+title: "user"
+slug: user
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Returns the user data, if there is a logged in user.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Get user
+
+
+
+
+
+
+
+```js
+const user = auth.user()
+```
+
+
+
+
+
+
+```
+Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/gotrue/server/about.md b/web/docs/gotrue/server/about.md
new file mode 100644
index 00000000000..3aa87e4afd6
--- /dev/null
+++ b/web/docs/gotrue/server/about.md
@@ -0,0 +1,545 @@
+---
+id: about
+title: GoTrue
+description: An SWT based API for managing users and issuing SWT tokens
+---
+
+GoTrue is a small open-source API written in golang, that can act as a self-standing
+API service for handling user registration and authentication for JAM projects.
+
+It's based on OAuth2 and JWT and will handle user signup, authentication and custom
+user data.
+
+## Configuration
+
+You may configure GoTrue using either a configuration file named `.env`,
+environment variables, or a combination of both. Environment variables are prefixed with `GOTRUE_`, and will always have precedence over values provided via file.
+
+### Top-Level
+
+```
+GOTRUE_SITE_URL=https://example.netlify.com/
+```
+
+`SITE_URL` - `string` **required**
+
+The base URL your site is located at. Currently used in combination with other settings to construct URLs used in emails.
+
+`OPERATOR_TOKEN` - `string` _Multi-instance mode only_
+
+The shared secret with an operator (usually Netlify) for this microservice. Used to verify requests have been proxied through the operator and
+the payload values can be trusted.
+
+`DISABLE_SIGNUP` - `bool`
+
+When signup is disabled the only way to create new users is through invites. Defaults to `false`, all signups enabled.
+
+`GOTRUE_RATE_LIMIT_HEADER` - `string`
+
+Header on which to rate limit the `/token` endpoint.
+
+### API
+
+```
+GOTRUE_API_HOST=localhost
+PORT=9999
+```
+
+`API_HOST` - `string`
+
+Hostname to listen on.
+
+`PORT` (no prefix) / `API_PORT` - `number`
+
+Port number to listen on. Defaults to `8081`.
+
+`API_ENDPOINT` - `string` _Multi-instance mode only_
+
+Controls what endpoint Netlify can access this API on.
+
+`REQUEST_ID_HEADER` - `string`
+
+If you wish to inherit a request ID from the incoming request, specify the name in this value.
+
+### Database
+
+```
+GOTRUE_DB_DRIVER=mysql
+DATABASE_URL=root@localhost/gotrue
+```
+
+`DB_DRIVER` - `string` **required**
+
+Chooses what dialect of database you want. Must be `mysql`.
+
+`DATABASE_URL` (no prefix) / `DB_DATABASE_URL` - `string` **required**
+
+Connection string for the database.
+
+`DB_NAMESPACE` - `string`
+
+Adds a prefix to all table names.
+
+**Migrations Note**
+
+Migrations are not applied automatically, so you will need to run them after
+you've built gotrue.
+
+* If built locally: `./gotrue migrate`
+* Using Docker: `docker run --rm gotrue gotrue migrate`
+
+### Logging
+
+```
+LOG_LEVEL=debug # available without GOTRUE prefix (exception)
+GOTRUE_LOG_FILE=/var/log/go/gotrue.log
+```
+
+`LOG_LEVEL` - `string`
+
+Controls what log levels are output. Choose from `panic`, `fatal`, `error`, `warn`, `info`, or `debug`. Defaults to `info`.
+
+`LOG_FILE` - `string`
+
+If you wish logs to be written to a file, set `log_file` to a valid file path.
+
+### JSON Web Tokens (JWT)
+
+```
+GOTRUE_JWT_SECRET=supersecretvalue
+GOTRUE_JWT_EXP=3600
+GOTRUE_JWT_AUD=netlify
+```
+
+`JWT_SECRET` - `string` **required**
+
+The secret used to sign JWT tokens with.
+
+`JWT_EXP` - `number`
+
+How long tokens are valid for, in seconds. Defaults to 3600 (1 hour).
+
+`JWT_AUD` - `string`
+
+The default JWT audience. Use audiences to group users.
+
+`JWT_ADMIN_GROUP_NAME` - `string`
+
+The name of the admin group (if enabled). Defaults to `admin`.
+
+`JWT_DEFAULT_GROUP_NAME` - `string`
+
+The default group to assign all new users to.
+
+### External Authentication Providers
+
+We support `bitbucket`, `github`, `gitlab`, and `google` for external authentication.
+Use the names as the keys underneath `external` to configure each separately.
+
+```
+GOTRUE_EXTERNAL_GITHUB_CLIENT_ID=myappclientid
+GOTRUE_EXTERNAL_GITHUB_SECRET=clientsecretvaluessssh
+```
+
+No external providers are required, but you must provide the required values if you choose to enable any.
+
+`EXTERNAL_X_ENABLED` - `bool`
+
+Whether this external provider is enabled or not
+
+`EXTERNAL_X_CLIENT_ID` - `string` **required**
+
+The OAuth2 Client ID registered with the external provider.
+
+`EXTERNAL_X_SECRET` - `string` **required**
+
+The OAuth2 Client Secret provided by the external provider when you registered.
+
+`EXTERNAL_X_REDIRECT_URI` - `string` **required for gitlab**
+
+The URI a OAuth2 provider will redirect to with the `code` and `state` values.
+
+`EXTERNAL_X_URL` - `string`
+
+The base URL used for constructing the URLs to request authorization and access tokens. Used by `gitlab` only. Defaults to `https://gitlab.com`.
+
+### E-Mail
+
+Sending email is not required, but highly recommended for password recovery.
+If enabled, you must provide the required values below.
+
+```
+GOTRUE_SMTP_HOST=smtp.mandrillapp.com
+GOTRUE_SMTP_PORT=587
+GOTRUE_SMTP_USER=smtp-delivery@example.com
+GOTRUE_SMTP_PASS=correcthorsebatterystaple
+GOTRUE_SMTP_ADMIN_EMAIL=support@example.com
+GOTRUE_MAILER_SUBJECTS_CONFIRMATION="Please confirm"
+```
+
+`SMTP_ADMIN_EMAIL` - `string` **required**
+
+The `From` email address for all emails sent.
+
+`SMTP_HOST` - `string` **required**
+
+The mail server hostname to send emails through.
+
+`SMTP_PORT` - `number` **required**
+
+The port number to connect to the mail server on.
+
+`SMTP_USER` - `string`
+
+If the mail server requires authentication, the username to use.
+
+`SMTP_PASS` - `string`
+
+If the mail server requires authentication, the password to use.
+
+`SMTP_MAX_FREQUENCY` - `number`
+
+Controls the minimum amount of time that must pass before sending another signup confirmation or password reset email. The value is the number of seconds. Defaults to 900 (15 minutes).
+
+`MAILER_AUTOCONFIRM` - `bool`
+
+If you do not require email confirmation, you may set this to `true`. Defaults to `false`.
+
+`MAILER_URLPATHS_INVITE` - `string`
+
+URL path to use in the user invite email. Defaults to `/`.
+
+`MAILER_URLPATHS_CONFIRMATION` - `string`
+
+URL path to use in the signup confirmation email. Defaults to `/`.
+
+`MAILER_URLPATHS_RECOVERY` - `string`
+
+URL path to use in the password reset email. Defaults to `/`.
+
+`MAILER_URLPATHS_EMAIL_CHANGE` - `string`
+
+URL path to use in the email change confirmation email. Defaults to `/`.
+
+`MAILER_SUBJECTS_INVITE` - `string`
+
+Email subject to use for user invite. Defaults to `You have been invited`.
+
+`MAILER_SUBJECTS_CONFIRMATION` - `string`
+
+Email subject to use for signup confirmation. Defaults to `Confirm Your Signup`.
+
+`MAILER_SUBJECTS_RECOVERY` - `string`
+
+Email subject to use for password reset. Defaults to `Reset Your Password`.
+
+`MAILER_SUBJECTS_EMAIL_CHANGE` - `string`
+
+Email subject to use for email change confirmation. Defaults to `Confirm Email Change`.
+
+`MAILER_TEMPLATES_INVITE` - `string`
+
+URL path to an email template to use when inviting a user.
+`SiteURL`, `Email`, and `ConfirmationURL` variables are available.
+
+Default Content (if template is unavailable):
+
+```html
+You have been invited
+
+You have been invited to create a user on {{ .SiteURL }}. Follow this link to accept the invite:
+Accept the invite
+```
+
+`MAILER_TEMPLATES_CONFIRMATION` - `string`
+
+URL path to an email template to use when confirming a signup.
+`SiteURL`, `Email`, and `ConfirmationURL` variables are available.
+
+Default Content (if template is unavailable):
+
+```html
+Confirm your signup
+
+Follow this link to confirm your user:
+Confirm your mail
+```
+
+`MAILER_TEMPLATES_RECOVERY` - `string`
+
+URL path to an email template to use when resetting a password.
+`SiteURL`, `Email`, and `ConfirmationURL` variables are available.
+
+Default Content (if template is unavailable):
+
+```html
+Reset Password
+
+Follow this link to reset the password for your user:
+Reset Password
+```
+
+`MAILER_TEMPLATES_EMAIL_CHANGE` - `string`
+
+URL path to an email template to use when confirming the change of an email address.
+`SiteURL`, `Email`, `NewEmail`, and `ConfirmationURL` variables are available.
+
+Default Content (if template is unavailable):
+
+```html
+Confirm Change of Email
+
+Follow this link to confirm the update of your email from {{ .Email }} to {{ .NewEmail }}:
+Change Email
+```
+
+## Endpoints
+
+GoTrue exposes the following endpoints:
+
+* **GET /settings**
+
+ Returns the publicly available settings for this gotrue instance.
+
+ ```json
+ {
+ "external": {
+ "bitbucket": true,
+ "github": true,
+ "gitlab": true,
+ "google": true
+ },
+ "disable_signup": false,
+ "autoconfirm": false
+ }
+ ```
+
+* **POST /signup**
+
+ Register a new user with an email and password.
+
+ ```json
+ {
+ "email": "email@example.com",
+ "password": "secret"
+ }
+ ```
+
+ Returns:
+
+ ```json
+ {
+ "id": "11111111-2222-3333-4444-5555555555555",
+ "email": "email@example.com",
+ "confirmation_sent_at": "2016-05-15T20:49:40.882805774-07:00",
+ "created_at": "2016-05-15T19:53:12.368652374-07:00",
+ "updated_at": "2016-05-15T19:53:12.368652374-07:00"
+ }
+ ```
+
+* **POST /invite**
+
+ Invites a new user with an email.
+
+ ```json
+ {
+ "email": "email@example.com"
+ }
+ ```
+
+ Returns:
+
+ ```json
+ {
+ "id": "11111111-2222-3333-4444-5555555555555",
+ "email": "email@example.com",
+ "confirmation_sent_at": "2016-05-15T20:49:40.882805774-07:00",
+ "created_at": "2016-05-15T19:53:12.368652374-07:00",
+ "updated_at": "2016-05-15T19:53:12.368652374-07:00",
+ "invited_at": "2016-05-15T19:53:12.368652374-07:00"
+ }
+ ```
+
+* **POST /verify**
+
+ Verify a registration or a password recovery. Type can be `signup` or `recovery`
+ and the `token` is a token returned from either `/signup` or `/recover`.
+
+ ```json
+ {
+ "type": "signup",
+ "token": "confirmation-code-delivered-in-email",
+ "password": "12345abcdef" // only required if responding to an 'invite'
+ }
+ ```
+
+ `password` is required for signup verification if no existing password exists.
+
+ Returns:
+
+ ```json
+ {
+ "access_token": "jwt-token-representing-the-user",
+ "token_type": "bearer",
+ "expires_in": 3600,
+ "refresh_token": "a-refresh-token"
+ }
+ ```
+
+* **GET /verify**
+
+ Verify a registration or a password recovery. Type can be `signup` or `recovery`
+ and the `token` is a token returned from either `/signup` or `/recover`.
+
+ ```json
+ {
+ "type": "signup",
+ "token": "confirmation-code-delivered-in-email",
+ }
+ ```
+
+ `password` is required for signup verification if no existing password exists.
+
+ User will be logged in and redirected to:
+
+ ```json
+ SITE_URL/#access_token=jwt-token-representing-the-user&token_type=bearer&expires_in=3600&refresh_token=a-refresh-token
+ ```
+
+* **POST /recover**
+
+ Password recovery. Will deliver a password recovery mail to the user based on
+ email address.
+
+ ```json
+ {
+ "email": "email@example.com"
+ }
+ ```
+
+ Returns:
+
+ ```json
+ {}
+ ```
+
+* **POST /token**
+
+ This is an OAuth2 endpoint that currently implements
+ the password and refresh_token grant types
+
+ query params:
+ ```
+ ?grant_type=password
+ ```
+
+ body:
+ ```json
+ {
+ "email": "name@domain.com",
+ "password": "somepassword",
+ }
+ ```
+
+ or
+
+ query params:
+ ```
+ grant_type=refresh_token
+ ```
+
+ body:
+ ```json
+ {
+ "refresh_token": "a-refresh-token"
+ }
+ ```
+
+ Once you have an access token, you can access the methods requiring authentication
+ by settings the `Authorization: Bearer YOUR_ACCESS_TOKEN_HERE` header.
+
+ Returns:
+
+ ```json
+ {
+ "access_token": "jwt-token-representing-the-user",
+ "token_type": "bearer",
+ "expires_in": 3600,
+ "refresh_token": "a-refresh-token"
+ }
+ ```
+
+* **GET /user**
+
+ Get the JSON object for the logged in user (requires authentication)
+
+ Returns:
+
+ ```json
+ {
+ "id": "11111111-2222-3333-4444-5555555555555",
+ "email": "email@example.com",
+ "confirmation_sent_at": "2016-05-15T20:49:40.882805774-07:00",
+ "created_at": "2016-05-15T19:53:12.368652374-07:00",
+ "updated_at": "2016-05-15T19:53:12.368652374-07:00"
+ }
+ ```
+
+* **PUT /user**
+
+ Update a user (Requires authentication). Apart from changing email/password, this
+ method can be used to set custom user data.
+
+ ```json
+ {
+ "email": "new-email@example.com",
+ "password": "new-password",
+ "data": {
+ "key": "value",
+ "number": 10,
+ "admin": false
+ }
+ }
+ ```
+
+ Returns:
+
+ ```json
+ {
+ "id": "11111111-2222-3333-4444-5555555555555",
+ "email": "email@example.com",
+ "confirmation_sent_at": "2016-05-15T20:49:40.882805774-07:00",
+ "created_at": "2016-05-15T19:53:12.368652374-07:00",
+ "updated_at": "2016-05-15T19:53:12.368652374-07:00"
+ }
+ ```
+
+* **POST /logout**
+
+ Logout a user (Requires authentication).
+
+ This will revoke all refresh tokens for the user. Remember that the JWT tokens
+ will still be valid for stateless auth until they expires.
+
+
+* **GET /authorize**
+
+ Get access_token from external oauth provider
+
+ query params:
+ ```
+ provider=google | bitbucket | github | gitlab
+ ```
+
+ Redirects to provider and then to `/callback`
+
+* **GET /callback**
+
+ External provider should redirect to here
+
+ Redirects to `#access_token=&refresh_token=&expires_in=3600&provider=`
+
+## Pre-built
+
+- [Docker](https://hub.docker.com/repository/docker/supabase/gotrue)
+
diff --git a/web/docs/guides/auth.mdx b/web/docs/guides/auth.mdx
new file mode 100644
index 00000000000..e46bf379f2c
--- /dev/null
+++ b/web/docs/guides/auth.mdx
@@ -0,0 +1,122 @@
+---
+id: auth
+title: Auth
+description: Use Supabase to Authenticate and Authorize your users.
+---
+
+### User Management
+
+Supabase makes it simple to manage your users.
+
+
+
+
+
+When a user signs up, Supabase assigns them a unique ID. You can reference this ID anywhere in your database. For example, you might create a `profiles` table referencing the user using a `user_id` field.
+
+Supabase provides the routes to [sign up](/docs/client/auth-signup), [login](/docs/client/auth-signin), [log out](/docs/client/auth-signout), and manage users in your apps and websites.
+
+
+### Third Party Logins
+
+We currently support the following OAuth providers:
+- Google
+- Github
+- Gitlab
+- Bitbucket
+
+
+
+You can enable providers by navigating to Authentication > Settings > External OAuth Providers and inputting your `Client ID` and `Secret` for each.
+
+To fetch these you need to:
+
+1. Generate `Client ID` and `Secret` ([google](https://console.developers.google.com/apis/credentials), [github](https://github.com/settings/applications/new), [gitlab](https://gitlab.com/oauth/applications), [bitbucket](https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/))
+2. Enter Authorized Redirect URI: `http://.supabase.co/auth/v1/callback` on provider dashboard
+
+### Row Level Security
+
+Authentication only gets you so far. When you need granular authorization rules, nothing beats PostgreSQL's [Row Level Security](https://www.postgresql.org/docs/current/ddl-rowsecurity.html). Supabase makes it simple to turn RLS on and off.
+
+
+
+
+
+
+### Policies
+
+[Policies](https://www.postgresql.org/docs/current/sql-createpolicy.html) are PostgreSQL's rule engine. They are incredibly powerful and flexible, allowing you to write complex SQL rules which fit your unique business needs.
+
+
+
+
+
+With policies, your database becomes the rules engine. Instead of repetitively filtering your queries, like this ...
+
+```js
+const loggedInUserId = 'd0714948'
+let { data, error } = await supabase
+ .from('users')
+ .select('user_id, name')
+ .eq('user_id', loggedInUserId)
+
+// console.log(data)
+// => { id: 'd0714948', name: 'Jane' }
+```
+
+... you can simply define a rule on your database table, `auth.uid() = user_id`, and your request will return the rows which pass the rule, even when you remove the filter from your middleware:
+
+```js
+let user = await supabase
+ .from('users')
+ .select('user_id, name')
+
+// console.log(data)
+// Still => { id: 'd0714948', name: 'Jane' }
+```
+
+## How it works
+
+1. A user signs up. Supabase creates a new user in the `auth.users` table.
+2. Supabase returns a new JWT, which contains the user's `UUID`.
+3. Every request to your database also sends the JWT.
+4. Postgres inspects the JWT to determine the user making the request.
+5. The user's UID can be used in Policies to restrict access to rows.
+
+Supabase provides a special function in Postgres, `auth.uid()`, which extracts the user's UID from the JWT. This is especially useful when creating Policies.
+
+## Tips
+
+### Never use a service key on the client.
+
+Supabase provides special "Service" keys, which can be used to bypass all Row Level Security.
+These should never be used in the browser or exposed to customers, but they are usefull for administrative tasks.
+
+### Create a `public.users` table.
+
+Even though Supabase provides an `auth.users` table, it is helpful to also create a users table in the `public` schema, which uses the same UUID Primary Key as the `auth.users`.
+For security purposes, the `auth` schema is not exposed on the auto-generated API. Created a `public.users` table allows you to interact via the Supabase client -
+especially useful for cross-table queries.
+
+### Policies are like where clauses.
+
+Policies are easy to understand once you get the hang of them. You can just think of the as adding a `WHERE` clause to every query. For example if you had a policy like this:
+
+```sql
+create policy "Individuals can view their own todos." on todos for
+ select using (auth.uid() = user_id);
+```
+
+It would translate to this whenever a user tries to select from the todos table:
+
+```sql
+select *
+from todos
+where auth.uid() = todos.user_id; -- Policy is implicitly added.
+```
+
+
+## Next steps
+
+- Read more about [Row Level Security](https://www.postgresql.org/docs/current/ddl-rowsecurity.html)
+- Sign in: [app.supabase.io](https://app.supabase.io)
\ No newline at end of file
diff --git a/web/docs/guides/client-libraries.mdx b/web/docs/guides/client-libraries.mdx
new file mode 100755
index 00000000000..b69f84a6b9f
--- /dev/null
+++ b/web/docs/guides/client-libraries.mdx
@@ -0,0 +1,310 @@
+---
+id: client-libraries
+title: Client Libraries
+description: 'Supabase provides client libraries in several languages.'
+---
+
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+
+The [Supabase Client](/docs/client/supabase-client) makes it simple for developers to build secure and scalable products.
+
+## Auth
+
+
+Create new users using [`signUp()`](/docs/client/auth-signup).
+
+
+
+
+
+```js
+const { error, data } = await supabase.auth.signUp({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+Existing users can log in using [`signIn()`](/docs/client/auth-signin).
+
+
+
+
+
+```js
+const { error, data } = await supabase.auth.signIn({
+ email: 'example@email.com',
+ password: 'example-password',
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+If there is an email, but no password passed to [`signIn()`](/docs/client/auth-signin), the user will receive a magic link.
+
+
+
+
+
+```js
+const { error, data } = await supabase.auth.signIn({
+ email: 'example@email.com'
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+Third party logins are also handled through [`signIn()`](/docs/client/auth-signin).
+
+
+
+
+
+
+```js
+const { user, error } = await supabase.auth.signIn({
+ // provider can be 'github', 'google', 'gitlab', or 'bitbucket'
+ provider: 'github'
+})
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+## Managing data
+
+Since Postgres is a Relational database, the client makes it simple to query tables and fetch related data in one round-trip, using [`select()`](/docs/client/select).
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('countries')
+ .select(`
+ name,
+ cities (
+ name
+ )
+ `)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+You can do advanced [filtering](/docs/client/using-filters) to extract only the data that you need.
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .lt('country_id', 100)
+ .limit(10)
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+You can create data easiely using [`insert()`](/docs/client/insert).
+
+
+
+
+
+
+
+```js
+const { data, error } = await supabase
+ .from('cities')
+ .insert([
+ { name: 'The Shire', country_id: 554 },
+ { name: 'Rohan', country_id: 555 },
+ ])
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+## Realtime Changes
+
+The Supabase client makes it simple to listen to realtime database changes, using [`subscribe()`](/docs/client/subscribe).
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+You can even [listen to Row Level changes](/docs/client/subscribe#listening-to-row-level-changes).
+
+
+
+
+
+
+```js
+const mySubscription = supabase
+ .from('countries:id.eq.200')
+ .on('UPDATE', handleRecordUpdated)
+ .subscribe()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
+
+
+
+## Next steps
+
+- View the [Client Docs](/docs/client/supabase-client)
+- Sign in: [app.supabase.io](https://app.supabase.io)
\ No newline at end of file
diff --git a/web/docs/guides/database.mdx b/web/docs/guides/database.mdx
new file mode 100644
index 00000000000..9db55d99773
--- /dev/null
+++ b/web/docs/guides/database.mdx
@@ -0,0 +1,65 @@
+---
+id: database
+title: Database
+description: Use Supabase to manage your data.
+---
+
+Supabase is built on top of [Postgres](/docs/postgres/server/about), an extremely scalable Relational Database.
+
+## Features
+
+### Table View
+
+You don't have to be a database expert to start using Supabase. Our table view makes Postgres as easy to use as a spreadsheet.
+
+
+
+
+### Relationships
+
+Dig into the relationships within your data.
+
+
+
+
+
+
+
+### Clone tables
+
+You can duplicate your tables, just like you would inside a spreadsheet.
+
+
+
+
+
+### Enable and disable extensions
+
+Extensions are one of the best things about Postgres. You can enable Postgres extensions with the click of a button.
+
+
+
+
+
+
+### The SQL Editor
+
+Supabase comes with a SQL Editor. You can also save your favorite queries to run later!
+
+
+
+
+
+
+### Additional features
+
+- Supabase extends Postgres with realtime functionality using our [Realtime Server](/docs/realtime/server/about).
+- Every project is a full Postgres database, with `postgres` level access.
+- Managed backups - Supabase handles all your database backups.
+- Data imports - import directly from a CSV or excel spreadsheet.
+
+
+## Next steps
+
+- Read more about [Postgres](/docs/postgres/server/about)
+- Sign in: [app.supabase.io](https://app.supabase.io)
\ No newline at end of file
diff --git a/web/docs/guides/platform.mdx b/web/docs/guides/platform.mdx
new file mode 100644
index 00000000000..43df91e5bd4
--- /dev/null
+++ b/web/docs/guides/platform.mdx
@@ -0,0 +1,42 @@
+---
+id: platform
+title: Getting started
+sidebar_label: Introduction
+description: Getting started with the Supabase Platform.
+---
+
+
+Supabase is a hosted platform which makes it very simple to get started.
+Just visit [app.supabase.io](https://app.supabase.io) and sign in to start creating projects.
+
+
+### Organizations and Project
+
+After you have signed in, you can create Organizations and Projects. Each project contains a full Postgres database, as well as auto-generated APIs and Auth functionality.
+
+
+### Managing team members
+
+You can invite your team members into your organizations so that you can collaborate on projects.
+
+
+
+
+
+
+## Self Hosting
+
+Supabase is an amalgamation of various open source tools. If you've started with Supabase and you want to migrate away,
+all you need to do is a backup/dump of your database and take it anywhere you want.
+
+You can find instructions for installing each of the components of Supabase in the "Tools" section.
+
+We choose tools which are permissively licensed (usually MIT or Apache 2) whenever we build new features.
+This prevents lock-in and, more importantly, it is our way of supporting open source development.
+
+We support the tools that we use in a number of ways - donating directly, building client libraries,
+and employing contributors to work full-time on the tools (in the case of PostgREST).
+
+## Next steps
+
+- Sign in to [app.supabase.io](https://app.supabase.io)
\ No newline at end of file
diff --git a/web/docs/library/delete.mdx b/web/docs/library/delete.mdx
deleted file mode 100644
index 28c61e3b71d..00000000000
--- a/web/docs/library/delete.mdx
+++ /dev/null
@@ -1,476 +0,0 @@
----
-id: delete
-title: 'Deleting'
-description: 'How to delete records from your database with Supabase'
----
-
-import DummyData from '../common/_DummyData.mdx'
-import Collapsable from '../../src/components/Collapsable'
-import CommonResponses from '../common/_CommonResponses.mdx'
-import CommonFilters from '../common/CommonFilters'
-import FromFunction from '../common/_FromFunction.mdx'
-import CustomCodeBlock from '../../src/components/CustomCodeBlock'
-import {
- deleteRecordJs,
- deleteFilterJs,
- deleteNotJs,
- deleteMatchJs,
- deleteEqJs,
- deleteNeqJs,
- deleteGtJs,
- deleteLtJs,
- deleteGteJs,
- deleteLteJs,
- deleteLikeJs,
- deleteIlikeJs,
- deleteIsJs,
- deleteInJs,
- deleteCsJs,
- deleteCdJs,
- deleteOvaJs,
- deleteOvrJs,
- deleteSlJs,
- deleteSrJs,
- deleteNxlJs,
- deleteNxrJs,
- deleteAdjJs,
-} from './examples/delete'
-
-
-
-### Delete records
-
-
-
-## Reference
-
-### `from()`
-
-
-
-### `delete()`
-
-```js {3}
-supabase
- .from(tableName)
- .delete()
-```
-It is to note that it is required to apply filters when using `.delete()`. Not using filters would result in an error.
-
----
-
-## Filtering
-
-### `filter()`
-
-
-
-
-
-
-
-### `not()`
-
-
-
-
-
-
-
-### `match()`
-
-
-
-
-
-
-
-### `eq()`
-
-
-
-
-
-
-
-### `neq()`
-
-
-
-
-
-
-
-### `gt()`
-
-
-
-
-
-
-
-### `lt()`
-
-
-
-
-
-
-
-### `gte()`
-
-
-
-
-
-
-
-### `lte()`
-
-
-
-
-
-
-
-### `like()`
-
-
-
-
-
-
-
-### `ilike()`
-
-
-
-
-
-
-
-### `is()`
-
-
-
-
-
-
-
-### `in()`
-
-
-
-
-
-
-
-### `cs()`
-
-
-
-
-
-
-
-### `cd()`
-
-
-
-
-
-
-
-### `ova()`
-
-
-
-
-
-
-
-### `ovr()`
-
-
-
-
-
-
-
-### `sl()`
-
-
-
-
-
-
-
-### `sr()`
-
-
-
-
-
-
-
-### `nxl()`
-
-
-
-
-
-
-
-### `nxr()`
-
-
-
-
-
-
-
-### `adj()`
-
-
-
-
-
-
-
-## Responses
-
-#### 200 OK
-
-Successful request
-
-
diff --git a/web/docs/library/examples/delete.js b/web/docs/library/examples/delete.js
deleted file mode 100644
index 4e0375116d5..00000000000
--- a/web/docs/library/examples/delete.js
+++ /dev/null
@@ -1,281 +0,0 @@
-import {importJs, errorJs} from './common'
-
-/**
- * delete.mdx examples
- */
-
-export const deleteRecordJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let values = await supabase
- .from('cities')
- .delete()
- .match({ id: 666 })
- return values
- ${errorJs}
-`.trim()
-
-export const deleteFilterJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .filter({'name', 'eq', 'Paris'})
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteNotJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .not('name', 'eq', 'Paris')
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteMatchJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .match({name: 'Beijing', country_id: 156})
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteEqJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .eq('name', 'San Francisco')
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteNeqJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .neq('name', 'Lagos')
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteGtJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .gt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteLtJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .lt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteGteJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .gte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteLteJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .lte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteLikeJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .like('name', '%la%')
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteIlikeJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .ilike('name', '%la%')
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteIsJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .is('name', null)
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteInJs = `
-${importJs}
-const deleteCity = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .delete()
- .in('name', ['Rio de Janeiro', 'San Francisco'])
- return cities
- ${errorJs}
-`.trim()
-
-export const deleteCsJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .cs('main_exports', ['oil'])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteCdJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .cd('main_exports', ['cars', 'food', 'machine'])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteOvaJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .ova('main_exports', ['computers', 'minerals'])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteOvrJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .ovr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteSlJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .sl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteSrJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .sr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteNxlJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .nxl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteNxrJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .nxr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const deleteAdjJs = `
-${importJs}
-const deleteCountry = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .delete()
- .adj('population_range_millions', [70, 185])
- return countries
- ${errorJs}
-`.trim()
diff --git a/web/docs/library/examples/get.js b/web/docs/library/examples/get.js
deleted file mode 100644
index 6e3abb1919b..00000000000
--- a/web/docs/library/examples/get.js
+++ /dev/null
@@ -1,459 +0,0 @@
-import {importJs, errorJs} from './common'
-
-/**
- * get.mdx examples
- */
-
-export const getSimpleJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- return cities
- ${errorJs}
-`.trim()
-
-export const getColumnsJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name')
- return cities
- ${errorJs}
-`.trim()
-
-export const getForeignJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select(\`
- name,
- cities (
- name
- )
- \`)
- return countries
- ${errorJs}
-`.trim()
-
-export const getForeignMultipleJs = `
-${importJs}
-const getProducts = async () => {
- try {
- let products = await supabase
- .from('products')
- .select(\`
- id,
- supplier:supplier_id ( name ),
- purchaser:purchaser_id ( name )
- \`)
- return products
- ${errorJs}
-`.trim()
-
-export const getOrderJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name', 'country_id')
- .order('id')
- return cities
- ${errorJs}
-`.trim()
-
-export const getEmbeddedOrderJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, cities(name)')
- .eq('name', 'United States')
- .order('cities.name')
- return countries
- ${errorJs}
-`.trim()
-
-export const getLimitJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .limit(1)
- return cities
- ${errorJs}
-`.trim()
-
-export const getEmbeddedLimitJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('cities')
- .select('name, cities(name)')
- .eq('name', 'United States')
- .limit(1, 'cities')
- return countries
- ${errorJs}
-`.trim()
-
-export const getOffsetJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .offset(1)
- return cities
- ${errorJs}
-`.trim()
-
-export const getEmbeddedOffsetJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('cities')
- .select('name, cities(name)')
- .eq('name', 'United States')
- .offset(1, 'cities')
- return countries
- ${errorJs}
-`.trim()
-
-export const getRangeJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .range(0,3)
- return cities
- ${errorJs}
-`.trim()
-
-export const getSingleJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .single()
- return cities
- ${errorJs}
-`.trim()
-
-export const getFilterJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .filter('name', 'eq', 'Paris')
- return cities
- ${errorJs}
-`.trim()
-
-export const getFilterJsEmbedded = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, countries ( name )')
- .filter('countries.name', 'eq', 'France')
- return cities
- ${errorJs}
-`.trim()
-
-export const getNotJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .not('name', 'eq', 'Paris')
- return cities
- ${errorJs}
-`.trim()
-
-export const getOrJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)')
- return cities
- ${errorJs}
-`.trim()
-
-export const getMatchJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .match({name: 'Beijing', country_id: 156})
- return cities
- ${errorJs}
-`.trim()
-
-export const getEqJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .eq('name', 'San Francisco')
- return cities
- ${errorJs}
-`.trim()
-
-export const getNeqJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .neq('name', 'Lagos')
- return cities
- ${errorJs}
-`.trim()
-
-export const getGtJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .gt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const getLtJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .lt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const getGteJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .gte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const getLteJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .lte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const getLikeJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .like('name', '%la%')
- return cities
- ${errorJs}
-`.trim()
-
-export const getIlikeJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .ilike('name', '%la%')
- return cities
- ${errorJs}
-`.trim()
-
-export const getIsJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .is('name', null)
- return cities
- ${errorJs}
-`.trim()
-
-export const getInJs = `
-${importJs}
-const getCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .select('name, country_id')
- .in('name', ['Rio de Janeiro', 'San Francisco'])
- return cities
- ${errorJs}
-`.trim()
-
-export const getCsJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .cs('main_exports', ['oil'])
- return countries
- ${errorJs}
-`.trim()
-
-export const getCdJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .cd('main_exports', ['cars', 'food', 'machine'])
- return countries
- ${errorJs}
-`.trim()
-
-export const getOvaJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, main_exports')
- .ova('main_exports', ['computers', 'minerals'])
- return countries
- ${errorJs}
-`.trim()
-
-export const getOvrJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .ovr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const getSlJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .sl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const getSrJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .sr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const getNxlJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .nxl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const getNxrJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .nxr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const getAdjJs = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select('name, id, population_range_millions')
- .adj('population_range_millions', [70, 185])
- return countries
- ${errorJs}
-`.trim()
-
-export const getJsonData = `
-${importJs}
-const getCountries = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .select(\`
- json_column_name->>population,
- json_column_name->weather->>temperature
- \`)
- return countries
- ${errorJs}
-`.trim()
diff --git a/web/docs/library/examples/patch.js b/web/docs/library/examples/patch.js
deleted file mode 100644
index 879be08dc6e..00000000000
--- a/web/docs/library/examples/patch.js
+++ /dev/null
@@ -1,282 +0,0 @@
-import {importJs, errorJs} from './common'
-
-/**
- * patch.mdx examples
- */
-
-export const patchRecordJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let updates = await supabase
- .from('cities')
- .update({ name: 'Middle Earth' })
- .match({ name: 'Auckland' })
- return updates
- ${errorJs}
-`.trim()
-
-export const patchFilterJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .filter('name', 'eq', 'Paris')
- return cities
- ${errorJs}
-`.trim()
-
-export const patchNotJs = `
-${importJs}
-const updateCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .not('name', 'eq', 'Paris')
- return cities
- ${errorJs}
-`.trim()
-
-export const patchMatchJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .match({name: 'Beijing', country_id: 156})
- return cities
- ${errorJs}
-`.trim()
-
-export const patchEqJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .eq('name', 'San Francisco')
- return cities
- ${errorJs}
-`.trim()
-
-export const patchNeqJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .neq('name', 'Lagos')
- return cities
- ${errorJs}
-`.trim()
-
-export const patchGtJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .gt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const patchLtJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .lt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const patchGteJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .gte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const patchLteJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .lte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const patchLikeJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .like('name', '%la%')
- return cities
- ${errorJs}
-}
-`.trim()
-
-export const patchIlikeJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .ilike('name', '%la%')
- return cities
- ${errorJs}
-`.trim()
-
-export const patchIsJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .is('name', null)
- return cities
- ${errorJs}
-`.trim()
-
-export const patchInJs = `
-${importJs}
-const updateCityName = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .update({ name: 'Mordor' })
- .in('name', ['Rio de Janeiro', 'San Francisco'])
- return cities
- ${errorJs}
-`.trim()
-
-export const patchCsJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .cs('main_exports', ['oil'])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchCdJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .cd('main_exports', ['cars', 'food', 'machine'])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchOvaJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .ova('main_exports', ['computers', 'minerals'])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchOvrJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .ovr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchSlJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .sl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchSrJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .sr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchNxlJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .nxl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchNxrJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .nxr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const patchAdjJs = `
-${importJs}
-const updateCountryName = async () => {
- try {
- let countries = await supabase
- .from('countries')
- .update({ name: 'Mordor' })
- .adj('population_range_millions', [70, 185])
- return countries
- ${errorJs}
-`.trim()
diff --git a/web/docs/library/examples/post.js b/web/docs/library/examples/post.js
deleted file mode 100644
index 2c302ff4e38..00000000000
--- a/web/docs/library/examples/post.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * post.mdx examples
- */
-
-export const postSingleJs = `
-import { createClient } from '@supabase/supabase-js'
-
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-const createCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .insert([
- { name: 'The Shire', country_id: 554 }
- ])
- return cities
- } catch (error) {
- console.log('Error: ', error)
- }
-}
-`.trim()
-
-export const postBulkJs = `
-import { createClient } from '@supabase/supabase-js'
-
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-const createCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .insert([
- { name: 'The Shire', country_id: 554 },
- { name: 'Rohan', country_id: 555 },
- ])
- return cities
- } catch (error) {
- console.log('Error: ', error)
- }
-}
-`.trim()
-
-export const postUpsertJs = `
-import { createClient } from '@supabase/supabase-js'
-
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-const createCities = async () => {
- try {
- let cities = await supabase
- .from('cities')
- .insert(
- [
- { name: 'The Shire', country_id: 554 },
- { name: 'Rohan', country_id: 555 },
- { name: 'City by the Bay', country_id:840}
- ],
- { upsert: true })
- return cities
- } catch (error) {
- console.log('Error: ', error)
- }
-}
-`.trim()
\ No newline at end of file
diff --git a/web/docs/library/examples/stored.js b/web/docs/library/examples/stored.js
deleted file mode 100644
index 09da66a260d..00000000000
--- a/web/docs/library/examples/stored.js
+++ /dev/null
@@ -1,282 +0,0 @@
-import {importJs, errorJs} from './common'
-
-/**
- * stored-procedures.mdx examples
- */
-
-export const storedSingleJs = `
-${importJs}
-const echoCity = async () => {
- try{
- let city = await supabase
- .rpc('echo_city', { name: 'The Shire' })
- return cities
- ${errorJs}
-}
-`.trim()
-
-export const storedBulkJs = `
-${importJs}
-const echoCities = async () => {
- try{
- let cities = await supabase
- .rpc('echo_city', [
- { name: 'The Shire' },
- { name: 'Mordor' }
- ])
- return cities
- ${errorJs}
-}
-`.trim()
-
-export const storedReadingJs = `
-${importJs}
-const echoCities = async () => {
- try{
- let cities = await supabase
- .rpc('echo_all_cities')
- return cities
- ${errorJs}
-`.trim()
-
-export const storedFilterJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .filter({'name', 'eq', 'Paris'})
- return cities
- ${errorJs}
-`.trim()
-
-export const storedNotJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities)
- .not('name', 'eq', 'Paris')
- return cities
- ${errorJs}
-`.trim()
-
-export const storedMatchJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .match({name: 'Beijing', country_id: 156})
- return cities
- ${errorJs}
-`.trim()
-
-export const storedEqJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .eq('name', 'San Francisco')
- return cities
- ${errorJs}
-`.trim()
-
-export const storedNeqJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .neq('name', 'Lagos')
- return cities
- ${errorJs}
-`.trim()
-
-export const storedGtJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .gt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const storedLtJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .lt('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const storedGteJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .gte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const storedLteJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .lte('country_id', 250)
- return cities
- ${errorJs}
-`.trim()
-
-export const storedLikeJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .like('name', '%la%')
- return cities
- ${errorJs}
-`.trim()
-
-export const storedIlikeJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .ilike('name', '%la%')
- return cities
- ${errorJs}
-`.trim()
-
-export const storedIsJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .is('name', null)
- return cities
- ${errorJs}
-`.trim()
-
-export const storedInJs = `
-${importJs}
-const echoCities = async () => {
- try {
- let cities = await supabase
- .rpc('echo_all_cities')
- .in('name', ['Rio de Janeiro', 'San Francisco'])
- return cities
- ${errorJs}
-`.trim()
-
-export const storedCsJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .cs('main_exports', ['oil'])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedCdJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .cd('main_exports', ['cars', 'food', 'machine'])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedOvaJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .ova('main_exports', ['computers', 'minerals'])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedOvrJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .ovr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedSlJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .sl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedSrJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .sr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedNxlJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .nxl('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedNxrJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .nxr('population_range_millions', [150, 250])
- return countries
- ${errorJs}
-`.trim()
-
-export const storedAdjJs = `
-${importJs}
-const echoCountries = async () => {
- try {
- let countries = await supabase
- .rpc('echo_all_countries')
- .adj('population_range_millions', [70, 185])
- return countries
- ${errorJs}
-`.trim()
diff --git a/web/docs/library/examples/subscribe.js b/web/docs/library/examples/subscribe.js
deleted file mode 100644
index 8682f5c4d98..00000000000
--- a/web/docs/library/examples/subscribe.js
+++ /dev/null
@@ -1,128 +0,0 @@
-/**
- * subscribe.mdx examples
- */
-
-export const subscribeAllJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('*')
- .on('*', payload => {
- console.log('Change received!', payload)
- })
- .subscribe()
-`.trim()
-
-export const subscribeTableJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('countries')
- .on('*', payload => {
- console.log('Change received!', payload)
- })
- .subscribe()
-`.trim()
-
-export const subscribeInsertsJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('countries')
- .on('INSERT', payload => {
- console.log('Change received!', payload)
- })
- .subscribe()
-`.trim()
-
-export const subscribeUpdatesJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('countries')
- .on('UPDATE', payload => {
- console.log('Change received!', payload)
- })
- .subscribe()
-`.trim()
-
-export const subscribeDeletesJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('countries')
- .on('DELETE', payload => {
- console.log('Change received!', payload)
- })
- .subscribe()
-`.trim()
-
-export const subscribeMultipleJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('countries')
- .on('INSERT', handleRecordInserted)
- .on('DELETE', handleRecordDeleted)
- .subscribe()
-`.trim()
-
-export const subscribeUnsubscribeJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('countries')
- .on('*', payload => {
- console.log('Change received!', payload)
- })
- .subscribe()
-
-// Unsubscribe from changes
-mySubscription.unsubscribe()
-`.trim()
-
-export const subscribeRemoveJs = `
-import { createClient } from '@supabase/supabase-js'
-
-// Create a single supabase client for interacting with your database
-const supabase = createClient('https://world.supabase.co', '1a2b-3c4d-5e6f-7g8h')
-
-// Listen to changes
-const mySubscription = supabase
- .from('countries')
- .on('*', payload => {
- console.log('Change received!', payload)
- })
- .subscribe()
-
-// Disconnect mySubscription
-supabase.removeSubscription(mySubscription)
-`.trim()
diff --git a/web/docs/library/examples/users.js b/web/docs/library/examples/users.js
deleted file mode 100644
index 1ed52bf8f34..00000000000
--- a/web/docs/library/examples/users.js
+++ /dev/null
@@ -1,56 +0,0 @@
-export const signup = `
-const {
- body: { user },
-} = await supabase.auth.signup(
- 'someone@email.com',
- 'password'
-)
-`.trim()
-
-export const login = `
-const {
- body: { user },
-} = await supabase.auth.login(
- 'someone@email.com',
- 'password'
-)
-`.trim()
-
-export const userData = `
-const user = await supabase.auth.user()
-`.trim()
-
-export const logout = `
-await supabase.auth.logout()
-`.trim()
-
-export const errorHandling = `
-try {
- const res = await supabase
- .auth
- .login('someone@email.com', 'password')
-} catch (error) {
- if (error.response === undefined) {
- // No response from server
- } else {
- const server_response = error.response
- // Here you can further process the response ..
- }
-
- if (error.status === undefined) {
- // No HTTP status code
- } else {
- const http_code = error.status
- // Further processing ..
- }
-}
-`.trim()
-
-export const setAccessToken = `
-supabase.auth.saveSession(
- access_token, // from callback URL
- refresh_token, // from callback URL
- Math.round(Date.now() / 1000) + expires_in, // current time + seconds from callback URL
- null // currentUser not present yet
-)
-`.trim()
diff --git a/web/docs/library/get.mdx b/web/docs/library/get.mdx
deleted file mode 100644
index 22eea5665f1..00000000000
--- a/web/docs/library/get.mdx
+++ /dev/null
@@ -1,1007 +0,0 @@
----
-id: get
-title: 'Reading'
-description: 'How to fetch records from your database with Supabase'
----
-
-import CommonFilters from '../common/CommonFilters'
-import CommonResponses from '../common/_CommonResponses.mdx'
-import Collapsable from '../../src/components/Collapsable'
-import FromFunction from '../common/_FromFunction.mdx'
-import DummyData from '../common/_DummyData.mdx'
-import CustomCodeBlock from '../../src/components/CustomCodeBlock'
-import {
- getSimpleJs,
- getColumnsJs,
- getForeignJs,
- getForeignMultipleJs,
- getJsonData,
- getOrderJs,
- getEmbeddedOrderJs,
- getLimitJs,
- getEmbeddedLimitJs,
- getOffsetJs,
- getEmbeddedOffsetJs,
- getRangeJs,
- getSingleJs,
- getFilterJs,
- getFilterJsEmbedded,
- getNotJs,
- getOrJs,
- getMatchJs,
- getEqJs,
- getNeqJs,
- getGtJs,
- getLtJs,
- getGteJs,
- getLteJs,
- getLikeJs,
- getIlikeJs,
- getIsJs,
- getInJs,
- getCsJs,
- getCdJs,
- getOvaJs,
- getOvrJs,
- getSlJs,
- getSrJs,
- getNxlJs,
- getNxrJs,
- getAdjJs,
-} from './examples/get'
-
-
-
-### Getting your data
-
-
-
-### Getting specific columns
-
-
-
-### Query foreign tables
-
-
-
-### Query the same foreign table multiple times
-
-Sometimes you will need to query the same foreign table twice. In this case, you can use the name of the joined column to identify which join you intend to use.
-For convenience, you can also give an alias for each column. For example, if we had a shop of products, and we wanted to get
-the supplier and the purchaser at the same time (both in the `users`) table:
-
-
-
-### Quering JSON data
-
-If you have data inside of a JSONB column, you can apply select and query filters to the data values.
-Postgres offers a [number of operators](https://www.postgresql.org/docs/9.5/functions-json.html) for querying JSON data.
-Also see [PostgREST](http://postgrest.org/en/v7.0.0/api.html#json-columns) docs for more details.
-
-
-
-## Reference
-
-### `from()`
-
-
-
-### `select()`
-
-
-#### General Form
-
-```js {3}
-supabase.from(tableName).select(columnQuery)
-```
-
-If `'*'` is passd in for `columnQuery`(i.e. `.select('*')`) then all columns in the table will be returned.
-
-#### `columnQuery: string`
-
-A comma separated list of columns. For example `select('id, name')`
-
-If a foreign key constraint exists between this table
-and another, you can also query the columns of the related table. For example `select('name, cities {name}')`
-
-
-
-
-```js
-supabase
- .from('countries')
- .select(`
- name,
- cities {
- name,
- population
- }
- `)
-```
-
-
-
----
-
-### `order()`
-
-
-
-
-
-
-
-
-
-
-#### General Form
-
-```js {3}
-supabase.from(tableName).order(columnName, sortAscending, nullsFirst)
-```
-
-Orders your data before fetching.
-
-#### `columnName: string`
-
-Name of chosen column to base the order on.
-
-#### `sortAscending: boolean? | Default is false`
-
-Specifies whether the order will be ascending or descending.
-
-#### `nullsFirst: boolean? | Default is false`
-
-Specifies whether null values will be displayed first.
-
----
-
-### `limit()`
-
-
-
-
-
-
-
-
-
-
-#### General Form
-
-```js {3}
-supabase.from(tableName).limit(criteria, foreignTableName)
-```
-
-Orders your data before fetching.
-
-#### `criteria: number`
-
-Specifies number of items to be returned at most.
-
-#### `foreignTableName: string ? | Default is null`
-
-Name of chosen foreignTable to apply the limit on. Used if foreign tables are present.
-
----
-
-### `offset()`
-
-
-
-
-
-
-
-
-
-
-#### General Form
-
-```js {3}
-supabase.from(tableName).offset(criteria, foreignTableName)
-```
-
-Orders your data before fetching.
-
-#### `criteria: number`
-
-Specifies number of items to be returned at most.
-
-#### `foreignTableName: string ? | Default is null`
-
-Name of chosen foreignTable to apply the limit on. Used if foreign tables are present.
-
----
-
-### `range()`
-
-
-
-
-
-
-#### General Form
-
-```js {3}
-supabase.from(tableName).range(fromIndex, toIndex)
-```
-
-Paginates your request.
-
-#### `fromIndex: integer`
-
-Index or position of the start of the specified range.
-
-#### `toIndex: integer?`
-
-Index or position of the end of the specified range. If not stated, all remaining rows after the starting index will be returned.
-
----
-
-### `single()`
-
-
-
-
-
-
-#### General Form
-
-```js {3}
-supabase.from(tableName).single()
-```
-
-Sets the header which signifies to PostgREST that the response must either be a single object
-with `200 OK`. Otherwise, it will return an error with `406 Not Acceptable`.
-
----
-
-## Filtering
-
-### `filter()`
-
-
-
-
-
-
-
-
-
-
-
-### `not()`
-
-
-
-
-
-
-
-### `or()`
-
-
-
-
-
-
-
-### `match()`
-
-
-
-
-
-
-
-### `eq()`
-
-
-
-
-
-
-
-### `neq()`
-
-
-
-
-
-
-
-### `gt()`
-
-
-
-
-
-
-
-### `lt()`
-
-
-
-
-
-
-
-### `gte()`
-
-
-
-
-
-
-
-### `lte()`
-
-
-
-
-
-
-
-### `like()`
-
-
-
-
-
-
-
-### `ilike()`
-
-
-
-
-
-
-
-### `is()`
-
-
-
-
-
-
-
-### `in()`
-
-
-
-
-
-
-
-### `cs()`
-
-
-
-
-
-
-
-### `cd()`
-
-
-
-
-
-
-
-### `ova()`
-
-
-
-
-
-
-
-### `ovr()`
-
-
-
-
-
-
-
-### `sl()`
-
-
-
-
-
-
-
-### `sr()`
-
-
-
-
-
-
-
-### `nxl()`
-
-
-
-
-
-
-
-### `nxr()`
-
-
-
-
-
-
-
-### `adj()`
-
-
-
-
-
-
-
-## Responses
-
-#### 200 OK
-
-Successful request
-
-
diff --git a/web/docs/library/patch.mdx b/web/docs/library/patch.mdx
deleted file mode 100644
index 49b8ca4c25b..00000000000
--- a/web/docs/library/patch.mdx
+++ /dev/null
@@ -1,649 +0,0 @@
----
-id: patch
-title: 'Updating'
-description: 'How to update records in your database with Supabase'
----
-
-import DummyData from '../common/_DummyData.mdx'
-import Collapsable from '../../src/components/Collapsable'
-import CommonResponses from '../common/_CommonResponses.mdx'
-import CommonFilters from '../common/CommonFilters'
-import FromFunction from '../common/_FromFunction.mdx'
-import CustomCodeBlock from '../../src/components/CustomCodeBlock'
-import {
- patchRecordJs,
- patchFilterJs,
- patchNotJs,
- patchMatchJs,
- patchEqJs,
- patchNeqJs,
- patchGtJs,
- patchLtJs,
- patchGteJs,
- patchLteJs,
- patchLikeJs,
- patchIlikeJs,
- patchIsJs,
- patchInJs,
- patchCsJs,
- patchCdJs,
- patchOvaJs,
- patchOvrJs,
- patchSlJs,
- patchSrJs,
- patchNxlJs,
- patchNxrJs,
- patchAdjJs,
-} from './examples/patch'
-
-
-
-### Update record
-
-
-
-## Reference
-
-### `from()`
-
-
-
-### `update()`
-
-```js {3}
-supabase
- .from(tableName)
- .update(data)
-```
-
-It is to note that it is required to apply filters when using `.update()`. Not using filters would result in an error.
-
-#### `data: object`
-
-New record values.
-
----
-
-## Filtering
-
-### `filter()`
-
-
-
-
-
-
-
-### `not()`
-
-
-
-
-
-
-
-### `match()`
-
-
-
-
-
-
-
-### `eq()`
-
-
-
-
-
-
-
-### `neq()`
-
-
-
-
-
-
-
-### `gt()`
-
-
-
-
-
-
-
-### `lt()`
-
-
-
-
-
-
-
-### `gte()`
-
-
-
-
-
-
-
-### `lte()`
-
-
-
-
-
-
-
-### `like()`
-
-
-
-
-
-
-
-### `ilike()`
-
-
-
-
-
-
-
-### `is()`
-
-
-
-
-
-
-
-### `in()`
-
-
-
-
-
-
-
-### `cs()`
-
-
-
-
-
-
-
-### `cd()`
-
-
-
-
-
-
-
-### `ova()`
-
-
-
-
-
-
-
-### `ovr()`
-
-
-
-
-
-
-
-### `sl()`
-
-
-
-
-
-
-
-### `sr()`
-
-
-
-
-
-
-
-### `nxl()`
-
-
-
-
-
-
-
-### `nxr()`
-
-
-
-
-
-
-
-### `adj()`
-
-
-
-
-
-
-
-## Responses
-
-#### 200 OK
-
-Successful request
-
-
diff --git a/web/docs/library/post.mdx b/web/docs/library/post.mdx
deleted file mode 100644
index 3c89cdc38be..00000000000
--- a/web/docs/library/post.mdx
+++ /dev/null
@@ -1,103 +0,0 @@
----
-id: post
-title: 'Creating'
-description: 'Add new records to your database with Supabase'
----
-
-
-import DummyData from '../common/_DummyData.mdx'
-import Collapsable from '../../src/components/Collapsable'
-import CommonResponses from '../common/_CommonResponses.mdx'
-import FromFunction from '../common/_FromFunction.mdx'
-import CustomCodeBlock from '../../src/components/CustomCodeBlock'
-import { postSingleJs, postBulkJs, postUpsertJs } from './examples/post'
-
-
-
-
-
-### Create a record
-
-
-
-### Bulk create
-
-
-
-### Upsert
-
-
-
-## Reference
-
-### `from()`
-
-
-### `insert()`
-```js {3}
-supabase
- .from(tableName)
- .insert(data, options?)
-```
-
-#### `data: { array | object }`
-A single `object` or an array of rows of type `object` which contain information to be saved into the selected table.
-
-#### `options: object?`
-
-```js
-const options = {
- upsert: false // Set to true to allow upserting.
-}
-```
-For `upsert`, if set to `true`, primary key columns would need to be included in the `data` parameter in order for an update to properly happen.
-Also, primary keys used must be natural, not surrogate.
-There are however, [workarounds](https://github.com/PostgREST/postgrest/issues/1118) for surrogate primary keys.
-
----
-
-## Responses
-
-#### 201 Created
-Successful
-
-
\ No newline at end of file
diff --git a/web/docs/library/stored-procedures.mdx b/web/docs/library/stored-procedures.mdx
deleted file mode 100644
index 902b91953e6..00000000000
--- a/web/docs/library/stored-procedures.mdx
+++ /dev/null
@@ -1,705 +0,0 @@
----
-id: stored-procedures
-title: 'Stored Procedures'
-description: 'How to use stored procedures (rpc) with Supabase'
----
-
-import Collapsable from '../../src/components/Collapsable'
-import CommonFilters from '../common/CommonFilters'
-import CommonResponses from '../common/_CommonResponses.mdx'
-import DummyData from '../common/_DummyData.mdx'
-import CustomCodeBlock from '../../src/components/CustomCodeBlock'
-import {
- storedSingleJs,
- storedBulkJs,
- storedReadingJs,
- storedFilterJs,
- storedNotJs,
- storedMatchJs,
- storedEqJs,
- storedNeqJs,
- storedGtJs,
- storedLtJs,
- storedGteJs,
- storedLteJs,
- storedLikeJs,
- storedIlikeJs,
- storedIsJs,
- storedInJs,
- storedCsJs,
- storedCdJs,
- storedOvaJs,
- storedOvrJs,
- storedSlJs,
- storedSrJs,
- storedNxlJs,
- storedNxrJs,
- storedAdjJs,
-} from './examples/stored'
-
-You can call stored procedures as a "Remote Procedure Call".
-
-That's a fancy way of saying that you can put some logic into your database then call it from anywhere.
-This is especially useful when the logic rarely changes - like password resets and updates.
-
-Here, we have three stored procedures that will act as our examples:
-
-`echo_city` : Takes in objects containing a city name and returns that name.
-
-`echo_all_cities` : Returns all rows in the table **Cities**.
-
-`echo_all_countries` : Returns all rows in the table **Countries**.
-
-
-
-### Single call
-
-
-
-### Bulk call
-
-This example would call a the same stored procedure above (twice), but it will also wait to receive the response only when all the calls have completed:
-
-
-
-### Reading data
-
-This example shows how to call a stored function that returns a table type response:
-
-
-
-## Reference
-
-### `rpc()`
-
-```js {2}
-supabase.rpc(functionName, functionParameters)
-```
-
-#### `functionName: string`
-
-Name of stored function in the database.
-
-#### `functionParameters: { object? | array? }`
-
-Parameters to be passed to the stored function.
-
----
-
-## Filtering
-
-### `filter()`
-
-
-
-
-
-
-
-### `not()`
-
-
-
-
-
-
-
-### `match()`
-
-
-
-
-
-
-
-### `eq()`
-
-
-
-
-
-
-
-### `neq()`
-
-
-
-
-
-
-
-### `gt()`
-
-
-
-
-
-
-
-### `lt()`
-
-
-
-
-
-
-
-### `gte()`
-
-
-
-
-
-
-
-### `lte()`
-
-
-
-
-
-
-
-### `like()`
-
-
-
-
-
-
-
-### `ilike()`
-
-
-
-
-
-
-
-### `is()`
-
-
-
-
-
-
-
-### `in()`
-
-
-
-
-
-
-
-### `cs()`
-
-
-
-
-
-
-
-### `cd()`
-
-
-
-
-
-
-
-### `ova()`
-
-
-
-
-
-
-
-### `ovr()`
-
-
-
-
-
-
-
-### `sl()`
-
-
-
-
-
-
-
-### `sr()`
-
-
-
-
-
-
-
-### `nxl()`
-
-
-
-
-
-
-
-### `nxr()`
-
-
-
-
-
-
-
-### `adj()`
-
-
-
-
-
-
-
-## Responses
-
-#### 200 OK
-
-Successful request
-
-#### 201 Created
-
-Successful
-
-
diff --git a/web/docs/library/subscribe.mdx b/web/docs/library/subscribe.mdx
deleted file mode 100644
index a69a5daeedf..00000000000
--- a/web/docs/library/subscribe.mdx
+++ /dev/null
@@ -1,293 +0,0 @@
----
-id: subscribe
-title: 'Subscribing'
-description: 'Subscribe to realtime changes in your database with Supabase'
----
-
-import DummyData from '../common/_DummyData.mdx'
-import FromFunction from '../common/_FromFunction.mdx'
-import Collapsable from '../../src/components/Collapsable'
-import CustomCodeBlock from '../../src/components/CustomCodeBlock'
-import {
- subscribeAllJs,
- subscribeTableJs,
- subscribeInsertsJs,
- subscribeUpdatesJs,
- subscribeDeletesJs,
- subscribeMultipleJs,
- subscribeUnsubscribeJs,
- subscribeRemoveJs,
-} from './examples/subscribe'
-
-Subscribe to realtime changes in your own database.
-
-We will be using these tables as reference for our examples.
-
-
-
-### Listen to all database changes
-
-
-
-
-
-If you want to receive the "previous" data for updates and deletes,
-you will need to set `REPLICA IDENTITY` to `FULL`, like this:
-`ALTER TABLE your_table REPLICA IDENTITY FULL;`
-
-### Listening to a specific table
-
-
-
-
-
-If you want to receive the "previous" data for updates and deletes,
-you will need to set `REPLICA IDENTITY` to `FULL`, like this:
-`ALTER TABLE your_table REPLICA IDENTITY FULL;`
-
-### Listening only to INSERT
-
-
-
-### Listening only to UPDATE
-
-
-
-
-
-If you want to receive the "previous" data for updates,
-you will need to set `REPLICA IDENTITY` to `FULL`, like this:
-`ALTER TABLE your_table REPLICA IDENTITY FULL;`
-
-### Listening only to DELETE
-
-
-
-
-
-You will not be able to delete data from your database unless you set your set your table to use FULL `REPLICA IDENTITY`, like this:
-`ALTER TABLE your_table REPLICA IDENTITY FULL;`
-
-
-
-### Unsubscribing
-
-
-
-### Removing a subscription
-
-
-
-## Reference
-
-### `from()`
-
-
-
-### `on()`
-
-
-```js {3}
-const mySubscription = supabase
- .from('tableName')
- .on('eventType', callbackFunction)
-```
-
-#### `eventType: string { "INSERT" | "UPDATE" | "DELETE" | "*" }`
-
-The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes.
-
-#### `callbackFunction: function`
-
-A callback that will handle the payload that is sent whenever your database changes. See all Change Events below to understand all the possible payloads.
-
----
-
-### `subscribe()`
-
-
-```js {4}
-const mySubscription = supabase
- .from(tableName)
- .on(eventType, callbackFunction)
- .subscribe()
-```
-
-Subscribes to the database table specified in `from()` and starts listening to it. An object of type _subscription_ will be returned.
-
-```js {1}
-mySubscription.subscribe()
-```
-
-If the subscription already exists, but has been unsubscribed from with the function `unsubscribe()`, it can be subscribed to again through the above method.
-
----
-
-### `unsubscribe()`
-
-
-```js {2}
-mySubscription
- .unsubscribe()
-```
-
-Stop listening to changes. At any point you can call `subscribe` on the subscription object to restart the listeners.
-If you don't need to connect again in the future, use `removeSubscription()` instead.
-
----
-
-### `removeSubscription()`
-
-
-```js {2}
-supabase
- .removeSubscription(mySubscription)
-```
-
-Disconnects and destroys a subscription. This is the preferred method for cleaning up subscriptions which you no longer require.
-
-#### `mySubscription: subscription`
-
-A subscription that was previously created. If you don't have access to the subscription, you can always call `getSubscriptions()`.
-
----
-
-### `getSubscriptions()`
-
-
-```js {2}
-supabase
- .getSubscriptions()
-```
-
-Returns an array of all your subscriptions (including disconnected subscriptions).
-
-
-
-
-```js
-[
- {
- uuid: 'xxxx-xxxx-xxxx-xxxx',
- state: 'CONNECTED',
- tableName: 'users',
- eventListeners: {
- '*': null,
- 'INSERT': null,
- 'UPDATE': null,
- 'DELETE': null,
- }
- },
- {
- uuid: 'yyyy-yyyy-yyyy-yyyy',
- state: 'DISCONNECTED',
- tableName: 'messages',
- eventListeners: {
- '*': null,
- 'INSERT': null,
- 'UPDATE': null,
- 'DELETE': null,
- }
- }
-]
-```
-
-
-
----
-
-## Change Events
-
-@TODO what happens on bulk insert/update/delete?
-
-### New record created
-
-Upon inserting or creating a new row, the following will be returned by our listener:
-
-```json
-{
- "schema": "public",
- "table": "countries",
- "commit_timestamp": "2020-01-01T00:00:00Z",
- "eventType": "INSERT",
- "new": {
- "id": 533,
- "name": "Columbia",
- "iso2": "CO",
- "population_range_millions": [40, 50],
- "main_exports": ["oil", "minerals"]
- }
-}
-```
-
-### Existing record updated
-
-Upon updating a row, the following will be returned by our listener:
-`
-
-```json
-{
- "schema": "public",
- "table": "countries",
- "commit_timestamp": "2020-01-01T00:00:00Z",
- "eventType": "UPDATE",
- "old": {},
- "new": {
- "id": 76,
- "name": "Brazil",
- "iso2": "BR",
- "population_range_millions": [205, 215],
- "main_exports": ["beans", "minerals"]
- }
-}
-```
-
-### Existing record deleted
-
-Upon deleting a row, the following will be returned by our listener:
-
-```json
-{
- "schema": "public",
- "table": "countries",
- "commit_timestamp": "2020-01-01T00:00:00Z",
- "eventType": "DELETE",
- "old": {
- "id": 76
- }
-}
-```
diff --git a/web/docs/library/user-management.mdx b/web/docs/library/user-management.mdx
deleted file mode 100644
index 1ddb97a4317..00000000000
--- a/web/docs/library/user-management.mdx
+++ /dev/null
@@ -1,81 +0,0 @@
----
-id: user-management
-title: User Management
-description: Use Supabase to Authenticate and Authorize your users.
----
-
-import CustomCodeBlock from '../../src/components/CustomCodeBlock'
-import { signup, login, userData, logout, errorHandling, setAccessToken } from './examples/users'
-
-### Introduction
-
-Supabase makes it easy to manage your users.
-
-When a user signs up, Supabase assigns them a unique ID. You can reference this ID anywhere in your database. For example, you might create a `profiles` table references the user using a `user_id` field.
-
-Supabase provides the routes to sign up, login, log out, and manage users in your apps and websites.
-
-### Sign up
-
-
-
-
-Allow your users to sign up and create a new account.
-
-After they have signed up, all interactions using the Supabase JS client will be performed as "that user".
-
-### Log in
-
-
-
-
-If an account is created, users can login to your app.
-
-After they have logged in, all interactions using the Supabase JS client will be performed as "that user".
-
-### User data
-
-
-
-
-Get the JSON data for the logged in user.
-
-### Log out
-
-
-
-
-After calling log out, all interactions using the Supabase JS client will be "anonymous".
-
-### Error handling
-
-
-
-
-### Third Party Logins
-
-We currently support the following OAuth providers:
-- Google
-- Github
-- Gitlab
-- Bitbucket
-
-You can enable providers by navigating to Authentication > Settings > External OAuth Providers and inputting your `Client ID` and `Secret` for each.
-
-To fetch these you need to:
-
-1. Generate `Client ID` and `Secret` ([google](https://console.developers.google.com/apis/credentials), [github](https://github.com/settings/applications/new), [gitlab](https://gitlab.com/oauth/applications), [bitbucket](https://support.atlassian.com/bitbucket-cloud/docs/use-oauth-on-bitbucket-cloud/))
-2. Enter Authorized Redirect URI: `http://.supabase.co/auth/v1/callback` on provider dashboard
-
-You can now test your integration by navigating to: `https://.supabase.co/auth/v1/authorize?provider=`. This is where you should send your users to authenticate. Options for `provider` are `google`, `github`, `gitlab`, or `bitbucket`.
-
-After authenticating you should be redirected to `/?access_token=xyzabc&expires_in=3600&refresh_token=abcdef&token_type=bearer`. This base url can be updated on the Supabase dashboard at Authorization > Settings.
-
-The user will now appear in your database in the `auth.users` table.
-
-You can now use the `access_token` in the url above in an Authorize header like: `Authorization: Bearer xyzabc` when making requests to your REST or Realtime APIs in order to authenticate as that user. If using supabase-js then you can set the `accessToken` on the client:
-
-
-
-
-If you require any help with these steps please contact `alpha@supabase.io`
diff --git a/web/docs/postgres/api/about.md b/web/docs/postgres/api/about.md
new file mode 100644
index 00000000000..c84d1ddbf23
--- /dev/null
+++ b/web/docs/postgres/api/about.md
@@ -0,0 +1,13 @@
+---
+id: about
+title: Postgres API
+description: A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries
+---
+
+A RESTful API for managing your Postgres. Fetch tables, add roles, and run queries.
+
+
+## Usage
+
+- GitHub: https://github.com/supabase/pg-api
+- Full documentation: https://supabase.github.io/pg-api/
\ No newline at end of file
diff --git a/web/docs/postgres/intro.mdx b/web/docs/postgres/server/about.md
similarity index 92%
rename from web/docs/postgres/intro.mdx
rename to web/docs/postgres/server/about.md
index 64ef93c38d0..4ff3fc55df8 100644
--- a/web/docs/postgres/intro.mdx
+++ b/web/docs/postgres/server/about.md
@@ -1,11 +1,9 @@
---
-id: postgres-intro
-title: Postgres, plus goodies
+id: about
+title: Postgres
description: 'The easiest way to get started with Postgres.'
---
-## Introduction
-
We've talked to a lot of developers, and they often tell us that they know Postgres is the best database for their needs, but they still choose something that's easier to get started.
We want to solve that problem. So we packaged Postgres with some useful plugins and built some one-click installers. Our goal is not to modify Postgres, but to provide some of the most common extensions with a simple installation process.
diff --git a/web/docs/postgres/server/aws.md b/web/docs/postgres/server/aws.md
new file mode 100644
index 00000000000..757d10c7be2
--- /dev/null
+++ b/web/docs/postgres/server/aws.md
@@ -0,0 +1,10 @@
+---
+id: aws
+title: AWS
+description: 'Host your own Postgres server'
+---
+
+# Quick install
+
+We are still in the process of registering for the AWS Marketplace. Subscribe to the releases on this repo to get notified when we are accepted.
+
diff --git a/web/docs/postgres/server/digitalocean.md b/web/docs/postgres/server/digitalocean.md
new file mode 100644
index 00000000000..bf3d193b0a5
--- /dev/null
+++ b/web/docs/postgres/server/digitalocean.md
@@ -0,0 +1,40 @@
+---
+id: digitalocean
+title: DigitalOcean
+description: 'Host your own Realtime server'
+---
+
+
+## Create your droplet
+
+Head over to our Digital Ocean marketplace [listing](https://marketplace.digitalocean.com/apps/supabase-postgres) and create your droplet. You are free to create one even at the most basic configuration. No restrictions for you here.
+
+## Set up the password
+
+Set up the password for the DB Superuser **postgres**.
+
+SSH into your instance using the user **root** and type in the following once you are in:
+```
+$ sudo -u postgres psql
+```
+
+This logs you into the **psql** terminal as the DB Superuser **postgres**.
+
+
+
+Set your password with this command:
+```
+$ \password
+```
+
+Enter your desired password afterward and re-enter it when prompted. Once done, you can now exit your SSH connection.
+
+## Try out your new database
+
+With any SQL client of your choice (Such as [DBeaver](https://dbeaver.io/)), connect to your database with the following credentials:
+- Host: **_insert droplet ip address_**
+- Port: **5432**
+- User: **postgres**
+- Password: **_insert your chosen password_**
+- Database: **postgres**
+
diff --git a/web/docs/postgres/server/docker.md b/web/docs/postgres/server/docker.md
new file mode 100644
index 00000000000..0465f5b9adc
--- /dev/null
+++ b/web/docs/postgres/server/docker.md
@@ -0,0 +1,19 @@
+---
+id: docker
+title: Docker
+description: 'Host your own Postgres server'
+---
+
+## Docker
+
+The image is now available in [Docker Hub](https://hub.docker.com/r/supabase/postgres) under the name `supabase/postgres`.
+
+## Docker compose
+
+You can use the [docker-compose file](https://github.com/supabase/postgres/blob/develop/docker/docker-compose.yml) available in this repository as your starting point. You can then run:
+
+
+```
+$ docker-compose up
+```
+As the image is based on the [postgreSQL 12 image](https://hub.docker.com/_/postgres), environment variables from the postgreSQL 12 image are applicable to this image.
diff --git a/web/docs/postgrest/client/adj.mdx b/web/docs/postgrest/client/adj.mdx
new file mode 100644
index 00000000000..c7b5f8d9ff9
--- /dev/null
+++ b/web/docs/postgrest/client/adj.mdx
@@ -0,0 +1,61 @@
+---
+id: adj
+title: "adj"
+slug: adj
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` is adjacent to
+the specified `range`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/cd.mdx b/web/docs/postgrest/client/cd.mdx
new file mode 100644
index 00000000000..2c9c5610cfd
--- /dev/null
+++ b/web/docs/postgrest/client/cd.mdx
@@ -0,0 +1,61 @@
+---
+id: cd
+title: "cd"
+slug: cd
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose json, array, or range value on the stated `column` is
+contained by the specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/cs.mdx b/web/docs/postgrest/client/cs.mdx
new file mode 100644
index 00000000000..957017df70f
--- /dev/null
+++ b/web/docs/postgrest/client/cs.mdx
@@ -0,0 +1,61 @@
+---
+id: cs
+title: "cs"
+slug: cs
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose json, array, or range value on the stated `column`
+contains the values specified in `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/delete.mdx b/web/docs/postgrest/client/delete.mdx
new file mode 100644
index 00000000000..595edafd81e
--- /dev/null
+++ b/web/docs/postgrest/client/delete.mdx
@@ -0,0 +1,10 @@
+---
+id: delete
+title: "delete"
+slug: delete
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs a DELETE on the table.
\ No newline at end of file
diff --git a/web/docs/postgrest/client/eq.mdx b/web/docs/postgrest/client/eq.mdx
new file mode 100644
index 00000000000..2a00ebc9dfe
--- /dev/null
+++ b/web/docs/postgrest/client/eq.mdx
@@ -0,0 +1,61 @@
+---
+id: eq
+title: "eq"
+slug: eq
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` exactly matches the
+specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/filter.mdx b/web/docs/postgrest/client/filter.mdx
new file mode 100644
index 00000000000..77525936c6a
--- /dev/null
+++ b/web/docs/postgrest/client/filter.mdx
@@ -0,0 +1,81 @@
+---
+id: filter
+title: "filter"
+slug: filter
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose `column` satisfies the filter.
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ operator
+
+
+ required
+
+
+ FilterOperator
+
+
+
+
+The operator to filter with.
+
+
+
+
+
+
+
+
+
+ value
+
+
+ required
+
+
+ any
+
+
+
+
+The value to filter with.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/from.mdx b/web/docs/postgrest/client/from.mdx
new file mode 100644
index 00000000000..70b78a3fded
--- /dev/null
+++ b/web/docs/postgrest/client/from.mdx
@@ -0,0 +1,39 @@
+---
+id: from
+title: "from"
+slug: from
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Perform a table operation.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/fts.mdx b/web/docs/postgrest/client/fts.mdx
new file mode 100644
index 00000000000..a771debbe36
--- /dev/null
+++ b/web/docs/postgrest/client/fts.mdx
@@ -0,0 +1,107 @@
+---
+id: fts
+title: "fts"
+slug: fts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+to_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/gt.mdx b/web/docs/postgrest/client/gt.mdx
new file mode 100644
index 00000000000..6c08ada68a4
--- /dev/null
+++ b/web/docs/postgrest/client/gt.mdx
@@ -0,0 +1,61 @@
+---
+id: gt
+title: "gt"
+slug: gt
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is greater than the
+specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/gte.mdx b/web/docs/postgrest/client/gte.mdx
new file mode 100644
index 00000000000..296348b3df3
--- /dev/null
+++ b/web/docs/postgrest/client/gte.mdx
@@ -0,0 +1,61 @@
+---
+id: gte
+title: "gte"
+slug: gte
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is greater than or
+equal to the specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/ilike.mdx b/web/docs/postgrest/client/ilike.mdx
new file mode 100644
index 00000000000..fcb5384665a
--- /dev/null
+++ b/web/docs/postgrest/client/ilike.mdx
@@ -0,0 +1,61 @@
+---
+id: ilike
+title: "ilike"
+slug: ilike
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value in the stated `column` matches the supplied
+`pattern` (case insensitive).
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/in.mdx b/web/docs/postgrest/client/in.mdx
new file mode 100644
index 00000000000..d50d093882f
--- /dev/null
+++ b/web/docs/postgrest/client/in.mdx
@@ -0,0 +1,61 @@
+---
+id: in
+title: "in"
+slug: in
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is found on the
+specified `values`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/index.mdx b/web/docs/postgrest/client/index.mdx
new file mode 100644
index 00000000000..14a099f71c2
--- /dev/null
+++ b/web/docs/postgrest/client/index.mdx
@@ -0,0 +1,12 @@
+---
+id: index
+title: "PostgREST Client"
+slug: postgrest-client
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API.
+
+Supabase provides client libraries to interact with the PostgREST.
\ No newline at end of file
diff --git a/web/docs/postgrest/client/initializing.mdx b/web/docs/postgrest/client/initializing.mdx
new file mode 100644
index 00000000000..e3bb2528763
--- /dev/null
+++ b/web/docs/postgrest/client/initializing.mdx
@@ -0,0 +1,106 @@
+---
+id: initializing
+title: "Initializing"
+slug: initializing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Creates a PostgREST client.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/insert.mdx b/web/docs/postgrest/client/insert.mdx
new file mode 100644
index 00000000000..3b4be9b8681
--- /dev/null
+++ b/web/docs/postgrest/client/insert.mdx
@@ -0,0 +1,106 @@
+---
+id: insert
+title: "insert"
+slug: insert
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs an INSERT into the table.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/installing.mdx b/web/docs/postgrest/client/installing.mdx
new file mode 100644
index 00000000000..bf240a7570a
--- /dev/null
+++ b/web/docs/postgrest/client/installing.mdx
@@ -0,0 +1,25 @@
+---
+id: installing
+title: "Installing"
+slug: installing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+All JavaScript libraries are built directly by the Supabase team.
+
+Other languages are built by the community and supported by Supabase.
+
+## Javascript
+
+```bash
+npm install @supabase/postgrest-js
+```
+
+- [Source code](https://github.com/supabase/postgrest-js)
+
+## Python
+
+```bash
+# Not yet implemented
\ No newline at end of file
diff --git a/web/docs/postgrest/client/is.mdx b/web/docs/postgrest/client/is.mdx
new file mode 100644
index 00000000000..bd20c6bfa03
--- /dev/null
+++ b/web/docs/postgrest/client/is.mdx
@@ -0,0 +1,61 @@
+---
+id: is
+title: "is"
+slug: is
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+A check for exact equality (null, true, false), finds all rows whose
+value on the stated `column` exactly match the specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/like.mdx b/web/docs/postgrest/client/like.mdx
new file mode 100644
index 00000000000..bcbfb0c2b55
--- /dev/null
+++ b/web/docs/postgrest/client/like.mdx
@@ -0,0 +1,61 @@
+---
+id: like
+title: "like"
+slug: like
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value in the stated `column` matches the supplied
+`pattern` (case sensitive).
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/lt.mdx b/web/docs/postgrest/client/lt.mdx
new file mode 100644
index 00000000000..ca00fc7f2fb
--- /dev/null
+++ b/web/docs/postgrest/client/lt.mdx
@@ -0,0 +1,61 @@
+---
+id: lt
+title: "lt"
+slug: lt
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is less than the
+specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/lte.mdx b/web/docs/postgrest/client/lte.mdx
new file mode 100644
index 00000000000..9e951aaa20d
--- /dev/null
+++ b/web/docs/postgrest/client/lte.mdx
@@ -0,0 +1,61 @@
+---
+id: lte
+title: "lte"
+slug: lte
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` is less than or equal
+to the specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/neq.mdx b/web/docs/postgrest/client/neq.mdx
new file mode 100644
index 00000000000..baa68eb1c80
--- /dev/null
+++ b/web/docs/postgrest/client/neq.mdx
@@ -0,0 +1,61 @@
+---
+id: neq
+title: "neq"
+slug: neq
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose value on the stated `column` doesn't match the
+specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/not.mdx b/web/docs/postgrest/client/not.mdx
new file mode 100644
index 00000000000..0be31cc4afc
--- /dev/null
+++ b/web/docs/postgrest/client/not.mdx
@@ -0,0 +1,81 @@
+---
+id: not
+title: "not"
+slug: not
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows which doesn't satisfy the filter.
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ operator
+
+
+ required
+
+
+ FilterOperator
+
+
+
+
+The operator to filter with.
+
+
+
+
+
+
+
+
+
+ value
+
+
+ required
+
+
+ any
+
+
+
+
+The value to filter with.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/nxl.mdx b/web/docs/postgrest/client/nxl.mdx
new file mode 100644
index 00000000000..5768d4f2991
--- /dev/null
+++ b/web/docs/postgrest/client/nxl.mdx
@@ -0,0 +1,61 @@
+---
+id: nxl
+title: "nxl"
+slug: nxl
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` does not extend
+to the left of the specified `range`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/nxr.mdx b/web/docs/postgrest/client/nxr.mdx
new file mode 100644
index 00000000000..17b04e8e506
--- /dev/null
+++ b/web/docs/postgrest/client/nxr.mdx
@@ -0,0 +1,61 @@
+---
+id: nxr
+title: "nxr"
+slug: nxr
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` does not extend
+to the right of the specified `range`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/ov.mdx b/web/docs/postgrest/client/ov.mdx
new file mode 100644
index 00000000000..db084660134
--- /dev/null
+++ b/web/docs/postgrest/client/ov.mdx
@@ -0,0 +1,61 @@
+---
+id: ov
+title: "ov"
+slug: ov
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose array or range value on the stated `column` is
+contained by the specified `value`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/phfts.mdx b/web/docs/postgrest/client/phfts.mdx
new file mode 100644
index 00000000000..bcf71622a87
--- /dev/null
+++ b/web/docs/postgrest/client/phfts.mdx
@@ -0,0 +1,107 @@
+---
+id: phfts
+title: "phfts"
+slug: phfts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+phraseto_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/plfts.mdx b/web/docs/postgrest/client/plfts.mdx
new file mode 100644
index 00000000000..90622307ce3
--- /dev/null
+++ b/web/docs/postgrest/client/plfts.mdx
@@ -0,0 +1,107 @@
+---
+id: plfts
+title: "plfts"
+slug: plfts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+plainto_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/rpc.mdx b/web/docs/postgrest/client/rpc.mdx
new file mode 100644
index 00000000000..1119c188b78
--- /dev/null
+++ b/web/docs/postgrest/client/rpc.mdx
@@ -0,0 +1,60 @@
+---
+id: rpc
+title: "rpc"
+slug: rpc
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Perform a stored procedure call.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/select.mdx b/web/docs/postgrest/client/select.mdx
new file mode 100644
index 00000000000..797a133fbb9
--- /dev/null
+++ b/web/docs/postgrest/client/select.mdx
@@ -0,0 +1,39 @@
+---
+id: select
+title: "select"
+slug: select
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs horizontal filtering with SELECT.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/sl.mdx b/web/docs/postgrest/client/sl.mdx
new file mode 100644
index 00000000000..23971f334e3
--- /dev/null
+++ b/web/docs/postgrest/client/sl.mdx
@@ -0,0 +1,61 @@
+---
+id: sl
+title: "sl"
+slug: sl
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` is strictly to the
+left of the specified `range`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/sr.mdx b/web/docs/postgrest/client/sr.mdx
new file mode 100644
index 00000000000..39413cd7508
--- /dev/null
+++ b/web/docs/postgrest/client/sr.mdx
@@ -0,0 +1,61 @@
+---
+id: sr
+title: "sr"
+slug: sr
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose range value on the stated `column` is strictly to
+the right of the specified `range`.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/update.mdx b/web/docs/postgrest/client/update.mdx
new file mode 100644
index 00000000000..5493e63fedb
--- /dev/null
+++ b/web/docs/postgrest/client/update.mdx
@@ -0,0 +1,39 @@
+---
+id: update
+title: "update"
+slug: update
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Performs an UPDATE on the table.
+
+
+
+## Parameters
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/client/wfts.mdx b/web/docs/postgrest/client/wfts.mdx
new file mode 100644
index 00000000000..369b3821d2a
--- /dev/null
+++ b/web/docs/postgrest/client/wfts.mdx
@@ -0,0 +1,107 @@
+---
+id: wfts
+title: "wfts"
+slug: wfts
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Finds all rows whose tsvector value on the stated `column` matches
+websearch_to_tsquery(`query`).
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ column
+
+
+ required
+
+
+ object
+
+
+
+
+The column to filter on.
+
+
+
+
+
+
+
+
+
+ query
+
+
+ required
+
+
+ string
+
+
+
+
+The Postgres tsquery string to filter with.
+
+
+
+
+
+
+
+
+
+ __namedParameters
+
+
+ required
+
+
+ object
+
+
+
+
+No description provided.
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/postgrest/server/about.md b/web/docs/postgrest/server/about.md
new file mode 100644
index 00000000000..8e8b3f3d6f5
--- /dev/null
+++ b/web/docs/postgrest/server/about.md
@@ -0,0 +1,95 @@
+---
+id: about
+title: PostgREST
+description: 'PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API.'
+---
+
+PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API.
+
+The structural constraints and permissions in the database determine the API endpoints and operations.
+
+## [Documentation](http://postgrest.org)
+
+Latest documentation is at [postgrest.org](http://postgrest.org). You can contribute to the docs in [PostgREST/postgrest-docs](https://github.com/PostgREST/postgrest-docs).
+
+## Performance
+
+TLDR; subsecond response times for up to 2000 requests/sec on Heroku
+free tier. If you're used to servers written in interpreted languages,
+prepare to be pleasantly surprised by PostgREST performance.
+
+Three factors contribute to the speed. First the server is written
+in [Haskell](https://www.haskell.org/) using the
+[Warp](http://www.yesodweb.com/blog/2011/03/preliminary-warp-cross-language-benchmarks)
+HTTP server (aka a compiled language with lightweight threads).
+Next it delegates as much calculation as possible to the database
+including
+
+* Serializing JSON responses directly in SQL
+* Data validation
+* Authorization
+* Combined row counting and retrieval
+* Data post in single command (`returning *`)
+
+Finally it uses the database efficiently with the
+[Hasql](https://nikita-volkov.github.io/hasql-benchmarks/) library
+by
+
+* Keeping a pool of db connections
+* Using the PostgreSQL binary protocol
+* Being stateless to allow horizontal scaling
+
+## Security
+
+PostgREST [handles
+authentication](http://postgrest.org/en/stable/auth.html) (via JSON Web
+Tokens) and delegates authorization to the role information defined in
+the database. This ensures there is a single declarative source of truth
+for security. When dealing with the database the server assumes the
+identity of the currently authenticated user, and for the duration of
+the connection cannot do anything the user themselves couldn't. Other
+forms of authentication can be built on top of the JWT primitive. See
+the docs for more information.
+
+PostgreSQL 9.5 supports true [row-level
+security](http://www.postgresql.org/docs/9.5/static/ddl-rowsecurity.html).
+In previous versions it can be simulated with triggers and
+security-barrier views. Because the possible queries to the database
+are limited to certain templates using
+[leakproof](http://blog.2ndquadrant.com/how-do-postgresql-security_barrier-views-work/)
+functions, the trigger workaround does not compromise row-level
+security.
+
+## Versioning
+
+A robust long-lived API needs the freedom to exist in multiple
+versions. PostgREST does versioning through database schemas. This
+allows you to expose tables and views without making the app brittle.
+Underlying tables can be superseded and hidden behind public facing
+views.
+
+## Self-documentation
+
+PostgREST uses the [OpenAPI](https://openapis.org/) standard to
+generate up-to-date documentation for APIs. You can use a tool like
+[Swagger-UI](https://github.com/swagger-api/swagger-ui) to render
+interactive documentation for demo requests against the live API server.
+
+This project uses HTTP to communicate other metadata as well. For
+instance the number of rows returned by an endpoint is reported by -
+and limited with - range headers. More about
+[that](http://begriffs.com/posts/2014-03-06-beyond-http-header-links.html).
+
+## Data Integrity
+
+Rather than relying on an Object Relational Mapper and custom
+imperative coding, this system requires you put declarative constraints
+directly into your database. Hence no application can corrupt your
+data (including your API server).
+
+The PostgREST exposes HTTP interface with safeguards to prevent
+surprises, such as enforcing idempotent PUT requests.
+
+See examples of [PostgreSQL
+constraints](http://www.tutorialspoint.com/postgresql/postgresql_constraints.htm)
+and the [API guide](http://postgrest.org/en/stable/api.html).
\ No newline at end of file
diff --git a/web/docs/realtime/about.md b/web/docs/realtime/about.md
deleted file mode 100644
index c3a8f6ab881..00000000000
--- a/web/docs/realtime/about.md
+++ /dev/null
@@ -1,44 +0,0 @@
----
-id: about
-title: About
-description: 'Host your own Realtime server'
----
-
-## Introduction
-
-The easiest way to get started with Realtime is to sign up to our [Alpha](https://app.supabase.io).
-
-If you want to host your own Realtime server, this document will help you to get set up. You have options to host using Docker, AWS, DigitalOcean, or build from source.
-
-## Prerequisites
-
-- Postgres 10+
-- Environment variables to set:
- - `DB_HOST`: defaults to `localhost`
- - `DB_NAME`: defaults to `postgres`
- - `DB_USER`: defaults to `postgres`
- - `DB_PASSWORD`: defaults to `postgres`
- - `DB_PORT`: defaults to `5432`
-
-## Setting Up Replication
-
-For us to receive the streaming data, we need the database to have a free replication slot:
-
-```sql
--- set the replication to "logical"
-ALTER SYSTEM SET wal_level = logical;
--- We need at least one replication slot to subscribe to
-ALTER SYSTEM SET max_replication_slots = 5;
--- Set up the publication for us to listen to
-CREATE PUBLICATION supabase_realtime FOR ALL TABLES;
-```
-
-### Optional
-
-If you want to receive the old record (previous values) on `UPDATE` and `DELETE`, you can set the `REPLICA IDENTITY` to `FULL` like this:
-
-```sql
-ALTER TABLE your_table REPLICA IDENTITY FULL;
-```
-
-This has to be set for each table.
diff --git a/web/docs/realtime/client/connect.mdx b/web/docs/realtime/client/connect.mdx
new file mode 100644
index 00000000000..0f21d229b24
--- /dev/null
+++ b/web/docs/realtime/client/connect.mdx
@@ -0,0 +1,58 @@
+---
+id: connect
+title: "connect"
+slug: connect
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Connects the socket.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Connect
+
+
+
+
+
+
+
+```js
+realtime.connect()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/realtime/client/disconnect.mdx b/web/docs/realtime/client/disconnect.mdx
new file mode 100644
index 00000000000..65a9de59a7a
--- /dev/null
+++ b/web/docs/realtime/client/disconnect.mdx
@@ -0,0 +1,103 @@
+---
+id: disconnect
+title: "disconnect"
+slug: disconnect
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Disconnects the socket.
+
+
+
+## Parameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+## Examples
+
+### Connect
+
+
+
+
+
+
+
+```js
+realtime.disconnect()
+```
+
+
+
+
+
+```py
+# Not yet implemented
+```
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/realtime/client/index.mdx b/web/docs/realtime/client/index.mdx
new file mode 100644
index 00000000000..c4f032297d1
--- /dev/null
+++ b/web/docs/realtime/client/index.mdx
@@ -0,0 +1,12 @@
+---
+id: index
+title: "Realtime Client"
+slug: realtime-client
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Listens to changes in a PostgreSQL Database and via websockets.
+
+This is for usage with Supabase Realtime server.
\ No newline at end of file
diff --git a/web/docs/realtime/client/initializing.mdx b/web/docs/realtime/client/initializing.mdx
new file mode 100644
index 00000000000..5ce80220a8a
--- /dev/null
+++ b/web/docs/realtime/client/initializing.mdx
@@ -0,0 +1,60 @@
+---
+id: initializing
+title: "Initializing"
+slug: initializing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+Initializes the Socket
+
+
+
+## Parameters
+
+
+
+
+
+
+
+ endPoint
+
+
+ required
+
+
+ string
+
+
+
+
+The string WebSocket endpoint, ie, "ws://example.com/socket", "wss://example.com", "/socket" (inherited host & protocol)
+
+
+
+
+
+
+
+
+
+ options
+
+
+ optional
+
+
+ Options
+
+
+
+
+No description provided.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/web/docs/realtime/client/installing.mdx b/web/docs/realtime/client/installing.mdx
new file mode 100644
index 00000000000..d995fafe5a4
--- /dev/null
+++ b/web/docs/realtime/client/installing.mdx
@@ -0,0 +1,24 @@
+---
+id: installing
+title: "Installing"
+slug: installing
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+All JavaScript libraries are built directly by the Supabase team.
+
+Other languages are built by the community and supported by Supabase.
+
+## Javascript
+
+```bash
+npm install @supabase/realtime-js
+```
+
+## Python
+
+```bash
+# Not yet implemented
+```
\ No newline at end of file
diff --git a/web/docs/realtime/server/about.md b/web/docs/realtime/server/about.md
new file mode 100644
index 00000000000..b24d90b75be
--- /dev/null
+++ b/web/docs/realtime/server/about.md
@@ -0,0 +1,116 @@
+---
+id: about
+title: About
+description: 'Host your own Realtime server'
+---
+
+Supabase Realtime is a Change Data Capture server. It allows you to listen to Postgres changes.
+
+If you want to host your own Realtime server, you have options to host using Docker, AWS, DigitalOcean, or build from source.
+
+#### What is this?
+
+This is an Elixir server (Phoenix) that allows you to listen to changes in your database via websockets.
+
+It works like this:
+
+1. the Phoenix server listens to PostgreSQL's replication functionality (using Postgres' logical decoding)
+2. it converts the byte stream into JSON
+3. it then broadcasts over websockets.
+
+#### Cool, but why not just use Postgres' `NOTIFY`?
+
+A few reasons:
+
+1. You don't have to set up triggers on every table
+2. NOTIFY has a payload limit of 8000 bytes and will fail for anything larger. The usual solution is to send an ID then fetch the record, but that's heavy on the database
+3. This server consumes one connection to the database, then you can connect many clients to this server. Easier on your database, and to scale up you just add realtime servers
+
+#### What are the benefits?
+
+1. The beauty of listening to the replication functionality is that you can make changes to your database from anywhere - your API, directly in the DB, via a console etc - and you will still receive the changes via websockets.
+2. Decoupling. For example, if you want to send a new slack message every time someone makes a new purchase you might build that funcitonality directly into your API. This allows you to decouple your async functionality from your API.
+3. This is built with Phoenix, an [extremely scalable Elixir framework](https://www.phoenixframework.org/blog/the-road-to-2-million-websocket-connections)
+
+
+## Quick start
+
+We have set up some simple examples that show how to use this server:
+
+- [Next.js example](https://github.com/supabase/realtime/tree/master/examples/next-js)
+- [NodeJS example](https://github.com/supabase/realtime/tree/master/examples/node-js)
+
+
+## Client libraries
+
+- Javascript: [@supabase/realtime-js](https://github.com/supabase/realtime-js)
+
+
+## Server
+
+### Database set up
+
+There are a some requirements for your database
+
+1. It must be Postgres 10+ as it uses logical replication
+2. Set up your DB for replication
+ 1. it must have the `wal_level` set to logical. You can check this by running `SHOW wal_level;`. To set the `wal_level`, you can call `ALTER SYSTEM SET wal_level = logical;`
+ 2. You must set `max_replication_slots` to at least 1: `ALTER SYSTEM SET max_replication_slots = 5;`
+3. Create a `PUBLICATION` for this server to listen to: `CREATE PUBLICATION supabase_realtime FOR ALL TABLES;`
+4. [OPTIONAL] If you want to recieve the old record (previous values) on UDPATE and DELETE, you can set the `REPLICA IDENTITY` to `FULL` like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`. This has to be set for each table unfortunately.
+
+### Server set up
+
+The easiest way to get started is just to use our docker image. We will add more deployment methods soon.
+
+```sh
+# Update the environment variables to point to your own database
+docker run \
+ -e DB_HOST='docker.for.mac.host.internal' \
+ -e DB_NAME='postgres' \
+ -e DB_USER='postgres' \
+ -e DB_PASSWORD='postgres' \
+ -e DB_PORT=5432 \
+ -e PORT=4000 \
+ -e HOSTNAME='localhost' \
+ -e SECRET_KEY_BASE='SOMETHING_SUPER_SECRET' \
+ -p 4000:4000 \
+ supabase/realtime
+```
+
+**OPTIONS**
+
+```sh
+DB_HOST # {string} Database host URL
+DB_NAME # {string} Postgres database name
+DB_USER # {string} Database user
+DB_PASSWORD # {string} Database password
+DB_PORT # {number} Database port
+SLOT_NAME # {string} A unique name for Postgres to track where this server has "listened until". If the server dies, it can pick up from the last position. This should be lowercase.
+PORT # {number} Port which you can connect your client/listeners
+```
+
+## Contributing
+
+- Fork the repo on GitHub
+- Clone the project to your own machine
+- Commit changes to your own branch
+- Push your work back up to your fork
+- Submit a Pull request so that we can review your changes and merge
+
+## Releasing
+
+- Make a commit to bump the version in `mix.exs`
+- Tag the commit
+
+To trigger a release you must tag the commit, then push to origin.
+
+```bash
+git tag -a 0.x.x -m "Some release details / link to release notes"
+git push origin 0.x.x
+```
+
+## License
+
+This repo is licensed under Apache 2.0.
+
diff --git a/web/docs/realtime/aws.md b/web/docs/realtime/server/aws.md
similarity index 100%
rename from web/docs/realtime/aws.md
rename to web/docs/realtime/server/aws.md
diff --git a/web/docs/realtime/digitalocean.md b/web/docs/realtime/server/digitalocean.md
similarity index 100%
rename from web/docs/realtime/digitalocean.md
rename to web/docs/realtime/server/digitalocean.md
diff --git a/web/docs/realtime/docker.md b/web/docs/realtime/server/docker.md
similarity index 100%
rename from web/docs/realtime/docker.md
rename to web/docs/realtime/server/docker.md
diff --git a/web/docs/realtime/source.md b/web/docs/realtime/server/source.md
similarity index 100%
rename from web/docs/realtime/source.md
rename to web/docs/realtime/server/source.md
diff --git a/web/docusaurus.config.js b/web/docusaurus.config.js
index 667da08126d..2b8632197cb 100755
--- a/web/docusaurus.config.js
+++ b/web/docusaurus.config.js
@@ -68,18 +68,75 @@ module.exports = {
srcDark: '/supabase-dark.svg',
},
items: [
- {
- to: '/docs',
- label: 'Docs',
- position: 'right',
- },
- { to: '/docs/pricing', label: 'Pricing', position: 'right' },
- { href: 'https://app.supabase.io', label: 'Login', position: 'right' },
{
href: 'https://github.com/supabase/supabase',
className: 'navbar-item-github',
+ position: 'left',
+ },
+ {
+ href: 'https://twitter.com/supabase_io',
+ className: 'navbar-item-twitter',
+ position: 'left',
+ },
+ {
+ to: '/docs',
+ activeBasePath: '/docs/guides/',
+ label: 'Guides',
+ position: 'left',
+ },
+ {
+ label: 'Docs',
+ activeBasePath: '/docs/client/',
+ to: '/docs/client/supabase-client',
+ position: 'left',
+ },
+ {
+ label: 'Blog',
+ to: '/blog',
position: 'right',
},
+ {
+ to: 'docs/',
+ activeBasePath: 'Tools',
+ label: 'Tools',
+ position: 'left',
+ items: [
+ {
+ label: 'GoTrue',
+ to: '/docs/gotrue/server/about',
+ },
+ {
+ label: 'GoTrue Client',
+ to: '/docs/gotrue/client/gotrue-client',
+ },
+ {
+ label: 'Postgres',
+ to: '/docs/postgres/server/about',
+ },
+ {
+ label: 'Postgres API',
+ to: '/docs/postgres/api/about',
+ },
+ {
+ label: 'PostgREST',
+ to: '/docs/postgrest/server/about',
+ },
+ {
+ label: 'PostgREST Client',
+ to: '/docs/postgrest/client/postgrest-client',
+ },
+ {
+ label: 'Realtime',
+ to: '/docs/realtime/server/about',
+ },
+ {
+ label: 'Realtime Client',
+ to: '/docs/realtime/client/realtime-client',
+ },
+ ],
+ },
+ // { to: '/docs/pricing', label: 'Pricing', position: 'right' },
+ { href: 'https://app.supabase.io', label: 'Login', position: 'right' },
],
},
prism: {
@@ -175,4 +232,77 @@ module.exports = {
},
],
],
+ // plugins: [
+ // // [
+ // // '@docusaurus/plugin-content-docs',
+ // // {
+ // // id: 'supabase-client', // for first plugin-content-docs with "resources/" path
+ // // // homePageId: "doc2",
+ // // path: './ref/supabase', // Path to data on filesystem, relative to site dir.
+ // // routeBasePath: 'ref/supabase', // URL Route.
+ // // include: ['**/*.md', '**/*.mdx'],
+ // // sidebarPath: require.resolve('./sidebar_spec_supabase.js'),
+ // // // disableVersioning: true, // if not set with vesions, throw: Identifier 'React' has already been declared
+ // // },
+ // // ],
+ // // [
+ // // '@docusaurus/plugin-content-docs',
+ // // {
+ // // id: 'postgrest-client', // for first plugin-content-docs with "resources/" path
+ // // // homePageId: "doc2",
+ // // path: './ref/postgrest', // Path to data on filesystem, relative to site dir.
+ // // routeBasePath: 'ref/postgrest', // URL Route.
+ // // include: ['**/*.md', '**/*.mdx'],
+ // // sidebarPath: require.resolve('./sidebar_spec_postgrest.js'),
+ // // // disableVersioning: true, // if not set with vesions, throw: Identifier 'React' has already been declared
+ // // },
+ // // ],
+ // // [
+ // // '@docusaurus/plugin-content-docs',
+ // // {
+ // // id: 'gotrue-client', // for first plugin-content-docs with "resources/" path
+ // // // homePageId: "doc2",
+ // // path: './ref/gotrue', // Path to data on filesystem, relative to site dir.
+ // // routeBasePath: 'ref/gotrue', // URL Route.
+ // // include: ['**/*.md', '**/*.mdx'],
+ // // sidebarPath: require.resolve('./sidebar_spec_gotrue.js'),
+ // // // disableVersioning: true, // if not set with vesions, throw: Identifier 'React' has already been declared
+ // // },
+ // // ],
+ // // [
+ // // '@docusaurus/plugin-content-docs',
+ // // {
+ // // id: 'realtime-client', // for first plugin-content-docs with "resources/" path
+ // // // homePageId: "doc2",
+ // // path: './ref/realtime', // Path to data on filesystem, relative to site dir.
+ // // routeBasePath: 'ref/realtime', // URL Route.
+ // // include: ['**/*.md', '**/*.mdx'],
+ // // sidebarPath: require.resolve('./sidebar_spec_realtime.js'),
+ // // // disableVersioning: true, // if not set with vesions, throw: Identifier 'React' has already been declared
+ // // },
+ // // ],
+ // // [
+ // // '@docusaurus/plugin-content-docs',
+ // // {
+ // // id: 'realtime-server', // for first plugin-content-docs with "resources/" path
+ // // path: './tools/realtime', // Path to data on filesystem, relative to site dir.
+ // // routeBasePath: 'docs/realtime', // URL Route.
+ // // include: ['**/*.md', '**/*.mdx'],
+ // // sidebarPath: require.resolve('./sidebar_realtime_server.js'),
+ // // // disableVersioning: true, // if not set with vesions, throw: Identifier 'React' has already been declared
+ // // },
+ // // ],
+ // // [
+ // // '@docusaurus/plugin-content-docs',
+ // // {
+ // // id: 'postgrest', // for first plugin-content-docs with "resources/" path
+ // // // homePageId: "doc2",
+ // // path: './ref/postgrest', // Path to data on filesystem, relative to site dir.
+ // // routeBasePath: 'ref/postgrest', // URL Route.
+ // // include: ['**/*.md', '**/*.mdx'],
+ // // sidebarPath: require.resolve('./sidebar_spec_postgrest.js'),
+ // // // disableVersioning: true, // if not set with vesions, throw: Identifier 'React' has already been declared
+ // // },
+ // // ],
+ // ],
}
diff --git a/web/package-lock.json b/web/package-lock.json
index 6eba356fa69..63b973e64e3 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -5,118 +5,118 @@
"requires": true,
"dependencies": {
"@algolia/cache-browser-local-storage": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.4.0.tgz",
- "integrity": "sha512-2AiKgN7DpFypkRCRkpqH7waXXyFdcnsPWzmN8sLHrB/FfXqgmsQb3pGft+9YHZIDQ0vAnfgMxSGgMhMGW+0Qnw==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.5.1.tgz",
+ "integrity": "sha512-TAQHRHaCUAR0bNhUHG0CnO6FTx3EMPwZQrjPuNS6kHvCQ/H8dVD0sLsHyM8C7U4j33xPQCWi9TBnSx8cYXNmNw==",
"requires": {
- "@algolia/cache-common": "4.4.0"
+ "@algolia/cache-common": "4.5.1"
}
},
"@algolia/cache-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/cache-common/-/cache-common-4.4.0.tgz",
- "integrity": "sha512-PrIgoMnXaDWUfwOekahro543pgcJfgRu/nd/ZQS5ffem3+Ow725eZY6HDpPaQ1k3cvLii9JH6V2sNJConjqUKA=="
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/cache-common/-/cache-common-4.5.1.tgz",
+ "integrity": "sha512-Sux+pcedQi9sfScIiQdl6pEaTVl712qM9OblvDhnaeF1v6lf4jyTlRTiBLP7YBLuvO1Yo54W3maf03kmz9PVhA=="
},
"@algolia/cache-in-memory": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/cache-in-memory/-/cache-in-memory-4.4.0.tgz",
- "integrity": "sha512-9+XlUB0baDU/Dp9URRHPp6Q37YmTO0QmgPWt9+n+wqZrRL0jR3Jezr4jCT7RemqGMxBiR+YpnqaUv0orpb0ptw==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/cache-in-memory/-/cache-in-memory-4.5.1.tgz",
+ "integrity": "sha512-fzwAtBFwveuG+E5T/namChEIvdVl0DoV3djV1C078b/JpO5+DeAwuXIJGYbyl950u170n5NEYuIwYG+R6h4lJQ==",
"requires": {
- "@algolia/cache-common": "4.4.0"
+ "@algolia/cache-common": "4.5.1"
}
},
"@algolia/client-account": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-account/-/client-account-4.4.0.tgz",
- "integrity": "sha512-Kynu3cMEs0clTLf674rtrCF+FWR/JwlQxKlIWsPzvLBRmNXdvYej9YBcNaOr4OTQFCCZn9JVE8ib91Z7J4IL1Q==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/client-account/-/client-account-4.5.1.tgz",
+ "integrity": "sha512-2WFEaI7Zf4ljnBsSAS4e+YylZ5glovm78xFg4E1JKA8PE6M+TeIgUY6HO2ouLh2dqQKxc9UfdAT1Loo/dha2iQ==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/client-search": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.5.1",
+ "@algolia/client-search": "4.5.1",
+ "@algolia/transporter": "4.5.1"
}
},
"@algolia/client-analytics": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-4.4.0.tgz",
- "integrity": "sha512-GQyjQimKAc9sZbafxln9Wk7j4pEYiORv28MZkZ+0Bjt7WNXIeO7OgOOECVpQHm9buyV6hCKpNtJcbb5/syRzdQ==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/client-analytics/-/client-analytics-4.5.1.tgz",
+ "integrity": "sha512-bTmZUU8zhZMWBeGEQ/TVqLoL3OOT0benU0HtS3iOnQURwb+AOCv3RsgZvkj2djp+M24Q6P8/L34uBJMmCurbLg==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/client-search": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.5.1",
+ "@algolia/client-search": "4.5.1",
+ "@algolia/requester-common": "4.5.1",
+ "@algolia/transporter": "4.5.1"
}
},
"@algolia/client-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-4.4.0.tgz",
- "integrity": "sha512-a3yr6UhzjWPHDG/8iGp9UvrDOm1aeHVWJIf0Nj/cIvqX5tNCEIo4IMe59ovApkDgLOIpt/cLsyhn9/FiPXRhJA==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/client-common/-/client-common-4.5.1.tgz",
+ "integrity": "sha512-5CpIf8IK1hke7q+N4e+A4TWdFXVJ5Qwyaa0xS84DrDO8HQ7vfYbDvG1oYa9hVEtGn6c3WVKPAvuWynK+fXQQCA==",
"requires": {
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/requester-common": "4.5.1",
+ "@algolia/transporter": "4.5.1"
}
},
"@algolia/client-recommendation": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-recommendation/-/client-recommendation-4.4.0.tgz",
- "integrity": "sha512-sBszbQH46rko6w2fdEG77ma8+fAg0SDkLZGxWhv4trgcnYGUBFl2dcpEPt/6koto9b4XYlf+eh+qi6iGvYqRPg==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/client-recommendation/-/client-recommendation-4.5.1.tgz",
+ "integrity": "sha512-GiFrNSImoEBUQICjFBEoxPGzrjWji8PY9GeMg2CNvOYcRQ0Xt0Y36v9GN53NLjvB7QdQ2FlE1Cuv/PLUfS/aQQ==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.5.1",
+ "@algolia/requester-common": "4.5.1",
+ "@algolia/transporter": "4.5.1"
}
},
"@algolia/client-search": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-4.4.0.tgz",
- "integrity": "sha512-jqWcxCUyPPHnHreoMb2PnN9iHTP+V/nL62R84XuTRDE3VgTnhm4ZnqyuRdzZQqaz+gNy5znav64TmQ9FN9WW5g==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/client-search/-/client-search-4.5.1.tgz",
+ "integrity": "sha512-wjuOTte9Auo9Cg4fL0709PjeJ9rXFh4okYUrOt/2SWqQid6DSdZOp+BtyaHKV3E94sj+SlmMxkMUacYluYg5zA==",
"requires": {
- "@algolia/client-common": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/client-common": "4.5.1",
+ "@algolia/requester-common": "4.5.1",
+ "@algolia/transporter": "4.5.1"
}
},
"@algolia/logger-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/logger-common/-/logger-common-4.4.0.tgz",
- "integrity": "sha512-2vjmSENLaKNuF+ytRDysfWxxgFG95WXCHwHbueThdPMCK3hskkwqJ0Y/pugKfzl+54mZxegb4BYfgcCeuaHVUw=="
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/logger-common/-/logger-common-4.5.1.tgz",
+ "integrity": "sha512-ZoVnGriinlLHlkvn5K7djOUn1/1IeTjU8rDzOJ3t06T+2hQytgJghaX7rSwKIeH4CjWMy61w8jLisuGJRBOEeg=="
},
"@algolia/logger-console": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/logger-console/-/logger-console-4.4.0.tgz",
- "integrity": "sha512-st/GUWyKvr6YM72OOfF+RmpdVGda3BPXbQ+chpntUq1WyVkyZXGjSmH1IcBVlua27GzxabwOUYON39cF3x10/g==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/logger-console/-/logger-console-4.5.1.tgz",
+ "integrity": "sha512-1qa7K18+uAgxyWuguayaDS5ViiZFcOjI3J5ACBb0i/n7RsXUo149lP6mwmx6TIU7s135hT0f0TCqnvfMvN1ilA==",
"requires": {
- "@algolia/logger-common": "4.4.0"
+ "@algolia/logger-common": "4.5.1"
}
},
"@algolia/requester-browser-xhr": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.4.0.tgz",
- "integrity": "sha512-V3a4hXlNch355GnWaT1f5QfXhROpsjT6sd0Znq29gAhwLqfBExhLW6Khdkv5pENC0Qy7ClVhdXFrBL9QCQer1g==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.5.1.tgz",
+ "integrity": "sha512-tsQz+9pZw9dwPm/wMvZDpsWFZgmghLjXi4c3O4rfwoP/Ikum5fhle5fiR14yb4Lw4WlOQ1AJIHJvrg1qLIG8hQ==",
"requires": {
- "@algolia/requester-common": "4.4.0"
+ "@algolia/requester-common": "4.5.1"
}
},
"@algolia/requester-common": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.4.0.tgz",
- "integrity": "sha512-jPinHlFJEFokxQ5b3JWyjQKKn+FMy0hH99PApzOgQAYOSiFRXiPEZp6LeIexDeLLu7Y3eRt/3nHvjPKa6PmRRw=="
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/requester-common/-/requester-common-4.5.1.tgz",
+ "integrity": "sha512-bPCiLvhHKXaka7f5FLtheChToz0yHVhvza64naFJRRh/3kC0nvyrvQ0ogjiydiSrGIfdNDyyTVfKGdk4gS5gyA=="
},
"@algolia/requester-node-http": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-4.4.0.tgz",
- "integrity": "sha512-b7HC9C/GHxiV4+0GpCRTtjscvwarPr3dGm4CAhb6AkNjgjRcFUNr1NfsF75w3WVmzmt79/7QZihddztDdVMGjw==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/requester-node-http/-/requester-node-http-4.5.1.tgz",
+ "integrity": "sha512-BfFc2h9eQOKu1gGs3DtQO7GrVZW/rxUgpJVLja4UVQyGplJyTCrFgkTyfl+8rb3MkNgA/S2LNo7cKNSPfpqeAQ==",
"requires": {
- "@algolia/requester-common": "4.4.0"
+ "@algolia/requester-common": "4.5.1"
}
},
"@algolia/transporter": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/@algolia/transporter/-/transporter-4.4.0.tgz",
- "integrity": "sha512-Xxzq91DEEeKIzT3DU46n4LEyTGAKZNtSHc2H9wvIY5MYwhZwEribmXXZ6k8W1FvBvzggv3juu0SP+xwGoR7F0w==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/@algolia/transporter/-/transporter-4.5.1.tgz",
+ "integrity": "sha512-asPDNToDAPhH0tM6qKGTn1l0wTlNUbekpa1ifZ6v+qhSjo3VdqGyp+2VeciJOBW/wVHXh3HUbAcycvLERRlCLg==",
"requires": {
- "@algolia/cache-common": "4.4.0",
- "@algolia/logger-common": "4.4.0",
- "@algolia/requester-common": "4.4.0"
+ "@algolia/cache-common": "4.5.1",
+ "@algolia/logger-common": "4.5.1",
+ "@algolia/requester-common": "4.5.1"
}
},
"@babel/code-frame": {
@@ -128,35 +128,23 @@
}
},
"@babel/compat-data": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.11.0.tgz",
- "integrity": "sha512-TPSvJfv73ng0pfnEOh17bYMPQbI95+nGWc71Ss4vZdRBHTDqmM9Z8ZV4rYz8Ks7sfzc95n30k6ODIq5UGnXcYQ==",
- "requires": {
- "browserslist": "^4.12.0",
- "invariant": "^2.2.4",
- "semver": "^5.5.0"
- },
- "dependencies": {
- "semver": {
- "version": "5.7.1",
- "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
- "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- }
- }
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.12.1.tgz",
+ "integrity": "sha512-725AQupWJZ8ba0jbKceeFblZTY90McUBWMwHhkFQ9q1zKPJ95GUktljFcgcsIVwRnTnRKlcYzfiNImg5G9m6ZQ=="
},
"@babel/core": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.5.tgz",
- "integrity": "sha512-fsEANVOcZHzrsV6dMVWqpSeXClq3lNbYrfFGme6DE25FQWe7pyeYpXyx9guqUnpy466JLzZ8z4uwSr2iv60V5Q==",
+ "version": "7.12.3",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.3.tgz",
+ "integrity": "sha512-0qXcZYKZp3/6N2jKYVxZv0aNCsxTSVCiK72DTiTYZAu7sjg73W0/aynWjMbiGd87EQL4WyA8reiJVh92AVla9g==",
"requires": {
"@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.11.5",
- "@babel/helper-module-transforms": "^7.11.0",
- "@babel/helpers": "^7.10.4",
- "@babel/parser": "^7.11.5",
+ "@babel/generator": "^7.12.1",
+ "@babel/helper-module-transforms": "^7.12.1",
+ "@babel/helpers": "^7.12.1",
+ "@babel/parser": "^7.12.3",
"@babel/template": "^7.10.4",
- "@babel/traverse": "^7.11.5",
- "@babel/types": "^7.11.5",
+ "@babel/traverse": "^7.12.1",
+ "@babel/types": "^7.12.1",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.1",
@@ -164,7 +152,7 @@
"lodash": "^4.17.19",
"resolve": "^1.3.2",
"semver": "^5.4.1",
- "source-map": "^0.6.1"
+ "source-map": "^0.5.0"
},
"dependencies": {
"semver": {
@@ -175,13 +163,13 @@
}
},
"@babel/generator": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.5.tgz",
- "integrity": "sha512-9UqHWJ4IwRTy4l0o8gq2ef8ws8UPzvtMkVKjTLAiRmza9p9V6Z+OfuNd9fB1j5Q67F+dVJtPC2sZXI8NM9br4g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.12.1.tgz",
+ "integrity": "sha512-DB+6rafIdc9o72Yc3/Ph5h+6hUjeOp66pF0naQBgUFFuPqzQwIlPTm3xZR7YNvduIMtkDIj2t21LSQwnbCrXvg==",
"requires": {
- "@babel/types": "^7.11.5",
+ "@babel/types": "^7.12.1",
"jsesc": "^2.5.1",
- "source-map": "^0.6.1"
+ "source-map": "^0.5.0"
}
},
"@babel/helper-annotate-as-pure": {
@@ -211,24 +199,23 @@
}
},
"@babel/helper-builder-react-jsx-experimental": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.11.5.tgz",
- "integrity": "sha512-Vc4aPJnRZKWfzeCBsqTBnzulVNjABVdahSPhtdMD3Vs80ykx4a87jTHtF/VR+alSrDmNvat7l13yrRHauGcHVw==",
+ "version": "7.12.4",
+ "resolved": "https://registry.npmjs.org/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.12.4.tgz",
+ "integrity": "sha512-AjEa0jrQqNk7eDQOo0pTfUOwQBMF+xVqrausQwT9/rTKy0g04ggFNaJpaE09IQMn9yExluigWMJcj0WC7bq+Og==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
- "@babel/helper-module-imports": "^7.10.4",
- "@babel/types": "^7.11.5"
+ "@babel/helper-module-imports": "^7.12.1",
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-compilation-targets": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.10.4.tgz",
- "integrity": "sha512-a3rYhlsGV0UHNDvrtOXBg8/OpfV0OKTkxKPzIplS1zpx7CygDcWWxckxZeDd3gzPzC4kUT0A4nVFDK0wGMh4MQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.12.1.tgz",
+ "integrity": "sha512-jtBEif7jsPwP27GPHs06v4WBV0KrE8a/P7n0N0sSvHn2hwUCYnolP/CLmz51IzAW4NlN+HuoBtb9QcwnRo9F/g==",
"requires": {
- "@babel/compat-data": "^7.10.4",
+ "@babel/compat-data": "^7.12.1",
+ "@babel/helper-validator-option": "^7.12.1",
"browserslist": "^4.12.0",
- "invariant": "^2.2.4",
- "levenary": "^1.1.1",
"semver": "^5.5.0"
},
"dependencies": {
@@ -240,26 +227,25 @@
}
},
"@babel/helper-create-class-features-plugin": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.10.5.tgz",
- "integrity": "sha512-0nkdeijB7VlZoLT3r/mY3bUkw3T8WG/hNw+FATs/6+pG2039IJWjTYL0VTISqsNHMUTEnwbVnc89WIJX9Qed0A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.12.1.tgz",
+ "integrity": "sha512-hkL++rWeta/OVOBTRJc9a5Azh5mt5WgZUGAKMD8JM141YsE08K//bp1unBBieO6rUKkIPyUE0USQ30jAy3Sk1w==",
"requires": {
"@babel/helper-function-name": "^7.10.4",
- "@babel/helper-member-expression-to-functions": "^7.10.5",
+ "@babel/helper-member-expression-to-functions": "^7.12.1",
"@babel/helper-optimise-call-expression": "^7.10.4",
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4",
+ "@babel/helper-replace-supers": "^7.12.1",
"@babel/helper-split-export-declaration": "^7.10.4"
}
},
"@babel/helper-create-regexp-features-plugin": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.10.4.tgz",
- "integrity": "sha512-2/hu58IEPKeoLF45DBwx3XFqsbCXmkdAay4spVr2x0jYgRxrSNp+ePwvSsy9g6YSaNDcKIQVPXk1Ov8S2edk2g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.1.tgz",
+ "integrity": "sha512-rsZ4LGvFTZnzdNZR5HZdmJVuXK8834R5QkF3WvcnBhrlVtF0HSIUC6zbreL9MgjTywhKokn8RIYRiq99+DLAxA==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-regex": "^7.10.4",
- "regexpu-core": "^4.7.0"
+ "regexpu-core": "^4.7.1"
}
},
"@babel/helper-define-map": {
@@ -273,11 +259,11 @@
}
},
"@babel/helper-explode-assignable-expression": {
- "version": "7.11.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.11.4.tgz",
- "integrity": "sha512-ux9hm3zR4WV1Y3xXxXkdG/0gxF9nvI0YVmKVhvK9AfMoaQkemL3sJpXw+Xbz65azo8qJiEz2XVDUpK3KYhH3ZQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.12.1.tgz",
+ "integrity": "sha512-dmUwH8XmlrUpVqgtZ737tK88v07l840z9j3OEhCLwKTkjlvKpfqXVIZ0wpK3aeOxspwGrf/5AP5qLx4rO3w5rA==",
"requires": {
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-function-name": {
@@ -307,32 +293,34 @@
}
},
"@babel/helper-member-expression-to-functions": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.11.0.tgz",
- "integrity": "sha512-JbFlKHFntRV5qKw3YC0CvQnDZ4XMwgzzBbld7Ly4Mj4cbFy3KywcR8NtNctRToMWJOVvLINJv525Gd6wwVEx/Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.12.1.tgz",
+ "integrity": "sha512-k0CIe3tXUKTRSoEx1LQEPFU9vRQfqHtl+kf8eNnDqb4AUJEy5pz6aIiog+YWtVm2jpggjS1laH68bPsR+KWWPQ==",
"requires": {
- "@babel/types": "^7.11.0"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-module-imports": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.4.tgz",
- "integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.1.tgz",
+ "integrity": "sha512-ZeC1TlMSvikvJNy1v/wPIazCu3NdOwgYZLIkmIyAsGhqkNpiDoQQRmaCK8YP4Pq3GPTLPV9WXaPCJKvx06JxKA==",
"requires": {
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-module-transforms": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.11.0.tgz",
- "integrity": "sha512-02EVu8COMuTRO1TAzdMtpBPbe6aQ1w/8fePD2YgQmxZU4gpNWaL9gK3Jp7dxlkUlUCJOTaSeA+Hrm1BRQwqIhg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.12.1.tgz",
+ "integrity": "sha512-QQzehgFAZ2bbISiCpmVGfiGux8YVFXQ0abBic2Envhej22DVXV9nCFaS5hIQbkyo1AdGb+gNME2TSh3hYJVV/w==",
"requires": {
- "@babel/helper-module-imports": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4",
- "@babel/helper-simple-access": "^7.10.4",
+ "@babel/helper-module-imports": "^7.12.1",
+ "@babel/helper-replace-supers": "^7.12.1",
+ "@babel/helper-simple-access": "^7.12.1",
"@babel/helper-split-export-declaration": "^7.11.0",
+ "@babel/helper-validator-identifier": "^7.10.4",
"@babel/template": "^7.10.4",
- "@babel/types": "^7.11.0",
+ "@babel/traverse": "^7.12.1",
+ "@babel/types": "^7.12.1",
"lodash": "^4.17.19"
}
},
@@ -358,42 +346,40 @@
}
},
"@babel/helper-remap-async-to-generator": {
- "version": "7.11.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.11.4.tgz",
- "integrity": "sha512-tR5vJ/vBa9wFy3m5LLv2faapJLnDFxNWff2SAYkSE4rLUdbp7CdObYFgI7wK4T/Mj4UzpjPwzR8Pzmr5m7MHGA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.12.1.tgz",
+ "integrity": "sha512-9d0KQCRM8clMPcDwo8SevNs+/9a8yWVVmaE80FGJcEP8N1qToREmWEGnBn8BUlJhYRFz6fqxeRL1sl5Ogsed7A==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-wrap-function": "^7.10.4",
- "@babel/template": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-replace-supers": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.4.tgz",
- "integrity": "sha512-sPxZfFXocEymYTdVK1UNmFPBN+Hv5mJkLPsYWwGBxZAxaWfFu+xqp7b6qWD0yjNuNL2VKc6L5M18tOXUP7NU0A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.12.1.tgz",
+ "integrity": "sha512-zJjTvtNJnCFsCXVi5rUInstLd/EIVNmIKA1Q9ynESmMBWPWd+7sdR+G4/wdu+Mppfep0XLyG2m7EBPvjCeFyrw==",
"requires": {
- "@babel/helper-member-expression-to-functions": "^7.10.4",
+ "@babel/helper-member-expression-to-functions": "^7.12.1",
"@babel/helper-optimise-call-expression": "^7.10.4",
- "@babel/traverse": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/traverse": "^7.12.1",
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-simple-access": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.4.tgz",
- "integrity": "sha512-0fMy72ej/VEvF8ULmX6yb5MtHG4uH4Dbd6I/aHDb/JVg0bbivwt9Wg+h3uMvX+QSFtwr5MeItvazbrc4jtRAXw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.12.1.tgz",
+ "integrity": "sha512-OxBp7pMrjVewSSC8fXDFrHrBcJATOOFssZwv16F3/6Xtc138GHybBfPbm9kfiqQHKhYQrlamWILwlDCeyMFEaA==",
"requires": {
- "@babel/template": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-skip-transparent-expression-wrappers": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.11.0.tgz",
- "integrity": "sha512-0XIdiQln4Elglgjbwo9wuJpL/K7AGCY26kmEt0+pRP0TAj4jjyNq1MjoRvikrTVqKcx4Gysxt4cXvVFXP/JO2Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz",
+ "integrity": "sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA==",
"requires": {
- "@babel/types": "^7.11.0"
+ "@babel/types": "^7.12.1"
}
},
"@babel/helper-split-export-declaration": {
@@ -409,10 +395,15 @@
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.4.tgz",
"integrity": "sha512-3U9y+43hz7ZM+rzG24Qe2mufW5KhvFg/NhnNph+i9mgCtdTCtMJuI1TMkrIUiK7Ix4PYlRF9I5dhqaLYA/ADXw=="
},
+ "@babel/helper-validator-option": {
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.1.tgz",
+ "integrity": "sha512-YpJabsXlJVWP0USHjnC/AQDTLlZERbON577YUVO/wLpqyj6HAtVYnWaQaN0iUN+1/tWn3c+uKKXjRut5115Y2A=="
+ },
"@babel/helper-wrap-function": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.10.4.tgz",
- "integrity": "sha512-6py45WvEF0MhiLrdxtRjKjufwLL1/ob2qDJgg5JgNdojBAZSAKnAjkyOCNug6n+OBl4VW76XjvgSFTdaMcW0Ug==",
+ "version": "7.12.3",
+ "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.12.3.tgz",
+ "integrity": "sha512-Cvb8IuJDln3rs6tzjW3Y8UeelAOdnpB8xtQ4sme2MSZ9wOxrbThporC0y/EtE16VAtoyEfLM404Xr1e0OOp+ow==",
"requires": {
"@babel/helper-function-name": "^7.10.4",
"@babel/template": "^7.10.4",
@@ -421,13 +412,13 @@
}
},
"@babel/helpers": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.4.tgz",
- "integrity": "sha512-L2gX/XeUONeEbI78dXSrJzGdz4GQ+ZTA/aazfUsFaWjSe95kiCuOZ5HsXvkiw3iwF+mFHSRUfJU8t6YavocdXA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.12.1.tgz",
+ "integrity": "sha512-9JoDSBGoWtmbay98efmT2+mySkwjzeFeAL9BuWNoVQpkPFQF8SIIFUfY5os9u8wVzglzoiPRSW7cuJmBDUt43g==",
"requires": {
"@babel/template": "^7.10.4",
- "@babel/traverse": "^7.10.4",
- "@babel/types": "^7.10.4"
+ "@babel/traverse": "^7.12.1",
+ "@babel/types": "^7.12.1"
}
},
"@babel/highlight": {
@@ -453,127 +444,127 @@
}
},
"@babel/parser": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.5.tgz",
- "integrity": "sha512-X9rD8qqm695vgmeaQ4fvz/o3+Wk4ZzQvSHkDBgpYKxpD4qTAUm88ZKtHkVqIOsYFFbIQ6wQYhC6q7pjqVK0E0Q=="
+ "version": "7.12.3",
+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.12.3.tgz",
+ "integrity": "sha512-kFsOS0IbsuhO5ojF8Hc8z/8vEIOkylVBrjiZUbLTE3XFe0Qi+uu6HjzQixkFaqr0ZPAMZcBVxEwmsnsLPZ2Xsw=="
},
"@babel/plugin-proposal-async-generator-functions": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.10.5.tgz",
- "integrity": "sha512-cNMCVezQbrRGvXJwm9fu/1sJj9bHdGAgKodZdLqOQIpfoH3raqmRPBM17+lh7CzhiKRRBrGtZL9WcjxSoGYUSg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.12.1.tgz",
+ "integrity": "sha512-d+/o30tJxFxrA1lhzJqiUcEJdI6jKlNregCv5bASeGf2Q4MXmnwH7viDo7nhx1/ohf09oaH8j1GVYG/e3Yqk6A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-remap-async-to-generator": "^7.10.4",
+ "@babel/helper-remap-async-to-generator": "^7.12.1",
"@babel/plugin-syntax-async-generators": "^7.8.0"
}
},
"@babel/plugin-proposal-class-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.10.4.tgz",
- "integrity": "sha512-vhwkEROxzcHGNu2mzUC0OFFNXdZ4M23ib8aRRcJSsW8BZK9pQMD7QB7csl97NBbgGZO7ZyHUyKDnxzOaP4IrCg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.12.1.tgz",
+ "integrity": "sha512-cKp3dlQsFsEs5CWKnN7BnSHOd0EOW8EKpEjkoz1pO2E5KzIDNV9Ros1b0CnmbVgAGXJubOYVBOGCT1OmJwOI7w==",
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.10.4",
+ "@babel/helper-create-class-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-proposal-dynamic-import": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.10.4.tgz",
- "integrity": "sha512-up6oID1LeidOOASNXgv/CFbgBqTuKJ0cJjz6An5tWD+NVBNlp3VNSBxv2ZdU7SYl3NxJC7agAQDApZusV6uFwQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.12.1.tgz",
+ "integrity": "sha512-a4rhUSZFuq5W8/OO8H7BL5zspjnc1FLd9hlOxIK/f7qG4a0qsqk8uvF/ywgBA8/OmjsapjpvaEOYItfGG1qIvQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-dynamic-import": "^7.8.0"
}
},
"@babel/plugin-proposal-export-namespace-from": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.10.4.tgz",
- "integrity": "sha512-aNdf0LY6/3WXkhh0Fdb6Zk9j1NMD8ovj3F6r0+3j837Pn1S1PdNtcwJ5EG9WkVPNHPxyJDaxMaAOVq4eki0qbg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.1.tgz",
+ "integrity": "sha512-6CThGf0irEkzujYS5LQcjBx8j/4aQGiVv7J9+2f7pGfxqyKh3WnmVJYW3hdrQjyksErMGBPQrCnHfOtna+WLbw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3"
}
},
"@babel/plugin-proposal-json-strings": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.10.4.tgz",
- "integrity": "sha512-fCL7QF0Jo83uy1K0P2YXrfX11tj3lkpN7l4dMv9Y9VkowkhkQDwFHFd8IiwyK5MZjE8UpbgokkgtcReH88Abaw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.12.1.tgz",
+ "integrity": "sha512-GoLDUi6U9ZLzlSda2Df++VSqDJg3CG+dR0+iWsv6XRw1rEq+zwt4DirM9yrxW6XWaTpmai1cWJLMfM8qQJf+yw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-json-strings": "^7.8.0"
}
},
"@babel/plugin-proposal-logical-assignment-operators": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.11.0.tgz",
- "integrity": "sha512-/f8p4z+Auz0Uaf+i8Ekf1iM7wUNLcViFUGiPxKeXvxTSl63B875YPiVdUDdem7hREcI0E0kSpEhS8tF5RphK7Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.12.1.tgz",
+ "integrity": "sha512-k8ZmVv0JU+4gcUGeCDZOGd0lCIamU/sMtIiX3UWnUc5yzgq6YUGyEolNYD+MLYKfSzgECPcqetVcJP9Afe/aCA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-logical-assignment-operators": "^7.10.4"
}
},
"@babel/plugin-proposal-nullish-coalescing-operator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.10.4.tgz",
- "integrity": "sha512-wq5n1M3ZUlHl9sqT2ok1T2/MTt6AXE0e1Lz4WzWBr95LsAZ5qDXe4KnFuauYyEyLiohvXFMdbsOTMyLZs91Zlw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.12.1.tgz",
+ "integrity": "sha512-nZY0ESiaQDI1y96+jk6VxMOaL4LPo/QDHBqL+SF3/vl6dHkTwHlOI8L4ZwuRBHgakRBw5zsVylel7QPbbGuYgg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0"
}
},
"@babel/plugin-proposal-numeric-separator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.10.4.tgz",
- "integrity": "sha512-73/G7QoRoeNkLZFxsoCCvlg4ezE4eM+57PnOqgaPOozd5myfj7p0muD1mRVJvbUWbOzD+q3No2bWbaKy+DJ8DA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.1.tgz",
+ "integrity": "sha512-MR7Ok+Af3OhNTCxYVjJZHS0t97ydnJZt/DbR4WISO39iDnhiD8XHrY12xuSJ90FFEGjir0Fzyyn7g/zY6hxbxA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-numeric-separator": "^7.10.4"
}
},
"@babel/plugin-proposal-object-rest-spread": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.11.0.tgz",
- "integrity": "sha512-wzch41N4yztwoRw0ak+37wxwJM2oiIiy6huGCoqkvSTA9acYWcPfn9Y4aJqmFFJ70KTJUu29f3DQ43uJ9HXzEA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz",
+ "integrity": "sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
- "@babel/plugin-transform-parameters": "^7.10.4"
+ "@babel/plugin-transform-parameters": "^7.12.1"
}
},
"@babel/plugin-proposal-optional-catch-binding": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.10.4.tgz",
- "integrity": "sha512-LflT6nPh+GK2MnFiKDyLiqSqVHkQnVf7hdoAvyTnnKj9xB3docGRsdPuxp6qqqW19ifK3xgc9U5/FwrSaCNX5g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.12.1.tgz",
+ "integrity": "sha512-hFvIjgprh9mMw5v42sJWLI1lzU5L2sznP805zeT6rySVRA0Y18StRhDqhSxlap0oVgItRsB6WSROp4YnJTJz0g==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.0"
}
},
"@babel/plugin-proposal-optional-chaining": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.11.0.tgz",
- "integrity": "sha512-v9fZIu3Y8562RRwhm1BbMRxtqZNFmFA2EG+pT2diuU8PT3H6T/KXoZ54KgYisfOFZHV6PfvAiBIZ9Rcz+/JCxA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.12.1.tgz",
+ "integrity": "sha512-c2uRpY6WzaVDzynVY9liyykS+kVU+WRZPMPYpkelXH8KBt1oXoI89kPbZKKG/jDT5UK92FTW2fZkZaJhdiBabw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.11.0",
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1",
"@babel/plugin-syntax-optional-chaining": "^7.8.0"
}
},
"@babel/plugin-proposal-private-methods": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.10.4.tgz",
- "integrity": "sha512-wh5GJleuI8k3emgTg5KkJK6kHNsGEr0uBTDBuQUBJwckk9xs1ez79ioheEVVxMLyPscB0LfkbVHslQqIzWV6Bw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.12.1.tgz",
+ "integrity": "sha512-mwZ1phvH7/NHK6Kf8LP7MYDogGV+DKB1mryFOEwx5EBNQrosvIczzZFTUmWaeujd5xT6G1ELYWUz3CutMhjE1w==",
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.10.4",
+ "@babel/helper-create-class-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-proposal-unicode-property-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.10.4.tgz",
- "integrity": "sha512-H+3fOgPnEXFL9zGYtKQe4IDOPKYlZdF1kqFDQRRb8PK4B8af1vAGK04tF5iQAAsui+mHNBQSAtd2/ndEDe9wuA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.1.tgz",
+ "integrity": "sha512-MYq+l+PvHuw/rKUz1at/vb6nCnQ2gmJBNaM62z0OgH7B2W1D9pvkpYtlti9bGtizNIU1K3zm4bZF9F91efVY0w==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4",
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
@@ -586,9 +577,9 @@
}
},
"@babel/plugin-syntax-class-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.10.4.tgz",
- "integrity": "sha512-GCSBF7iUle6rNugfURwNmCGG3Z/2+opxAMLs1nND4bhEG5PuxTIggDBoeYYSujAlLtsupzOHYJQgPS3pivwXIA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.1.tgz",
+ "integrity": "sha512-U40A76x5gTwmESz+qiqssqmeEsKvcSyvtgktrm0uzcARAmM9I1jR221f6Oq+GmHrcD+LvZDag1UTOTe2fL3TeA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
@@ -618,9 +609,9 @@
}
},
"@babel/plugin-syntax-jsx": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz",
- "integrity": "sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz",
+ "integrity": "sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
@@ -674,314 +665,312 @@
}
},
"@babel/plugin-syntax-top-level-await": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.10.4.tgz",
- "integrity": "sha512-ni1brg4lXEmWyafKr0ccFWkJG0CeMt4WV1oyeBW6EFObF4oOHclbkj5cARxAPQyAQ2UTuplJyK4nfkXIMMFvsQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.1.tgz",
+ "integrity": "sha512-i7ooMZFS+a/Om0crxZodrTzNEPJHZrlMVGMTEpFAj6rYY/bKCddB0Dk/YxfPuYXOopuhKk/e1jV6h+WUU9XN3A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-syntax-typescript": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.10.4.tgz",
- "integrity": "sha512-oSAEz1YkBCAKr5Yiq8/BNtvSAPwkp/IyUnwZogd8p+F0RuYQQrLeRUzIQhueQTTBy/F+a40uS7OFKxnkRvmvFQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.1.tgz",
+ "integrity": "sha512-UZNEcCY+4Dp9yYRCAHrHDU+9ZXLYaY9MgBXSRLkB9WjYFRR6quJBumfVrEkUxrePPBwFcpWfNKXqVRQQtm7mMA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-arrow-functions": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.10.4.tgz",
- "integrity": "sha512-9J/oD1jV0ZCBcgnoFWFq1vJd4msoKb/TCpGNFyyLt0zABdcvgK3aYikZ8HjzB14c26bc7E3Q1yugpwGy2aTPNA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.12.1.tgz",
+ "integrity": "sha512-5QB50qyN44fzzz4/qxDPQMBCTHgxg3n0xRBLJUmBlLoU/sFvxVWGZF/ZUfMVDQuJUKXaBhbupxIzIfZ6Fwk/0A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-async-to-generator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.10.4.tgz",
- "integrity": "sha512-F6nREOan7J5UXTLsDsZG3DXmZSVofr2tGNwfdrVwkDWHfQckbQXnXSPfD7iO+c/2HGqycwyLST3DnZ16n+cBJQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.12.1.tgz",
+ "integrity": "sha512-SDtqoEcarK1DFlRJ1hHRY5HvJUj5kX4qmtpMAm2QnhOlyuMC4TMdCRgW6WXpv93rZeYNeLP22y8Aq2dbcDRM1A==",
"requires": {
- "@babel/helper-module-imports": "^7.10.4",
+ "@babel/helper-module-imports": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-remap-async-to-generator": "^7.10.4"
+ "@babel/helper-remap-async-to-generator": "^7.12.1"
}
},
"@babel/plugin-transform-block-scoped-functions": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.10.4.tgz",
- "integrity": "sha512-WzXDarQXYYfjaV1szJvN3AD7rZgZzC1JtjJZ8dMHUyiK8mxPRahynp14zzNjU3VkPqPsO38CzxiWO1c9ARZ8JA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.1.tgz",
+ "integrity": "sha512-5OpxfuYnSgPalRpo8EWGPzIYf0lHBWORCkj5M0oLBwHdlux9Ri36QqGW3/LR13RSVOAoUUMzoPI/jpE4ABcHoA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-block-scoping": {
- "version": "7.11.1",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.11.1.tgz",
- "integrity": "sha512-00dYeDE0EVEHuuM+26+0w/SCL0BH2Qy7LwHuI4Hi4MH5gkC8/AqMN5uWFJIsoXZrAphiMm1iXzBw6L2T+eA0ew==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.1.tgz",
+ "integrity": "sha512-zJyAC9sZdE60r1nVQHblcfCj29Dh2Y0DOvlMkcqSo0ckqjiCwNiUezUKw+RjOCwGfpLRwnAeQ2XlLpsnGkvv9w==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-classes": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.10.4.tgz",
- "integrity": "sha512-2oZ9qLjt161dn1ZE0Ms66xBncQH4In8Sqw1YWgBUZuGVJJS5c0OFZXL6dP2MRHrkU/eKhWg8CzFJhRQl50rQxA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.12.1.tgz",
+ "integrity": "sha512-/74xkA7bVdzQTBeSUhLLJgYIcxw/dpEpCdRDiHgPJ3Mv6uC11UhjpOhl72CgqbBCmt1qtssCyB2xnJm1+PFjog==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-define-map": "^7.10.4",
"@babel/helper-function-name": "^7.10.4",
"@babel/helper-optimise-call-expression": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4",
+ "@babel/helper-replace-supers": "^7.12.1",
"@babel/helper-split-export-declaration": "^7.10.4",
"globals": "^11.1.0"
}
},
"@babel/plugin-transform-computed-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.10.4.tgz",
- "integrity": "sha512-JFwVDXcP/hM/TbyzGq3l/XWGut7p46Z3QvqFMXTfk6/09m7xZHJUN9xHfsv7vqqD4YnfI5ueYdSJtXqqBLyjBw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.12.1.tgz",
+ "integrity": "sha512-vVUOYpPWB7BkgUWPo4C44mUQHpTZXakEqFjbv8rQMg7TC6S6ZhGZ3otQcRH6u7+adSlE5i0sp63eMC/XGffrzg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-destructuring": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.10.4.tgz",
- "integrity": "sha512-+WmfvyfsyF603iPa6825mq6Qrb7uLjTOsa3XOFzlYcYDHSS4QmpOWOL0NNBY5qMbvrcf3tq0Cw+v4lxswOBpgA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.12.1.tgz",
+ "integrity": "sha512-fRMYFKuzi/rSiYb2uRLiUENJOKq4Gnl+6qOv5f8z0TZXg3llUwUhsNNwrwaT/6dUhJTzNpBr+CUvEWBtfNY1cw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-dotall-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.10.4.tgz",
- "integrity": "sha512-ZEAVvUTCMlMFAbASYSVQoxIbHm2OkG2MseW6bV2JjIygOjdVv8tuxrCTzj1+Rynh7ODb8GivUy7dzEXzEhuPaA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.1.tgz",
+ "integrity": "sha512-B2pXeRKoLszfEW7J4Hg9LoFaWEbr/kzo3teWHmtFCszjRNa/b40f9mfeqZsIDLLt/FjwQ6pz/Gdlwy85xNckBA==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4",
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-duplicate-keys": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.10.4.tgz",
- "integrity": "sha512-GL0/fJnmgMclHiBTTWXNlYjYsA7rDrtsazHG6mglaGSTh0KsrW04qml+Bbz9FL0LcJIRwBWL5ZqlNHKTkU3xAA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.1.tgz",
+ "integrity": "sha512-iRght0T0HztAb/CazveUpUQrZY+aGKKaWXMJ4uf9YJtqxSUe09j3wteztCUDRHs+SRAL7yMuFqUsLoAKKzgXjw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-exponentiation-operator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.10.4.tgz",
- "integrity": "sha512-S5HgLVgkBcRdyQAHbKj+7KyuWx8C6t5oETmUuwz1pt3WTWJhsUV0WIIXuVvfXMxl/QQyHKlSCNNtaIamG8fysw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.1.tgz",
+ "integrity": "sha512-7tqwy2bv48q+c1EHbXK0Zx3KXd2RVQp6OC7PbwFNt/dPTAV3Lu5sWtWuAj8owr5wqtWnqHfl2/mJlUmqkChKug==",
"requires": {
"@babel/helper-builder-binary-assignment-operator-visitor": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-for-of": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.4.tgz",
- "integrity": "sha512-ItdQfAzu9AlEqmusA/65TqJ79eRcgGmpPPFvBnGILXZH975G0LNjP1yjHvGgfuCxqrPPueXOPe+FsvxmxKiHHQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.12.1.tgz",
+ "integrity": "sha512-Zaeq10naAsuHo7heQvyV0ptj4dlZJwZgNAtBYBnu5nNKJoW62m0zKcIEyVECrUKErkUkg6ajMy4ZfnVZciSBhg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-function-name": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.10.4.tgz",
- "integrity": "sha512-OcDCq2y5+E0dVD5MagT5X+yTRbcvFjDI2ZVAottGH6tzqjx/LKpgkUepu3hp/u4tZBzxxpNGwLsAvGBvQ2mJzg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.1.tgz",
+ "integrity": "sha512-JF3UgJUILoFrFMEnOJLJkRHSk6LUSXLmEFsA23aR2O5CSLUxbeUX1IZ1YQ7Sn0aXb601Ncwjx73a+FVqgcljVw==",
"requires": {
"@babel/helper-function-name": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-literals": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.10.4.tgz",
- "integrity": "sha512-Xd/dFSTEVuUWnyZiMu76/InZxLTYilOSr1UlHV+p115Z/Le2Fi1KXkJUYz0b42DfndostYlPub3m8ZTQlMaiqQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.1.tgz",
+ "integrity": "sha512-+PxVGA+2Ag6uGgL0A5f+9rklOnnMccwEBzwYFL3EUaKuiyVnUipyXncFcfjSkbimLrODoqki1U9XxZzTvfN7IQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-member-expression-literals": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.10.4.tgz",
- "integrity": "sha512-0bFOvPyAoTBhtcJLr9VcwZqKmSjFml1iVxvPL0ReomGU53CX53HsM4h2SzckNdkQcHox1bpAqzxBI1Y09LlBSw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.1.tgz",
+ "integrity": "sha512-1sxePl6z9ad0gFMB9KqmYofk34flq62aqMt9NqliS/7hPEpURUCMbyHXrMPlo282iY7nAvUB1aQd5mg79UD9Jg==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-modules-amd": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.10.5.tgz",
- "integrity": "sha512-elm5uruNio7CTLFItVC/rIzKLfQ17+fX7EVz5W0TMgIHFo1zY0Ozzx+lgwhL4plzl8OzVn6Qasx5DeEFyoNiRw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.12.1.tgz",
+ "integrity": "sha512-tDW8hMkzad5oDtzsB70HIQQRBiTKrhfgwC/KkJeGsaNFTdWhKNt/BiE8c5yj19XiGyrxpbkOfH87qkNg1YGlOQ==",
"requires": {
- "@babel/helper-module-transforms": "^7.10.5",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
"babel-plugin-dynamic-import-node": "^2.3.3"
}
},
"@babel/plugin-transform-modules-commonjs": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.10.4.tgz",
- "integrity": "sha512-Xj7Uq5o80HDLlW64rVfDBhao6OX89HKUmb+9vWYaLXBZOma4gA6tw4Ni1O5qVDoZWUV0fxMYA0aYzOawz0l+1w==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.12.1.tgz",
+ "integrity": "sha512-dY789wq6l0uLY8py9c1B48V8mVL5gZh/+PQ5ZPrylPYsnAvnEMjqsUXkuoDVPeVK+0VyGar+D08107LzDQ6pag==",
"requires": {
- "@babel/helper-module-transforms": "^7.10.4",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-simple-access": "^7.10.4",
+ "@babel/helper-simple-access": "^7.12.1",
"babel-plugin-dynamic-import-node": "^2.3.3"
}
},
"@babel/plugin-transform-modules-systemjs": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.10.5.tgz",
- "integrity": "sha512-f4RLO/OL14/FP1AEbcsWMzpbUz6tssRaeQg11RH1BP/XnPpRoVwgeYViMFacnkaw4k4wjRSjn3ip1Uw9TaXuMw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.12.1.tgz",
+ "integrity": "sha512-Hn7cVvOavVh8yvW6fLwveFqSnd7rbQN3zJvoPNyNaQSvgfKmDBO9U1YL9+PCXGRlZD9tNdWTy5ACKqMuzyn32Q==",
"requires": {
"@babel/helper-hoist-variables": "^7.10.4",
- "@babel/helper-module-transforms": "^7.10.5",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
+ "@babel/helper-validator-identifier": "^7.10.4",
"babel-plugin-dynamic-import-node": "^2.3.3"
}
},
"@babel/plugin-transform-modules-umd": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.10.4.tgz",
- "integrity": "sha512-mohW5q3uAEt8T45YT7Qc5ws6mWgJAaL/8BfWD9Dodo1A3RKWli8wTS+WiQ/knF+tXlPirW/1/MqzzGfCExKECA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.12.1.tgz",
+ "integrity": "sha512-aEIubCS0KHKM0zUos5fIoQm+AZUMt1ZvMpqz0/H5qAQ7vWylr9+PLYurT+Ic7ID/bKLd4q8hDovaG3Zch2uz5Q==",
"requires": {
- "@babel/helper-module-transforms": "^7.10.4",
+ "@babel/helper-module-transforms": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-named-capturing-groups-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.10.4.tgz",
- "integrity": "sha512-V6LuOnD31kTkxQPhKiVYzYC/Jgdq53irJC/xBSmqcNcqFGV+PER4l6rU5SH2Vl7bH9mLDHcc0+l9HUOe4RNGKA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.1.tgz",
+ "integrity": "sha512-tB43uQ62RHcoDp9v2Nsf+dSM8sbNodbEicbQNA53zHz8pWUhsgHSJCGpt7daXxRydjb0KnfmB+ChXOv3oADp1Q==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4"
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1"
}
},
"@babel/plugin-transform-new-target": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.10.4.tgz",
- "integrity": "sha512-YXwWUDAH/J6dlfwqlWsztI2Puz1NtUAubXhOPLQ5gjR/qmQ5U96DY4FQO8At33JN4XPBhrjB8I4eMmLROjjLjw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.1.tgz",
+ "integrity": "sha512-+eW/VLcUL5L9IvJH7rT1sT0CzkdUTvPrXC2PXTn/7z7tXLBuKvezYbGdxD5WMRoyvyaujOq2fWoKl869heKjhw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-object-super": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.10.4.tgz",
- "integrity": "sha512-5iTw0JkdRdJvr7sY0vHqTpnruUpTea32JHmq/atIWqsnNussbRzjEDyWep8UNztt1B5IusBYg8Irb0bLbiEBCQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.1.tgz",
+ "integrity": "sha512-AvypiGJH9hsquNUn+RXVcBdeE3KHPZexWRdimhuV59cSoOt5kFBmqlByorAeUlGG2CJWd0U+4ZtNKga/TB0cAw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-replace-supers": "^7.10.4"
+ "@babel/helper-replace-supers": "^7.12.1"
}
},
"@babel/plugin-transform-parameters": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.5.tgz",
- "integrity": "sha512-xPHwUj5RdFV8l1wuYiu5S9fqWGM2DrYc24TMvUiRrPVm+SM3XeqU9BcokQX/kEUe+p2RBwy+yoiR1w/Blq6ubw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.12.1.tgz",
+ "integrity": "sha512-xq9C5EQhdPK23ZeCdMxl8bbRnAgHFrw5EOC3KJUsSylZqdkCaFEXxGSBuTSObOpiiHHNyb82es8M1QYgfQGfNg==",
"requires": {
- "@babel/helper-get-function-arity": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-property-literals": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.10.4.tgz",
- "integrity": "sha512-ofsAcKiUxQ8TY4sScgsGeR2vJIsfrzqvFb9GvJ5UdXDzl+MyYCaBj/FGzXuv7qE0aJcjWMILny1epqelnFlz8g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.1.tgz",
+ "integrity": "sha512-6MTCR/mZ1MQS+AwZLplX4cEySjCpnIF26ToWo942nqn8hXSm7McaHQNeGx/pt7suI1TWOWMfa/NgBhiqSnX0cQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-constant-elements": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.10.4.tgz",
- "integrity": "sha512-cYmQBW1pXrqBte1raMkAulXmi7rjg3VI6ZLg9QIic8Hq7BtYXaWuZSxsr2siOMI6SWwpxjWfnwhTUrd7JlAV7g==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.12.1.tgz",
+ "integrity": "sha512-KOHd0tIRLoER+J+8f9DblZDa1fLGPwaaN1DI1TVHuQFOpjHV22C3CUB3obeC4fexHY9nx+fH0hQNvLFFfA1mxA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-display-name": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.10.4.tgz",
- "integrity": "sha512-Zd4X54Mu9SBfPGnEcaGcOrVAYOtjT2on8QZkLKEq1S/tHexG39d9XXGZv19VfRrDjPJzFmPfTAqOQS1pfFOujw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.12.1.tgz",
+ "integrity": "sha512-cAzB+UzBIrekfYxyLlFqf/OagTvHLcVBb5vpouzkYkBclRPraiygVnafvAoipErZLI8ANv8Ecn6E/m5qPXD26w==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-jsx": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.10.4.tgz",
- "integrity": "sha512-L+MfRhWjX0eI7Js093MM6MacKU4M6dnCRa/QPDwYMxjljzSCzzlzKzj9Pk4P3OtrPcxr2N3znR419nr3Xw+65A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.1.tgz",
+ "integrity": "sha512-RmKejwnT0T0QzQUzcbP5p1VWlpnP8QHtdhEtLG55ZDQnJNalbF3eeDyu3dnGKvGzFIQiBzFhBYTwvv435p9Xpw==",
"requires": {
"@babel/helper-builder-react-jsx": "^7.10.4",
- "@babel/helper-builder-react-jsx-experimental": "^7.10.4",
+ "@babel/helper-builder-react-jsx-experimental": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/plugin-syntax-jsx": "^7.12.1"
}
},
"@babel/plugin-transform-react-jsx-development": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.11.5.tgz",
- "integrity": "sha512-cImAmIlKJ84sDmpQzm4/0q/2xrXlDezQoixy3qoz1NJeZL/8PRon6xZtluvr4H4FzwlDGI5tCcFupMnXGtr+qw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.1.tgz",
+ "integrity": "sha512-IilcGWdN1yNgEGOrB96jbTplRh+V2Pz1EoEwsKsHfX1a/L40cUYuD71Zepa7C+ujv7kJIxnDftWeZbKNEqZjCQ==",
"requires": {
- "@babel/helper-builder-react-jsx-experimental": "^7.11.5",
+ "@babel/helper-builder-react-jsx-experimental": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/plugin-syntax-jsx": "^7.12.1"
}
},
"@babel/plugin-transform-react-jsx-self": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.10.4.tgz",
- "integrity": "sha512-yOvxY2pDiVJi0axdTWHSMi5T0DILN+H+SaeJeACHKjQLezEzhLx9nEF9xgpBLPtkZsks9cnb5P9iBEi21En3gg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.12.1.tgz",
+ "integrity": "sha512-FbpL0ieNWiiBB5tCldX17EtXgmzeEZjFrix72rQYeq9X6nUK38HCaxexzVQrZWXanxKJPKVVIU37gFjEQYkPkA==",
"requires": {
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-jsx-source": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.10.5.tgz",
- "integrity": "sha512-wTeqHVkN1lfPLubRiZH3o73f4rfon42HpgxUSs86Nc+8QIcm/B9s8NNVXu/gwGcOyd7yDib9ikxoDLxJP0UiDA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.12.1.tgz",
+ "integrity": "sha512-keQ5kBfjJNRc6zZN1/nVHCd6LLIHq4aUKcVnvE/2l+ZZROSbqoiGFRtT5t3Is89XJxBQaP7NLZX2jgGHdZvvFQ==",
"requires": {
- "@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-jsx": "^7.10.4"
+ "@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-react-pure-annotations": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.10.4.tgz",
- "integrity": "sha512-+njZkqcOuS8RaPakrnR9KvxjoG1ASJWpoIv/doyWngId88JoFlPlISenGXjrVacZUIALGUr6eodRs1vmPnF23A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.12.1.tgz",
+ "integrity": "sha512-RqeaHiwZtphSIUZ5I85PEH19LOSzxfuEazoY7/pWASCAIBuATQzpSVD+eT6MebeeZT2F4eSL0u4vw6n4Nm0Mjg==",
"requires": {
"@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-regenerator": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.10.4.tgz",
- "integrity": "sha512-3thAHwtor39A7C04XucbMg17RcZ3Qppfxr22wYzZNcVIkPHfpM9J0SO8zuCV6SZa265kxBJSrfKTvDCYqBFXGw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.1.tgz",
+ "integrity": "sha512-gYrHqs5itw6i4PflFX3OdBPMQdPbF4bj2REIUxlMRUFk0/ZOAIpDFuViuxPjUL7YC8UPnf+XG7/utJvqXdPKng==",
"requires": {
"regenerator-transform": "^0.14.2"
}
},
"@babel/plugin-transform-reserved-words": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.10.4.tgz",
- "integrity": "sha512-hGsw1O6Rew1fkFbDImZIEqA8GoidwTAilwCyWqLBM9f+e/u/sQMQu7uX6dyokfOayRuuVfKOW4O7HvaBWM+JlQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.1.tgz",
+ "integrity": "sha512-pOnUfhyPKvZpVyBHhSBoX8vfA09b7r00Pmm1sH+29ae2hMTKVmSp4Ztsr8KBKjLjx17H0eJqaRC3bR2iThM54A==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-runtime": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.5.tgz",
- "integrity": "sha512-9aIoee+EhjySZ6vY5hnLjigHzunBlscx9ANKutkeWTJTx6m5Rbq6Ic01tLvO54lSusR+BxV7u4UDdCmXv5aagg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.12.1.tgz",
+ "integrity": "sha512-Ac/H6G9FEIkS2tXsZjL4RAdS3L3WHxci0usAnz7laPWUmFiGtj7tIASChqKZMHTSQTQY6xDbOq+V1/vIq3QrWg==",
"requires": {
- "@babel/helper-module-imports": "^7.10.4",
+ "@babel/helper-module-imports": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
"resolve": "^1.8.1",
"semver": "^5.5.1"
@@ -995,99 +984,99 @@
}
},
"@babel/plugin-transform-shorthand-properties": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.10.4.tgz",
- "integrity": "sha512-AC2K/t7o07KeTIxMoHneyX90v3zkm5cjHJEokrPEAGEy3UCp8sLKfnfOIGdZ194fyN4wfX/zZUWT9trJZ0qc+Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.1.tgz",
+ "integrity": "sha512-GFZS3c/MhX1OusqB1MZ1ct2xRzX5ppQh2JU1h2Pnfk88HtFTM+TWQqJNfwkmxtPQtb/s1tk87oENfXJlx7rSDw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-spread": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.11.0.tgz",
- "integrity": "sha512-UwQYGOqIdQJe4aWNyS7noqAnN2VbaczPLiEtln+zPowRNlD+79w3oi2TWfYe0eZgd+gjZCbsydN7lzWysDt+gw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.12.1.tgz",
+ "integrity": "sha512-vuLp8CP0BE18zVYjsEBZ5xoCecMK6LBMMxYzJnh01rxQRvhNhH1csMMmBfNo5tGpGO+NhdSNW2mzIvBu3K1fng==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/helper-skip-transparent-expression-wrappers": "^7.11.0"
+ "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1"
}
},
"@babel/plugin-transform-sticky-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.10.4.tgz",
- "integrity": "sha512-Ddy3QZfIbEV0VYcVtFDCjeE4xwVTJWTmUtorAJkn6u/92Z/nWJNV+mILyqHKrUxXYKA2EoCilgoPePymKL4DvQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.1.tgz",
+ "integrity": "sha512-CiUgKQ3AGVk7kveIaPEET1jNDhZZEl1RPMWdTBE1799bdz++SwqDHStmxfCtDfBhQgCl38YRiSnrMuUMZIWSUQ==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/helper-regex": "^7.10.4"
}
},
"@babel/plugin-transform-template-literals": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.10.5.tgz",
- "integrity": "sha512-V/lnPGIb+KT12OQikDvgSuesRX14ck5FfJXt6+tXhdkJ+Vsd0lDCVtF6jcB4rNClYFzaB2jusZ+lNISDk2mMMw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.12.1.tgz",
+ "integrity": "sha512-b4Zx3KHi+taXB1dVRBhVJtEPi9h1THCeKmae2qP0YdUHIFhVjtpqqNfxeVAa1xeHVhAy4SbHxEwx5cltAu5apw==",
"requires": {
- "@babel/helper-annotate-as-pure": "^7.10.4",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-typeof-symbol": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.10.4.tgz",
- "integrity": "sha512-QqNgYwuuW0y0H+kUE/GWSR45t/ccRhe14Fs/4ZRouNNQsyd4o3PG4OtHiIrepbM2WKUBDAXKCAK/Lk4VhzTaGA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.1.tgz",
+ "integrity": "sha512-EPGgpGy+O5Kg5pJFNDKuxt9RdmTgj5sgrus2XVeMp/ZIbOESadgILUbm50SNpghOh3/6yrbsH+NB5+WJTmsA7Q==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-typescript": {
- "version": "7.11.0",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.11.0.tgz",
- "integrity": "sha512-edJsNzTtvb3MaXQwj8403B7mZoGu9ElDJQZOKjGUnvilquxBA3IQoEIOvkX/1O8xfAsnHS/oQhe2w/IXrr+w0w==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.12.1.tgz",
+ "integrity": "sha512-VrsBByqAIntM+EYMqSm59SiMEf7qkmI9dqMt6RbD/wlwueWmYcI0FFK5Fj47pP6DRZm+3teXjosKlwcZJ5lIMw==",
"requires": {
- "@babel/helper-create-class-features-plugin": "^7.10.5",
+ "@babel/helper-create-class-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-syntax-typescript": "^7.10.4"
+ "@babel/plugin-syntax-typescript": "^7.12.1"
}
},
"@babel/plugin-transform-unicode-escapes": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.10.4.tgz",
- "integrity": "sha512-y5XJ9waMti2J+e7ij20e+aH+fho7Wb7W8rNuu72aKRwCHFqQdhkdU2lo3uZ9tQuboEJcUFayXdARhcxLQ3+6Fg==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.1.tgz",
+ "integrity": "sha512-I8gNHJLIc7GdApm7wkVnStWssPNbSRMPtgHdmH3sRM1zopz09UWPS4x5V4n1yz/MIWTVnJ9sp6IkuXdWM4w+2Q==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/plugin-transform-unicode-regex": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.10.4.tgz",
- "integrity": "sha512-wNfsc4s8N2qnIwpO/WP2ZiSyjfpTamT2C9V9FDH/Ljub9zw6P3SjkXcFmc0RQUt96k2fmIvtla2MMjgTwIAC+A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.1.tgz",
+ "integrity": "sha512-SqH4ClNngh/zGwHZOOQMTD+e8FGWexILV+ePMyiDJttAWRh5dhDL8rcl5lSgU3Huiq6Zn6pWTMvdPAb21Dwdyg==",
"requires": {
- "@babel/helper-create-regexp-features-plugin": "^7.10.4",
+ "@babel/helper-create-regexp-features-plugin": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4"
}
},
"@babel/preset-env": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.11.5.tgz",
- "integrity": "sha512-kXqmW1jVcnB2cdueV+fyBM8estd5mlNfaQi6lwLgRwCby4edpavgbFhiBNjmWA3JpB/yZGSISa7Srf+TwxDQoA==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.12.1.tgz",
+ "integrity": "sha512-H8kxXmtPaAGT7TyBvSSkoSTUK6RHh61So05SyEbpmr0MCZrsNYn7mGMzzeYoOUCdHzww61k8XBft2TaES+xPLg==",
"requires": {
- "@babel/compat-data": "^7.11.0",
- "@babel/helper-compilation-targets": "^7.10.4",
- "@babel/helper-module-imports": "^7.10.4",
+ "@babel/compat-data": "^7.12.1",
+ "@babel/helper-compilation-targets": "^7.12.1",
+ "@babel/helper-module-imports": "^7.12.1",
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-proposal-async-generator-functions": "^7.10.4",
- "@babel/plugin-proposal-class-properties": "^7.10.4",
- "@babel/plugin-proposal-dynamic-import": "^7.10.4",
- "@babel/plugin-proposal-export-namespace-from": "^7.10.4",
- "@babel/plugin-proposal-json-strings": "^7.10.4",
- "@babel/plugin-proposal-logical-assignment-operators": "^7.11.0",
- "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
- "@babel/plugin-proposal-numeric-separator": "^7.10.4",
- "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
- "@babel/plugin-proposal-optional-catch-binding": "^7.10.4",
- "@babel/plugin-proposal-optional-chaining": "^7.11.0",
- "@babel/plugin-proposal-private-methods": "^7.10.4",
- "@babel/plugin-proposal-unicode-property-regex": "^7.10.4",
+ "@babel/helper-validator-option": "^7.12.1",
+ "@babel/plugin-proposal-async-generator-functions": "^7.12.1",
+ "@babel/plugin-proposal-class-properties": "^7.12.1",
+ "@babel/plugin-proposal-dynamic-import": "^7.12.1",
+ "@babel/plugin-proposal-export-namespace-from": "^7.12.1",
+ "@babel/plugin-proposal-json-strings": "^7.12.1",
+ "@babel/plugin-proposal-logical-assignment-operators": "^7.12.1",
+ "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
+ "@babel/plugin-proposal-numeric-separator": "^7.12.1",
+ "@babel/plugin-proposal-object-rest-spread": "^7.12.1",
+ "@babel/plugin-proposal-optional-catch-binding": "^7.12.1",
+ "@babel/plugin-proposal-optional-chaining": "^7.12.1",
+ "@babel/plugin-proposal-private-methods": "^7.12.1",
+ "@babel/plugin-proposal-unicode-property-regex": "^7.12.1",
"@babel/plugin-syntax-async-generators": "^7.8.0",
- "@babel/plugin-syntax-class-properties": "^7.10.4",
+ "@babel/plugin-syntax-class-properties": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
"@babel/plugin-syntax-export-namespace-from": "^7.8.3",
"@babel/plugin-syntax-json-strings": "^7.8.0",
@@ -1097,45 +1086,42 @@
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
"@babel/plugin-syntax-optional-catch-binding": "^7.8.0",
"@babel/plugin-syntax-optional-chaining": "^7.8.0",
- "@babel/plugin-syntax-top-level-await": "^7.10.4",
- "@babel/plugin-transform-arrow-functions": "^7.10.4",
- "@babel/plugin-transform-async-to-generator": "^7.10.4",
- "@babel/plugin-transform-block-scoped-functions": "^7.10.4",
- "@babel/plugin-transform-block-scoping": "^7.10.4",
- "@babel/plugin-transform-classes": "^7.10.4",
- "@babel/plugin-transform-computed-properties": "^7.10.4",
- "@babel/plugin-transform-destructuring": "^7.10.4",
- "@babel/plugin-transform-dotall-regex": "^7.10.4",
- "@babel/plugin-transform-duplicate-keys": "^7.10.4",
- "@babel/plugin-transform-exponentiation-operator": "^7.10.4",
- "@babel/plugin-transform-for-of": "^7.10.4",
- "@babel/plugin-transform-function-name": "^7.10.4",
- "@babel/plugin-transform-literals": "^7.10.4",
- "@babel/plugin-transform-member-expression-literals": "^7.10.4",
- "@babel/plugin-transform-modules-amd": "^7.10.4",
- "@babel/plugin-transform-modules-commonjs": "^7.10.4",
- "@babel/plugin-transform-modules-systemjs": "^7.10.4",
- "@babel/plugin-transform-modules-umd": "^7.10.4",
- "@babel/plugin-transform-named-capturing-groups-regex": "^7.10.4",
- "@babel/plugin-transform-new-target": "^7.10.4",
- "@babel/plugin-transform-object-super": "^7.10.4",
- "@babel/plugin-transform-parameters": "^7.10.4",
- "@babel/plugin-transform-property-literals": "^7.10.4",
- "@babel/plugin-transform-regenerator": "^7.10.4",
- "@babel/plugin-transform-reserved-words": "^7.10.4",
- "@babel/plugin-transform-shorthand-properties": "^7.10.4",
- "@babel/plugin-transform-spread": "^7.11.0",
- "@babel/plugin-transform-sticky-regex": "^7.10.4",
- "@babel/plugin-transform-template-literals": "^7.10.4",
- "@babel/plugin-transform-typeof-symbol": "^7.10.4",
- "@babel/plugin-transform-unicode-escapes": "^7.10.4",
- "@babel/plugin-transform-unicode-regex": "^7.10.4",
+ "@babel/plugin-syntax-top-level-await": "^7.12.1",
+ "@babel/plugin-transform-arrow-functions": "^7.12.1",
+ "@babel/plugin-transform-async-to-generator": "^7.12.1",
+ "@babel/plugin-transform-block-scoped-functions": "^7.12.1",
+ "@babel/plugin-transform-block-scoping": "^7.12.1",
+ "@babel/plugin-transform-classes": "^7.12.1",
+ "@babel/plugin-transform-computed-properties": "^7.12.1",
+ "@babel/plugin-transform-destructuring": "^7.12.1",
+ "@babel/plugin-transform-dotall-regex": "^7.12.1",
+ "@babel/plugin-transform-duplicate-keys": "^7.12.1",
+ "@babel/plugin-transform-exponentiation-operator": "^7.12.1",
+ "@babel/plugin-transform-for-of": "^7.12.1",
+ "@babel/plugin-transform-function-name": "^7.12.1",
+ "@babel/plugin-transform-literals": "^7.12.1",
+ "@babel/plugin-transform-member-expression-literals": "^7.12.1",
+ "@babel/plugin-transform-modules-amd": "^7.12.1",
+ "@babel/plugin-transform-modules-commonjs": "^7.12.1",
+ "@babel/plugin-transform-modules-systemjs": "^7.12.1",
+ "@babel/plugin-transform-modules-umd": "^7.12.1",
+ "@babel/plugin-transform-named-capturing-groups-regex": "^7.12.1",
+ "@babel/plugin-transform-new-target": "^7.12.1",
+ "@babel/plugin-transform-object-super": "^7.12.1",
+ "@babel/plugin-transform-parameters": "^7.12.1",
+ "@babel/plugin-transform-property-literals": "^7.12.1",
+ "@babel/plugin-transform-regenerator": "^7.12.1",
+ "@babel/plugin-transform-reserved-words": "^7.12.1",
+ "@babel/plugin-transform-shorthand-properties": "^7.12.1",
+ "@babel/plugin-transform-spread": "^7.12.1",
+ "@babel/plugin-transform-sticky-regex": "^7.12.1",
+ "@babel/plugin-transform-template-literals": "^7.12.1",
+ "@babel/plugin-transform-typeof-symbol": "^7.12.1",
+ "@babel/plugin-transform-unicode-escapes": "^7.12.1",
+ "@babel/plugin-transform-unicode-regex": "^7.12.1",
"@babel/preset-modules": "^0.1.3",
- "@babel/types": "^7.11.5",
- "browserslist": "^4.12.0",
+ "@babel/types": "^7.12.1",
"core-js-compat": "^3.6.2",
- "invariant": "^2.2.2",
- "levenary": "^1.1.1",
"semver": "^5.5.0"
},
"dependencies": {
@@ -1159,40 +1145,40 @@
}
},
"@babel/preset-react": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.10.4.tgz",
- "integrity": "sha512-BrHp4TgOIy4M19JAfO1LhycVXOPWdDbTRep7eVyatf174Hff+6Uk53sDyajqZPu8W1qXRBiYOfIamek6jA7YVw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.12.1.tgz",
+ "integrity": "sha512-euCExymHCi0qB9u5fKw7rvlw7AZSjw/NaB9h7EkdTt5+yHRrXdiRTh7fkG3uBPpJg82CqLfp1LHLqWGSCrab+g==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-transform-react-display-name": "^7.10.4",
- "@babel/plugin-transform-react-jsx": "^7.10.4",
- "@babel/plugin-transform-react-jsx-development": "^7.10.4",
- "@babel/plugin-transform-react-jsx-self": "^7.10.4",
- "@babel/plugin-transform-react-jsx-source": "^7.10.4",
- "@babel/plugin-transform-react-pure-annotations": "^7.10.4"
+ "@babel/plugin-transform-react-display-name": "^7.12.1",
+ "@babel/plugin-transform-react-jsx": "^7.12.1",
+ "@babel/plugin-transform-react-jsx-development": "^7.12.1",
+ "@babel/plugin-transform-react-jsx-self": "^7.12.1",
+ "@babel/plugin-transform-react-jsx-source": "^7.12.1",
+ "@babel/plugin-transform-react-pure-annotations": "^7.12.1"
}
},
"@babel/preset-typescript": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz",
- "integrity": "sha512-SdYnvGPv+bLlwkF2VkJnaX/ni1sMNetcGI1+nThF1gyv6Ph8Qucc4ZZAjM5yZcE/AKRXIOTZz7eSRDWOEjPyRQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.12.1.tgz",
+ "integrity": "sha512-hNK/DhmoJPsksdHuI/RVrcEws7GN5eamhi28JkO52MqIxU8Z0QpmiSOQxZHWOHV7I3P4UjHV97ay4TcamMA6Kw==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
- "@babel/plugin-transform-typescript": "^7.10.4"
+ "@babel/plugin-transform-typescript": "^7.12.1"
}
},
"@babel/runtime": {
- "version": "7.11.2",
- "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.2.tgz",
- "integrity": "sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.12.1.tgz",
+ "integrity": "sha512-J5AIf3vPj3UwXaAzb5j1xM4WAQDX3EMgemF8rjCP3SoW09LfRKAXQKt6CoVYl230P6iWdRcBbnLDDdnqWxZSCA==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
},
"@babel/runtime-corejs3": {
- "version": "7.11.2",
- "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.11.2.tgz",
- "integrity": "sha512-qh5IR+8VgFz83VBa6OkaET6uN/mJOhHONuy3m1sgF0CV6mXdPSEBdA7e1eUbVvyNtANjMbg22JUv71BaDXLY6A==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/runtime-corejs3/-/runtime-corejs3-7.12.1.tgz",
+ "integrity": "sha512-umhPIcMrlBZ2aTWlWjUseW9LjQKxi1dpFlQS8DzsxB//5K+u6GLTC/JliPKHsd5kJVPIU6X/Hy0YvWOYPcMxBw==",
"requires": {
"core-js-pure": "^3.0.0",
"regenerator-runtime": "^0.13.4"
@@ -1209,25 +1195,25 @@
}
},
"@babel/traverse": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.5.tgz",
- "integrity": "sha512-EjiPXt+r7LiCZXEfRpSJd+jUMnBd4/9OUv7Nx3+0u9+eimMwJmG0Q98lw4/289JCoxSE8OolDMNZaaF/JZ69WQ==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.12.1.tgz",
+ "integrity": "sha512-MA3WPoRt1ZHo2ZmoGKNqi20YnPt0B1S0GTZEPhhd+hw2KGUzBlHuVunj6K4sNuK+reEvyiPwtp0cpaqLzJDmAw==",
"requires": {
"@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.11.5",
+ "@babel/generator": "^7.12.1",
"@babel/helper-function-name": "^7.10.4",
"@babel/helper-split-export-declaration": "^7.11.0",
- "@babel/parser": "^7.11.5",
- "@babel/types": "^7.11.5",
+ "@babel/parser": "^7.12.1",
+ "@babel/types": "^7.12.1",
"debug": "^4.1.0",
"globals": "^11.1.0",
"lodash": "^4.17.19"
}
},
"@babel/types": {
- "version": "7.11.5",
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.5.tgz",
- "integrity": "sha512-bvM7Qz6eKnJVFIn+1LPtjlBFPVN5jNDc1XmN15vWe7Q3DPBufWWsLiIvUu7xW87uTG6QoggpIDnUgLQvPheU+Q==",
+ "version": "7.12.1",
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.12.1.tgz",
+ "integrity": "sha512-BzSY3NJBKM4kyatSOWh3D/JJ2O3CVzBybHWxtgxnggaxEuaSTTDqeiSb/xk9lrkw2Tbqyivw5ZU4rT+EfznQsA==",
"requires": {
"@babel/helper-validator-identifier": "^7.10.4",
"lodash": "^4.17.19",
@@ -1261,9 +1247,9 @@
}
},
"@docusaurus/core": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-2.0.0-alpha.62.tgz",
- "integrity": "sha512-6Mk9kisCx54oyvgLm74tBeNWBwwrLBNTMU0X4+xoq34QHhtyJW0/fhIZoH+/JcmIrONhAyqckF6ZAhn4rGNpVg==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/core/-/core-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-9HKqObYoyArpzSTIDguyUXm7z54bpV3dSWSc0PbKGu0Us6zP1TiOuhRDX1diFsKyvjNy7VbCe8XH8LJIdKi5dQ==",
"requires": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.1",
@@ -1275,9 +1261,9 @@
"@babel/preset-typescript": "^7.9.0",
"@babel/runtime": "^7.9.2",
"@babel/runtime-corejs3": "^7.10.4",
- "@docusaurus/types": "^2.0.0-alpha.62",
- "@docusaurus/utils": "^2.0.0-alpha.62",
- "@docusaurus/utils-validation": "^2.0.0-alpha.62",
+ "@docusaurus/types": "2.0.0-alpha.66",
+ "@docusaurus/utils": "2.0.0-alpha.66",
+ "@docusaurus/utils-validation": "2.0.0-alpha.66",
"@endiliey/static-site-generator-webpack-plugin": "^4.0.0",
"@hapi/joi": "^17.1.1",
"@svgr/webpack": "^5.4.0",
@@ -1329,11 +1315,11 @@
"serve-handler": "^6.1.3",
"shelljs": "^0.8.4",
"std-env": "^2.2.1",
- "terser-webpack-plugin": "^3.0.3",
+ "terser-webpack-plugin": "^4.1.0",
"update-notifier": "^4.1.0",
"url-loader": "^4.1.0",
"wait-file": "^1.0.5",
- "webpack": "^4.41.2",
+ "webpack": "^4.44.1",
"webpack-bundle-analyzer": "^3.6.1",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2",
@@ -1341,14 +1327,14 @@
}
},
"@docusaurus/mdx-loader": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/mdx-loader/-/mdx-loader-2.0.0-alpha.62.tgz",
- "integrity": "sha512-GUdmDM0JA/V3b94u8O9EcdtQJSJkLmXFNGiBV1ZnKSht9NLQtlGy4a7WDYf+j74Uf2YX93G0LivqhlAz3gpyng==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/mdx-loader/-/mdx-loader-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-IvtrTNeAaynEGgfCbC4CeBgO76Mu76cGogBGv8a84bYeyCOtlxOJoH6JHkJ7T/v5D6lM16qzwx5oqesZ0kZuzA==",
"requires": {
"@babel/parser": "^7.9.4",
"@babel/traverse": "^7.9.0",
- "@docusaurus/core": "^2.0.0-alpha.62",
- "@docusaurus/utils": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/utils": "2.0.0-alpha.66",
"@mdx-js/mdx": "^1.5.8",
"@mdx-js/react": "^1.5.8",
"escape-html": "^1.0.3",
@@ -1385,25 +1371,25 @@
}
},
"@docusaurus/plugin-content-blog": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.0-alpha.62.tgz",
- "integrity": "sha512-2xZCD4woduBl8zSX41zdRt1x4d4WuD5QAYTAFjd80s+gAL6P+CB/Ztoubsk9BQxLn4DWtOULfOdfF50cNsgGeA==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-voK5ZUZcUn5blIDakYNKQ42wPMZLfrZnvEJuwh/8S/W1oNbPN935NBu9vL23fHEmp9L2MGykAdaCmev0Su04yQ==",
"requires": {
- "@docusaurus/core": "^2.0.0-alpha.62",
- "@docusaurus/mdx-loader": "^2.0.0-alpha.62",
- "@docusaurus/types": "^2.0.0-alpha.62",
- "@docusaurus/utils": "^2.0.0-alpha.62",
- "@docusaurus/utils-validation": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/mdx-loader": "2.0.0-alpha.66",
+ "@docusaurus/types": "2.0.0-alpha.66",
+ "@docusaurus/utils": "2.0.0-alpha.66",
+ "@docusaurus/utils-validation": "2.0.0-alpha.66",
"@hapi/joi": "^17.1.1",
"chalk": "^3.0.0",
"feed": "^4.1.0",
"fs-extra": "^8.1.0",
"globby": "^10.0.1",
"loader-utils": "^1.2.3",
- "lodash.kebabcase": "^4.1.1",
+ "lodash": "^4.5.2",
"reading-time": "^1.2.0",
"remark-admonitions": "^1.2.1",
- "webpack": "^4.41.2"
+ "webpack": "^4.44.1"
},
"dependencies": {
"json5": {
@@ -1427,15 +1413,15 @@
}
},
"@docusaurus/plugin-content-docs": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.0-alpha.62.tgz",
- "integrity": "sha512-thZFLfwc8kPBygSY8MMmjv+y4vdhdFtF4uK4Z5cvk+ClNICHv0BVScEkz6SSafR7WEBENGAmWMFzWBinzzSnpw==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-jvFKJR7BgjIq6xdmPg+7d2DS1fBeuIfmRTtB/apgfIW8NWO5N0DRYXOj0lgpw/ICwW//o8cLbrN+jkLlzTV/eg==",
"requires": {
- "@docusaurus/core": "^2.0.0-alpha.62",
- "@docusaurus/mdx-loader": "^2.0.0-alpha.62",
- "@docusaurus/types": "^2.0.0-alpha.62",
- "@docusaurus/utils": "^2.0.0-alpha.62",
- "@docusaurus/utils-validation": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/mdx-loader": "2.0.0-alpha.66",
+ "@docusaurus/types": "2.0.0-alpha.66",
+ "@docusaurus/utils": "2.0.0-alpha.66",
+ "@docusaurus/utils-validation": "2.0.0-alpha.66",
"@hapi/joi": "17.1.1",
"chalk": "^3.0.0",
"execa": "^3.4.0",
@@ -1452,7 +1438,7 @@
"remark-admonitions": "^1.2.1",
"shelljs": "^0.8.4",
"utility-types": "^3.10.0",
- "webpack": "^4.41.2"
+ "webpack": "^4.44.1"
},
"dependencies": {
"execa": {
@@ -1519,22 +1505,22 @@
}
},
"@docusaurus/plugin-content-pages": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.0.0-alpha.62.tgz",
- "integrity": "sha512-QMzBvj2YiXp2fLgEPfQRL23JkvYE9V0eLN4Tl9TMUbFz01YlSuoMH9gMvzKeaw83LMY3ZQSxv3PUCqDnnVx40A==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-mY26Aeb/Wf+NFLy70YvXgdLTB+2iPN0SKOVKYwgg6ZN7Nm2kPwEpSVRq2iwiqlWk2G/vOM+ADm99Gxvm3kS61A==",
"requires": {
- "@docusaurus/core": "^2.0.0-alpha.62",
- "@docusaurus/mdx-loader": "^2.0.0-alpha.62",
- "@docusaurus/types": "^2.0.0-alpha.62",
- "@docusaurus/utils": "^2.0.0-alpha.62",
- "@docusaurus/utils-validation": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/mdx-loader": "2.0.0-alpha.66",
+ "@docusaurus/types": "2.0.0-alpha.66",
+ "@docusaurus/utils": "2.0.0-alpha.66",
+ "@docusaurus/utils-validation": "2.0.0-alpha.66",
"@hapi/joi": "17.1.1",
"globby": "^10.0.1",
"loader-utils": "^1.2.3",
"minimatch": "^3.0.4",
"remark-admonitions": "^1.2.1",
"slash": "^3.0.0",
- "webpack": "^4.41.2"
+ "webpack": "^4.44.1"
},
"dependencies": {
"json5": {
@@ -1558,83 +1544,96 @@
}
},
"@docusaurus/plugin-debug": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-debug/-/plugin-debug-2.0.0-alpha.62.tgz",
- "integrity": "sha512-eXNSQUgQtoCv9xtu35cS391PdHIofu+uJqtkaEGlN8KvRygRxOw1JA/QC8MBFs/vjI1dzHN5VLE6CjmK9ZFI2w==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-debug/-/plugin-debug-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-9AZaEUxaY0CDOCWXQMfY3TzG79HkquZlVeJOZaA6IvCoK/Oq3B58TMNLiQyA6TA2DYf5ZYQorLJaMd02x5qBQw==",
"requires": {
- "@docusaurus/types": "^2.0.0-alpha.62",
- "@docusaurus/utils": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/types": "2.0.0-alpha.66",
+ "@docusaurus/utils": "2.0.0-alpha.66",
"react-json-view": "^1.19.1"
}
},
"@docusaurus/plugin-google-analytics": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.0.0-alpha.62.tgz",
- "integrity": "sha512-3Niw4BT9oPwadE/Hh6pX+YqlnAn0zfFxEktNbN/EZEpMLmC3CmV/KyKvdEIBcT+vPXrNC51uSUC5sAdgI48d8Q=="
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-HVWRLHtlQYpVqH3MHloUmktJMXt7oMDQzBlKzrwAMiWUK1oXFX35DrKjTt2SE2SADpObnwWFjo0E71YT0ApQLw==",
+ "requires": {
+ "@docusaurus/core": "2.0.0-alpha.66"
+ }
},
"@docusaurus/plugin-google-gtag": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.0.0-alpha.62.tgz",
- "integrity": "sha512-CCfOAtrAzTLEcwvvZgVS9Iiivl43n8972CCZOkXE2+eCcNUrisygrP8+qFEq6TtgNwqO68bz4ceVb9zcu7CCig=="
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-MVnzApLSQaC38nVS+A/WkXEV4kHeX6Q/KM2DqkLeovNWLBtkQ0aHL3bvn1clAEmB33Pia0v93mzG+I1+9mrquA==",
+ "requires": {
+ "@docusaurus/core": "2.0.0-alpha.66"
+ }
},
"@docusaurus/plugin-sitemap": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.0.0-alpha.62.tgz",
- "integrity": "sha512-SUkI2NabQjYlVcRckpbCMH+6lzOV//MRB9k13u9XpPrOLho7X4BabPywQ1x3mAeiDL647YMTxPTWZELoE1vvaA==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-ztDevVIREyq8g+QhSGpDqscVqtubcPnEE3a4JwWSALQ2D6JscIxg897axwZSZNUMxrHBuXRjOEYOtVb/O/stVg==",
"requires": {
- "@docusaurus/types": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/types": "2.0.0-alpha.66",
"@hapi/joi": "17.1.1",
"fs-extra": "^8.1.0",
"sitemap": "^3.2.2"
}
},
"@docusaurus/preset-classic": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/preset-classic/-/preset-classic-2.0.0-alpha.62.tgz",
- "integrity": "sha512-DT5JCePMMZ7c5be5FLRqzcEF/ipDbAYsZ+Hfgdh2+gVamM+rlnrUWx21luSa05legTrmrT7Ju3MDm4JhVnVtkg==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/preset-classic/-/preset-classic-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-FjxjchzUS6vOUSr9Pc5kqOSQAnc+cAYsR4pTlqwD2uOJcZMr2vQ6jeKbJnhEmUYwAvzdKOVnCndnxbA+Ii8L3w==",
"requires": {
- "@docusaurus/plugin-content-blog": "^2.0.0-alpha.62",
- "@docusaurus/plugin-content-docs": "^2.0.0-alpha.62",
- "@docusaurus/plugin-content-pages": "^2.0.0-alpha.62",
- "@docusaurus/plugin-debug": "^2.0.0-alpha.62",
- "@docusaurus/plugin-google-analytics": "^2.0.0-alpha.62",
- "@docusaurus/plugin-google-gtag": "^2.0.0-alpha.62",
- "@docusaurus/plugin-sitemap": "^2.0.0-alpha.62",
- "@docusaurus/theme-classic": "^2.0.0-alpha.62",
- "@docusaurus/theme-search-algolia": "^2.0.0-alpha.62"
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/plugin-content-blog": "2.0.0-alpha.66",
+ "@docusaurus/plugin-content-docs": "2.0.0-alpha.66",
+ "@docusaurus/plugin-content-pages": "2.0.0-alpha.66",
+ "@docusaurus/plugin-debug": "2.0.0-alpha.66",
+ "@docusaurus/plugin-google-analytics": "2.0.0-alpha.66",
+ "@docusaurus/plugin-google-gtag": "2.0.0-alpha.66",
+ "@docusaurus/plugin-sitemap": "2.0.0-alpha.66",
+ "@docusaurus/theme-classic": "2.0.0-alpha.66",
+ "@docusaurus/theme-search-algolia": "2.0.0-alpha.66"
}
},
"@docusaurus/theme-classic": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-2.0.0-alpha.62.tgz",
- "integrity": "sha512-NvUzzCFhiilSJmvbP4KqjQQAM+ANO1YHrDD7GKb4G4G5JVPzNtyoMt0pCMCrXUqc64NSxO6j7AC9GGVRaMrHvQ==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-WsWqzfzA2gIF5TUMGSbiAeDeNZtKvsgymTQzalcwyhyT/QI0ywcag+03Bmjeq4H3PTC3qU+tkhddO2Rh5w/YCw==",
"requires": {
- "@docusaurus/types": "^2.0.0-alpha.62",
- "@docusaurus/utils-validation": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/plugin-content-blog": "2.0.0-alpha.66",
+ "@docusaurus/plugin-content-docs": "2.0.0-alpha.66",
+ "@docusaurus/plugin-content-pages": "2.0.0-alpha.66",
+ "@docusaurus/types": "2.0.0-alpha.66",
+ "@docusaurus/utils-validation": "2.0.0-alpha.66",
"@hapi/joi": "^17.1.1",
"@mdx-js/mdx": "^1.5.8",
"@mdx-js/react": "^1.5.8",
"@types/react-toggle": "^4.0.2",
"clsx": "^1.1.1",
"copy-text-to-clipboard": "^2.2.0",
- "infima": "0.2.0-alpha.12",
+ "infima": "0.2.0-alpha.13",
"lodash": "^4.17.19",
"parse-numeric-range": "^0.0.2",
"prism-react-renderer": "^1.1.0",
"prismjs": "^1.20.0",
"prop-types": "^15.7.2",
"react-router-dom": "^5.1.2",
- "react-toggle": "^4.1.1",
- "use-onclickoutside": "^0.3.1"
+ "react-toggle": "^4.1.1"
}
},
"@docusaurus/theme-search-algolia": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-alpha.62.tgz",
- "integrity": "sha512-ttyDSaqgMnejvSi3YYkLcEJhlVoBEeGB2fYNu6fGAAKwximax6lplP2rMQHP7mMW73SU/qG0Dut7eYh4+NrnRA==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-5k/Fwt81Gyjv9vPE+gO8mraEHx5IqEmHLwqld5yXj7yix5XrxywkaanHqC0cFJG4MFUBgF6vNjJC8CtfLnT4Tw==",
"requires": {
"@docsearch/react": "^1.0.0-alpha.27",
- "@docusaurus/utils": "^2.0.0-alpha.62",
+ "@docusaurus/core": "2.0.0-alpha.66",
+ "@docusaurus/utils": "2.0.0-alpha.66",
"@hapi/joi": "^17.1.1",
"algoliasearch": "^4.0.0",
"algoliasearch-helper": "^3.1.1",
@@ -1644,9 +1643,9 @@
}
},
"@docusaurus/types": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-2.0.0-alpha.62.tgz",
- "integrity": "sha512-Gzx5SKt/sqcUXzLPDuFuTZNqs1jfoO3Q4L+ZRVIj3/yai5bbmIDJqRZlfeGkAFPyhFWSBfakwAM1MvJR/3/KWQ==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/types/-/types-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-Zd2Kguw0+3faifr83ruIV4i/+KqfqM+zK3DpqCBxdtkP+ORLKbgsIQ48fJ40OOhQrvl38Ay4E+1w7USrrkj4Qg==",
"requires": {
"@types/webpack": "^4.41.0",
"commander": "^4.0.1",
@@ -1655,9 +1654,9 @@
}
},
"@docusaurus/utils": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/utils/-/utils-2.0.0-alpha.62.tgz",
- "integrity": "sha512-71sw0xycKYupxyYtZmQr0he5me15DgNSHW12Yd50QM27SCGct8Gki1nASvFcFqeLbd0gqnXm7nV5Jk5XWTokHw==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/utils/-/utils-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-47jGB+Z3YVM6Xf1hxyNbJLMmc1qoTLmfwSf7NseKSkpjucbc5Ueivr+oVYp5yWoZw5sT5bObmdJYfJoD/RrbOg==",
"requires": {
"escape-string-regexp": "^2.0.0",
"fs-extra": "^8.1.0",
@@ -1675,10 +1674,11 @@
}
},
"@docusaurus/utils-validation": {
- "version": "2.0.0-alpha.62",
- "resolved": "https://registry.npmjs.org/@docusaurus/utils-validation/-/utils-validation-2.0.0-alpha.62.tgz",
- "integrity": "sha512-YTr1qF6yDn0aIN7gfx7Emy5oGZ2mbk81T9E37zcZdiXpRfY5lOt8HSWhd4qfe9u1kYSZX+zqEytWl79VV3aMWw==",
+ "version": "2.0.0-alpha.66",
+ "resolved": "https://registry.npmjs.org/@docusaurus/utils-validation/-/utils-validation-2.0.0-alpha.66.tgz",
+ "integrity": "sha512-vlenwY3THondey21x1qAUZyDz9qiG7ec2CBM9HgY1Ns8XhrKah9zz7TEGXjqM9lhqMQQRkvcCcveti9EXR0fcA==",
"requires": {
+ "@docusaurus/utils": "2.0.0-alpha.66",
"@hapi/joi": "17.1.1",
"chalk": "^3.0.0"
}
@@ -1724,9 +1724,9 @@
"integrity": "sha512-V87P8fv7PI0LH7LiVi8Lkf3x+KCO7pQozXRssAHNXXL9L1K+uyu4XypLXwxqVDKgyQai6qj3/KteNlrqDx4W5A=="
},
"@hapi/hoek": {
- "version": "9.0.4",
- "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.0.4.tgz",
- "integrity": "sha512-EwaJS7RjoXUZ2cXXKZZxZqieGtc7RbvQhUy8FwDoMQtxWVi14tFjeFCYPZAM1mBCpOpiBpyaZbb9NeHc7eGKgw=="
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.1.0.tgz",
+ "integrity": "sha512-i9YbZPN3QgfighY/1X1Pu118VUz2Fmmhd6b2n0/O8YVgGGfw0FbUYoA97k7FkpGJ+pLCFEDLUmAPPV4D1kpeFw=="
},
"@hapi/joi": {
"version": "17.1.1",
@@ -1771,44 +1771,44 @@
}
},
"@mdx-js/mdx": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.16.tgz",
- "integrity": "sha512-jnYyJ0aCafCIehn3GjYcibIapaLBgs3YkoenNQBPcPFyyuUty7B3B07OE+pMllhJ6YkWeP/R5Ax19x0nqTzgJw==",
+ "version": "1.6.19",
+ "resolved": "https://registry.npmjs.org/@mdx-js/mdx/-/mdx-1.6.19.tgz",
+ "integrity": "sha512-L3eLhEFnV/2bcb9XwOegsRmLHd1oEDQPtTBVezhptQ5U1YM+/WQNzx1apjzVTAyukwOanUXnTUMjRUtqJNgFCg==",
"requires": {
- "@babel/core": "7.10.5",
+ "@babel/core": "7.11.6",
"@babel/plugin-syntax-jsx": "7.10.4",
"@babel/plugin-syntax-object-rest-spread": "7.8.3",
- "@mdx-js/util": "1.6.16",
- "babel-plugin-apply-mdx-type-prop": "1.6.16",
- "babel-plugin-extract-import-names": "1.6.16",
+ "@mdx-js/util": "1.6.19",
+ "babel-plugin-apply-mdx-type-prop": "1.6.19",
+ "babel-plugin-extract-import-names": "1.6.19",
"camelcase-css": "2.0.1",
"detab": "2.0.3",
- "hast-util-raw": "6.0.0",
+ "hast-util-raw": "6.0.1",
"lodash.uniq": "4.5.0",
- "mdast-util-to-hast": "9.1.0",
- "remark-footnotes": "1.0.0",
- "remark-mdx": "1.6.16",
+ "mdast-util-to-hast": "9.1.1",
+ "remark-footnotes": "2.0.0",
+ "remark-mdx": "1.6.19",
"remark-parse": "8.0.3",
"remark-squeeze-paragraphs": "4.0.0",
"style-to-object": "0.3.0",
- "unified": "9.1.0",
+ "unified": "9.2.0",
"unist-builder": "2.0.3",
"unist-util-visit": "2.0.3"
},
"dependencies": {
"@babel/core": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.5.tgz",
- "integrity": "sha512-O34LQooYVDXPl7QWCdW9p4NR+QlzOr7xShPPJz8GsuCU3/8ua/wqTr7gmnxXv+WBESiGU/G5s16i6tUvHkNb+w==",
+ "version": "7.11.6",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.6.tgz",
+ "integrity": "sha512-Wpcv03AGnmkgm6uS6k8iwhIwTrcP0m17TL1n1sy7qD0qelDu4XNeW0dN0mHfa+Gei211yDaLoEe/VlbXQzM4Bg==",
"requires": {
"@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.10.5",
- "@babel/helper-module-transforms": "^7.10.5",
+ "@babel/generator": "^7.11.6",
+ "@babel/helper-module-transforms": "^7.11.0",
"@babel/helpers": "^7.10.4",
- "@babel/parser": "^7.10.5",
+ "@babel/parser": "^7.11.5",
"@babel/template": "^7.10.4",
- "@babel/traverse": "^7.10.5",
- "@babel/types": "^7.10.5",
+ "@babel/traverse": "^7.11.5",
+ "@babel/types": "^7.11.5",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.1",
@@ -1819,27 +1819,30 @@
"source-map": "^0.5.0"
}
},
+ "@babel/plugin-syntax-jsx": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz",
+ "integrity": "sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ }
+ },
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
}
}
},
"@mdx-js/react": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.16.tgz",
- "integrity": "sha512-+FhuSVOPo7+4fZaRwWuCSRUcZkJOkZu0rfAbBKvoCg1LWb1Td8Vzi0DTLORdSvgWNbU6+EL40HIgwTOs00x2Jw=="
+ "version": "1.6.19",
+ "resolved": "https://registry.npmjs.org/@mdx-js/react/-/react-1.6.19.tgz",
+ "integrity": "sha512-RS37Tagqyp2R0XFPoUZeSbZC5uJQRPhqOHWeT1LEwxESjMWb3VORHz7E827ldeQr3UW6VEQEyq/THegu+bLj6A=="
},
"@mdx-js/util": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.16.tgz",
- "integrity": "sha512-SFtLGIGZummuyMDPRL5KdmpgI8U19Ble28UjEWihPjGxF1Lgj8aDjLWY8KiaUy9eqb9CKiVCqEIrK9jbnANfkw=="
+ "version": "1.6.19",
+ "resolved": "https://registry.npmjs.org/@mdx-js/util/-/util-1.6.19.tgz",
+ "integrity": "sha512-bkkQNSHz3xSr3KRHUQ2Qk2XhewvvXAOUqjIUKwcQuL4ijOA4tUHZfUgXExi5CpMysrX7izcsyICtXjZHlfJUjg=="
},
"@mrmlnc/readdir-enhanced": {
"version": "2.2.1",
@@ -2015,11 +2018,6 @@
"resolved": "https://registry.npmjs.org/@types/anymatch/-/anymatch-1.3.1.tgz",
"integrity": "sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA=="
},
- "@types/color-name": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
- "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ=="
- },
"@types/glob": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz",
@@ -2038,9 +2036,9 @@
}
},
"@types/html-minifier-terser": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.0.tgz",
- "integrity": "sha512-iYCgjm1dGPRuo12+BStjd1HiVQqhlRhWDOQigNxn023HcjnhsiFz9pc6CzJj4HwDCSQca9bxTL4PxJDbkdm3PA=="
+ "version": "5.1.1",
+ "resolved": "https://registry.npmjs.org/@types/html-minifier-terser/-/html-minifier-terser-5.1.1.tgz",
+ "integrity": "sha512-giAlZwstKbmvMk1OO7WXSj4OZ0keXAcl2TQq4LWHiiPH2ByaH7WeUzng+Qej8UPxxv+8lRTuouo0iaNDBuzIBA=="
},
"@types/json-schema": {
"version": "7.0.6",
@@ -2061,9 +2059,9 @@
"integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA=="
},
"@types/node": {
- "version": "14.6.2",
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.6.2.tgz",
- "integrity": "sha512-onlIwbaeqvZyniGPfdw/TEhKIh79pz66L1q06WUQqJLnAb6wbjvOtepLYTGHTqzdXgBYIE3ZdmqHDGsRsbBz7A=="
+ "version": "14.14.6",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.6.tgz",
+ "integrity": "sha512-6QlRuqsQ/Ox/aJEQWBEJG7A9+u7oSYl3mem/K8IzxXG/kAGbV1YPD9Bg9Zw3vyxC/YP+zONKwy8hGkSt1jxFMw=="
},
"@types/parse-json": {
"version": "4.0.0",
@@ -2086,9 +2084,9 @@
"integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="
},
"@types/react": {
- "version": "16.9.49",
- "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.49.tgz",
- "integrity": "sha512-DtLFjSj0OYAdVLBbyjhuV9CdGVHCkHn2R+xr3XkBvK2rS1Y1tkc14XSGjYgm5Fjjr90AxH9tiSzc1pCFMGO06g==",
+ "version": "16.9.55",
+ "resolved": "https://registry.npmjs.org/@types/react/-/react-16.9.55.tgz",
+ "integrity": "sha512-6KLe6lkILeRwyyy7yG9rULKJ0sXplUsl98MGoCfpteXf9sPWFWWMknDcsvubcpaTdBuxtsLF6HDUwdApZL/xIg==",
"requires": {
"@types/prop-types": "*",
"csstype": "^3.0.2"
@@ -2113,11 +2111,18 @@
"integrity": "sha512-W+bw9ds02rAQaMvaLYxAbJ6cvguW/iJXNT6lTssS1ps6QdrMKttqEAMEG/b5CR8TZl3/L7/lH0ZV5nNR1LXikA=="
},
"@types/uglify-js": {
- "version": "3.9.3",
- "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.9.3.tgz",
- "integrity": "sha512-KswB5C7Kwduwjj04Ykz+AjvPcfgv/37Za24O2EDzYNbwyzOo8+ydtvzUfZ5UMguiVu29Gx44l1A6VsPPcmYu9w==",
+ "version": "3.11.1",
+ "resolved": "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.11.1.tgz",
+ "integrity": "sha512-7npvPKV+jINLu1SpSYVWG8KvyJBhBa8tmzMMdDoVc2pWUYHN8KIXlPJhjJ4LT97c4dXJA2SHL/q6ADbDriZN+Q==",
"requires": {
"source-map": "^0.6.1"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
}
},
"@types/unist": {
@@ -2126,9 +2131,9 @@
"integrity": "sha512-FvUupuM3rlRsRtCN+fDudtmytGO6iHJuuRKS1Ss0pG5z8oX0diNEw94UEL7hgDbpN94rgaK5R7sWm6RrSkZuAQ=="
},
"@types/webpack": {
- "version": "4.41.21",
- "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.21.tgz",
- "integrity": "sha512-2j9WVnNrr/8PLAB5csW44xzQSJwS26aOnICsP3pSGCEdsu6KYtfQ6QJsVUKHWRnm1bL7HziJsfh5fHqth87yKA==",
+ "version": "4.41.24",
+ "resolved": "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.24.tgz",
+ "integrity": "sha512-1A0MXPwZiMOD3DPMuOKUKcpkdPo8Lq33UGggZ7xio6wJ/jV1dAu5cXDrOfGDnldUroPIRLsr/DT43/GqOA4RFQ==",
"requires": {
"@types/anymatch": "*",
"@types/node": "*",
@@ -2136,12 +2141,19 @@
"@types/uglify-js": "*",
"@types/webpack-sources": "*",
"source-map": "^0.6.0"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
}
},
"@types/webpack-sources": {
- "version": "1.4.2",
- "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-1.4.2.tgz",
- "integrity": "sha512-77T++JyKow4BQB/m9O96n9d/UUHWLQHlcqXb9Vsf4F1+wKNrrlWNFPDLKNT92RJnCSL6CieTc+NDXtCVZswdTw==",
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.0.0.tgz",
+ "integrity": "sha512-a5kPx98CNFRKQ+wqawroFunvFqv7GHm/3KOI52NY9xWADgc8smu4R6prt4EU/M4QfVjvgBkMqU4fBhw3QfMVkg==",
"requires": {
"@types/node": "*",
"@types/source-list-map": "*",
@@ -2332,9 +2344,9 @@
}
},
"acorn": {
- "version": "6.4.1",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
- "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA=="
+ "version": "6.4.2",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz",
+ "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ=="
},
"acorn-walk": {
"version": "7.2.0",
@@ -2356,9 +2368,9 @@
}
},
"ajv": {
- "version": "6.12.4",
- "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz",
- "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==",
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
"requires": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
@@ -2377,24 +2389,24 @@
"integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ=="
},
"algoliasearch": {
- "version": "4.4.0",
- "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-4.4.0.tgz",
- "integrity": "sha512-Ag3wxe/nSodNl/1KbHibtkh7TNLptKE300/wnGVtszRjXivaWD6333nUpCumrYObHym/fHMHyLcmQYezXbAIWQ==",
+ "version": "4.5.1",
+ "resolved": "https://registry.npmjs.org/algoliasearch/-/algoliasearch-4.5.1.tgz",
+ "integrity": "sha512-b6yT1vWMlBdVObQipKxvt0M6SEvGetVj+FFFlo0Fy06gkdj6WCJaS4t10Q/hC3I2VG9QmpCqlK3Esgg1y1E+uw==",
"requires": {
- "@algolia/cache-browser-local-storage": "4.4.0",
- "@algolia/cache-common": "4.4.0",
- "@algolia/cache-in-memory": "4.4.0",
- "@algolia/client-account": "4.4.0",
- "@algolia/client-analytics": "4.4.0",
- "@algolia/client-common": "4.4.0",
- "@algolia/client-recommendation": "4.4.0",
- "@algolia/client-search": "4.4.0",
- "@algolia/logger-common": "4.4.0",
- "@algolia/logger-console": "4.4.0",
- "@algolia/requester-browser-xhr": "4.4.0",
- "@algolia/requester-common": "4.4.0",
- "@algolia/requester-node-http": "4.4.0",
- "@algolia/transporter": "4.4.0"
+ "@algolia/cache-browser-local-storage": "4.5.1",
+ "@algolia/cache-common": "4.5.1",
+ "@algolia/cache-in-memory": "4.5.1",
+ "@algolia/client-account": "4.5.1",
+ "@algolia/client-analytics": "4.5.1",
+ "@algolia/client-common": "4.5.1",
+ "@algolia/client-recommendation": "4.5.1",
+ "@algolia/client-search": "4.5.1",
+ "@algolia/logger-common": "4.5.1",
+ "@algolia/logger-console": "4.5.1",
+ "@algolia/requester-browser-xhr": "4.5.1",
+ "@algolia/requester-common": "4.5.1",
+ "@algolia/requester-node-http": "4.5.1",
+ "@algolia/transporter": "4.5.1"
}
},
"algoliasearch-helper": {
@@ -2489,10 +2501,11 @@
"resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",
"integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw=="
},
- "are-passive-events-supported": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/are-passive-events-supported/-/are-passive-events-supported-1.1.1.tgz",
- "integrity": "sha512-5wnvlvB/dTbfrCvJ027Y4L4gW/6Mwoy1uFSavney0YO++GU+0e/flnjiBBwH+1kh7xNCgCOGvmJC3s32joYbww=="
+ "arg": {
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
+ "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==",
+ "dev": true
},
"argparse": {
"version": "1.0.10",
@@ -2764,12 +2777,12 @@
}
},
"babel-plugin-apply-mdx-type-prop": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.16.tgz",
- "integrity": "sha512-hjUd24Yhnr5NKtHpC2mcRBGjC6RUKGzSzjN9g5SdjT4WpL/JDlpmjyBf7vWsJJSXFvMIbzRyxF4lT9ukwOnj/w==",
+ "version": "1.6.19",
+ "resolved": "https://registry.npmjs.org/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.19.tgz",
+ "integrity": "sha512-zAuL11EaBbeNpfTqsa9xP7mkvX3V4LaEV6M9UUaI4zQtTqN5JwvDyhNsALQs5Ud7WFQSXtoqU74saTgE+rgZOw==",
"requires": {
"@babel/helper-plugin-utils": "7.10.4",
- "@mdx-js/util": "1.6.16"
+ "@mdx-js/util": "1.6.19"
}
},
"babel-plugin-css-modules-transform": {
@@ -2791,9 +2804,9 @@
}
},
"babel-plugin-extract-import-names": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.16.tgz",
- "integrity": "sha512-Da6Ra0sbA/1Iavli8LdMbTjyrsOPaxMm4lrKl8VJN4sJI5F64qy2EpLj3+5INLvNPfW4ddwpStbfP3Rf3jIgcw==",
+ "version": "1.6.19",
+ "resolved": "https://registry.npmjs.org/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.19.tgz",
+ "integrity": "sha512-5kbSEhQdg1ybR9OnxybbyR1PXw51z6T6ZCtX3vYSU6t1pC/+eBlSzWXyU2guStbwQgJyxS+mHWSNnL7PUdzAlw==",
"requires": {
"@babel/helper-plugin-utils": "7.10.4"
}
@@ -3096,14 +3109,14 @@
}
},
"browserslist": {
- "version": "4.14.0",
- "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.0.tgz",
- "integrity": "sha512-pUsXKAF2lVwhmtpeA3LJrZ76jXuusrNyhduuQs7CDFf9foT4Y38aQOserd2lMe5DSSrjf3fx34oHwryuvxAUgQ==",
+ "version": "4.14.5",
+ "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.14.5.tgz",
+ "integrity": "sha512-Z+vsCZIvCBvqLoYkBFTwEYH3v5MCQbsAjp50ERycpOjnPmolg1Gjy4+KaWWpm8QOJt9GHkhdqAl14NpCX73CWA==",
"requires": {
- "caniuse-lite": "^1.0.30001111",
- "electron-to-chromium": "^1.3.523",
- "escalade": "^3.0.2",
- "node-releases": "^1.1.60"
+ "caniuse-lite": "^1.0.30001135",
+ "electron-to-chromium": "^1.3.571",
+ "escalade": "^3.1.0",
+ "node-releases": "^1.1.61"
}
},
"buffer": {
@@ -3359,9 +3372,9 @@
}
},
"camelcase": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz",
- "integrity": "sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w=="
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.0.tgz",
+ "integrity": "sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg=="
},
"camelcase-css": {
"version": "2.0.1",
@@ -3380,14 +3393,14 @@
}
},
"caniuse-lite": {
- "version": "1.0.30001122",
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001122.tgz",
- "integrity": "sha512-pxjw28CThdrqfz06nJkpAc5SXM404TXB/h5f4UJX+rrXJKE/1bu/KAILc2AY+O6cQIFtRjV9qOR2vaEp9LDGUA=="
+ "version": "1.0.30001154",
+ "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001154.tgz",
+ "integrity": "sha512-y9DvdSti8NnYB9Be92ddMZQrcOe04kcQtcxtBx4NkB04+qZ+JUWotnXBJTmxlKudhxNTQ3RRknMwNU2YQl/Org=="
},
"ccount": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.0.5.tgz",
- "integrity": "sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw=="
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-1.1.0.tgz",
+ "integrity": "sha512-vlNK021QdI7PNeiUh/lKkC/mNHHfV0m/Ad5JoI0TYtlBnJAslM/JIkm/tGC88bkLIwO6OQ5uV6ztS6kVAtCDlg=="
},
"chalk": {
"version": "3.0.0",
@@ -3399,11 +3412,10 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -3484,9 +3496,9 @@
}
},
"chokidar": {
- "version": "3.4.2",
- "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.2.tgz",
- "integrity": "sha512-IZHaDeBeI+sZJRX7lGcXsdzgvZqKv6sECqsbErJA4mHWfpRrD8B97kSFN4cQz6nGBGiuFia1MKR4d6c1o8Cv7A==",
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.4.3.tgz",
+ "integrity": "sha512-DtM3g7juCXQxFVSNPNByEC2+NImtBuxQQvWlHunpJIS5Ocr0lG306cC7FCi7cEA0fzmybPUIl4txBIobk1gGOQ==",
"requires": {
"anymatch": "~3.1.1",
"braces": "~3.0.2",
@@ -3495,7 +3507,7 @@
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
"normalize-path": "~3.0.0",
- "readdirp": "~3.4.0"
+ "readdirp": "~3.5.0"
}
},
"chownr": {
@@ -3557,6 +3569,13 @@
"integrity": "sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==",
"requires": {
"source-map": "~0.6.0"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
}
},
"clean-stack": {
@@ -3687,12 +3706,12 @@
}
},
"color": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/color/-/color-3.1.2.tgz",
- "integrity": "sha512-vXTJhHebByxZn3lDvDJYw4lR5+uB3vuoHsuYA5AKuxRVn5wzzIfQKGLBmgdVRHKTJYeK5rvJcHnrd0Li49CFpg==",
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/color/-/color-3.1.3.tgz",
+ "integrity": "sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==",
"requires": {
"color-convert": "^1.9.1",
- "color-string": "^1.5.2"
+ "color-string": "^1.5.4"
}
},
"color-convert": {
@@ -3709,9 +3728,9 @@
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"color-string": {
- "version": "1.5.3",
- "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz",
- "integrity": "sha512-dC2C5qeWoYkxki5UAXapdjqO672AM4vZuPGRQfO8b5HKuKGBbKWpITyDYN7TOFKvRW7kOgAn3746clDBMDJyQw==",
+ "version": "1.5.4",
+ "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.4.tgz",
+ "integrity": "sha512-57yF5yt8Xa3czSEW1jfQDE79Idk0+AkN/4KWad6tbdxUmAs3MvjxlWSWD4deYytcRfoZ9nhKyFl1kj5tBvidbw==",
"requires": {
"color-name": "^1.0.0",
"simple-swizzle": "^0.2.2"
@@ -3932,9 +3951,9 @@
"integrity": "sha512-WRvoIdnTs1rgPMkgA2pUOa/M4Enh2uzCwdKsOMYNAJiz/4ZvEJgmbF4OmninPmlFdAWisfeh0tH+Cpf7ni3RqQ=="
},
"copy-webpack-plugin": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.1.0.tgz",
- "integrity": "sha512-aWjIuLt1OVQxaDVffnt3bnGmLA8zGgAJaFwPA+a+QYVPh1vhIKjVfh3SbOFLV0kRPvGBITbw17n5CsmiBS4LQQ==",
+ "version": "6.2.1",
+ "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-6.2.1.tgz",
+ "integrity": "sha512-VH2ZTMIBsx4p++Lmpg77adZ0KUyM5gFR/9cuTrbneNnJlcQXUFvsNariPqq2dq2kV3F2skHiDGPQCyKWy1+U0Q==",
"requires": {
"cacache": "^15.0.5",
"fast-glob": "^3.2.4",
@@ -3944,8 +3963,8 @@
"loader-utils": "^2.0.0",
"normalize-path": "^3.0.0",
"p-limit": "^3.0.2",
- "schema-utils": "^2.7.1",
- "serialize-javascript": "^4.0.0",
+ "schema-utils": "^3.0.0",
+ "serialize-javascript": "^5.0.1",
"webpack-sources": "^1.4.3"
},
"dependencies": {
@@ -4035,6 +4054,16 @@
"requires": {
"find-up": "^4.0.0"
}
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
}
}
},
@@ -4348,6 +4377,12 @@
"icss-replace-symbols": "^1.1.0",
"postcss": "^6.0.1"
}
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
}
}
},
@@ -4392,13 +4427,15 @@
"requires": {
"mdn-data": "2.0.4",
"source-map": "^0.6.1"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
}
},
- "css-unit-converter": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.2.tgz",
- "integrity": "sha512-IiJwMC8rdZE0+xiEZHeru6YoONC4rfPMqGm2W85jMIbkFvv5nFTwJVFHam2eFrN6txmoUYFAFXiv8ICVeTO0MA=="
- },
"css-what": {
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz",
@@ -4522,33 +4559,38 @@
"integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q=="
},
"csso": {
- "version": "4.0.3",
- "resolved": "https://registry.npmjs.org/csso/-/csso-4.0.3.tgz",
- "integrity": "sha512-NL3spysxUkcrOgnpsT4Xdl2aiEiBG6bXswAABQVHcMrfjjBisFOKwLDOmf4wf32aPdcJws1zds2B0Rg+jqMyHQ==",
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/csso/-/csso-4.1.0.tgz",
+ "integrity": "sha512-h+6w/W1WqXaJA4tb1dk7r5tVbOm97MsKxzwnvOR04UQ6GILroryjMWu3pmCCtL2mLaEStQ0fZgeGiy99mo7iyg==",
"requires": {
- "css-tree": "1.0.0-alpha.39"
+ "css-tree": "^1.0.0"
},
"dependencies": {
"css-tree": {
- "version": "1.0.0-alpha.39",
- "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.39.tgz",
- "integrity": "sha512-7UvkEYgBAHRG9Nt980lYxjsTrCyHFN53ky3wVsDkiMdVqylqRt+Zc+jm5qw7/qyOvN2dHSYtX0e4MbCCExSvnA==",
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0.tgz",
+ "integrity": "sha512-CdVYz/Yuqw0VdKhXPBIgi8DO3NicJVYZNWeX9XcIuSp9ZoFT5IcleVRW07O5rMjdcx1mb+MEJPknTTEW7DdsYw==",
"requires": {
- "mdn-data": "2.0.6",
+ "mdn-data": "2.0.12",
"source-map": "^0.6.1"
}
},
"mdn-data": {
- "version": "2.0.6",
- "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.6.tgz",
- "integrity": "sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA=="
+ "version": "2.0.12",
+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.12.tgz",
+ "integrity": "sha512-ULbAlgzVb8IqZ0Hsxm6hHSlQl3Jckst2YEQS7fODu9ilNWy2LvcoSY7TRFIktABP2mdppBioc66va90T+NUs8Q=="
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
}
}
},
"csstype": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.3.tgz",
- "integrity": "sha512-jPl+wbWPOWJ7SXsWyqGRk3lGecbar0Cb0OvZF/r/ZU011R4YqiRehgkQ9p4eQfo9DSDLqLL3wHwfxeJiuIsNag=="
+ "version": "3.0.4",
+ "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.4.tgz",
+ "integrity": "sha512-xc8DUsCLmjvCfoD7LTGE0ou2MIWLx0K9RCZwSHMOdynqRsP4MtUcLeqh1HcQ2dInwDTqn+3CE0/FZh1et+p4jA=="
},
"cyclist": {
"version": "1.0.1",
@@ -4847,11 +4889,11 @@
}
},
"debug": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
- "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.2.0.tgz",
+ "integrity": "sha512-IX2ncY78vDTjZMFUdmsvIRFY2Cf4FnD0wRs+nQwJU8Lu99/tPFdb0VybiiMTPe3I6rQmwsqQqRBvxU+bZ/I8sg==",
"requires": {
- "ms": "^2.1.1"
+ "ms": "2.1.2"
}
},
"decamelize": {
@@ -4859,11 +4901,6 @@
"resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz",
"integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA="
},
- "decimal.js-light": {
- "version": "2.5.0",
- "resolved": "https://registry.npmjs.org/decimal.js-light/-/decimal.js-light-2.5.0.tgz",
- "integrity": "sha512-b3VJCbd2hwUpeRGG3Toob+CRo8W22xplipNhP3tN7TSVB/cyMX71P1vM2Xjc9H74uV6dS2hDDmo/rHq8L87Upg=="
- },
"decode-uri-component": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz",
@@ -5041,6 +5078,12 @@
}
}
},
+ "diff": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
+ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
+ "dev": true
+ },
"diffie-hellman": {
"version": "5.0.3",
"resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz",
@@ -5096,14 +5139,6 @@
"utila": "~0.4"
}
},
- "dom-helpers": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz",
- "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==",
- "requires": {
- "@babel/runtime": "^7.1.2"
- }
- },
"dom-serializer": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz",
@@ -5150,9 +5185,9 @@
}
},
"dot-prop": {
- "version": "5.2.0",
- "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.2.0.tgz",
- "integrity": "sha512-uEUyaDKoSQ1M4Oq8l45hSE26SnTxL6snNnqvK/VWx5wJhmff5z0FUVJDKDanor/6w3kzE3i7XZOk+7wC0EXr1A==",
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz",
+ "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==",
"requires": {
"is-obj": "^2.0.0"
}
@@ -5213,9 +5248,9 @@
"integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA=="
},
"electron-to-chromium": {
- "version": "1.3.556",
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.556.tgz",
- "integrity": "sha512-g5cGpg6rOCXxyfaLCQIWz9Fx+raFfbZ6sc4QLfvvaiCERBzY6YD6rh5d12QN++bEF1Tm9osYnxP37lbN/92j4A=="
+ "version": "1.3.584",
+ "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.584.tgz",
+ "integrity": "sha512-NB3DzrTzJFhWkUp+nl2KtUtoFzrfGXTir2S+BU4tXGyXH9vlluPuFpE3pTKeH7+PY460tHLjKzh6K2+TWwW+Ww=="
},
"elliptic": {
"version": "6.5.3",
@@ -5357,19 +5392,20 @@
}
},
"es-abstract": {
- "version": "1.17.6",
- "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.6.tgz",
- "integrity": "sha512-Fr89bON3WFyUi5EvAeI48QTWX0AyekGgLA8H+c+7fbfCkJwRWRMLd8CQedNEyJuoYYhmtEqY92pgte1FAhBlhw==",
+ "version": "1.18.0-next.1",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.1.tgz",
+ "integrity": "sha512-I4UGspA0wpZXWENrdA0uHbnhte683t3qT/1VFH9aX2dA5PPSf6QW5HHXf5HImaqPmjXaVeVk4RGWnaylmV7uAA==",
"requires": {
"es-to-primitive": "^1.2.1",
"function-bind": "^1.1.1",
"has": "^1.0.3",
"has-symbols": "^1.0.1",
- "is-callable": "^1.2.0",
- "is-regex": "^1.1.0",
- "object-inspect": "^1.7.0",
+ "is-callable": "^1.2.2",
+ "is-negative-zero": "^2.0.0",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
"object-keys": "^1.1.1",
- "object.assign": "^4.1.0",
+ "object.assign": "^4.1.1",
"string.prototype.trimend": "^1.0.1",
"string.prototype.trimstart": "^1.0.1"
}
@@ -5385,9 +5421,9 @@
}
},
"escalade": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.0.2.tgz",
- "integrity": "sha512-gPYAU37hYCUhW5euPeR+Y74F7BL+IBsV93j5cvGriSaD1aG6MGsqsV1yamRdrWrb2j3aiZvb0X+UBOWpx3JWtQ=="
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="
},
"escape-goat": {
"version": "2.1.1",
@@ -5449,9 +5485,9 @@
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g=="
},
"eta": {
- "version": "1.2.2",
- "resolved": "https://registry.npmjs.org/eta/-/eta-1.2.2.tgz",
- "integrity": "sha512-8H+zm3HfY2ELz5P4zzR3uJ1LQLnhTAe5gb0vR9ziKZGCLhQrRtqwIyzsOkf7pdBnH7gFPLRAaKZdv2nj9vu9cw=="
+ "version": "1.11.0",
+ "resolved": "https://registry.npmjs.org/eta/-/eta-1.11.0.tgz",
+ "integrity": "sha512-lfqIE6qD55WFYT6E0phTBUe0sapHJhfvRDB7jSpXxFGwzDaP69kQqRyF7krBe8I1QzF5nE1yAByiIOLB630x4Q=="
},
"etag": {
"version": "1.8.1",
@@ -5758,9 +5794,9 @@
"dev": true
},
"fastq": {
- "version": "1.8.0",
- "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.8.0.tgz",
- "integrity": "sha512-SMIZoZdLh/fgofivvIkmknUXyPnvxRE3DhtZ5Me3Mrsk5gyPL42F0xr51TdRXskBxHfMp+07bcYzfsYEsSQA9Q==",
+ "version": "1.9.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.9.0.tgz",
+ "integrity": "sha512-i7FVWL8HhVY+CTkwFxkN2mk3h+787ixS5S63eb78diVRc1MCssarHq3W5cj0av7YDSwmaV928RNag+U1etRQ7w==",
"requires": {
"reusify": "^1.0.4"
}
@@ -5824,12 +5860,24 @@
}
},
"file-loader": {
- "version": "6.1.0",
- "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.1.0.tgz",
- "integrity": "sha512-26qPdHyTsArQ6gU4P1HJbAbnFTyT2r0pG7czh1GFAd9TZbj0n94wWbupgixZH/ET/meqi2/5+F7DhW4OAXD+Lg==",
+ "version": "6.2.0",
+ "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-6.2.0.tgz",
+ "integrity": "sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==",
"requires": {
"loader-utils": "^2.0.0",
- "schema-utils": "^2.7.1"
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
}
},
"file-uri-to-path": {
@@ -6271,9 +6319,9 @@
}
},
"gensync": {
- "version": "1.0.0-beta.1",
- "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz",
- "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg=="
+ "version": "1.0.0-beta.2",
+ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="
},
"get-caller-file": {
"version": "2.0.5",
@@ -6604,9 +6652,9 @@
"integrity": "sha512-gW3sxfynIvZApL4L07wryYF4+C9VvH3AUi7LAnVXV4MneGEgwOByXvFo18BgmTWnm7oHAe874jKbIB1YhHSIzA=="
},
"hast-util-raw": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-6.0.0.tgz",
- "integrity": "sha512-IQo6tv3bMMKxk53DljswliucCJOQxaZFCuKEJ7X80249dmJ1nA9LtOnnylsLlqTG98NjQ+iGcoLAYo9q5FRhRg==",
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-6.0.1.tgz",
+ "integrity": "sha512-ZMuiYA+UF7BXBtsTBNcLBF5HzXzkyE6MLzJnL605LKE8GJylNjGc4jjxazAHUtcwT5/CEt6afRKViYB4X66dig==",
"requires": {
"@types/hast": "^2.0.0",
"hast-util-from-parse5": "^6.0.0",
@@ -6820,9 +6868,9 @@
"integrity": "sha512-uE/TxKuyNIcx44cIWnjr/rfIATDH7ZaOMmstu0CwhFG1Dunhlp4OC6/NMbhiwoq5BpW0ubi303qnEk/PZj614w=="
},
"html-webpack-plugin": {
- "version": "4.4.1",
- "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.4.1.tgz",
- "integrity": "sha512-nEtdEIsIGXdXGG7MjTTZlmhqhpHU9pJFc1OYxcP36c5/ZKP6b0BJMww2QTvJGQYA9aMxUnjDujpZdYcVOXiBCQ==",
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.5.0.tgz",
+ "integrity": "sha512-MouoXEYSjTzCrjIxWwg8gxL5fE2X2WZJLmBYXlaJhQUH5K/b5OrqmV7T4dB7iu0xkmJ6JlUuV6fFVtnqbPopZw==",
"requires": {
"@types/html-minifier-terser": "^5.0.0",
"@types/tapable": "^1.0.5",
@@ -7076,9 +7124,9 @@
}
},
"ieee754": {
- "version": "1.1.13",
- "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
- "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg=="
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
+ "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA=="
},
"iferr": {
"version": "0.1.5",
@@ -7162,9 +7210,9 @@
"integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A=="
},
"infima": {
- "version": "0.2.0-alpha.12",
- "resolved": "https://registry.npmjs.org/infima/-/infima-0.2.0-alpha.12.tgz",
- "integrity": "sha512-in5n36oE2sdiB/1rzuzdmKyuNRMVUO9P+qUidUG8leHeDU+WMQ7oTP7MXSqtAAxduiPb7HHi0/ptQLLUr/ge4w=="
+ "version": "0.2.0-alpha.13",
+ "resolved": "https://registry.npmjs.org/infima/-/infima-0.2.0-alpha.13.tgz",
+ "integrity": "sha512-BxCZ1pMcUF0PcL4WV07l/lvaeBBdUUw7uVqNyyeGAutzDpkDyFOl5gOv9wFAJKLo5yerPNFXxFPgDitNjctqIA=="
},
"inflight": {
"version": "1.0.6",
@@ -7216,11 +7264,10 @@
"integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg=="
},
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
},
@@ -7283,14 +7330,6 @@
"resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz",
"integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA=="
},
- "invariant": {
- "version": "2.2.4",
- "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz",
- "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==",
- "requires": {
- "loose-envify": "^1.0.0"
- }
- },
"ip": {
"version": "1.1.5",
"resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz",
@@ -7367,9 +7406,9 @@
"integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w=="
},
"is-callable": {
- "version": "1.2.0",
- "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.0.tgz",
- "integrity": "sha512-pyVD9AaGLxtg6srb2Ng6ynWJqkHU9bEM087AKck0w8QwDarTfNcpIYoU8x8Hv2Icm8u6kFJM18Dag8lyqGkviw=="
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz",
+ "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA=="
},
"is-ci": {
"version": "2.0.0",
@@ -7399,6 +7438,14 @@
"rgba-regex": "^1.0.0"
}
},
+ "is-core-module": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.0.0.tgz",
+ "integrity": "sha512-jq1AH6C8MuteOoBPwkxHafmByhL9j5q4OaPGdbuD+ZtQJVzH+i6E3BJDQcBA09k57i2Hh2yQbEG8yObZ0jdlWw==",
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
"is-data-descriptor": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz",
@@ -7491,6 +7538,11 @@
"is-path-inside": "^3.0.1"
}
},
+ "is-negative-zero": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.0.tgz",
+ "integrity": "sha1-lVOxIbD6wohp2p7UWeIMdUN4hGE="
+ },
"is-npm": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/is-npm/-/is-npm-4.0.0.tgz",
@@ -7649,9 +7701,9 @@
}
},
"jest-worker": {
- "version": "26.3.0",
- "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.3.0.tgz",
- "integrity": "sha512-Vmpn2F6IASefL+DVBhPzI2J9/GJUsqzomdeN+P+dK8/jKxbh8R3BtFnx3FIta7wYlPU62cpJMJQo4kuOowcMnw==",
+ "version": "26.6.1",
+ "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.1.tgz",
+ "integrity": "sha512-R5IE3qSGz+QynJx8y+ICEkdI2OJ3RJjRQVEyCcFAd3yVhQSEtquziPO29Mlzgn07LOVE8u8jhJ1FqcwegiXWOw==",
"requires": {
"@types/node": "*",
"merge-stream": "^2.0.0",
@@ -7703,9 +7755,9 @@
"integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw=="
},
"json-parse-even-better-errors": {
- "version": "2.3.0",
- "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.0.tgz",
- "integrity": "sha512-o3aP+RsWDJZayj1SbHNQAI8x0v3T3SKiGoZlNYfbUP1S3omJQ6i9CnqADqkSPaOAxwua4/1YWx5CM7oiChJt2Q=="
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
},
"json-schema-traverse": {
"version": "0.4.1",
@@ -7783,14 +7835,6 @@
"resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz",
"integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A=="
},
- "levenary": {
- "version": "1.1.1",
- "resolved": "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz",
- "integrity": "sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==",
- "requires": {
- "leven": "^3.1.0"
- }
- },
"lines-and-columns": {
"version": "1.1.6",
"resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
@@ -7825,11 +7869,6 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA=="
},
- "lodash-es": {
- "version": "4.17.15",
- "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.15.tgz",
- "integrity": "sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ=="
- },
"lodash._reinterpolate": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
@@ -8042,6 +8081,12 @@
}
}
},
+ "make-error": {
+ "version": "1.3.6",
+ "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz",
+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
+ "dev": true
+ },
"map-cache": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz",
@@ -8087,17 +8132,14 @@
}
},
"mdast-util-to-hast": {
- "version": "9.1.0",
- "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-9.1.0.tgz",
- "integrity": "sha512-Akl2Vi9y9cSdr19/Dfu58PVwifPXuFt1IrHe7l+Crme1KvgUT+5z+cHLVcQVGCiNTZZcdqjnuv9vPkGsqWytWA==",
+ "version": "9.1.1",
+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-9.1.1.tgz",
+ "integrity": "sha512-vpMWKFKM2mnle+YbNgDXxx95vv0CoLU0v/l3F5oFAG5DV7qwkZVWA206LsAdOnEVyf5vQcLnb3cWJywu7mUxsQ==",
"requires": {
"@types/mdast": "^3.0.0",
"@types/unist": "^2.0.3",
- "collapse-white-space": "^1.0.0",
- "detab": "^2.0.0",
"mdast-util-definitions": "^3.0.0",
"mdurl": "^1.0.0",
- "trim-lines": "^1.0.0",
"unist-builder": "^2.0.0",
"unist-util-generated": "^1.0.0",
"unist-util-position": "^3.0.0",
@@ -8193,9 +8235,9 @@
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg=="
},
"mermaid": {
- "version": "8.7.0",
- "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.7.0.tgz",
- "integrity": "sha512-SkinxAY3sIdML+o5U4U7rQEIa628OEywEw+pfhc3wSVDFqLk2XNdX2j3YmkyCw3Kcbp9BXar533ei+/saYBs5g==",
+ "version": "8.8.2",
+ "resolved": "https://registry.npmjs.org/mermaid/-/mermaid-8.8.2.tgz",
+ "integrity": "sha512-Ib9jl5TMwgMKv2+vdfKZ/SIUxKYc4GMauKeV2+3BD/bU47kGbc5zv5taCY5iZR+V4hdweHKE7YOl11VGcWBy/w==",
"requires": {
"@braintree/sanitize-url": "^3.1.0",
"babel-eslint": "^10.1.0",
@@ -8275,11 +8317,11 @@
"integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ=="
},
"mini-create-react-context": {
- "version": "0.4.0",
- "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.4.0.tgz",
- "integrity": "sha512-b0TytUgFSbgFJGzJqXPKCFCBWigAjpjo+Fl7Vf7ZbKRDptszpppKxXH6DRXEABZ/gcEQczeb0iZ7JvL8e8jjCA==",
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.4.1.tgz",
+ "integrity": "sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ==",
"requires": {
- "@babel/runtime": "^7.5.5",
+ "@babel/runtime": "^7.12.1",
"tiny-warning": "^1.0.3"
}
},
@@ -8515,9 +8557,9 @@
"integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA=="
},
"nan": {
- "version": "2.14.1",
- "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.1.tgz",
- "integrity": "sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==",
+ "version": "2.14.2",
+ "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz",
+ "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==",
"optional": true
},
"nanomatch": {
@@ -8660,9 +8702,9 @@
}
},
"node-releases": {
- "version": "1.1.60",
- "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.60.tgz",
- "integrity": "sha512-gsO4vjEdQaTusZAEebUWp2a5d7dF5DYoIpDG7WySnk7BuZDW+GPpHXoXXuYawRBr/9t5q54tirPz79kFIWg4dA=="
+ "version": "1.1.65",
+ "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.65.tgz",
+ "integrity": "sha512-YpzJOe2WFIW0V4ZkJQd/DGR/zdVwc/pI4Nl1CZrBO19FdRcSTmsuhdttw9rsTzzJLrNcSloLiBbEYx1C4f6gpA=="
},
"normalize-path": {
"version": "3.0.0",
@@ -8796,12 +8838,12 @@
"integrity": "sha512-jLdtEOB112fORuypAyl/50VRVIBIdVQOSUUGQHzJ4xBSbit81zRarz7GThkEFZy1RceYrWYcPcBFPQwHyAc1gA=="
},
"object-is": {
- "version": "1.1.2",
- "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.2.tgz",
- "integrity": "sha512-5lHCz+0uufF6wZ7CRFWJN3hp8Jqblpgve06U5CMQ3f//6iDjPr2PEo9MWCjEssDsa+UZEL4PkFpr+BMop6aKzQ==",
+ "version": "1.1.3",
+ "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.3.tgz",
+ "integrity": "sha512-teyqLvFWzLkq5B9ki8FVWA902UER2qkxmdA4nLf+wjOLAWgxzCWZNCxpDq9MvE8MmhWNr+I8w3BN49Vx36Y6Xg==",
"requires": {
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "es-abstract": "^1.18.0-next.1"
}
},
"object-keys": {
@@ -8818,14 +8860,14 @@
}
},
"object.assign": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz",
- "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.1.tgz",
+ "integrity": "sha512-VT/cxmx5yaoHSOTSyrCygIDFco+RsibY2NM0a4RdEeY/4KgqezwFtK1yr3U67xYhqJSlASm2pKhLVzPj2lr4bA==",
"requires": {
- "define-properties": "^1.1.2",
- "function-bind": "^1.1.1",
- "has-symbols": "^1.0.0",
- "object-keys": "^1.0.11"
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.0",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
}
},
"object.getownpropertydescriptors": {
@@ -8835,6 +8877,26 @@
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.17.7",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
+ "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.2",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.1",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"object.pick": {
@@ -8854,6 +8916,26 @@
"es-abstract": "^1.17.0-next.1",
"function-bind": "^1.1.1",
"has": "^1.0.3"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.17.7",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
+ "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.2",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.1",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"obuf": {
@@ -8891,9 +8973,9 @@
}
},
"open": {
- "version": "7.2.1",
- "resolved": "https://registry.npmjs.org/open/-/open-7.2.1.tgz",
- "integrity": "sha512-xbYCJib4spUdmcs0g/2mK1nKo/jO2T7INClWd/beL7PFkXRWgr8B23ssDHX/USPn2M2IjDR5UdpYs6I67SnTSA==",
+ "version": "7.3.0",
+ "resolved": "https://registry.npmjs.org/open/-/open-7.3.0.tgz",
+ "integrity": "sha512-mgLwQIx2F/ye9SmbrUkurZCnkoXyXyu9EbHtJZrICjVAJfyMArdHp3KkixGdZx1ZHFPNIwl0DDM1dFFqXbTLZw==",
"requires": {
"is-docker": "^2.0.0",
"is-wsl": "^2.1.1"
@@ -9182,11 +9264,6 @@
"sha.js": "^2.4.8"
}
},
- "performance-now": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
- "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
- },
"picomatch": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz",
@@ -9260,9 +9337,9 @@
"integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs="
},
"postcss": {
- "version": "7.0.32",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz",
- "integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==",
+ "version": "7.0.35",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",
+ "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",
"requires": {
"chalk": "^2.4.2",
"source-map": "^0.6.1",
@@ -9289,6 +9366,11 @@
}
}
},
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ },
"supports-color": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",
@@ -9309,9 +9391,9 @@
}
},
"postcss-calc": {
- "version": "7.0.3",
- "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.3.tgz",
- "integrity": "sha512-IB/EAEmZhIMEIhG7Ov4x+l47UaXOS1n2f4FBUk/aKllQhtSCxWhTzn0nJgkqN7fo/jcWySvWTSB6Syk9L+31bA==",
+ "version": "7.0.5",
+ "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz",
+ "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==",
"requires": {
"postcss": "^7.0.27",
"postcss-selector-parser": "^6.0.2",
@@ -9536,9 +9618,9 @@
}
},
"postcss-font-variant": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-4.0.0.tgz",
- "integrity": "sha512-M8BFYKOvCrI2aITzDad7kWuXXTm0YhGdP9Q8HanmN4EF1Hmcgs1KK5rSHylt/lUJe8yLxiSwWAHdScoEiIxztg==",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-4.0.1.tgz",
+ "integrity": "sha512-I3ADQSTNtLTTd8uxZhtSOrTCQ9G4qUVKPjHiDk0bV75QSxXjVWiJVJ2VLdspGUi9fbW9BcjKJoRvxAH1pckqmA==",
"requires": {
"postcss": "^7.0.2"
}
@@ -9580,9 +9662,9 @@
}
},
"postcss-load-config": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.0.tgz",
- "integrity": "sha512-4pV3JJVPLd5+RueiVVB+gFOAa7GWc25XQcMp86Zexzke69mKf6Nx9LRcQywdz7yZI9n1udOxmLuAwTBypypF8Q==",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.2.tgz",
+ "integrity": "sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw==",
"requires": {
"cosmiconfig": "^5.0.0",
"import-cwd": "^2.0.0"
@@ -9861,6 +9943,12 @@
"source-map": "^0.6.1",
"supports-color": "^5.4.0"
}
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true
}
}
},
@@ -10209,13 +10297,14 @@
}
},
"postcss-selector-parser": {
- "version": "6.0.2",
- "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz",
- "integrity": "sha512-36P2QR59jDTOAiIkqEprfJDsoNrvwFei3eCqKd1Y0tUsBimsq39BLp7RD+JWny3WgB1zGhJX8XVePwm9k4wdBg==",
+ "version": "6.0.4",
+ "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz",
+ "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==",
"requires": {
"cssesc": "^3.0.0",
"indexes-of": "^1.0.1",
- "uniq": "^1.0.1"
+ "uniq": "^1.0.1",
+ "util-deprecate": "^1.0.2"
}
},
"postcss-svgo": {
@@ -10267,12 +10356,12 @@
"integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw="
},
"pretty-error": {
- "version": "2.1.1",
- "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.1.tgz",
- "integrity": "sha1-X0+HyPkeWuPzuoerTPXgOxoX8aM=",
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz",
+ "integrity": "sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==",
"requires": {
- "renderkid": "^2.0.1",
- "utila": "~0.4"
+ "lodash": "^4.17.20",
+ "renderkid": "^2.0.4"
}
},
"pretty-time": {
@@ -10286,9 +10375,9 @@
"integrity": "sha512-MgMhSdHuHymNRqD6KM3eGS0PNqgK9q4QF5P0yoQQvpB6jNjeSAi3jcSAz0Sua/t9fa4xDOMar9HJbLa08gl9ug=="
},
"prismjs": {
- "version": "1.21.0",
- "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.21.0.tgz",
- "integrity": "sha512-uGdSIu1nk3kej2iZsLyDoJ7e9bnPzIgY0naW/HdknGj61zScaprVEVGHrPoXqI+M9sP0NDnTK2jpkvmldpuqDw==",
+ "version": "1.22.0",
+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.22.0.tgz",
+ "integrity": "sha512-lLJ/Wt9yy0AiSYBf212kK3mM5L8ycwlyTlSxHBAneXLR0nzFMlZ5y7riFPF3E33zXOF2IH95xdY5jIyZbM9z/w==",
"requires": {
"clipboard": "^2.0.0"
}
@@ -10327,9 +10416,9 @@
}
},
"property-information": {
- "version": "5.5.0",
- "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.5.0.tgz",
- "integrity": "sha512-RgEbCx2HLa1chNgvChcx+rrCWD0ctBmGSE0M7lVm1yyv4UbvbrWoXp/BkVLZefzjrRBGW8/Js6uh/BnlHXFyjA==",
+ "version": "5.6.0",
+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz",
+ "integrity": "sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==",
"requires": {
"xtend": "^4.0.0"
}
@@ -10404,9 +10493,9 @@
"integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0="
},
"pupa": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.0.1.tgz",
- "integrity": "sha512-hEJH0s8PXLY/cdXh66tNEQGndDrIKNqNC5xmrysZy3i5C3oEoLna7YAOad+7u125+zH1HNXUmGEkrhb3c2VriA==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/pupa/-/pupa-2.1.1.tgz",
+ "integrity": "sha512-l1jNAspIBSFqbT+y+5FosojNpVpF94nlI+wDUpqP9enwOTfHx9f0gh5nB96vl+6yTpsJsypeNrwfzPrKuHB41A==",
"requires": {
"escape-goat": "^2.0.0"
}
@@ -10450,19 +10539,6 @@
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
},
- "raf": {
- "version": "3.4.1",
- "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz",
- "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==",
- "requires": {
- "performance-now": "^2.1.0"
- }
- },
- "raf-schd": {
- "version": "4.0.2",
- "resolved": "https://registry.npmjs.org/raf-schd/-/raf-schd-4.0.2.tgz",
- "integrity": "sha512-VhlMZmGy6A6hrkJWHLNTGl5gtgMUm+xfGza6wbwnE914yeQ5Ybm18vgM734RZhMgfw4tacUrWseGZlpUrrakEQ=="
- },
"randombytes": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz",
@@ -10508,9 +10584,9 @@
}
},
"react": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react/-/react-16.13.1.tgz",
- "integrity": "sha512-YMZQQq32xHLX0bz5Mnibv1/LHb3Sqzngu7xstSM+vrkE5Kzr9xE0yMByK5kMoTK30YVJE61WfbxIFFvfeDKT1w==",
+ "version": "16.14.0",
+ "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz",
+ "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
@@ -10933,9 +11009,9 @@
}
},
"react-dom": {
- "version": "16.13.1",
- "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.13.1.tgz",
- "integrity": "sha512-81PIMmVLnCNLO/fFOQxdQkvEq/+Hfpv24XNJfpyZhTRfO0QcmQIF/PgCa1zCOj2w1hrn12MFLyaJ/G0+Mxtfag==",
+ "version": "16.14.0",
+ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz",
+ "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
@@ -10944,9 +11020,9 @@
}
},
"react-error-overlay": {
- "version": "6.0.7",
- "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.7.tgz",
- "integrity": "sha512-TAv1KJFh3RhqxNvhzxj6LeT5NWklP6rDr2a0jaTfsZ5wSZWHOGeqQyejUp3xxLfPt2UpyJEcVQB/zyPcmonNFA=="
+ "version": "6.0.8",
+ "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-6.0.8.tgz",
+ "integrity": "sha512-HvPuUQnLp5H7TouGq3kzBeioJmXms1wHy9EGjz2OURWBp4qZO6AfGEcnxts1D/CbwPLRAgTMPCEgYhA3sEM4vw=="
},
"react-fast-compare": {
"version": "3.2.0",
@@ -10954,9 +11030,9 @@
"integrity": "sha512-rtGImPZ0YyLrscKI9xTpV8psd6I8VAtjKCzQDlzyDvqJA8XOW78TXYQwNRNd8g8JZnDu8q9Fu/1v4HPAVwVdHA=="
},
"react-from-dom": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/react-from-dom/-/react-from-dom-0.4.2.tgz",
- "integrity": "sha512-cVa4/w0xAyd/bbTu+xu2KKrGc+KDKvR8sSQKodd5pPrN03bN1V3JOLPW+PIzh698LzQ4aL1dfWXpsKx3ZkpT+A=="
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/react-from-dom/-/react-from-dom-0.5.0.tgz",
+ "integrity": "sha512-Vk0H+XW1oKrqS8bhq1ynG0zgLufUcDQ+CUwJsoYCr1WNH5LVmmfdYBoCBYLHWd1d2PBB3TolqT9gQjORt7f/YA=="
},
"react-helmet": {
"version": "6.1.0",
@@ -10970,12 +11046,12 @@
}
},
"react-inlinesvg": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/react-inlinesvg/-/react-inlinesvg-2.0.1.tgz",
- "integrity": "sha512-GJvBpqciAnxHG468CcJRS+75BmEpi1LY+sDfzlOjJ3pzCPoqvQcw7cQvESMftPq/DkkoGtsFVDJp04YdPdx5yA==",
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/react-inlinesvg/-/react-inlinesvg-2.1.1.tgz",
+ "integrity": "sha512-B4CMMuPXzWF02iX9sDeR6OuCAVgrovomg4J26E+2ltc+Zs0dPXBBrW1siBXq9NENsX1rsqPbti0L8AEMpmaVPw==",
"requires": {
"exenv": "^1.2.2",
- "react-from-dom": "^0.4.2"
+ "react-from-dom": "^0.5.0"
}
},
"react-is": {
@@ -11015,18 +11091,6 @@
"@babel/runtime": "^7.10.3"
}
},
- "react-resize-detector": {
- "version": "4.2.3",
- "resolved": "https://registry.npmjs.org/react-resize-detector/-/react-resize-detector-4.2.3.tgz",
- "integrity": "sha512-4AeS6lxdz2KOgDZaOVt1duoDHrbYwSrUX32KeM9j6t9ISyRphoJbTRCMS1aPFxZHFqcCGLT1gMl3lEcSWZNW0A==",
- "requires": {
- "lodash": "^4.17.15",
- "lodash-es": "^4.17.15",
- "prop-types": "^15.7.2",
- "raf-schd": "^4.0.2",
- "resize-observer-polyfill": "^1.5.1"
- }
- },
"react-router": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz",
@@ -11086,17 +11150,6 @@
"resolved": "https://registry.npmjs.org/react-side-effect/-/react-side-effect-2.1.0.tgz",
"integrity": "sha512-IgmcegOSi5SNX+2Snh1vqmF0Vg/CbkycU9XZbOHJlZ6kMzTmi3yc254oB1WCkgA7OQtIAoLmcSFuHTc/tlcqXg=="
},
- "react-smooth": {
- "version": "1.0.5",
- "resolved": "https://registry.npmjs.org/react-smooth/-/react-smooth-1.0.5.tgz",
- "integrity": "sha512-eW057HT0lFgCKh8ilr0y2JaH2YbNcuEdFpxyg7Gf/qDKk9hqGMyXryZJ8iMGJEuKH0+wxS0ccSsBBB3W8yCn8w==",
- "requires": {
- "lodash": "~4.17.4",
- "prop-types": "^15.6.0",
- "raf": "^3.4.0",
- "react-transition-group": "^2.5.0"
- }
- },
"react-textarea-autosize": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/react-textarea-autosize/-/react-textarea-autosize-6.1.0.tgz",
@@ -11113,17 +11166,6 @@
"classnames": "^2.2.5"
}
},
- "react-transition-group": {
- "version": "2.9.0",
- "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.9.0.tgz",
- "integrity": "sha512-+HzNTCHpeQyl4MJ/bdE0u6XRMe9+XG/+aL4mCxVN4DnPBQ0/5bfHWPDuOZUzYdMj94daZaZdCCc1Dzt9R/xSSg==",
- "requires": {
- "dom-helpers": "^3.4.0",
- "loose-envify": "^1.4.0",
- "prop-types": "^15.6.2",
- "react-lifecycles-compat": "^3.0.4"
- }
- },
"readable-stream": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
@@ -11135,9 +11177,9 @@
}
},
"readdirp": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.4.0.tgz",
- "integrity": "sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ==",
+ "version": "3.5.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz",
+ "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==",
"requires": {
"picomatch": "^2.2.1"
}
@@ -11147,51 +11189,6 @@
"resolved": "https://registry.npmjs.org/reading-time/-/reading-time-1.2.0.tgz",
"integrity": "sha512-5b4XmKK4MEss63y0Lw0vn0Zn6G5kiHP88mUnD8UeEsyORj3sh1ghTH0/u6m1Ax9G2F4wUZrknlp6WlIsCvoXVA=="
},
- "recharts": {
- "version": "2.0.0-beta.6",
- "resolved": "https://registry.npmjs.org/recharts/-/recharts-2.0.0-beta.6.tgz",
- "integrity": "sha512-xfnaKt9XwrBAajdIbFFwaDtICoA3fIYtMsflr35GCthoiRPvs71Z2G5YsmWwyPDCaQ4EE5TcWkLeFpNCC7gpzQ==",
- "requires": {
- "classnames": "^2.2.5",
- "core-js": "^3.4.2",
- "d3-interpolate": "^1.3.0",
- "d3-scale": "^3.1.0",
- "d3-shape": "^1.3.5",
- "eventemitter3": "^4.0.1",
- "lodash": "^4.17.5",
- "react-resize-detector": "^4.2.1",
- "react-smooth": "^1.0.5",
- "recharts-scale": "^0.4.2",
- "reduce-css-calc": "^2.1.7"
- },
- "dependencies": {
- "core-js": {
- "version": "3.6.5",
- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
- "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
- },
- "d3-scale": {
- "version": "3.2.2",
- "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-3.2.2.tgz",
- "integrity": "sha512-3Mvi5HfqPFq0nlyeFlkskGjeqrR/790pINMHc4RXKJ2E6FraTd3juaRIRZZHyMAbi3LjAMW0EH4FB1WgoGyeXg==",
- "requires": {
- "d3-array": "1.2.0 - 2",
- "d3-format": "1 - 2",
- "d3-interpolate": "1.2.0 - 2",
- "d3-time": "1 - 2",
- "d3-time-format": "2 - 3"
- }
- }
- }
- },
- "recharts-scale": {
- "version": "0.4.3",
- "resolved": "https://registry.npmjs.org/recharts-scale/-/recharts-scale-0.4.3.tgz",
- "integrity": "sha512-t8p5sccG9Blm7c1JQK/ak9O8o95WGhNXD7TXg/BW5bYbVlr6eCeRBNpgyigD4p6pSSMehC5nSvBUPj6F68rbFA==",
- "requires": {
- "decimal.js-light": "^2.4.1"
- }
- },
"rechoir": {
"version": "0.6.2",
"resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz",
@@ -11208,22 +11205,6 @@
"minimatch": "3.0.4"
}
},
- "reduce-css-calc": {
- "version": "2.1.7",
- "resolved": "https://registry.npmjs.org/reduce-css-calc/-/reduce-css-calc-2.1.7.tgz",
- "integrity": "sha512-fDnlZ+AybAS3C7Q9xDq5y8A2z+lT63zLbynew/lur/IR24OQF5x98tfNwf79mzEdfywZ0a2wpM860FhFfMxZlA==",
- "requires": {
- "css-unit-converter": "^1.1.1",
- "postcss-value-parser": "^3.3.0"
- },
- "dependencies": {
- "postcss-value-parser": {
- "version": "3.3.1",
- "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz",
- "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ=="
- }
- }
- },
"regenerate": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.1.tgz",
@@ -11285,12 +11266,32 @@
"requires": {
"define-properties": "^1.1.3",
"es-abstract": "^1.17.0-next.1"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.17.7",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
+ "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.2",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.1",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"regexpu-core": {
- "version": "4.7.0",
- "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.0.tgz",
- "integrity": "sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ==",
+ "version": "4.7.1",
+ "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.1.tgz",
+ "integrity": "sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ==",
"requires": {
"regenerate": "^1.4.0",
"regenerate-unicode-properties": "^8.2.0",
@@ -11410,38 +11411,38 @@
}
},
"remark-footnotes": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-1.0.0.tgz",
- "integrity": "sha512-X9Ncj4cj3/CIvLI2Z9IobHtVi8FVdUrdJkCNaL9kdX8ohfsi18DXHsCVd/A7ssARBdccdDb5ODnt62WuEWaM/g=="
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/remark-footnotes/-/remark-footnotes-2.0.0.tgz",
+ "integrity": "sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ=="
},
"remark-mdx": {
- "version": "1.6.16",
- "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.6.16.tgz",
- "integrity": "sha512-xqZhBQ4TonFiSFpVt6SnTLRnxstu7M6pcaOibKZhqzk4zMRVacVenD7iECjfESK+72LkPm/NW+0r5ahJAg7zlQ==",
+ "version": "1.6.19",
+ "resolved": "https://registry.npmjs.org/remark-mdx/-/remark-mdx-1.6.19.tgz",
+ "integrity": "sha512-UKK1CFatVPNhgjsIlNQ3GjVl3+6O7x7Hag6oyntFTg8s7sgq+rhWaSfM/6lW5UWU6hzkj520KYBuBlsaSriGtA==",
"requires": {
- "@babel/core": "7.10.5",
+ "@babel/core": "7.11.6",
"@babel/helper-plugin-utils": "7.10.4",
- "@babel/plugin-proposal-object-rest-spread": "7.10.4",
+ "@babel/plugin-proposal-object-rest-spread": "7.11.0",
"@babel/plugin-syntax-jsx": "7.10.4",
- "@mdx-js/util": "1.6.16",
+ "@mdx-js/util": "1.6.19",
"is-alphabetical": "1.0.4",
"remark-parse": "8.0.3",
- "unified": "9.1.0"
+ "unified": "9.2.0"
},
"dependencies": {
"@babel/core": {
- "version": "7.10.5",
- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.5.tgz",
- "integrity": "sha512-O34LQooYVDXPl7QWCdW9p4NR+QlzOr7xShPPJz8GsuCU3/8ua/wqTr7gmnxXv+WBESiGU/G5s16i6tUvHkNb+w==",
+ "version": "7.11.6",
+ "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.11.6.tgz",
+ "integrity": "sha512-Wpcv03AGnmkgm6uS6k8iwhIwTrcP0m17TL1n1sy7qD0qelDu4XNeW0dN0mHfa+Gei211yDaLoEe/VlbXQzM4Bg==",
"requires": {
"@babel/code-frame": "^7.10.4",
- "@babel/generator": "^7.10.5",
- "@babel/helper-module-transforms": "^7.10.5",
+ "@babel/generator": "^7.11.6",
+ "@babel/helper-module-transforms": "^7.11.0",
"@babel/helpers": "^7.10.4",
- "@babel/parser": "^7.10.5",
+ "@babel/parser": "^7.11.5",
"@babel/template": "^7.10.4",
- "@babel/traverse": "^7.10.5",
- "@babel/types": "^7.10.5",
+ "@babel/traverse": "^7.11.5",
+ "@babel/types": "^7.11.5",
"convert-source-map": "^1.7.0",
"debug": "^4.1.0",
"gensync": "^1.0.0-beta.1",
@@ -11453,24 +11454,27 @@
}
},
"@babel/plugin-proposal-object-rest-spread": {
- "version": "7.10.4",
- "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.10.4.tgz",
- "integrity": "sha512-6vh4SqRuLLarjgeOf4EaROJAHjvu9Gl+/346PbDH9yWbJyfnJ/ah3jmYKYtswEyCoWZiidvVHjHshd4WgjB9BA==",
+ "version": "7.11.0",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.11.0.tgz",
+ "integrity": "sha512-wzch41N4yztwoRw0ak+37wxwJM2oiIiy6huGCoqkvSTA9acYWcPfn9Y4aJqmFFJ70KTJUu29f3DQ43uJ9HXzEA==",
"requires": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/plugin-syntax-object-rest-spread": "^7.8.0",
"@babel/plugin-transform-parameters": "^7.10.4"
}
},
+ "@babel/plugin-syntax-jsx": {
+ "version": "7.10.4",
+ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz",
+ "integrity": "sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g==",
+ "requires": {
+ "@babel/helper-plugin-utils": "^7.10.4"
+ }
+ },
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
}
}
},
@@ -11511,15 +11515,15 @@
"integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8="
},
"renderkid": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.3.tgz",
- "integrity": "sha512-z8CLQp7EZBPCwCnncgf9C4XAi3WR0dv+uWu/PjIyhhAb5d6IJ/QZqlHFprHeKT+59//V6BNUsLbvN8+2LarxGA==",
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.4.tgz",
+ "integrity": "sha512-K2eXrSOJdq+HuKzlcjOlGoOarUu5SDguDEhE7+Ah4zuOWL40j8A/oHvLlLob9PSTNvVnBd+/q0Er1QfpEuem5g==",
"requires": {
"css-select": "^1.1.0",
"dom-converter": "^0.2",
"htmlparser2": "^3.3.0",
- "strip-ansi": "^3.0.0",
- "utila": "^0.4.0"
+ "lodash": "^4.17.20",
+ "strip-ansi": "^3.0.0"
},
"dependencies": {
"ansi-regex": {
@@ -11572,16 +11576,12 @@
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
},
- "resize-observer-polyfill": {
- "version": "1.5.1",
- "resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
- "integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
- },
"resolve": {
- "version": "1.17.0",
- "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz",
- "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==",
+ "version": "1.18.1",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.18.1.tgz",
+ "integrity": "sha512-lDfCPaMKfOJXjy0dPayzPdF1phampNWr3qFCjAu+rw/qbQmr5jWH5xN2hwh9QKfw9E5v4hwV7A+jrCmL8yjjqA==",
"requires": {
+ "is-core-module": "^2.0.0",
"path-parse": "^1.0.6"
}
},
@@ -11680,9 +11680,9 @@
"integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ=="
},
"run-parallel": {
- "version": "1.1.9",
- "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz",
- "integrity": "sha512-DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q=="
+ "version": "1.1.10",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz",
+ "integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw=="
},
"run-queue": {
"version": "1.0.3",
@@ -11703,9 +11703,9 @@
"integrity": "sha1-pfE/957zt0D+MKqAP7CfmIBdR4I="
},
"rxjs": {
- "version": "6.6.2",
- "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz",
- "integrity": "sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==",
+ "version": "6.6.3",
+ "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz",
+ "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==",
"requires": {
"tslib": "^1.9.0"
}
@@ -11842,9 +11842,9 @@
}
},
"serialize-javascript": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",
- "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz",
+ "integrity": "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==",
"requires": {
"randombytes": "^2.1.0"
}
@@ -12120,11 +12120,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
- },
- "source-map": {
- "version": "0.5.7",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
}
}
},
@@ -12247,9 +12242,9 @@
"integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw=="
},
"source-map": {
- "version": "0.6.1",
- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ "version": "0.5.7",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
},
"source-map-resolve": {
"version": "0.5.3",
@@ -12270,6 +12265,13 @@
"requires": {
"buffer-from": "^1.0.0",
"source-map": "^0.6.0"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
}
},
"source-map-url": {
@@ -12513,21 +12515,21 @@
}
},
"string.prototype.trimend": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz",
- "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.2.tgz",
+ "integrity": "sha512-8oAG/hi14Z4nOVP0z6mdiVZ/wqjDtWSLygMigTzAb+7aPEDTleeFf+WrF+alzecxIRkckkJVn+dTlwzJXORATw==",
"requires": {
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "es-abstract": "^1.18.0-next.1"
}
},
"string.prototype.trimstart": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz",
- "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==",
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.2.tgz",
+ "integrity": "sha512-7F6CdBTl5zyu30BJFdzSTlSlLPwODC23Od+iLoVH8X6+3fvDPPuBVVj9iaB1GOsSTSIgVfsfm27R2FGrAPznWg==",
"requires": {
"define-properties": "^1.1.3",
- "es-abstract": "^1.17.5"
+ "es-abstract": "^1.18.0-next.1"
}
},
"string_decoder": {
@@ -12680,9 +12682,9 @@
}
},
"css-what": {
- "version": "3.3.0",
- "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.3.0.tgz",
- "integrity": "sha512-pv9JPyatiPaQ6pf4OvD/dbfm0o5LviWmwxNWzblYf/1u9QZd0ihV+PMwy5jdQWQ3349kZmKEx9WXuSka2dM4cg=="
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz",
+ "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ=="
},
"domutils": {
"version": "1.7.0",
@@ -12721,9 +12723,9 @@
}
},
"term-size": {
- "version": "2.2.0",
- "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.0.tgz",
- "integrity": "sha512-a6sumDlzyHVJWb8+YofY4TW112G6p2FCPEAFk+59gIYHv3XHRhm9ltVQ9kli4hNWeQBwSpe8cRN25x0ROunMOw=="
+ "version": "2.2.1",
+ "resolved": "https://registry.npmjs.org/term-size/-/term-size-2.2.1.tgz",
+ "integrity": "sha512-wK0Ri4fOGjv/XPy8SBHZChl8CM7uMc5VML7SqiQ0zG7+J5Vr+RMQDoHa2CNT6KHUnTGIXH34UDMkPzAUyapBZg=="
},
"terser": {
"version": "4.8.0",
@@ -12739,25 +12741,35 @@
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
}
}
},
"terser-webpack-plugin": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-3.1.0.tgz",
- "integrity": "sha512-cjdZte66fYkZ65rQ2oJfrdCAkkhJA7YLYk5eGOcGCSGlq0ieZupRdjedSQXYknMPo2IveQL+tPdrxUkERENCFA==",
+ "version": "4.2.3",
+ "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-4.2.3.tgz",
+ "integrity": "sha512-jTgXh40RnvOrLQNgIkwEKnQ8rmHjHK4u+6UBEi+W+FPmvb+uo+chJXntKe7/3lW5mNysgSWD60KyesnhW8D6MQ==",
"requires": {
"cacache": "^15.0.5",
"find-cache-dir": "^3.3.1",
- "jest-worker": "^26.2.1",
+ "jest-worker": "^26.5.0",
"p-limit": "^3.0.2",
- "schema-utils": "^2.6.6",
- "serialize-javascript": "^4.0.0",
+ "schema-utils": "^3.0.0",
+ "serialize-javascript": "^5.0.1",
"source-map": "^0.6.1",
- "terser": "^4.8.0",
+ "terser": "^5.3.4",
"webpack-sources": "^1.4.3"
},
"dependencies": {
+ "commander": {
+ "version": "2.20.3",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
+ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
+ },
"find-cache-dir": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz",
@@ -12831,6 +12843,38 @@
"requires": {
"find-up": "^4.0.0"
}
+ },
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ },
+ "terser": {
+ "version": "5.3.8",
+ "resolved": "https://registry.npmjs.org/terser/-/terser-5.3.8.tgz",
+ "integrity": "sha512-zVotuHoIfnYjtlurOouTazciEfL7V38QMAOhGqpXDEg6yT13cF4+fEP9b0rrCEQTn+tT46uxgFsTZzhygk+CzQ==",
+ "requires": {
+ "commander": "^2.20.0",
+ "source-map": "~0.7.2",
+ "source-map-support": "~0.5.19"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.7.3",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz",
+ "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ=="
+ }
+ }
}
}
},
@@ -12883,9 +12927,9 @@
"integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA=="
},
"timers-browserify": {
- "version": "2.0.11",
- "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.11.tgz",
- "integrity": "sha512-60aV6sgJ5YEbzUdn9c8kYGIqOubPoUdqQCul3SBAsRCZ40s6Y5cMcrW4dt3/k/EsbLVJNl9n6Vz3fTc+k2GeKQ==",
+ "version": "2.0.12",
+ "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz",
+ "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==",
"requires": {
"setimmediate": "^1.0.4"
}
@@ -13015,15 +13059,10 @@
"resolved": "https://registry.npmjs.org/trim/-/trim-0.0.1.tgz",
"integrity": "sha1-WFhUf2spB1fulczMZm+1AITEYN0="
},
- "trim-lines": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-1.1.3.tgz",
- "integrity": "sha512-E0ZosSWYK2mkSu+KEtQ9/KqarVjA9HztOSX+9FDdNacRAq29RRV6ZQNgob3iuW8Htar9vAfEa6yyt5qBAHZDBA=="
- },
"trim-trailing-lines": {
- "version": "1.1.3",
- "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.3.tgz",
- "integrity": "sha512-4ku0mmjXifQcTVfYDfR5lpgV7zVqPg6zV9rdZmwOPqq0+Zq19xDqEgagqVbc4pOOShbncuAOIs59R3+3gcF3ZA=="
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/trim-trailing-lines/-/trim-trailing-lines-1.1.4.tgz",
+ "integrity": "sha512-rjUWSqnfTNrjbB9NQWfPMH/xRK1deHeGsHoVfpxJ++XeYXE0d6B1En37AHfw3jtfTU7dzMzZL2jjpe8Qb5gLIQ=="
},
"trough": {
"version": "1.0.5",
@@ -13045,15 +13084,28 @@
"resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz",
"integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA=="
},
+ "ts-node": {
+ "version": "9.0.0",
+ "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.0.0.tgz",
+ "integrity": "sha512-/TqB4SnererCDR/vb4S/QvSZvzQMJN8daAslg7MeaiHvD8rDZsSfXmNeNumyZZzMned72Xoq/isQljYSt8Ynfg==",
+ "dev": true,
+ "requires": {
+ "arg": "^4.1.0",
+ "diff": "^4.0.1",
+ "make-error": "^1.1.1",
+ "source-map-support": "^0.5.17",
+ "yn": "3.1.1"
+ }
+ },
"ts-pnp": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/ts-pnp/-/ts-pnp-1.2.0.tgz",
"integrity": "sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw=="
},
"tslib": {
- "version": "1.13.0",
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz",
- "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q=="
+ "version": "1.14.1",
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
},
"tty-browserify": {
"version": "0.0.0",
@@ -13087,15 +13139,21 @@
"is-typedarray": "^1.0.0"
}
},
+ "typescript": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.5.tgz",
+ "integrity": "sha512-ywmr/VrTVCmNTJ6iV2LwIrfG1P+lv6luD8sUJs+2eI9NLGigaN+nUQc13iHqisq7bra9lnmUSYqbJvegraBOPQ==",
+ "dev": true
+ },
"ua-parser-js": {
- "version": "0.7.21",
- "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.21.tgz",
- "integrity": "sha512-+O8/qh/Qj8CgC6eYBVBykMrNtp5Gebn4dlGD/kKXVkJNDwyrAwSIqwz8CDf+tsAIWVycKcku6gIXJ0qwx/ZXaQ=="
+ "version": "0.7.22",
+ "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.22.tgz",
+ "integrity": "sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q=="
},
"uglify-js": {
- "version": "3.10.3",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.10.3.tgz",
- "integrity": "sha512-Lh00i69Uf6G74mvYpHCI9KVVXLcHW/xu79YTvH7Mkc9zyKUeSPz0owW0dguj0Scavns3ZOh3wY63J0Zb97Za2g=="
+ "version": "3.11.4",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.4.tgz",
+ "integrity": "sha512-FyYnoxVL1D6+jDGQpbK5jW6y/2JlVfRfEeQ67BPCUg5wfCjaKOpr2XeceE4QL+MkhxliLtf5EbrMDZgzpt2CNw=="
},
"unherit": {
"version": "1.1.3",
@@ -13131,9 +13189,9 @@
"integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg=="
},
"unified": {
- "version": "9.1.0",
- "resolved": "https://registry.npmjs.org/unified/-/unified-9.1.0.tgz",
- "integrity": "sha512-VXOv7Ic6twsKGJDeZQ2wwPqXs2hM0KNu5Hkg9WgAZbSD1pxhZ7p8swqg583nw1Je2fhwHy6U8aEjiI79x1gvag==",
+ "version": "9.2.0",
+ "resolved": "https://registry.npmjs.org/unified/-/unified-9.2.0.tgz",
+ "integrity": "sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg==",
"requires": {
"bail": "^1.0.0",
"extend": "^3.0.0",
@@ -13255,9 +13313,9 @@
}
},
"unist-util-visit-parents": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.0.tgz",
- "integrity": "sha512-0g4wbluTF93npyPrp/ymd3tCDTMnP0yo2akFD2FIBAYXq/Sga3lwaU1D8OYKbtpioaI6CkDcQ6fsMnmtzt7htw==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-3.1.1.tgz",
+ "integrity": "sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==",
"requires": {
"@types/unist": "^2.0.0",
"unist-util-is": "^4.0.0"
@@ -13320,9 +13378,9 @@
"integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg=="
},
"update-notifier": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.1.tgz",
- "integrity": "sha512-9y+Kds0+LoLG6yN802wVXoIfxYEwh3FlZwzMwpCZp62S2i1/Jzeqb9Eeeju3NSHccGGasfGlK5/vEHbAifYRDg==",
+ "version": "4.1.3",
+ "resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-4.1.3.tgz",
+ "integrity": "sha512-Yld6Z0RyCYGB6ckIjffGOSOmHXj1gMeE7aROz4MG+XMkmixBX4jUngrGXNYz7wPKBmtoD4MnBa2Anu7RSKht/A==",
"requires": {
"boxen": "^4.2.0",
"chalk": "^3.0.0",
@@ -13374,13 +13432,25 @@
}
},
"url-loader": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.0.tgz",
- "integrity": "sha512-IzgAAIC8wRrg6NYkFIJY09vtktQcsvU8V6HhtQj9PTefbYImzLB1hufqo4m+RyM5N3mLx5BqJKccgxJS+W3kqw==",
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-4.1.1.tgz",
+ "integrity": "sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==",
"requires": {
"loader-utils": "^2.0.0",
- "mime-types": "^2.1.26",
- "schema-utils": "^2.6.5"
+ "mime-types": "^2.1.27",
+ "schema-utils": "^3.0.0"
+ },
+ "dependencies": {
+ "schema-utils": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz",
+ "integrity": "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==",
+ "requires": {
+ "@types/json-schema": "^7.0.6",
+ "ajv": "^6.12.5",
+ "ajv-keywords": "^3.5.2"
+ }
+ }
}
},
"url-parse": {
@@ -13412,28 +13482,6 @@
"resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz",
"integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ=="
},
- "use-isomorphic-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/use-isomorphic-layout-effect/-/use-isomorphic-layout-effect-1.0.0.tgz",
- "integrity": "sha512-JMwJ7Vd86NwAt1jH7q+OIozZSIxA4ND0fx6AsOe2q1H8ooBUp5aN6DvVCqZiIaYU6JaMRJGyR0FO7EBCIsb/Rg=="
- },
- "use-latest": {
- "version": "1.1.0",
- "resolved": "https://registry.npmjs.org/use-latest/-/use-latest-1.1.0.tgz",
- "integrity": "sha512-gF04d0ZMV3AMB8Q7HtfkAWe+oq1tFXP6dZKwBHQF5nVXtGsh2oAYeeqma5ZzxtlpOcW8Ro/tLcfmEodjDeqtuw==",
- "requires": {
- "use-isomorphic-layout-effect": "^1.0.0"
- }
- },
- "use-onclickoutside": {
- "version": "0.3.1",
- "resolved": "https://registry.npmjs.org/use-onclickoutside/-/use-onclickoutside-0.3.1.tgz",
- "integrity": "sha512-aahvbW5+G0XJfzj31FJeLsvc6qdKbzeTsQ8EtkHHq5qTg6bm/qkJeKLcgrpnYeHDDbd7uyhImLGdkbM9BRzOHQ==",
- "requires": {
- "are-passive-events-supported": "^1.1.0",
- "use-latest": "^1.0.0"
- }
- },
"util": {
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz",
@@ -13463,6 +13511,26 @@
"es-abstract": "^1.17.2",
"has-symbols": "^1.0.1",
"object.getownpropertydescriptors": "^2.1.0"
+ },
+ "dependencies": {
+ "es-abstract": {
+ "version": "1.17.7",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz",
+ "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==",
+ "requires": {
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1",
+ "is-callable": "^1.2.2",
+ "is-regex": "^1.1.1",
+ "object-inspect": "^1.8.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.1",
+ "string.prototype.trimend": "^1.0.1",
+ "string.prototype.trimstart": "^1.0.1"
+ }
+ }
}
},
"utila": {
@@ -13856,9 +13924,9 @@
"integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg=="
},
"webpack": {
- "version": "4.44.1",
- "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.44.1.tgz",
- "integrity": "sha512-4UOGAohv/VGUNQJstzEywwNxqX417FnjZgZJpJQegddzPmTvph37eBIRbRTfdySXzVtJXLJfbMN3mMYhM6GdmQ==",
+ "version": "4.44.2",
+ "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.44.2.tgz",
+ "integrity": "sha512-6KJVGlCxYdISyurpQ0IPTklv+DULv05rs2hseIXer6D7KrUicRDLFb4IUM1S6LUAKypPM/nSiVSuv8jHu1m3/Q==",
"requires": {
"@webassemblyjs/ast": "1.9.0",
"@webassemblyjs/helper-module-context": "1.9.0",
@@ -14066,6 +14134,19 @@
"ajv-keywords": "^3.1.0"
}
},
+ "serialize-javascript": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz",
+ "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==",
+ "requires": {
+ "randombytes": "^2.1.0"
+ }
+ },
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ },
"ssri": {
"version": "6.0.1",
"resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz",
@@ -14107,9 +14188,9 @@
}
},
"webpack-bundle-analyzer": {
- "version": "3.8.0",
- "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.8.0.tgz",
- "integrity": "sha512-PODQhAYVEourCcOuU+NiYI7WdR8QyELZGgPvB1y2tjbUpbmcQOt5Q7jEK+ttd5se0KSBKD9SXHCEozS++Wllmw==",
+ "version": "3.9.0",
+ "resolved": "https://registry.npmjs.org/webpack-bundle-analyzer/-/webpack-bundle-analyzer-3.9.0.tgz",
+ "integrity": "sha512-Ob8amZfCm3rMB1ScjQVlbYYUEJyEjdEtQ92jqiFUYt5VkEeO2v5UMbv49P/gnmCZm3A6yaFQzCBvpZqN4MUsdA==",
"requires": {
"acorn": "^7.1.1",
"acorn-walk": "^7.1.1",
@@ -14120,16 +14201,16 @@
"express": "^4.16.3",
"filesize": "^3.6.1",
"gzip-size": "^5.0.0",
- "lodash": "^4.17.15",
+ "lodash": "^4.17.19",
"mkdirp": "^0.5.1",
"opener": "^1.5.1",
"ws": "^6.0.0"
},
"dependencies": {
"acorn": {
- "version": "7.4.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.0.tgz",
- "integrity": "sha512-+G7P8jJmCHr+S+cLfQxygbWhXy+8YTVGzAkpEbcLo2mLoL7tij/VG41QSHACSf5QgYRhMZYHuNc6drJaO0Da+w=="
+ "version": "7.4.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz",
+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A=="
},
"chalk": {
"version": "2.4.2",
@@ -14554,6 +14635,13 @@
"requires": {
"source-list-map": "^2.0.0",
"source-map": "~0.6.1"
+ },
+ "dependencies": {
+ "source-map": {
+ "version": "0.6.1",
+ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
+ "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
+ }
}
},
"webpackbar": {
@@ -14618,11 +14706,10 @@
},
"dependencies": {
"ansi-styles": {
- "version": "4.2.1",
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz",
- "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==",
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
"requires": {
- "@types/color-name": "^1.1.1",
"color-convert": "^2.0.1"
}
}
@@ -14644,9 +14731,9 @@
"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg=="
},
"whatwg-fetch": {
- "version": "3.4.0",
- "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.4.0.tgz",
- "integrity": "sha512-rsum2ulz2iuZH08mJkT0Yi6JnKhwdw4oeyMjokgxd+mmqYSd9cPpOQf01TIWgjxG/U4+QR+AwKq6lSbXVxkyoQ=="
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.4.1.tgz",
+ "integrity": "sha512-sofZVzE1wKwO+EYPbWfiwzaKovWiZXf4coEzjGP9b2GBVgQRLQUZ2QcuPpQExGDAW5GItpEm6Tl4OU5mywnAoQ=="
},
"whatwg-url": {
"version": "7.1.0",
@@ -14824,6 +14911,12 @@
}
}
},
+ "yn": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz",
+ "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
+ "dev": true
+ },
"zwitch": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
diff --git a/web/package.json b/web/package.json
index 42ab9973f3d..5a6e9d30f72 100644
--- a/web/package.json
+++ b/web/package.json
@@ -6,18 +6,21 @@
"start": "docusaurus start --port 3005",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
- "traction": "node traction.js"
+ "traction": "node traction.js",
+ "gen:gotrue": "ts-node ReferenceGenerator.ts -o docs/gotrue/client spec/gotrue.yml",
+ "gen:postgrest": "ts-node ReferenceGenerator.ts -o docs/postgrest/client spec/postgrest.yml",
+ "gen:realtime": "ts-node ReferenceGenerator.ts -o docs/realtime/client spec/realtime.yml",
+ "gen:supabase": "ts-node ReferenceGenerator.ts -o docs/client spec/supabase.yml"
},
"dependencies": {
- "@docusaurus/core": "^2.0.0-alpha.62",
- "@docusaurus/preset-classic": "^2.0.0-alpha.62",
+ "@docusaurus/core": "^2.0.0-alpha.63",
+ "@docusaurus/preset-classic": "^2.0.0-alpha.63",
"@kiwicopple/prism-react-renderer": "github:kiwicopple/prism-react-renderer",
"classnames": "^2.2.6",
"mermaid": "^8.6.4",
"react": "^16.8.4",
"react-dom": "^16.8.4",
- "react-inlinesvg": "^2.0.1",
- "recharts": "^2.0.0-beta.6"
+ "react-inlinesvg": "^2.0.1"
},
"browserslist": {
"production": [
@@ -32,8 +35,13 @@
]
},
"devDependencies": {
+ "@types/node": "^14.14.0",
"axios": "^0.19.2",
"babel-plugin-css-modules-transform": "^1.6.2",
- "clsx": "^1.1.1"
+ "clsx": "^1.1.1",
+ "js-yaml": "^3.14.0",
+ "minimist": "^1.2.5",
+ "ts-node": "^9.0.0",
+ "typescript": "^4.0.3"
}
}
diff --git a/web/sidebar_realtime_server.js b/web/sidebar_realtime_server.js
new file mode 100644
index 00000000000..484a465ed05
--- /dev/null
+++ b/web/sidebar_realtime_server.js
@@ -0,0 +1,16 @@
+module.exports = {
+ docs: [
+ {
+ type: 'category',
+ label: 'Realtime',
+ collapsed: false,
+ items: [
+ 'about',
+ 'docker',
+ 'aws',
+ 'digitalocean',
+ 'source',
+ ],
+ },
+ ],
+}
\ No newline at end of file
diff --git a/web/sidebar_spec_gotrue.js b/web/sidebar_spec_gotrue.js
new file mode 100644
index 00000000000..22919f4c5bb
--- /dev/null
+++ b/web/sidebar_spec_gotrue.js
@@ -0,0 +1,22 @@
+module.exports = {
+ docs: [
+ {
+ type: 'category',
+ label: 'About',
+ items: ['gotrue/client/index', 'gotrue/client/installing', 'gotrue/client/initializing'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Client functions',
+ items: ['gotrue/client/signup', 'gotrue/client/signin', 'gotrue/client/signout', 'gotrue/client/user', 'gotrue/client/session', 'gotrue/client/update', 'gotrue/client/onauthstatechange'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'General functions',
+ items: ['gotrue/client/api-signupwithemail', 'gotrue/client/api-signinwithemail', 'gotrue/client/api-resetpasswordforemail', 'gotrue/client/api-signout', 'gotrue/client/api-getuser', 'gotrue/client/api-updateuser', 'gotrue/client/api-refreshaccesstoken'],
+ collapsed: false,
+ }
+ ],
+}
\ No newline at end of file
diff --git a/web/sidebar_spec_postgrest.js b/web/sidebar_spec_postgrest.js
new file mode 100644
index 00000000000..23ac56e67d1
--- /dev/null
+++ b/web/sidebar_spec_postgrest.js
@@ -0,0 +1,22 @@
+module.exports = {
+ docs: [
+ {
+ type: 'category',
+ label: 'About',
+ items: ['postgrest/client/index', 'postgrest/client/installing', 'postgrest/client/initializing'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Query Builder',
+ items: ['postgrest/client/from', 'postgrest/client/select', 'postgrest/client/insert', 'postgrest/client/update', 'postgrest/client/delete', 'postgrest/client/rpc'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Filters',
+ items: ['postgrest/client/filter', 'postgrest/client/not', 'postgrest/client/eq', 'postgrest/client/neq', 'postgrest/client/gt', 'postgrest/client/gte', 'postgrest/client/lt', 'postgrest/client/lte', 'postgrest/client/like', 'postgrest/client/ilike', 'postgrest/client/is', 'postgrest/client/in', 'postgrest/client/cs', 'postgrest/client/cd', 'postgrest/client/sl', 'postgrest/client/sr', 'postgrest/client/nxl', 'postgrest/client/nxr', 'postgrest/client/adj', 'postgrest/client/ov', 'postgrest/client/fts', 'postgrest/client/plfts', 'postgrest/client/phfts', 'postgrest/client/wfts'],
+ collapsed: false,
+ }
+ ],
+}
\ No newline at end of file
diff --git a/web/sidebar_spec_realtime.js b/web/sidebar_spec_realtime.js
new file mode 100644
index 00000000000..069fe884d27
--- /dev/null
+++ b/web/sidebar_spec_realtime.js
@@ -0,0 +1,16 @@
+module.exports = {
+ docs: [
+ {
+ type: 'category',
+ label: 'About',
+ items: ['realtime/client/index', 'realtime/client/installing', 'realtime/client/initializing'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Client functions',
+ items: ['realtime/client/connect', 'realtime/client/disconnect'],
+ collapsed: false,
+ }
+ ],
+}
\ No newline at end of file
diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js
new file mode 100644
index 00000000000..6d72c6721ee
--- /dev/null
+++ b/web/sidebar_spec_supabase.js
@@ -0,0 +1,40 @@
+module.exports = {
+ docs: [
+ {
+ type: 'category',
+ label: 'About',
+ items: ['client/index', 'client/installing', 'client/initializing', 'client/generating-types'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Auth',
+ items: ['client/auth-signup', 'client/auth-signin', 'client/auth-signout', 'client/auth-session', 'client/auth-user', 'client/auth-update', 'client/auth-onauthstatechange', 'client/reset-password-email'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Data',
+ items: ['client/select', 'client/insert', 'client/update', 'client/delete', 'client/rpc'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Realtime',
+ items: ['client/subscribe', 'client/removesubscription', 'client/getsubscriptions'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Modifiers',
+ items: ['client/using-modifiers', 'client/limit', 'client/order', 'client/range', 'client/single'],
+ collapsed: false,
+ },
+ {
+ type: 'category',
+ label: 'Filters',
+ items: ['client/using-filters', 'client/filter', 'client/or', 'client/not', 'client/match', 'client/eq', 'client/neq', 'client/gt', 'client/gte', 'client/lt', 'client/lte', 'client/like', 'client/ilike', 'client/is', 'client/in', 'client/cs', 'client/cd', 'client/sl', 'client/sr', 'client/nxl', 'client/nxr', 'client/adj', 'client/ov', 'client/fts', 'client/plfts', 'client/phfts', 'client/wfts'],
+ collapsed: false,
+ }
+ ],
+}
\ No newline at end of file
diff --git a/web/sidebars.js b/web/sidebars.js
index 1b5c58733b6..8dad15a19c5 100755
--- a/web/sidebars.js
+++ b/web/sidebars.js
@@ -5,37 +5,24 @@
* LICENSE file in the root directory of this source tree.
*/
+const goTrueClient = require('./sidebar_spec_gotrue')
+const postgrestClient = require('./sidebar_spec_postgrest')
+const realtimeClient = require('./sidebar_spec_realtime')
+const supabaseClient = require('./sidebar_spec_supabase')
+
module.exports = {
+ goTrueClient: goTrueClient.docs,
+ postgrestClient: postgrestClient.docs,
+ realtimeClient: realtimeClient.docs,
+ supabaseClient: supabaseClient.docs,
docs: [
{ type: 'category', label: 'Introduction', items: ['about', 'faq'], collapsed: false },
{
type: 'category',
- label: 'Library',
+ label: 'Getting Started',
collapsed: false,
- items: [
- 'library/getting-started',
- 'library/user-management',
- 'library/get',
- 'library/post',
- 'library/patch',
- 'library/delete',
- 'library/subscribe',
- 'library/stored-procedures',
- ],
+ items: ['guides/platform', 'guides/database', 'guides/auth', 'guides/client-libraries'],
},
- {
- type: 'category',
- label: 'Realtime',
- collapsed: false,
- items: [
- 'realtime/about',
- 'realtime/docker',
- 'realtime/aws',
- 'realtime/digitalocean',
- 'realtime/source',
- ],
- },
- { type: 'category', collapsed: false, label: 'Postgres', items: ['postgres/postgres-intro'] },
{
type: 'category',
label: 'See Also',
@@ -44,4 +31,69 @@ module.exports = {
},
// Handbook: ['handbook/introduction', 'handbook/contributing'],
],
+ goTrueServer: [
+ {
+ type: 'category',
+ label: 'GoTrue',
+ collapsed: false,
+ items: ['gotrue/server/about'],
+ },
+ ],
+ realtimeServer: [
+ {
+ type: 'category',
+ label: 'Realtime',
+ collapsed: false,
+ items: ['realtime/server/about'],
+ },
+ {
+ type: 'category',
+ label: 'Self hosting',
+ collapsed: false,
+ items: [
+ 'realtime/server/docker',
+ 'realtime/server/aws',
+ 'realtime/server/digitalocean',
+ 'realtime/server/source',
+ ],
+ },
+ ],
+ // realtimeClient: [
+ // {
+ // type: 'category',
+ // label: 'Realtime',
+ // collapsed: false,
+ // items: ['realtime/client/about'],
+ // },
+ // ],
+ postgrestServer: [
+ {
+ type: 'category',
+ label: 'PostgREST',
+ collapsed: false,
+ items: ['postgrest/server/about'],
+ },
+ ],
+ postgresServer: [
+ {
+ type: 'category',
+ label: 'Postgres',
+ collapsed: false,
+ items: ['postgres/server/about'],
+ },
+ {
+ type: 'category',
+ label: 'Self hosting',
+ collapsed: false,
+ items: ['postgres/server/docker', 'postgres/server/aws', 'postgres/server/digitalocean'],
+ },
+ ],
+ postgresApi: [
+ {
+ type: 'category',
+ label: 'Postgres API',
+ collapsed: false,
+ items: ['postgres/api/about'],
+ },
+ ],
}
diff --git a/web/spec/Makefile b/web/spec/Makefile
new file mode 100644
index 00000000000..2b50286ff4e
--- /dev/null
+++ b/web/spec/Makefile
@@ -0,0 +1,29 @@
+REPO_DIR=$(shell pwd)
+
+run: download combine
+
+download: supabase gotrue postgrest realtime
+
+supabase:
+ curl -sS https://raw.githubusercontent.com/kiwicopple/supabase-js/feature/migrate_to_typescript/docs/spec.json \
+ > $(REPO_DIR)/supabase.json
+
+gotrue:
+ curl -sS https://supabase.github.io/gotrue-js/spec.json \
+ > $(REPO_DIR)/gotrue.json
+
+postgrest:
+ curl -sS https://supabase.github.io/postgrest-js/spec.json \
+ > $(REPO_DIR)/postgrest.json
+
+realtime:
+ curl -sS https://supabase.github.io/realtime-js/spec.json \
+ > $(REPO_DIR)/realtime.json
+
+combine:
+ jq -s '{ name: "Combined Specs", children: [.[0], .[1], .[2], .[3]] }' \
+ $(REPO_DIR)/supabase.json \
+ $(REPO_DIR)/gotrue.json \
+ $(REPO_DIR)/postgrest.json \
+ $(REPO_DIR)/realtime.json \
+ > $(REPO_DIR)/combined.json
\ No newline at end of file
diff --git a/web/spec/combined.json b/web/spec/combined.json
new file mode 100644
index 00000000000..29c43f1e3ef
--- /dev/null
+++ b/web/spec/combined.json
@@ -0,0 +1,28457 @@
+{
+ "name": "Combined Specs",
+ "children": [
+ {
+ "id": 0,
+ "name": "@supabase/supabase-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 189,
+ "name": "\"SupabaseClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/SupabaseClient.ts",
+ "children": [
+ {
+ "id": 190,
+ "name": "SupabaseClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Client.",
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
+ },
+ "children": [
+ {
+ "id": 197,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "signatures": [
+ {
+ "id": 200,
+ "name": "new SupabaseClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 201,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 202,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 203,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 190,
+ "name": "SupabaseClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 30,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 191,
+ "name": "auth",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseAuthClient"
+ }
+ },
+ {
+ "id": 195,
+ "name": "authUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 29,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 196,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 30,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 194,
+ "name": "realtimeUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 28,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 193,
+ "name": "restUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 27,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 192,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 26,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "supabaseKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 44,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 198,
+ "name": "supabaseUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 43,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 230,
+ "name": "_closeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 231,
+ "name": "_closeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 232,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 155,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "_getAuthHeaders",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "_getAuthHeaders",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 227,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 228,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 229,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 147,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 147,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "_initPostgRESTClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "name": "_initPostgRESTClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 140,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "_initRealtimeClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "_initRealtimeClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 134,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 218,
+ "name": "_initSupabaseAuthClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 219,
+ "name": "_initSupabaseAuthClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 220,
+ "name": "settings",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseAuthClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 121,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 206,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 207,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 131,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "SupabaseQueryBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 70,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 216,
+ "name": "getSubscriptions",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 217,
+ "name": "getSubscriptions",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns an array of all your subscriptions."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 117,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 213,
+ "name": "removeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 214,
+ "name": "removeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes an active subscription and returns the number of open connections."
+ },
+ "parameters": [
+ {
+ "id": 215,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The subscription you want to remove.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 96,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 208,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 209,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "typeParameter": [
+ {
+ "id": 210,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 211,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "unknown",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 86,
+ "character": 5
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 197
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 191,
+ 195,
+ 196,
+ 194,
+ 193,
+ 192,
+ 199,
+ 198
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 230,
+ 225,
+ 223,
+ 221,
+ 218,
+ 204,
+ 216,
+ 213,
+ 208
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 21,
+ "character": 35
+ }
+ ]
+ },
+ {
+ "id": 233,
+ "name": "DEFAULT_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 235,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 10,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 237,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 12,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 238,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 13,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 239,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 236,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 11,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 234,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 9,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"public\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 235,
+ 237,
+ 238,
+ 236,
+ 234
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 8,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 190
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 233
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 240,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/index.ts",
+ "children": [
+ {
+ "id": 241,
+ "name": "createClient",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "signatures": [
+ {
+ "id": 242,
+ "name": "createClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "parameters": [
+ {
+ "id": 243,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 244,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 245,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 190,
+ "name": "SupabaseClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 7,
+ "character": 18
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 241
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 24,
+ "name": "\"lib/SupabaseAuthClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseAuthClient.ts",
+ "children": [
+ {
+ "id": 25,
+ "name": "SupabaseAuthClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 26,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 27,
+ "name": "new SupabaseAuthClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 28,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 29,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 36,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 8,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 35,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 7,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 6,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 32,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 33,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 34,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 38,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 37,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 9,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 30,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 5,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 36,
+ 35,
+ 31,
+ 38,
+ 37,
+ 30
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 4,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseAuthClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "GoTrueClient.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 3,
+ "character": 54
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "GoTrueClient.__constructor"
+ }
+ },
+ {
+ "id": 41,
+ "name": "api",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 12,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "GoTrueApi"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "GoTrueClient.api"
+ }
+ },
+ {
+ "id": 42,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 13,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 42,
+ "name": "GoTrueClient.autoRefreshToken"
+ }
+ },
+ {
+ "id": 40,
+ "name": "currentSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The session object for the currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 11,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "GoTrueClient.currentSession"
+ }
+ },
+ {
+ "id": 39,
+ "name": "currentUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 7,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "GoTrueClient.currentUser"
+ }
+ },
+ {
+ "id": 44,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 15,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "GoTrueClient.localStorage"
+ }
+ },
+ {
+ "id": 43,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 14,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 43,
+ "name": "GoTrueClient.persistSession"
+ }
+ },
+ {
+ "id": 45,
+ "name": "stateChangeEmmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 16,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "name": "Subscription"
+ }
+ ],
+ "name": "Map"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 45,
+ "name": "GoTrueClient.stateChangeEmmitters"
+ }
+ },
+ {
+ "id": 93,
+ "name": "getSessionFromUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 94,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "parameters": [
+ {
+ "id": 95,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 97,
+ "name": "storeSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Optionally store the session in the browser\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 104,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 97
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 98,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 99,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 106,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 100,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 107,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 99,
+ 100
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 105,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 93,
+ "name": "GoTrueClient.getSessionFromUrl"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 103,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 93,
+ "name": "GoTrueClient.getSessionFromUrl"
+ }
+ },
+ {
+ "id": 105,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 106,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubcribe itself.\n"
+ },
+ "parameters": [
+ {
+ "id": 107,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 109,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 110,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 111,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 119,
+ "character": 31
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 112,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 113,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 120,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Subscription"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 114,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 121,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 113,
+ 114
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 119,
+ "character": 91
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 105,
+ "name": "GoTrueClient.onAuthStateChange"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 119,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 105,
+ "name": "GoTrueClient.onAuthStateChange"
+ }
+ },
+ {
+ "id": 80,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 81,
+ "name": "refreshSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Force refreshes the session including the user data in case it was updated in a different session."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 83,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 87,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 85,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 89,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 84,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 88,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 83,
+ 85,
+ 84
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 86,
+ "character": 30
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "GoTrueClient.refreshSession"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 86,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "GoTrueClient.refreshSession"
+ }
+ },
+ {
+ "id": 75,
+ "name": "session",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 76,
+ "name": "session",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the session data, if there is an active session."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 77,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 78,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 80,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 79,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 81,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 78,
+ 79
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 79,
+ "character": 14
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 75,
+ "name": "GoTrueClient.session"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 79,
+ "character": 11
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 75,
+ "name": "GoTrueClient.session"
+ }
+ },
+ {
+ "id": 56,
+ "name": "signIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "signIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Log in an existing user, or login via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 59,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 60,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 58,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 61,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 59,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 62,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "One of the providers supported by GoTrue.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 60,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 60,
+ 61,
+ 62
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 57,
+ "character": 23
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 63,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 64,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 68,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 66,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 66,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 64,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 67,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 65,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 63,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 64,
+ 68,
+ 66,
+ 67,
+ 65
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 61,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 56,
+ "name": "GoTrueClient.signIn"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 57,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 56,
+ "name": "GoTrueClient.signIn"
+ }
+ },
+ {
+ "id": 101,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 102,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Signs out the current user, if there is a logged in user."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 103,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 104,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 113,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 104
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 112,
+ "character": 23
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 101,
+ "name": "GoTrueClient.signOut"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 112,
+ "character": 11
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 101,
+ "name": "GoTrueClient.signOut"
+ }
+ },
+ {
+ "id": 46,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 47,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 48,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 49,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 50,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 51,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's password.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 44,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 50,
+ 51
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 23
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 53,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 55,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 54,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 47,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 53,
+ 55,
+ 54
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 45,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 46,
+ "name": "GoTrueClient.signUp"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 46,
+ "name": "GoTrueClient.signUp"
+ }
+ },
+ {
+ "id": 86,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 87,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 88,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 89,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 90,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 95,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 92,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 97,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 91,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 96,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 90,
+ 92,
+ 91
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 94,
+ "character": 48
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "GoTrueClient.update"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 94,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "GoTrueClient.update"
+ }
+ },
+ {
+ "id": 69,
+ "name": "user",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 70,
+ "name": "user",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the user data, if there is a logged in user."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 71,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 72,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 72,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 74,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 74,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 73,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 73,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 72,
+ 74,
+ 73
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueClient.user"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 71,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueClient.user"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 26
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 41,
+ 42,
+ 40,
+ 39,
+ 44,
+ 43,
+ 45
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 93,
+ 105,
+ 80,
+ 75,
+ 56,
+ 101,
+ 46,
+ 86,
+ 69
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 3,
+ "character": 31
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "name": "GoTrueClient"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 25
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 130,
+ "name": "\"lib/SupabaseQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseQueryBuilder.ts",
+ "children": [
+ {
+ "id": 131,
+ "name": "SupabaseQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 132,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 135,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 136,
+ "name": "new SupabaseQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 137,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 139,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 140,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 13,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 141,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 142,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 143,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 145,
+ "name": "realtime",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 15,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 144,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 146,
+ "name": "table",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 16,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 140,
+ 145,
+ 144,
+ 146
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 11,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 131,
+ "name": "SupabaseQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 8,
+ "character": 35
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.__constructor"
+ }
+ },
+ {
+ "id": 134,
+ "name": "_realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 8,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 133,
+ "name": "_subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 7,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 116,
+ "name": "SupabaseRealtimeClient"
+ }
+ },
+ {
+ "id": 176,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 38,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 176,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 171,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 34,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 34,
+ "character": 22
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 171,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 169,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 32,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 169,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 175,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 37,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 175,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 170,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 33,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 170,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 167,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 167,
+ "name": "PostgrestQueryBuilder.delete"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 39,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 167,
+ "name": "PostgrestQueryBuilder.delete"
+ }
+ },
+ {
+ "id": 157,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 158,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 159,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 160,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 163,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 66
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 162,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, performs an UPSERT."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 163,
+ 162
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 157,
+ "name": "PostgrestQueryBuilder.insert"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 157,
+ "name": "PostgrestQueryBuilder.insert"
+ }
+ },
+ {
+ "id": 147,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 148,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Subscribe to realtime changes in your databse."
+ },
+ "parameters": [
+ {
+ "id": 149,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "*"
+ }
+ ]
+ }
+ },
+ {
+ "id": 150,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback that will handle the payload that is sent whenever your database changes.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 152,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "SupabaseRealtimePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 37,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 116,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 35,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 154,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs horizontal filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 154,
+ "name": "PostgrestQueryBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 18,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 154,
+ "name": "PostgrestQueryBuilder.select"
+ }
+ },
+ {
+ "id": 177,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 178,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 179,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 180,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 181,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 182,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 183,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 40,
+ "character": 75
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 185,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 187,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 188,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 40,
+ "character": 176
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 177,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 40,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 177,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 164,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 165,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 164,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 35,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 164,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 135
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 134,
+ 133,
+ 176,
+ 171,
+ 169,
+ 175,
+ 170
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 167,
+ 157,
+ 147,
+ 154,
+ 177,
+ 164
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 6,
+ "character": 33
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestQueryBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 131
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 115,
+ "name": "\"lib/SupabaseRealtimeClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseRealtimeClient.ts",
+ "children": [
+ {
+ "id": 116,
+ "name": "SupabaseRealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 118,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 119,
+ "name": "new SupabaseRealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 121,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 122,
+ "name": "tableName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 116,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 117,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 123,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 124,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The event you want to listen to."
+ },
+ "parameters": [
+ {
+ "id": 125,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The event"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "*"
+ }
+ ]
+ }
+ },
+ {
+ "id": 126,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback function that is called whenever the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 18,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 127,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 128,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Enables the subscription."
+ },
+ "parameters": [
+ {
+ "id": 129,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "() => {}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 55,
+ "character": 11
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 118
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 117
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 123,
+ 127
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 116
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 3,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 2
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 246,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 247,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 248,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 3,
+ "character": 20
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 247
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 4,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 5,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 6,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 12,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Automatically refreshes the token for logged in users."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 13,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 14,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 21,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 13,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Whether to persist a logged in session to storage."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 7,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 12,
+ 14,
+ 8,
+ 13,
+ 7
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 35
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 15,
+ "name": "SupabaseRealtimePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 16,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 17,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 18,
+ "name": "commit_timestamp",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 19,
+ "name": "eventType",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 26,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 22,
+ "name": "new",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 23,
+ "name": "old",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 20,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 27,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 21,
+ "name": "table",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 18,
+ 19,
+ 22,
+ 23,
+ 20,
+ 21
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 40
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 5,
+ 15
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 189,
+ 240,
+ 24,
+ 130,
+ 115,
+ 1,
+ 246,
+ 4
+ ]
+ }
+ ]
+ },
+ {
+ "id": 0,
+ "name": "@supabase/gotrue-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 68,
+ "name": "\"GoTrueApi\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
+ "children": [
+ {
+ "id": 69,
+ "name": "GoTrueApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 75,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 76,
+ "name": "new GoTrueApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 78,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 80,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 12,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 81,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 82,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 83,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 79,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 11,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 80,
+ 79
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 10,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueApi"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 8,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 71,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 6,
+ "character": 19
+ }
+ ],
+ "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": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 6,
+ "character": 20
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 70,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 5,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 110,
+ "name": "getUrlForProvider",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 111,
+ "name": "getUrlForProvider",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Generates the relevant login URL for a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 112,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "One of the providers supported by GoTrue.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 93,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 114,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets the user details."
+ },
+ "parameters": [
+ {
+ "id": 115,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 116,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 117,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 106,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 118,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 106,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 117,
+ 118
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 119,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 120,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 108,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 121,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 108,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 120,
+ 121
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 101,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 132,
+ "name": "refreshAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 133,
+ "name": "refreshAccessToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Generates a new JWT."
+ },
+ "parameters": [
+ {
+ "id": 134,
+ "name": "refreshToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "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": 135,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 136,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 139,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 137,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 139,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 136,
+ 137
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 138,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 139,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 141,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 140,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 141,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 139,
+ 140
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 132,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 98,
+ "name": "resetPasswordForEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 99,
+ "name": "resetPasswordForEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sends a reset request to an email address."
+ },
+ "parameters": [
+ {
+ "id": 100,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The email address of the user.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 101,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 102,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 60
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 103,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 61
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 104,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 78
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 102,
+ 104
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 54
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 91,
+ "name": "signInWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 92,
+ "name": "signInWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs in an existing using their email address."
+ },
+ "parameters": [
+ {
+ "id": 93,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 94,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The password of the user.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 95,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 48,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 48,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 96,
+ 97
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 48,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 45,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 105,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 106,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 107,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 109,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 78,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 109
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 78,
+ "character": 38
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 78,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 84,
+ "name": "signUpWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 85,
+ "name": "signUpWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new user using their email address."
+ },
+ "parameters": [
+ {
+ "id": 86,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 87,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The password of the user.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 88,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 89,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 31,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 90,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 31,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 89,
+ 90
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 31,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 28,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 122,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A valid, logged-in JWT."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 125,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The data you want to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 51,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 127,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 122,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 128,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 122,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 127,
+ 128
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 130,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 124,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 131,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 124,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 130,
+ 131
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 117,
+ "character": 18
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 75
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 71,
+ 70
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 110,
+ 113,
+ 132,
+ 98,
+ 91,
+ 105,
+ 84,
+ 122
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 4,
+ "character": 30
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 69
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 180,
+ "name": "\"GoTrueClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
+ "children": [
+ {
+ "id": 181,
+ "name": "GoTrueClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 189,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "signatures": [
+ {
+ "id": 190,
+ "name": "new GoTrueClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 191,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 192,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 199,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Set to \"true\" if you want to automatically refresh the token before expiring."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 46,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 198,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 45,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 194,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Any additional headers to send to the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 44,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 195,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 196,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 197,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 201,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 48,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 200,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Set to \"true\" if you want to automatically save the user session into local storage."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 47,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 193,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The URL of the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 43,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 199,
+ 198,
+ 194,
+ 201,
+ 200,
+ 193
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 42,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 181,
+ "name": "GoTrueClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 31,
+ "character": 71
+ }
+ ]
+ },
+ {
+ "id": 182,
+ "name": "api",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 19,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueApi"
+ }
+ },
+ {
+ "id": 185,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 28,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 184,
+ "name": "currentSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The session object for the currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 27,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 183,
+ "name": "currentUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 23,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 187,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 30,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 186,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 29,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 188,
+ "name": "stateChangeEmmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 31,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 56,
+ "name": "Subscription"
+ }
+ ],
+ "name": "Map"
+ },
+ "defaultValue": "new Map()"
+ },
+ {
+ "id": 307,
+ "name": "_callRefreshToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 308,
+ "name": "_callRefreshToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 309,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 310,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 382,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 311,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 382,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 310,
+ 311
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 312,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 313,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 385,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 314,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 385,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 313,
+ 314
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 364,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 271,
+ "name": "_handeEmailSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 272,
+ "name": "_handeEmailSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 273,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 274,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 275,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 276,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 287,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 278,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 287,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 277,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 287,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ "defaultValue": "data.user"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 276,
+ 278,
+ 277
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 279,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 280,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 289,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 282,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 289,
+ "character": 44
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 281,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 289,
+ "character": 31
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 280,
+ 282,
+ 281
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 277,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 283,
+ "name": "_handeProviderSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 284,
+ "name": "_handeProviderSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 285,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 286,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 289,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 291,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 287,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 288,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 290,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 289,
+ 291,
+ 287,
+ 288,
+ 290
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 292,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 293,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 305,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 295,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 305,
+ "character": 49
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 294,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 305,
+ "character": 36
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 293,
+ 295,
+ 294
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 293,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 315,
+ "name": "_notifyAllSubscribers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 316,
+ "name": "_notifyAllSubscribers",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 317,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 67,
+ "name": "AuthChangeEvent"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 389,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 299,
+ "name": "_persistSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 300,
+ "name": "_persistSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 301,
+ "name": "currentSession",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 302,
+ "name": "secondsToExpiry",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 323,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 305,
+ "name": "_recoverSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 306,
+ "name": "_recoverSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 336,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 303,
+ "name": "_removeSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 304,
+ "name": "_removeSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 330,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 296,
+ "name": "_saveSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 297,
+ "name": "_saveSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 298,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 309,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 249,
+ "name": "getSessionFromUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 250,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "parameters": [
+ {
+ "id": 251,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 252,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 253,
+ "name": "storeSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Optionally store the session in the browser\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 200,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 253
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 254,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 255,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 201,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 256,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 201,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 255,
+ 256
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 201,
+ "character": 14
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 199,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 261,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 262,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubcribe itself.\n"
+ },
+ "parameters": [
+ {
+ "id": 263,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 264,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 265,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 266,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 67,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 267,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 258,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 268,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 269,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 259,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 56,
+ "name": "Subscription"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 270,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 259,
+ "character": 39
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 269,
+ 270
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 259,
+ "character": 4
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 257,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 236,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 237,
+ "name": "refreshSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Force refreshes the session including the user data in case it was updated in a different session."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 238,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 239,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 155,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 241,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 157,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 240,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 156,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 239,
+ 241,
+ 240
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 154,
+ "character": 34
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 154,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 231,
+ "name": "session",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 232,
+ "name": "session",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the session data, if there is an active session."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 234,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 235,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 234,
+ 235
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 12
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 212,
+ "name": "signIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 213,
+ "name": "signIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Log in an existing user, or login via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 214,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 215,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 216,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 104,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 217,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 105,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 218,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "One of the providers supported by GoTrue.\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 106,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 216,
+ 217,
+ 218
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 103,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 108,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 224,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 112,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 222,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 110,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 223,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 111,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 221,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 109,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 220,
+ 224,
+ 222,
+ 223,
+ 221
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 107,
+ "character": 14
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 103,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 257,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 258,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Signs out the current user, if there is a logged in user."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 259,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 260,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 243,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 260
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 243,
+ "character": 27
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 243,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 202,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 203,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 204,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 205,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 206,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 76,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 207,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's password.\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 77,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 206,
+ 207
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 75,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 208,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 209,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 211,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 62
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 210,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 209,
+ 211,
+ 210
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 14
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 75,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 242,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 243,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 244,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 51,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 245,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 246,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 248,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 58
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 247,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 246,
+ 248,
+ 247
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 177,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "user",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "user",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the user data, if there is a logged in user."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 227,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 228,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 230,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 55
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 229,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 228,
+ 230,
+ 229
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 6
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 189
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 182,
+ 185,
+ 184,
+ 183,
+ 187,
+ 186,
+ 188
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 307,
+ 271,
+ 283,
+ 315,
+ 299,
+ 305,
+ 303,
+ 296,
+ 249,
+ 261,
+ 236,
+ 231,
+ 212,
+ 257,
+ 202,
+ 242,
+ 225
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 14,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 318,
+ "name": "DEFAULT_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 320,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 8,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 323,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 11,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 324,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 12,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 322,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 10,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ },
+ "defaultValue": "global.localStorage"
+ },
+ {
+ "id": 321,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 9,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 319,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 7,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "GOTRUE_URL"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 320,
+ 323,
+ 324,
+ 322,
+ 321,
+ 319
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 181
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 318
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 326,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 175,
+ "name": "AUDIENCE",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "process.env.AUDIENCE || ''"
+ },
+ {
+ "id": 176,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 177,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "EXPIRY_MARGIN",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 4,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ },
+ "defaultValue": "process.env.EXPIRY_MARGIN || 60 * 1000"
+ },
+ {
+ "id": 174,
+ "name": "GOTRUE_URL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "process.env.GOTRUE_URL || 'http://localhost:9999'"
+ },
+ {
+ "id": 179,
+ "name": "STORAGE_KEY",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 5,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "process.env.STORAGE_KEY || 'supabase.auth.token'"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 175,
+ 176,
+ 178,
+ 174,
+ 179
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/fetch\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/fetch.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 3,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 4,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 5,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 6,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 7,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 3,
+ 7
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 12,
+ "name": "get",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 13,
+ "name": "get",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 14,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 15,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 22,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 8,
+ "name": "handleError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 9,
+ "name": "handleError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 11,
+ "name": "reject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 16,
+ "name": "post",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 17,
+ "name": "post",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 18,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 19,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 20,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 37,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 21,
+ "name": "put",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 22,
+ "name": "put",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 23,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 24,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 25,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 53,
+ "character": 25
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 12,
+ 8,
+ 16,
+ 21
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 142,
+ "name": "LocalStorage",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 144,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 145,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 147,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 148,
+ "name": "new LocalStorage",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 149,
+ "name": "localStorage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "name": "LocalStorage"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 24,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 146,
+ "name": "length",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 143,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 22,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 150,
+ "name": "clear",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 151,
+ "name": "clear",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 28,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 159,
+ "name": "getItem",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 160,
+ "name": "getItem",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 161,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 37,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 152,
+ "name": "key",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 153,
+ "name": "key",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 154,
+ "name": "index",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 31,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "removeItem",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "removeItem",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 164,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 40,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 155,
+ "name": "setItem",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 156,
+ "name": "setItem",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 157,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 34,
+ "character": 9
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 147
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 146,
+ 143
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 150,
+ 159,
+ 152,
+ 162,
+ 155
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 21,
+ "character": 25
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "name": "Storage"
+ }
+ ]
+ },
+ {
+ "id": 169,
+ "name": "getParameterByName",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 170,
+ "name": "getParameterByName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 171,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 172,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 11,
+ "character": 34
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "isBrowser",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "isBrowser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 9,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 165,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 166,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 20
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 142
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 169,
+ 167,
+ 165
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 27,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 28,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 6,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 29,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 7,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 30,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 31,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 32,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 28,
+ 29,
+ 30,
+ 31,
+ 32
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 5,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 56,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 58,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 59,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 60,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 61,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 67,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 62,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 57,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The subscriber UUID. This will be set by the client."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 63,
+ "name": "unsubscribe",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Call this to remove the listener."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 62,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 64,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 65,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 62,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 58,
+ 57,
+ 63
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 50,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 33,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 35,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 14,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 38,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 39,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 37,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 37
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 14,
+ "character": 15
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 44,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 47,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 24,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 46,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 23,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 45,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 34,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 48,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 25,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 49,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 50,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 40,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 18,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 41,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 42,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 18,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 35,
+ 44,
+ 47,
+ 46,
+ 45,
+ 34,
+ 48,
+ 49,
+ 50,
+ 40
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 51,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 55,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 47,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 52,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 34,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 54,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 53,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 55,
+ 52,
+ 54,
+ 53
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 67,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 3,
+ "character": 27
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "USER_UPDATED"
+ }
+ ]
+ }
+ },
+ {
+ "id": 66,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "bitbucket"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "github"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gitlab"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "google"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 27,
+ 56,
+ 33,
+ 51
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 67,
+ 66
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 68,
+ 180,
+ 326,
+ 173,
+ 1,
+ 141,
+ 26
+ ]
+ }
+ ]
+ },
+ {
+ "id": 0,
+ "name": "@supabase/postgrest-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 319,
+ "name": "\"PostgrestClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
+ "children": [
+ {
+ "id": 320,
+ "name": "PostgrestClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 327,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "signatures": [
+ {
+ "id": 328,
+ "name": "new PostgrestClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "parameters": [
+ {
+ "id": 329,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "URL of the PostgREST endpoint."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 331,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 332,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Custom headers."
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 18,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 334,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 335,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 336,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Postgres schema to switch to.\n"
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 18,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 332,
+ 336
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 17,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 320,
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 7,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 322,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 6,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 323,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 324,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 325,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 6,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 326,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 321,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 5,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 337,
+ "name": "auth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 338,
+ "name": "auth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Authenticates the request with JWT."
+ },
+ "parameters": [
+ {
+ "id": 339,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The JWT token to use.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 30,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 340,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 341,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 342,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 343,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 269,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestQueryBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 40,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 345,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "typeParameter": [
+ {
+ "id": 346,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 347,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 348,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 51,
+ "character": 5
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 327
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 322,
+ 326,
+ 321
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 337,
+ 340,
+ 344
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 4,
+ "character": 36
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 320
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 349,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 95,
+ "name": "\"lib/PostgrestFilterBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
+ "children": [
+ {
+ "id": 96,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 97,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 248,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 249,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 250,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 44
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 247,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 242,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 243,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 244,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 245,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 25,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 240,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 246,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 241,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 24,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 170,
+ "name": "adj",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 171,
+ "name": "adj",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 173,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 274,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 150,
+ "name": "cd",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 151,
+ "name": "cd",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 152,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 153,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 205,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 146,
+ "name": "cs",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 147,
+ "name": "cs",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
+ },
+ "parameters": [
+ {
+ "id": 148,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 149,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 183,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 106,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 107,
+ "name": "eq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 108,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 109,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 63,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose `column` satisfies the filter."
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 209,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 267,
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 210,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 360,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 178,
+ "name": "fts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 179,
+ "name": "fts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 180,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 181,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 182,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 184,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 305,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 184
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 305,
+ "character": 37
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 305,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 114,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 115,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 116,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 117,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 87,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 118,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 119,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 121,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 99,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 134,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 135,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)."
+ },
+ "parameters": [
+ {
+ "id": 136,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 137,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The pattern to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 147,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 142,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 143,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`."
+ },
+ "parameters": [
+ {
+ "id": 144,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 145,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to filter with.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 171,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 138,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 139,
+ "name": "is",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 140,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 141,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 159,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 130,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 131,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)."
+ },
+ "parameters": [
+ {
+ "id": 132,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 133,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The pattern to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 135,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 227,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The maximum no. of rows to limit to."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 228,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 229,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 230,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 40,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 230
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 39,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 57,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 38,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 57,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ },
+ {
+ "id": 122,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 111,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 126,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 127,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 128,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 129,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 123,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 211,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 212,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose columns match the specified `query` object."
+ },
+ "parameters": [
+ {
+ "id": 213,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The object to filter with, with column names as keys mapped\n to their filter values.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 214,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 215,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 216,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 371,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 371,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 110,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 111,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 112,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 113,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 75,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 98,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 99,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows which doesn't satisfy the filter."
+ },
+ "parameters": [
+ {
+ "id": 100,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 101,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 267,
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 102,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 41,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "nxl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "nxl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 164,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 165,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 250,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 166,
+ "name": "nxr",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 167,
+ "name": "nxr",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 168,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 169,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 262,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 103,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 104,
+ "name": "or",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows satisfying at least one of the filters."
+ },
+ "parameters": [
+ {
+ "id": 105,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The filters to use, separated by commas.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 51,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 217,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 219,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to order on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 220,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 222,
+ "name": "ascending",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the result will be in ascending order."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 19,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 224,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (if `column` is a foreign column).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 21,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 223,
+ "name": "nullsFirst",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, `null`s appear first."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 20,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 222,
+ 224,
+ 223
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 17,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 49,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 16,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 49,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ },
+ {
+ "id": 174,
+ "name": "ov",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 175,
+ "name": "ov",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose array or range value on the stated `column` is\ncontained by the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 176,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 177,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 286,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 192,
+ "name": "phfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 193,
+ "name": "phfts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 194,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 195,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 196,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 197,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 198,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 333,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 198
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 333,
+ "character": 39
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 333,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 185,
+ "name": "plfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 186,
+ "name": "plfts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 187,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 188,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 189,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 191,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 191
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 39
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 231,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 232,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 233,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The starting index from which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 234,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The last index to which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 235,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 236,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 237,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 237
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 56,
+ "character": 15
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 63,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 54,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 63,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ },
+ {
+ "id": 238,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 239,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": 14,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 70,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 70,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ },
+ {
+ "id": 154,
+ "name": "sl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "sl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 157,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 226,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 158,
+ "name": "sr",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 159,
+ "name": "sr",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 161,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 238,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 251,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 252,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 253,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 254,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 255,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 256,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 257,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 258,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 259,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 260,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 262,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 199,
+ "name": "wfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 200,
+ "name": "wfts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 201,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 202,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 203,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 204,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 205,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 347,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 205
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 347,
+ "character": 38
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 347,
+ "character": 6
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 248
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 247,
+ 242,
+ 240,
+ 246,
+ 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 170,
+ 150,
+ 146,
+ 106,
+ 206,
+ 178,
+ 114,
+ 118,
+ 134,
+ 142,
+ 138,
+ 130,
+ 225,
+ 122,
+ 126,
+ 211,
+ 110,
+ 98,
+ 162,
+ 166,
+ 103,
+ 217,
+ 174,
+ 192,
+ 185,
+ 231,
+ 238,
+ 154,
+ 158,
+ 251,
+ 199
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 33,
+ "character": 43
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 267,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 9,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "eq"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "neq"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gt"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gte"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "lt"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "lte"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "like"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "ilike"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "is"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "in"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "cs"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "cd"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "sl"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "sr"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "nxl"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "nxr"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "adj"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "ov"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "fts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "plfts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "phfts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "wfts"
+ }
+ ]
+ }
+ },
+ {
+ "id": 263,
+ "name": "cleanFilterArray",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "comment": {
+ "shortText": "Filters"
+ },
+ "signatures": [
+ {
+ "id": 264,
+ "name": "cleanFilterArray",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "typeParameter": [
+ {
+ "id": 265,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 266,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 7,
+ "character": 22
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 96
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 267
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 263
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 268,
+ "name": "\"lib/PostgrestQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
+ "children": [
+ {
+ "id": 269,
+ "name": "PostgrestQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "CRUD"
+ },
+ "typeParameter": [
+ {
+ "id": 270,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 271,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 272,
+ "name": "new PostgrestQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 273,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 274,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 275,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 276,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 11,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 277,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 278,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 279,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 280,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 11,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 276,
+ 280
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 10,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 269,
+ "name": "PostgrestQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 75
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 306,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 301,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 302,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 303,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 25,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 299,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 305,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 300,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 24,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 294,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 295,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 79,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 286,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 287,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 288,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 290,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 53,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 289,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, performs an UPSERT."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 53,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 290,
+ 289
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 52,
+ "character": 38
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 51,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 281,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 282,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs horizontal filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 283,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"*\""
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 24,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 307,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 308,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 309,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 310,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 311,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 312,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 313,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 314,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 315,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 316,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 318,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 291,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 292,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 293,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 69,
+ "character": 8
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 271
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 306,
+ 301,
+ 299,
+ 305,
+ 300
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 294,
+ 284,
+ 281,
+ 307,
+ 291
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 42
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 269
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 46,
+ "name": "\"lib/PostgrestTransformBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "children": [
+ {
+ "id": 47,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "typeParameter": [
+ {
+ "id": 48,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 80,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 81,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 82,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 44
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 79,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 74,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 76,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 25,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 72,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 78,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 73,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 24,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 57,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 58,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 59,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The maximum no. of rows to limit to."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 60,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 62,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 40,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 62
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 39,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 38,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 49,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 50,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 51,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to order on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 52,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 54,
+ "name": "ascending",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the result will be in ascending order."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 19,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 56,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (if `column` is a foreign column).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 21,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 55,
+ "name": "nullsFirst",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, `null`s appear first."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 20,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 54,
+ 56,
+ 55
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 17,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 16,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 63,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 64,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 65,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The starting index from which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 66,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The last index to which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 67,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 68,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 69,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 69
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 56,
+ "character": 15
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 54,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 70,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 71,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": 14,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 83,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 84,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 85,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 86,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 87,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 88,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 89,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 90,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 91,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 92,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 93,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 94,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 80
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 79,
+ 74,
+ 72,
+ 78,
+ 73
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 57,
+ 49,
+ 63,
+ 70,
+ 83
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 7,
+ "character": 46
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 96,
+ "name": "PostgrestFilterBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 47
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 21,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 22,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 31,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 32,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 33,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 44
+ }
+ ]
+ },
+ {
+ "id": 30,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 25,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 26,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 27,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 28,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 23,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 29,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 24,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 34,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 35,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 36,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 37,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 38,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 39,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 40,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 41,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 42,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 43,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 44,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 45,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 31
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 30,
+ 25,
+ 23,
+ 29,
+ 24
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 34
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 269,
+ "name": "PostgrestQueryBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "PostgrestError",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "children": [
+ {
+ "id": 6,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 4,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 5,
+ "name": "hint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 3,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 6,
+ 4,
+ 5,
+ 3
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 7,
+ "name": "PostgrestResponse",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Response format",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/32}\n"
+ },
+ "typeParameter": [
+ {
+ "id": 8,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "children": [
+ {
+ "id": 13,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 10,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 9,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestError"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 11,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 12,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 13,
+ 10,
+ 9,
+ 11,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 20,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 14,
+ "name": "PostgrestSingleResponse",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 15,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 20,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 35,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 17,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 31,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 16,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestError"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 18,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 32,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 19,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 20,
+ 17,
+ 16,
+ 18,
+ 19
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 40
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 21
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 2,
+ 7,
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 319,
+ 349,
+ 95,
+ 268,
+ 46,
+ 1
+ ]
+ }
+ ]
+ },
+ {
+ "id": 0,
+ "name": "@supabase/realtime-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 169,
+ "name": "\"RealtimeClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts",
+ "children": [
+ {
+ "id": 170,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 200,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket"
+ },
+ "signatures": [
+ {
+ "id": 201,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket"
+ },
+ "parameters": [
+ {
+ "id": 202,
+ "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": 203,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 273,
+ "name": "Options"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 171,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 193,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "WebSocket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 191,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 190,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 172,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 37,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 173,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 38,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 174,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 175,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 176,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 183,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 185,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 189,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 184,
+ "name": "longpollerTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "20000"
+ },
+ {
+ "id": 177,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 39,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 178,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 179,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 180,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 186,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 192,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 188,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 187,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 194,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 181,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 182,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "WebSocket"
+ },
+ {
+ "id": 262,
+ "name": "_appendParams",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 263,
+ "name": "_appendParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 264,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 265,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 266,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 267,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 347,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 347,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 269,
+ "name": "_flushSendBuffer",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 270,
+ "name": "_flushSendBuffer",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 355,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 254,
+ "name": "_onConnClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 255,
+ "name": "_onConnClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 256,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 327,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 257,
+ "name": "_onConnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 258,
+ "name": "_onConnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 259,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 335,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 252,
+ "name": "_onConnOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 253,
+ "name": "_onConnOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 314,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 271,
+ "name": "_sendHeartbeat",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 272,
+ "name": "_sendHeartbeat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 362,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 260,
+ "name": "_triggerChanError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "_triggerChanError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 341,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 237,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 238,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 240,
+ "name": "chanParams",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 241,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 246,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Connects the socket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 118,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 230,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 231,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "connecting"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "open"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "closing"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "closed"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 215,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "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": 209,
+ "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": 210,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 212,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 211,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 212,
+ 211
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 139,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 248,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 249,
+ "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": 293,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 232,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 233,
+ "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": 231,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 213,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 214,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs the message. Override `this.logger` for specialized logging."
+ },
+ "parameters": [
+ {
+ "id": 215,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 216,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 217,
+ "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": 164,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 250,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 251,
+ "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": 303,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Registers a callbacks for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 223,
+ "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": 186,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 245,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 246,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 247,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 267,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 224,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 225,
+ "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": 226,
+ "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": 197,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 227,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 228,
+ "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": 229,
+ "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": 208,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 218,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 219,
+ "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": 220,
+ "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": 175,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 242,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 243,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 244,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 291,
+ "name": "Message"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 252,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 234,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 235,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 236,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 240,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 195,
+ "name": "stateChangeCallbacks",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 197,
+ "name": "close",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 198,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 199,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 196,
+ "name": "open",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 197,
+ 198,
+ 199,
+ 196
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 200
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 171,
+ 193,
+ 191,
+ 190,
+ 172,
+ 173,
+ 183,
+ 185,
+ 189,
+ 184,
+ 177,
+ 186,
+ 192,
+ 188,
+ 187,
+ 194,
+ 181,
+ 182
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 262,
+ 269,
+ 254,
+ 257,
+ 252,
+ 271,
+ 260,
+ 237,
+ 204,
+ 230,
+ 206,
+ 248,
+ 232,
+ 213,
+ 250,
+ 221,
+ 245,
+ 224,
+ 227,
+ 218,
+ 242,
+ 234
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 195
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 35
+ }
+ ]
+ },
+ {
+ "id": 291,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 292,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 294,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 295,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 296,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 293,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 294,
+ 295,
+ 296,
+ 293
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 273,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 274,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 281,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 280,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 283,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 284,
+ "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": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 277,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 279,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 278,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 287,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 288,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 289,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 290,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 282,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 276,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 275,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 15,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 281,
+ 280,
+ 283,
+ 277,
+ 279,
+ 278,
+ 287,
+ 282,
+ 276,
+ 275
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 14,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 297,
+ "name": "noop",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "noop",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 10
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 170
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 291,
+ 273
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 297
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 90,
+ "name": "\"RealtimeSubscription\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts",
+ "children": [
+ {
+ "id": 91,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 99,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 103,
+ "name": "new RealtimeSubscription",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 104,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 105,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 106,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 92,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 96,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ },
+ {
+ "id": 95,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 101,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 98,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 97,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 12,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 102,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 18,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 94,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 9,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 93,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 8,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 100,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 16,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 125,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 126,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 159,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 160,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 191,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 161,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 162,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 194,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 163,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 164,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 197,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 165,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 166,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 200,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 203,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 140,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 141,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 142,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 151,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 143,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 144,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 155,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 122,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 93,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 118,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 119,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 121,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 89,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 112,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 113,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 114,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 81,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 115,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 116,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 117,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 85,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 135,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 136,
+ "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": 137,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 139,
+ "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": "RealtimeSubscription.ts",
+ "line": 147,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 127,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 128,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 129,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "CHANNEL_EVENTS"
+ }
+ },
+ {
+ "id": 130,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 131,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 101,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 148,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 149,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 150,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 164,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 107,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 108,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 64,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 156,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 157,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 158,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 187,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 145,
+ "name": "sendJoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 146,
+ "name": "sendJoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 147,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 159,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 109,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 110,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 111,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 151,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 152,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 154,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 155,
+ "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": "RealtimeSubscription.ts",
+ "line": 171,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 132,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 133,
+ "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": 134,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 125,
+ "character": 13
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 99
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 92,
+ 96,
+ 95,
+ 101,
+ 98,
+ 97,
+ 102,
+ 94,
+ 93,
+ 100
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 125,
+ 159,
+ 161,
+ 163,
+ 165,
+ 167,
+ 140,
+ 143,
+ 122,
+ 118,
+ 112,
+ 115,
+ 135,
+ 127,
+ 148,
+ 107,
+ 156,
+ 145,
+ 109,
+ 151,
+ 132
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 91
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 385,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 13,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 23,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 15,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 24,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 16,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 18,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 17,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 14,
+ 15,
+ 16,
+ 18,
+ 17
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 22,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 7,
+ "name": "CHANNEL_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": "\"closed\""
+ },
+ {
+ "id": 9,
+ "name": "errored",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"errored\""
+ },
+ {
+ "id": 10,
+ "name": "joined",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 17,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"joined\""
+ },
+ {
+ "id": 11,
+ "name": "joining",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"joining\""
+ },
+ {
+ "id": 12,
+ "name": "leaving",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 19,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"leaving\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 8,
+ 9,
+ 10,
+ 11,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 14,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "SOCKET_STATES",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 6,
+ "name": "closed",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "defaultValue": "3"
+ },
+ {
+ "id": 5,
+ "name": "closing",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "defaultValue": "2"
+ },
+ {
+ "id": 3,
+ "name": "connecting",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "defaultValue": "0"
+ },
+ {
+ "id": 4,
+ "name": "open",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 9,
+ "character": 6
+ }
+ ],
+ "defaultValue": "1"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 6,
+ 5,
+ 3,
+ 4
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 7,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 19,
+ "name": "TRANSPORTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 20,
+ "name": "websocket",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"websocket\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 20
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 22,
+ "name": "DEFAULT_TIMEOUT",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "10000"
+ },
+ "defaultValue": "10000"
+ },
+ {
+ "id": 21,
+ "name": "VSN",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"1.0.0\""
+ },
+ {
+ "id": 23,
+ "name": "WS_CLOSE_NORMAL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 5,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "1000"
+ },
+ "defaultValue": "1000"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 4,
+ "children": [
+ 13,
+ 7,
+ 2,
+ 19
+ ]
+ },
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 22,
+ 21,
+ 23
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 38,
+ "name": "\"lib/push\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts",
+ "children": [
+ {
+ "id": 39,
+ "name": "Push",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 52,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Push"
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "new Push",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Push"
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The Channel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 59,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The event, for example `\"phx_join\"`"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 60,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The payload, for example `{user_id: 123}`"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 61,
+ "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": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 16,
+ "character": 32
+ }
+ ]
+ },
+ {
+ "id": 53,
+ "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": 91,
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 54,
+ "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": 55,
+ "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": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 47,
+ "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": 48,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 50,
+ "name": "callback",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 49,
+ "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": [
+ 50,
+ 49
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 12,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 43,
+ "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": 44,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 46,
+ "name": "response",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 45,
+ "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": [
+ 46,
+ 45
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 8,
+ "character": 15
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 42,
+ "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": 51,
+ "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": 40,
+ "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": 56,
+ "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": 41,
+ "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": 77,
+ "name": "_cancelRefEvent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 78,
+ "name": "_cancelRefEvent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 89,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 79,
+ "name": "_cancelTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 80,
+ "name": "_cancelTimeout",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 96,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 87,
+ "name": "_hasReceived",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 88,
+ "name": "_hasReceived",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 89,
+ "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": 113,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 81,
+ "name": "_matchReceive",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 82,
+ "name": "_matchReceive",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 83,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 84,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 86,
+ "name": "response",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 103,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 85,
+ "name": "status",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 102,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 86,
+ 85
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 101,
+ "character": 24
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 101,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 67,
+ "name": "receive",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 68,
+ "name": "receive",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 69,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 70,
+ "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": 57,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 62,
+ "name": "resend",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 63,
+ "name": "resend",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 64,
+ "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": 65,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 66,
+ "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": 71,
+ "name": "startTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 72,
+ "name": "startTimeout",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 66,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 73,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 74,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 75,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "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": 85,
+ "character": 9
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 52
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 53,
+ 54,
+ 55,
+ 47,
+ 43,
+ 42,
+ 51,
+ 40,
+ 56,
+ 41
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 77,
+ 79,
+ 87,
+ 81,
+ 67,
+ 62,
+ 65,
+ 71,
+ 73
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 4,
+ "character": 25
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 39
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 24,
+ "name": "\"lib/timer\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts",
+ "children": [
+ {
+ "id": 25,
+ "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": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 31,
+ "name": "new Timer",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 32,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 33,
+ "name": "timerCalc",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "Timer"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 15,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 29,
+ "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": 26,
+ "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": 30,
+ "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": 27,
+ "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": 34,
+ "name": "reset",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 35,
+ "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": 36,
+ "name": "scheduleTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 37,
+ "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": [
+ 28
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 29,
+ 26,
+ 30,
+ 27
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 34,
+ 36
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 13,
+ "character": 26
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 25
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 299,
+ "name": "\"lib/transformers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts",
+ "children": [
+ {
+ "id": 300,
+ "name": "PostgresTypes",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Helpers to convert the change Payload into native JS types."
+ },
+ "children": [
+ {
+ "id": 301,
+ "name": "abstime",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"abstime\""
+ },
+ {
+ "id": 302,
+ "name": "bool",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 10,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"bool\""
+ },
+ {
+ "id": 303,
+ "name": "date",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"date\""
+ },
+ {
+ "id": 304,
+ "name": "daterange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 12,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"daterange\""
+ },
+ {
+ "id": 305,
+ "name": "float4",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"float4\""
+ },
+ {
+ "id": 306,
+ "name": "float8",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 14,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"float8\""
+ },
+ {
+ "id": 307,
+ "name": "int2",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 15,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int2\""
+ },
+ {
+ "id": 308,
+ "name": "int4",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 16,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int4\""
+ },
+ {
+ "id": 309,
+ "name": "int4range",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"int4range\""
+ },
+ {
+ "id": 310,
+ "name": "int8",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 18,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int8\""
+ },
+ {
+ "id": 311,
+ "name": "int8range",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 19,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"int8range\""
+ },
+ {
+ "id": 312,
+ "name": "json",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 20,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"json\""
+ },
+ {
+ "id": 313,
+ "name": "jsonb",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 21,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"jsonb\""
+ },
+ {
+ "id": 314,
+ "name": "money",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 22,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"money\""
+ },
+ {
+ "id": 315,
+ "name": "numeric",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 23,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"numeric\""
+ },
+ {
+ "id": 316,
+ "name": "oid",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 24,
+ "character": 5
+ }
+ ],
+ "defaultValue": "\"oid\""
+ },
+ {
+ "id": 317,
+ "name": "reltime",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"reltime\""
+ },
+ {
+ "id": 318,
+ "name": "time",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"time\""
+ },
+ {
+ "id": 319,
+ "name": "timestamp",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 27,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"timestamp\""
+ },
+ {
+ "id": 320,
+ "name": "timestamptz",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 28,
+ "character": 13
+ }
+ ],
+ "defaultValue": "\"timestamptz\""
+ },
+ {
+ "id": 321,
+ "name": "timetz",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 29,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"timetz\""
+ },
+ {
+ "id": 322,
+ "name": "tsrange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 30,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"tsrange\""
+ },
+ {
+ "id": 323,
+ "name": "tstzrange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 31,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"tstzrange\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 301,
+ 302,
+ 303,
+ 304,
+ 305,
+ 306,
+ 307,
+ 308,
+ 309,
+ 310,
+ 311,
+ 312,
+ 313,
+ 314,
+ 315,
+ 316,
+ 317,
+ 318,
+ 319,
+ 320,
+ 321,
+ 322,
+ 323
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 8,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "Column",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 34,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 326,
+ "name": "flags",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 327,
+ "name": "name",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 328,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 329,
+ "name": "type_modifier",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 38,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 326,
+ 327,
+ 328,
+ 329
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 34,
+ "character": 13
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 330,
+ "name": "Records",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 41,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 331,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 332,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 333,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 41,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 350,
+ "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', 'true')\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": 351,
+ "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', 'true')\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": 352,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "A postgres column type"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 353,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The cell value\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 112,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 334,
+ "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": 335,
+ "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": 336,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 324,
+ "name": "Column"
+ }
+ }
+ },
+ {
+ "id": 337,
+ "name": "records",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "reference",
+ "id": 330,
+ "name": "Records"
+ }
+ },
+ {
+ "id": 338,
+ "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": 339,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 340,
+ "name": "skipTypes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 340
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 60,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 342,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 343,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 57,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "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'}], ['Paul', '33'], [])\n//=> 33"
+ },
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 345,
+ "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'}], ['Paul', '33'], [])\n//=> 33"
+ },
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 346,
+ "name": "columnName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The column that you want to convert"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 347,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 324,
+ "name": "Column"
+ }
+ }
+ },
+ {
+ "id": 348,
+ "name": "records",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The map of string values"
+ },
+ "type": {
+ "type": "reference",
+ "id": 330,
+ "name": "Records"
+ }
+ },
+ {
+ "id": 349,
+ "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": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 85,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 354,
+ "name": "noop",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 355,
+ "name": "noop",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 356,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 183,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 378,
+ "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('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]"
+ },
+ {
+ "tag": "example",
+ "text": "toArray('{}', 'int4')\n//=> []\n"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 379,
+ "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('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]"
+ },
+ {
+ "tag": "example",
+ "text": "toArray('{}', 'int4')\n//=> []\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 380,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 381,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 225,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "toBoolean",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 358,
+ "name": "toBoolean",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "stringValue",
+ "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/transformers.ts",
+ "line": 186,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 360,
+ "name": "toDate",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 361,
+ "name": "toDate",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 362,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Date"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 196,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 363,
+ "name": "toDateRange",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 364,
+ "name": "toDateRange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 365,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Date"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 199,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 366,
+ "name": "toFloat",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 367,
+ "name": "toFloat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 368,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 203,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 369,
+ "name": "toInt",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 370,
+ "name": "toInt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 371,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 206,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 372,
+ "name": "toIntRange",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 373,
+ "name": "toIntRange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 374,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 209,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 375,
+ "name": "toJson",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 376,
+ "name": "toJson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 377,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 213,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 382,
+ "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": 383,
+ "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": 384,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 246,
+ "character": 30
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 4,
+ "children": [
+ 300
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 324,
+ 330
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 350,
+ 334,
+ 344,
+ 354,
+ 378,
+ 357,
+ 360,
+ 363,
+ 366,
+ 369,
+ 372,
+ 375,
+ 382
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 169,
+ 90,
+ 385,
+ 1,
+ 38,
+ 24,
+ 299
+ ]
+ }
+ ]
+ }
+ ]
+}
diff --git a/web/spec/gen/components/Example.ts b/web/spec/gen/components/Example.ts
new file mode 100644
index 00000000000..29945f844de
--- /dev/null
+++ b/web/spec/gen/components/Example.ts
@@ -0,0 +1,12 @@
+type params = { name: string; description:string; tabs: string }
+
+const Example = ({ name, description = '', tabs = '' }: params) =>
+ `
+### ${name}
+
+${description}
+
+${tabs}
+`.trim()
+
+export default Example
diff --git a/web/spec/gen/components/Page.ts b/web/spec/gen/components/Page.ts
new file mode 100644
index 00000000000..87fe1f05763
--- /dev/null
+++ b/web/spec/gen/components/Page.ts
@@ -0,0 +1,62 @@
+type PageParmas = {
+ id: string
+ title: string
+ slug: string
+ description?: string
+ parameters?: string
+ examples?: string[]
+ spotlight?: string
+ notes?: string
+ result?: string
+ errors?: string
+}
+
+const Page = ({
+ id,
+ title,
+ slug,
+ description = '',
+ parameters = '',
+ examples = [],
+ spotlight = '',
+ notes = '',
+ result = '',
+ errors = '',
+}: PageParmas) =>
+ `
+---
+id: ${id}
+title: "${title}"
+slug: ${slug}
+---
+
+import Tabs from '@theme/Tabs';
+import TabItem from '@theme/TabItem';
+
+${description}
+
+${spotlight}
+
+${parameters ? `## Parameters` : ''}
+
+${parameters}
+
+${notes ? '## Notes' : ''}
+
+${notes}
+
+${result ? `## Result` : ''}
+
+${result}
+
+${errors ? `## Errors` : ''}
+
+${errors}
+
+${examples.length > 0 ? '## Examples' : ''}
+
+${examples.join(`\n\n`)}
+
+`.trim()
+
+export default Page
\ No newline at end of file
diff --git a/web/spec/gen/components/Sidebar.ts b/web/spec/gen/components/Sidebar.ts
new file mode 100644
index 00000000000..8448c54d44e
--- /dev/null
+++ b/web/spec/gen/components/Sidebar.ts
@@ -0,0 +1,10 @@
+const Sidebar = (categories) =>
+ `
+module.exports = {
+ docs: [
+ ${categories.map((x) => x).join(',\n ')}
+ ],
+}
+`.trim()
+
+export default Sidebar
\ No newline at end of file
diff --git a/web/spec/gen/components/SidebarCategory.ts b/web/spec/gen/components/SidebarCategory.ts
new file mode 100644
index 00000000000..df939aabba8
--- /dev/null
+++ b/web/spec/gen/components/SidebarCategory.ts
@@ -0,0 +1,8 @@
+export default function SidebarCategory(name, items) {
+ return `{
+ type: 'category',
+ label: '${name}',
+ items: [${items.join(', ')}],
+ collapsed: false,
+ }`
+}
diff --git a/web/spec/gen/components/Tab.ts b/web/spec/gen/components/Tab.ts
new file mode 100644
index 00000000000..c5e32c105b0
--- /dev/null
+++ b/web/spec/gen/components/Tab.ts
@@ -0,0 +1,10 @@
+const Tab = (library, exampleText) =>
+ `
+
+
+${exampleText}
+
+
+`.trim()
+
+export default Tab
\ No newline at end of file
diff --git a/web/spec/gen/components/Tabs.ts b/web/spec/gen/components/Tabs.ts
new file mode 100644
index 00000000000..8dcb1de8a12
--- /dev/null
+++ b/web/spec/gen/components/Tabs.ts
@@ -0,0 +1,13 @@
+const Tabs = (libraries = [], examples = []) =>
+ `
+ `{ label: '${x.name}', value: '${x.id}' }`).toString()}]}>
+
+${examples}
+
+
+`.trim()
+
+export default Tabs
\ No newline at end of file
diff --git a/web/spec/gen/definitions.ts b/web/spec/gen/definitions.ts
new file mode 100644
index 00000000000..96f1f44dfe3
--- /dev/null
+++ b/web/spec/gen/definitions.ts
@@ -0,0 +1,33 @@
+export namespace TsDoc {
+ export type DocComment = {
+ shortText?: string
+ text?: string
+ tags?: CommentTag[]
+ }
+ export type CommentTag = {
+ tag: 'param' | 'returns'
+ text: string
+ param: string
+ }
+
+ export type TypeDefinition = {
+ id: string
+ name: string
+ kind: number
+ kindString: 'Parameter' | 'Method'
+ comment?: CommentTag
+ flags: { isExported: boolean; isOptional?: boolean }
+ type: { type: string; name: string; declaration: TypeDefinition }
+ children: TypeDefinition[]
+ }
+}
+
+export namespace OpenRef {
+ export type Page = {
+ pageName: string
+ title?: string
+ description?: string
+ notes?: string
+ // $ref?: string // reference to a TSDoc node
+ }
+}
diff --git a/web/spec/gen/lib/helpers.ts b/web/spec/gen/lib/helpers.ts
new file mode 100644
index 00000000000..9df412e7708
--- /dev/null
+++ b/web/spec/gen/lib/helpers.ts
@@ -0,0 +1,54 @@
+import { TsDoc } from '../definitions'
+
+const fs = require('fs')
+
+/**
+ * tsDocCommentToMdParams()
+ */
+export const tsDocCommentToMdParams = (tags?: TsDoc.CommentTag[]) =>
+ tags
+ .filter((x) => x.tag == 'param')
+ .map((x) =>
+ `
+tag
+
+`.trim()
+ )
+ .join('\n')
+
+/**
+ * tsDocCommentToMarkdown()
+ */
+export const tsDocCommentToMdComment = (commentObject: TsDoc.DocComment) =>
+ `
+${commentObject?.shortText || ''}
+
+${commentObject?.text || ''}
+
+`.trim()
+
+/**
+ * slugify()
+ */
+export const slugify = (text) => {
+ return text
+ .toString()
+ .toLowerCase()
+ .replace(/[. )(]/g, '-') // Replace spaces and brackets -
+ .replace(/[^\w\-]+/g, '') // Remove all non-word chars
+ .replace(/\-\-+/g, '-') // Replace multiple - with single -
+ .replace(/^-+/, '') // Trim - from start of text
+ .replace(/-+$/, '') // Trim - from end of text
+}
+
+/**
+ * writeToDisk()
+ */
+export const writeToDisk = (fileName: string, content: any) => {
+ return new Promise((resolve, reject) => {
+ fs.writeFile(fileName, content, (err) => {
+ if (err) return reject(err)
+ else return resolve(true)
+ })
+ })
+}
diff --git a/web/spec/gotrue.json b/web/spec/gotrue.json
new file mode 100644
index 00000000000..cd2b492a38b
--- /dev/null
+++ b/web/spec/gotrue.json
@@ -0,0 +1,7188 @@
+{
+ "id": 0,
+ "name": "@supabase/gotrue-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 68,
+ "name": "\"GoTrueApi\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueApi.ts",
+ "children": [
+ {
+ "id": 69,
+ "name": "GoTrueApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 75,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 76,
+ "name": "new GoTrueApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 78,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 80,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 12,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 81,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 82,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 83,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 79,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 11,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 80,
+ 79
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 10,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueApi"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 8,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 71,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 6,
+ "character": 19
+ }
+ ],
+ "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": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 6,
+ "character": 20
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 70,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 5,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 110,
+ "name": "getUrlForProvider",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 111,
+ "name": "getUrlForProvider",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Generates the relevant login URL for a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 112,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "One of the providers supported by GoTrue.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 93,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "name": "getUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 114,
+ "name": "getUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets the user details."
+ },
+ "parameters": [
+ {
+ "id": 115,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 116,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 117,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 106,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 118,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 106,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 117,
+ 118
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 119,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 120,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 108,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 121,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 108,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 120,
+ 121
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 101,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 132,
+ "name": "refreshAccessToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 133,
+ "name": "refreshAccessToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Generates a new JWT."
+ },
+ "parameters": [
+ {
+ "id": 134,
+ "name": "refreshToken",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "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": 135,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 136,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 139,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 137,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 139,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 136,
+ 137
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 138,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 139,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 141,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 140,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 141,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 139,
+ 140
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 132,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 98,
+ "name": "resetPasswordForEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 99,
+ "name": "resetPasswordForEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Sends a reset request to an email address."
+ },
+ "parameters": [
+ {
+ "id": 100,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The email address of the user.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 101,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 102,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 60
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 103,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 61
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 104,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 78
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 102,
+ 104
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 54
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 65,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 91,
+ "name": "signInWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 92,
+ "name": "signInWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs in an existing using their email address."
+ },
+ "parameters": [
+ {
+ "id": 93,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 94,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The password of the user.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 95,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 96,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 48,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 97,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 48,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 96,
+ 97
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 48,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 45,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 105,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 106,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 107,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 109,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 78,
+ "character": 45
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 109
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 78,
+ "character": 38
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 78,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 84,
+ "name": "signUpWithEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 85,
+ "name": "signUpWithEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new user using their email address."
+ },
+ "parameters": [
+ {
+ "id": 86,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 87,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The password of the user.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 88,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 89,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 31,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 90,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 31,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 89,
+ 90
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 31,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 28,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 122,
+ "name": "updateUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "updateUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A valid, logged-in JWT."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 125,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The data you want to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 51,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 127,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 122,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 128,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 122,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 127,
+ 128
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 130,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 124,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 131,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 124,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 130,
+ 131
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 117,
+ "character": 18
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 75
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 71,
+ 70
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 110,
+ 113,
+ 132,
+ 98,
+ 91,
+ 105,
+ 84,
+ 122
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 4,
+ "character": 30
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 69
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueApi.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 180,
+ "name": "\"GoTrueClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/GoTrueClient.ts",
+ "children": [
+ {
+ "id": 181,
+ "name": "GoTrueClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 189,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "signatures": [
+ {
+ "id": 190,
+ "name": "new GoTrueClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 191,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 192,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 199,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Set to \"true\" if you want to automatically refresh the token before expiring."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 46,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 198,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Set to \"true\" if you want to automatically detects OAuth grants in the URL and signs in the user."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 45,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 194,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Any additional headers to send to the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 44,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 195,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 196,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 197,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 201,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 48,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 200,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Set to \"true\" if you want to automatically save the user session into local storage."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 47,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 193,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The URL of the GoTrue server."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 43,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 199,
+ 198,
+ 194,
+ 201,
+ 200,
+ 193
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 42,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 181,
+ "name": "GoTrueClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 31,
+ "character": 71
+ }
+ ]
+ },
+ {
+ "id": 182,
+ "name": "api",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Namespace for the GoTrue API methods.\nThese can be used for example to get a user from a JWT in a server environment or reset a user's password."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 19,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueApi"
+ }
+ },
+ {
+ "id": 185,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 28,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 184,
+ "name": "currentSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The session object for the currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 27,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 183,
+ "name": "currentUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 23,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 187,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 30,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 186,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 29,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 188,
+ "name": "stateChangeEmmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 31,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "id": 56,
+ "name": "Subscription"
+ }
+ ],
+ "name": "Map"
+ },
+ "defaultValue": "new Map()"
+ },
+ {
+ "id": 307,
+ "name": "_callRefreshToken",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 308,
+ "name": "_callRefreshToken",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 309,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 310,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 382,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 311,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 382,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 310,
+ 311
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 312,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 313,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 385,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 314,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 385,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 313,
+ 314
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 364,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 271,
+ "name": "_handeEmailSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 272,
+ "name": "_handeEmailSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 273,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 274,
+ "name": "password",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 275,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 276,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 287,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 278,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 287,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 277,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 287,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ "defaultValue": "data.user"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 276,
+ 278,
+ 277
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 279,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 280,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 289,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 282,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 289,
+ "character": 44
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 281,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 289,
+ "character": 31
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 280,
+ 282,
+ 281
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 277,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 283,
+ "name": "_handeProviderSignIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 284,
+ "name": "_handeProviderSignIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 285,
+ "name": "provider",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 286,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 289,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 291,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 59
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 287,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 288,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 290,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 301,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 289,
+ 291,
+ 287,
+ 288,
+ 290
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 292,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 293,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 305,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 295,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 305,
+ "character": 49
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 294,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 305,
+ "character": 36
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ "defaultValue": "null"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 293,
+ 295,
+ 294
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 293,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 315,
+ "name": "_notifyAllSubscribers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 316,
+ "name": "_notifyAllSubscribers",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 317,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 67,
+ "name": "AuthChangeEvent"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 389,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 299,
+ "name": "_persistSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 300,
+ "name": "_persistSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 301,
+ "name": "currentSession",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ }
+ },
+ {
+ "id": 302,
+ "name": "secondsToExpiry",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 323,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 305,
+ "name": "_recoverSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 306,
+ "name": "_recoverSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 336,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 303,
+ "name": "_removeSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 304,
+ "name": "_removeSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 330,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 296,
+ "name": "_saveSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 297,
+ "name": "_saveSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 298,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 309,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 249,
+ "name": "getSessionFromUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 250,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "parameters": [
+ {
+ "id": 251,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 252,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 253,
+ "name": "storeSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Optionally store the session in the browser\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 200,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 253
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 254,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 255,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 201,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 256,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 201,
+ "character": 43
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 255,
+ 256
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 201,
+ "character": 14
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 199,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 261,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 262,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubcribe itself.\n"
+ },
+ "parameters": [
+ {
+ "id": 263,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 264,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 265,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 266,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 67,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 267,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 258,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 268,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 269,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 259,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 56,
+ "name": "Subscription"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 270,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 259,
+ "character": 39
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 269,
+ 270
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 259,
+ "character": 4
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 257,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 236,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 237,
+ "name": "refreshSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Force refreshes the session including the user data in case it was updated in a different session."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 238,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 239,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 155,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 241,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 157,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 240,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 156,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 239,
+ 241,
+ 240
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 154,
+ "character": 34
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 154,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 231,
+ "name": "session",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 232,
+ "name": "session",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the session data, if there is an active session."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 233,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 234,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 235,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 234,
+ 235
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 12
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 141,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 212,
+ "name": "signIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 213,
+ "name": "signIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Log in an existing user, or login via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 214,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 215,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 216,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 104,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 217,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 105,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 218,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "One of the providers supported by GoTrue.\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 106,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 216,
+ 217,
+ 218
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 103,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 219,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 220,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 108,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 224,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 112,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 222,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 110,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 66,
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 223,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 111,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 221,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 109,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 220,
+ 224,
+ 222,
+ 223,
+ 221
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 107,
+ "character": 14
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 103,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 257,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 258,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Signs out the current user, if there is a logged in user."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 259,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 260,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 243,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 260
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 243,
+ "character": 27
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 243,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 202,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 203,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 204,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 205,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 206,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 76,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 207,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's password.\n"
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 77,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 206,
+ 207
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 75,
+ "character": 27
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 208,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 209,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 211,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 62
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 210,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 42
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 209,
+ 211,
+ 210
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 78,
+ "character": 14
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 75,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 242,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 243,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 244,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 51,
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 245,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 246,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 248,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 58
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 247,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 38
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 246,
+ 248,
+ 247
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 179,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 177,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "user",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "user",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the user data, if there is a logged in user."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 227,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 228,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 230,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 55
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 229,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 228,
+ 230,
+ 229
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 9
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 128,
+ "character": 6
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 189
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 182,
+ 185,
+ 184,
+ 183,
+ 187,
+ 186,
+ 188
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 307,
+ 271,
+ 283,
+ 315,
+ 299,
+ 305,
+ 303,
+ 296,
+ 249,
+ 261,
+ 236,
+ 231,
+ 212,
+ 257,
+ 202,
+ 242,
+ 225
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 14,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 318,
+ "name": "DEFAULT_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 320,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 8,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 323,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 11,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 324,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 12,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 322,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 10,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ },
+ "defaultValue": "global.localStorage"
+ },
+ {
+ "id": 321,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 9,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 319,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 7,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "GOTRUE_URL"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 320,
+ 323,
+ 324,
+ 322,
+ 321,
+ 319
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 6,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 181
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 318
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "GoTrueClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 326,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 173,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 175,
+ "name": "AUDIENCE",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 2,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "process.env.AUDIENCE || ''"
+ },
+ {
+ "id": 176,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 177,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "EXPIRY_MARGIN",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 4,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ },
+ "defaultValue": "process.env.EXPIRY_MARGIN || 60 * 1000"
+ },
+ {
+ "id": 174,
+ "name": "GOTRUE_URL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "process.env.GOTRUE_URL || 'http://localhost:9999'"
+ },
+ {
+ "id": 179,
+ "name": "STORAGE_KEY",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 5,
+ "character": 24
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "process.env.STORAGE_KEY || 'supabase.auth.token'"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 175,
+ 176,
+ 178,
+ 174,
+ 179
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/fetch\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/fetch.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "FetchOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 3,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 4,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 4,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 5,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 6,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 7,
+ "name": "noResolveJson",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 7,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 3,
+ 7
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 3,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 12,
+ "name": "get",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 13,
+ "name": "get",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 14,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 15,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 22,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 8,
+ "name": "handleError",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 9,
+ "name": "handleError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 11,
+ "name": "reject",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 10,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 16,
+ "name": "post",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 17,
+ "name": "post",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 18,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 19,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 20,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 37,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 21,
+ "name": "put",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 22,
+ "name": "put",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 23,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 24,
+ "name": "body",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 25,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 2,
+ "name": "FetchOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 53,
+ "character": 25
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 2
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 12,
+ 8,
+ 16,
+ 21
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/fetch.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 141,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 142,
+ "name": "LocalStorage",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 144,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 145,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 147,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 148,
+ "name": "new LocalStorage",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 149,
+ "name": "localStorage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 142,
+ "name": "LocalStorage"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 24,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 146,
+ "name": "length",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 143,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 22,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 150,
+ "name": "clear",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 151,
+ "name": "clear",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 28,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 159,
+ "name": "getItem",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 160,
+ "name": "getItem",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 161,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 37,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 152,
+ "name": "key",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 153,
+ "name": "key",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 154,
+ "name": "index",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 31,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "removeItem",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "removeItem",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 164,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 40,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 155,
+ "name": "setItem",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 156,
+ "name": "setItem",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 157,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 158,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 34,
+ "character": 9
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 147
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 146,
+ 143
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 150,
+ 159,
+ 152,
+ 162,
+ 155
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 21,
+ "character": 25
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "name": "Storage"
+ }
+ ]
+ },
+ {
+ "id": 169,
+ "name": "getParameterByName",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 170,
+ "name": "getParameterByName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 171,
+ "name": "name",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 172,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "null"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 11,
+ "character": 34
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "isBrowser",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "isBrowser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 9,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 165,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 166,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 20
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 142
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 169,
+ 167,
+ 165
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 26,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/gotrue-js/gotrue-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 27,
+ "name": "Session",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 28,
+ "name": "access_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 6,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 29,
+ "name": "expires_in",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 7,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 30,
+ "name": "refresh_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 31,
+ "name": "token_type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 32,
+ "name": "user",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 33,
+ "name": "User"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 28,
+ 29,
+ 30,
+ 31,
+ 32
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 5,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 56,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 58,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 59,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 60,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 61,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 67,
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 62,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 27,
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 58,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 57,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The subscriber UUID. This will be set by the client."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 63,
+ "name": "unsubscribe",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Call this to remove the listener."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 62,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 64,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 65,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 62,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 58,
+ 57,
+ 63
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 50,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 33,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 35,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 14,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 38,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 39,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 37,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 15,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 37
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 14,
+ "character": 15
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 44,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 47,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 24,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 46,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 23,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 45,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 34,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 13,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 48,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 25,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 49,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 50,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 27,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 40,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 18,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 41,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 42,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 43,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 18,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 35,
+ 44,
+ 47,
+ 46,
+ 45,
+ 34,
+ 48,
+ 49,
+ 50,
+ 40
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 51,
+ "name": "UserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 55,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object. Can be any JSON."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 47,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ },
+ {
+ "id": 52,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 34,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 54,
+ "name": "email_change_token",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An email change token."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 53,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 55,
+ 52,
+ 54,
+ 53
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 31
+ }
+ ]
+ },
+ {
+ "id": 67,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 3,
+ "character": 27
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "USER_UPDATED"
+ }
+ ]
+ }
+ },
+ {
+ "id": 66,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "bitbucket"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "github"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gitlab"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "google"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 27,
+ 56,
+ 33,
+ 51
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 67,
+ 66
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 68,
+ 180,
+ 326,
+ 173,
+ 1,
+ 141,
+ 26
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/web/spec/gotrue.yml b/web/spec/gotrue.yml
new file mode 100644
index 00000000000..42939158bb2
--- /dev/null
+++ b/web/spec/gotrue.yml
@@ -0,0 +1,164 @@
+openref: 0.1
+
+info:
+ title: GoTrue Client
+ description: |
+ GoTrue is an authentication server.
+
+ Supabase provides client libraries to interact with the server
+
+ definition: spec/gotrue.json
+ libraries:
+ - name: 'JavaScript'
+ id: 'js'
+ version: '0.0.1'
+ - name: 'Python'
+ id: 'py'
+ version: '0.0.1'
+ docs:
+ path: gotrue/client/
+ sidebar:
+ - name: 'About'
+ items:
+ - index
+ - Installing
+ - Initializing
+ - name: 'Client functions'
+ items:
+ - signUp
+ - signIn
+ - signOut
+ - user
+ - session
+ - update
+ - onAuthStateChange
+ - name: 'General functions'
+ items:
+ - api.signUpWithEmail
+ - api.signInWithEmail
+ - api.resetPasswordForEmail
+ - api.signOut
+ - api.getUser
+ - api.updateUser
+ - api.refreshAccessToken
+
+pages:
+
+ Installing:
+ description: |
+ All JavaScript libraries are built directly by the Supabase team.
+
+ Other languages are built by the community and supported by Supabase.
+
+ ## Javascript
+
+ ```bash
+ npm install @supabase/gotrue-js
+ ```
+
+ ## Python
+
+ ```bash
+ # Not yet implemented
+ ```
+
+ Initializing:
+ $ref: '"GoTrueClient".GoTrueClient.constructor'
+
+ signUp:
+ $ref: '"GoTrueClient".GoTrueClient.signUp'
+ notes: |
+ - A user can sign up either via email or OAuth.
+ - If you provide `email`, `password` is also required
+ - If you provide `access_token`, `password` is also required
+ examples:
+ - name: Sign up
+ js: |
+ ```js
+ const { error, data } = await auth.signUp({
+ email: 'example@email.com',
+ password: 'example-password',
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ signIn:
+ $ref: '"GoTrueClient".GoTrueClient.signIn'
+ examples:
+ - name: Sign in
+ isSpotlight: true
+ js: |
+ ```js
+ const { error, data } = await auth.signIn({
+ email: 'example@email.com',
+ password: 'example-password',
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ signOut:
+ $ref: '"GoTrueClient".GoTrueClient.signOut'
+ examples:
+ - name: Sign out
+ js: |
+ ```js
+ const { error, data } = await auth.signOut()
+ ```
+
+ user:
+ $ref: '"GoTrueClient".GoTrueClient.user'
+ examples:
+ - name: Get user
+ js: |
+ ```js
+ const user = auth.user()
+ ```
+
+ session:
+ $ref: '"GoTrueClient".GoTrueClient.session'
+ examples:
+ - name: Get user
+ js: |
+ ```js
+ const user = auth.session()
+ ```
+
+ update:
+ $ref: '"GoTrueClient".GoTrueClient.update'
+
+ onAuthStateChange:
+ # $ref: onAuthStateChange
+
+ api.signUpWithEmail:
+ $ref: '"GoTrueApi".GoTrueApi.signUpWithEmail'
+ examples:
+ - name: Sign up a new user with email
+ js: |
+ ```js
+ const { error, data } = await api
+ .signUpWithEmail('example@email.com', 'example-password')
+ ```
+
+ api.signInWithEmail:
+ $ref: '"GoTrueApi".GoTrueApi.signInWithEmail'
+
+ api.resetPasswordForEmail:
+ $ref: '"GoTrueApi".GoTrueApi.resetPasswordForEmail'
+
+ api.signOut:
+ $ref: '"GoTrueApi".GoTrueApi.signOut'
+
+ api.getUser:
+ $ref: '"GoTrueApi".GoTrueApi.getUser'
+
+ api.updateUser:
+ $ref: '"GoTrueApi".GoTrueApi.updateUser'
+
+ api.refreshAccessToken:
+ $ref: '"GoTrueApi".GoTrueApi.refreshAccessToken'
\ No newline at end of file
diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json
new file mode 100644
index 00000000000..c0e42d43a54
--- /dev/null
+++ b/web/spec/postgrest.json
@@ -0,0 +1,8044 @@
+{
+ "id": 0,
+ "name": "@supabase/postgrest-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 319,
+ "name": "\"PostgrestClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
+ "children": [
+ {
+ "id": 320,
+ "name": "PostgrestClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 327,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "signatures": [
+ {
+ "id": 328,
+ "name": "new PostgrestClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a PostgREST client."
+ },
+ "parameters": [
+ {
+ "id": 329,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "URL of the PostgREST endpoint."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 330,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 331,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 332,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Custom headers."
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 18,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 333,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 334,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 335,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 336,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "Postgres schema to switch to.\n"
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 18,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 332,
+ 336
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 17,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 320,
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 7,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 322,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 6,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 323,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 324,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 325,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 6,
+ "character": 10
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 326,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 7,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 321,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 5,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 337,
+ "name": "auth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 338,
+ "name": "auth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Authenticates the request with JWT."
+ },
+ "parameters": [
+ {
+ "id": 339,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The JWT token to use.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 30,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 340,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 341,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 342,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 343,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 269,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestQueryBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 40,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 345,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "typeParameter": [
+ {
+ "id": 346,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 347,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 348,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 51,
+ "character": 5
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 327
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 322,
+ 326,
+ 321
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 337,
+ 340,
+ 344
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 4,
+ "character": 36
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 320
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "PostgrestClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 349,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 95,
+ "name": "\"lib/PostgrestFilterBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
+ "children": [
+ {
+ "id": 96,
+ "name": "PostgrestFilterBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 97,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 248,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 249,
+ "name": "new PostgrestFilterBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 250,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 44
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 247,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 242,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 243,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 244,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 245,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 25,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 240,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 246,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 241,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 24,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 170,
+ "name": "adj",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 171,
+ "name": "adj",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 172,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 173,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 274,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 150,
+ "name": "cd",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 151,
+ "name": "cd",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 152,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 153,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 205,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 146,
+ "name": "cs",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 147,
+ "name": "cs",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
+ },
+ "parameters": [
+ {
+ "id": 148,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 149,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 183,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 106,
+ "name": "eq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 107,
+ "name": "eq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 108,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 109,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 63,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "filter",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "filter",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose `column` satisfies the filter."
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 209,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 267,
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 210,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 360,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 178,
+ "name": "fts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 179,
+ "name": "fts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 180,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 181,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 182,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 184,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 305,
+ "character": 46
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 184
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 305,
+ "character": 37
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 305,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 114,
+ "name": "gt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 115,
+ "name": "gt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 116,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 117,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 87,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 118,
+ "name": "gte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 119,
+ "name": "gte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 121,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 99,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 134,
+ "name": "ilike",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 135,
+ "name": "ilike",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)."
+ },
+ "parameters": [
+ {
+ "id": 136,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 137,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The pattern to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 147,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 142,
+ "name": "in",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 143,
+ "name": "in",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`."
+ },
+ "parameters": [
+ {
+ "id": 144,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 145,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to filter with.\n"
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 171,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 138,
+ "name": "is",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 139,
+ "name": "is",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 140,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 141,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 159,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 130,
+ "name": "like",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 131,
+ "name": "like",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)."
+ },
+ "parameters": [
+ {
+ "id": 132,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 133,
+ "name": "pattern",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The pattern to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 135,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 227,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The maximum no. of rows to limit to."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 228,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 229,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 230,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 40,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 230
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 39,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 57,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 38,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 57,
+ "name": "PostgrestTransformBuilder.limit"
+ }
+ },
+ {
+ "id": 122,
+ "name": "lt",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "lt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 111,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 126,
+ "name": "lte",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 127,
+ "name": "lte",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 128,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 129,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 123,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 211,
+ "name": "match",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 212,
+ "name": "match",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose columns match the specified `query` object."
+ },
+ "parameters": [
+ {
+ "id": 213,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The object to filter with, with column names as keys mapped\n to their filter values.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 214,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 215,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 216,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 371,
+ "character": 14
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 371,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 110,
+ "name": "neq",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 111,
+ "name": "neq",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`."
+ },
+ "parameters": [
+ {
+ "id": 112,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 113,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 75,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 98,
+ "name": "not",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 99,
+ "name": "not",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows which doesn't satisfy the filter."
+ },
+ "parameters": [
+ {
+ "id": 100,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 101,
+ "name": "operator",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The operator to filter with."
+ },
+ "type": {
+ "type": "reference",
+ "id": 267,
+ "name": "FilterOperator"
+ }
+ },
+ {
+ "id": 102,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 41,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 162,
+ "name": "nxl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 163,
+ "name": "nxl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 164,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 165,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 250,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 166,
+ "name": "nxr",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 167,
+ "name": "nxr",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 168,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 169,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 262,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 103,
+ "name": "or",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 104,
+ "name": "or",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows satisfying at least one of the filters."
+ },
+ "parameters": [
+ {
+ "id": 105,
+ "name": "filters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The filters to use, separated by commas.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 51,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 217,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 218,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 219,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to order on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 220,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 221,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 222,
+ "name": "ascending",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the result will be in ascending order."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 19,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 224,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (if `column` is a foreign column).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 21,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 223,
+ "name": "nullsFirst",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, `null`s appear first."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 20,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 222,
+ 224,
+ 223
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 17,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 49,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 16,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 49,
+ "name": "PostgrestTransformBuilder.order"
+ }
+ },
+ {
+ "id": 174,
+ "name": "ov",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 175,
+ "name": "ov",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose array or range value on the stated `column` is\ncontained by the specified `value`."
+ },
+ "parameters": [
+ {
+ "id": 176,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 177,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The value to filter with.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 286,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 192,
+ "name": "phfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 193,
+ "name": "phfts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 194,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 195,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 196,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 197,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 198,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 333,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 198
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 333,
+ "character": 39
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 333,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 185,
+ "name": "plfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 186,
+ "name": "plfts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 187,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 188,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 189,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 191,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 48
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 191
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 39
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 319,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 231,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 232,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 233,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The starting index from which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 234,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The last index to which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 235,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 236,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 237,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 237
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 56,
+ "character": 15
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 63,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 54,
+ "character": 7
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 63,
+ "name": "PostgrestTransformBuilder.range"
+ }
+ },
+ {
+ "id": 238,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 239,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": 14,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 70,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 70,
+ "name": "PostgrestTransformBuilder.single"
+ }
+ },
+ {
+ "id": 154,
+ "name": "sl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "sl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 157,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 226,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 158,
+ "name": "sr",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 159,
+ "name": "sr",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
+ },
+ "parameters": [
+ {
+ "id": 160,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 161,
+ "name": "range",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The range to filter with.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 238,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 251,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 252,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 253,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 254,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 255,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 256,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 257,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 258,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 259,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 260,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 262,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 199,
+ "name": "wfts",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 200,
+ "name": "wfts",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`)."
+ },
+ "parameters": [
+ {
+ "id": 201,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to filter on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 202,
+ "name": "query",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The Postgres tsquery string to filter with."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 203,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 204,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 205,
+ "name": "config",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The text search configuration to use.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 347,
+ "character": 47
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 205
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 347,
+ "character": 38
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 347,
+ "character": 6
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 248
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 247,
+ 242,
+ 240,
+ 246,
+ 241
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 170,
+ 150,
+ 146,
+ 106,
+ 206,
+ 178,
+ 114,
+ 118,
+ 134,
+ 142,
+ 138,
+ 130,
+ 225,
+ 122,
+ 126,
+ 211,
+ 110,
+ 98,
+ 162,
+ 166,
+ 103,
+ 217,
+ 174,
+ 192,
+ 185,
+ 231,
+ 238,
+ 154,
+ 158,
+ 251,
+ 199
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 33,
+ "character": 43
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 267,
+ "name": "FilterOperator",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 9,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "eq"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "neq"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gt"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "gte"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "lt"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "lte"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "like"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "ilike"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "is"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "in"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "cs"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "cd"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "sl"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "sr"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "nxl"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "nxr"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "adj"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "ov"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "fts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "plfts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "phfts"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "wfts"
+ }
+ ]
+ }
+ },
+ {
+ "id": 263,
+ "name": "cleanFilterArray",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "comment": {
+ "shortText": "Filters"
+ },
+ "signatures": [
+ {
+ "id": 264,
+ "name": "cleanFilterArray",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Filters"
+ },
+ "typeParameter": [
+ {
+ "id": 265,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "parameters": [
+ {
+ "id": 266,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "indexedAccess",
+ "indexType": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ "objectType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 7,
+ "character": 22
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 96
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 267
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 263
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestFilterBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 268,
+ "name": "\"lib/PostgrestQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
+ "children": [
+ {
+ "id": 269,
+ "name": "PostgrestQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "CRUD"
+ },
+ "typeParameter": [
+ {
+ "id": 270,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 271,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 272,
+ "name": "new PostgrestQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 273,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 274,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 275,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 276,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 11,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 277,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 278,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 279,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 280,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 11,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 276,
+ 280
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 10,
+ "character": 16
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 269,
+ "name": "PostgrestQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 75
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 306,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 301,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 302,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 303,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 25,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 299,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 305,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 300,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 24,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 294,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 295,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 79,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 284,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 285,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 286,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 287,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 288,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 290,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 53,
+ "character": 32
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 289,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, performs an UPSERT."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 53,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 290,
+ 289
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 52,
+ "character": 38
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 51,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 281,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 282,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs horizontal filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 283,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"*\""
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 24,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 307,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 308,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 309,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 310,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 311,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 312,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 313,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 314,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 315,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 316,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 317,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 318,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 291,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 292,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 293,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 96,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 69,
+ "character": 8
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 271
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 306,
+ 301,
+ 299,
+ 305,
+ 300
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 294,
+ 284,
+ 281,
+ 307,
+ 291
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 8,
+ "character": 42
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 269
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 46,
+ "name": "\"lib/PostgrestTransformBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
+ "children": [
+ {
+ "id": 47,
+ "name": "PostgrestTransformBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Post-filters (transforms)"
+ },
+ "typeParameter": [
+ {
+ "id": 48,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 80,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 81,
+ "name": "new PostgrestTransformBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 82,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestTransformBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 44
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 31,
+ "name": "PostgrestBuilder.__constructor"
+ }
+ },
+ {
+ "id": 79,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 30,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 74,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 76,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 77,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 25,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 72,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 23,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 78,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 29,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 73,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 24,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 57,
+ "name": "limit",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 58,
+ "name": "limit",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result with the specified `count`."
+ },
+ "parameters": [
+ {
+ "id": 59,
+ "name": "count",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The maximum no. of rows to limit to."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 60,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 61,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 62,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 40,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 62
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 39,
+ "character": 18
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 38,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 49,
+ "name": "order",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 50,
+ "name": "order",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Orders the result with the specified `column`."
+ },
+ "parameters": [
+ {
+ "id": 51,
+ "name": "column",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The column to order on."
+ },
+ "type": {
+ "type": "typeOperator",
+ "operator": "keyof",
+ "target": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ }
+ },
+ {
+ "id": 52,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 53,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 54,
+ "name": "ascending",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, the result will be in ascending order."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 19,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 56,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (if `column` is a foreign column).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 21,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 55,
+ "name": "nullsFirst",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, `null`s appear first."
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 20,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 54,
+ 56,
+ 55
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 17,
+ "character": 20
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 16,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 63,
+ "name": "range",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 64,
+ "name": "range",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Limits the result to rows within the specified range, inclusive."
+ },
+ "parameters": [
+ {
+ "id": 65,
+ "name": "from",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The starting index from which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 66,
+ "name": "to",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The last index to which to limit the result, inclusive."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 67,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__2",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 68,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 69,
+ "name": "foreignTable",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The foreign table to use (for foreign columns).\n"
+ },
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 57,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 69
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 56,
+ "character": 15
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 47,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestTransformBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 54,
+ "character": 7
+ }
+ ]
+ },
+ {
+ "id": 70,
+ "name": "single",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 71,
+ "name": "single",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "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": 14,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestSingleResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 71,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 83,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 84,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 85,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 86,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 87,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 88,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 89,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 90,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 91,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 92,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 93,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 94,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 34,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 80
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 79,
+ 74,
+ 72,
+ 78,
+ 73
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 57,
+ 49,
+ 63,
+ 70,
+ 83
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 7,
+ "character": 46
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 96,
+ "name": "PostgrestFilterBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 47
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/PostgrestTransformBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 21,
+ "name": "PostgrestBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true,
+ "isAbstract": true
+ },
+ "typeParameter": [
+ {
+ "id": 22,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 31,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 32,
+ "name": "new PostgrestBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 33,
+ "name": "builder",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 21,
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 44
+ }
+ ]
+ },
+ {
+ "id": 30,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 43,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 25,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 26,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 27,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 28,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 41,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 23,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 39,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 29,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 42,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 24,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 40,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ }
+ },
+ {
+ "id": 34,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 35,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 36,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 37,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 38,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 39,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 40,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 41,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 51,
+ "character": 9
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 42,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 43,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 44,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 45,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 54,
+ "character": 18
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 49,
+ "character": 6
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 31
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 30,
+ 25,
+ 23,
+ 29,
+ 24
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 34
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 38,
+ "character": 38
+ }
+ ],
+ "extendedBy": [
+ {
+ "type": "reference",
+ "id": 47,
+ "name": "PostgrestTransformBuilder"
+ },
+ {
+ "type": "reference",
+ "id": 269,
+ "name": "PostgrestQueryBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 7,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "PostgrestError",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Error format",
+ "text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
+ },
+ "children": [
+ {
+ "id": 6,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 12,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 4,
+ "name": "details",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 5,
+ "name": "hint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 3,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 6,
+ 4,
+ 5,
+ 3
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 8,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 7,
+ "name": "PostgrestResponse",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Response format",
+ "text": "{@link https://github.com/supabase/supabase-js/issues/32}\n"
+ },
+ "typeParameter": [
+ {
+ "id": 8,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {}
+ }
+ ],
+ "children": [
+ {
+ "id": 13,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 10,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 22,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 9,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 21,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestError"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 11,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 23,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 12,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 13,
+ 10,
+ 9,
+ 11,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 20,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 14,
+ "name": "PostgrestSingleResponse",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 15,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 20,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 35,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 17,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 31,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 16,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 30,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "id": 2,
+ "name": "PostgrestError"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 18,
+ "name": "status",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 32,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 19,
+ "name": "statusText",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 33,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 20,
+ 17,
+ 16,
+ 18,
+ 19
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 29,
+ "character": 40
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 21
+ ]
+ },
+ {
+ "title": "Interfaces",
+ "kind": 256,
+ "children": [
+ 2,
+ 7,
+ 14
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 319,
+ 349,
+ 95,
+ 268,
+ 46,
+ 1
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/web/spec/postgrest.yml b/web/spec/postgrest.yml
new file mode 100644
index 00000000000..055d317adfa
--- /dev/null
+++ b/web/spec/postgrest.yml
@@ -0,0 +1,173 @@
+openref: 0.1
+
+info:
+ title: PostgREST Client
+ description: |
+ PostgREST is a standalone web server that turns your PostgreSQL database directly into a RESTful API.
+
+ Supabase provides client libraries to interact with the PostgREST.
+
+ definition: spec/postgrest.json
+ libraries:
+ - name: 'JavaScript'
+ id: 'js'
+ version: '0.0.1'
+ - name: 'Python'
+ id: 'py'
+ version: '0.0.1'
+ docs:
+ path: postgrest/client/
+ sidebar:
+ - name: 'About'
+ items:
+ - index
+ - Installing
+ - Initializing
+ - name: 'Query Builder'
+ items:
+ - from
+ - select
+ - insert
+ - update
+ - delete
+ - rpc
+ - name: 'Filters'
+ items:
+ - filter
+ - not
+ - eq
+ - neq
+ - gt
+ - gte
+ - lt
+ - lte
+ - like
+ - ilike
+ - is
+ - in
+ - cs
+ - cd
+ - sl
+ - sr
+ - nxl
+ - nxr
+ - adj
+ - ov
+ - fts
+ - plfts
+ - phfts
+ - wfts
+
+pages:
+
+ Installing:
+ description: |
+ All JavaScript libraries are built directly by the Supabase team.
+
+ Other languages are built by the community and supported by Supabase.
+
+ ## Javascript
+
+ ```bash
+ npm install @supabase/postgrest-js
+ ```
+
+ - [Source code](https://github.com/supabase/postgrest-js)
+
+ ## Python
+
+ ```bash
+ # Not yet implemented
+
+ Initializing:
+ $ref: '"PostgrestClient".PostgrestClient.constructor'
+
+ from:
+ $ref: '"PostgrestClient".PostgrestClient.from'
+
+ select:
+ $ref: '"lib/PostgrestQueryBuilder".PostgrestQueryBuilder.select'
+
+ insert:
+ $ref: '"lib/PostgrestQueryBuilder".PostgrestQueryBuilder.insert'
+
+ update:
+ $ref: '"lib/PostgrestQueryBuilder".PostgrestQueryBuilder.update'
+
+ delete:
+ $ref: '"lib/PostgrestQueryBuilder".PostgrestQueryBuilder.delete'
+
+ rpc:
+ $ref: '"PostgrestClient".PostgrestClient.rpc'
+
+ filter:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.filter'
+
+ not:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.not'
+
+ eq:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.eq'
+
+ neq:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.neq'
+
+ gt:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.gt'
+
+ gte:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.gte'
+
+ lt:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lt'
+
+ lte:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lte'
+
+ like:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.like'
+
+ ilike:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.ilike'
+
+ is:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.is'
+
+ in:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.in'
+
+ cs:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.cs'
+
+ cd:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.cd'
+
+ sl:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.sl'
+
+ sr:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.sr'
+
+ nxl:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.nxl'
+
+ nxr:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.nxr'
+
+ adj:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.adj'
+
+ ov:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.ov'
+
+ fts:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.fts'
+
+ plfts:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.plfts'
+
+ phfts:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.phfts'
+
+ wfts:
+ $ref: '"lib/PostgrestFilterBuilder".PostgrestFilterBuilder.wfts'
\ No newline at end of file
diff --git a/web/spec/realtime.json b/web/spec/realtime.json
new file mode 100644
index 00000000000..e6a23bef376
--- /dev/null
+++ b/web/spec/realtime.json
@@ -0,0 +1,7422 @@
+{
+ "id": 0,
+ "name": "@supabase/realtime-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 169,
+ "name": "\"RealtimeClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeClient.ts",
+ "children": [
+ {
+ "id": 170,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 200,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket"
+ },
+ "signatures": [
+ {
+ "id": 201,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Socket"
+ },
+ "parameters": [
+ {
+ "id": 202,
+ "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": 203,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 273,
+ "name": "Options"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 3
+ }
+ ]
+ },
+ {
+ "id": 171,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 36,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 193,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "WebSocket"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 191,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 190,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 172,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 37,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"\""
+ },
+ {
+ "id": 173,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 38,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 174,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 175,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 176,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 183,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 185,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 189,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 184,
+ "name": "longpollerTimeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "20000"
+ },
+ {
+ "id": 177,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 39,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 178,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 179,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 180,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 186,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 192,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 188,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 187,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 194,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 181,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 182,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "WebSocket"
+ },
+ {
+ "id": 262,
+ "name": "_appendParams",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 263,
+ "name": "_appendParams",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 264,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 265,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 266,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 267,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 268,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 347,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 347,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 269,
+ "name": "_flushSendBuffer",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 270,
+ "name": "_flushSendBuffer",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 355,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 254,
+ "name": "_onConnClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 255,
+ "name": "_onConnClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 256,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 327,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 257,
+ "name": "_onConnError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 258,
+ "name": "_onConnError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 259,
+ "name": "error",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 335,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 252,
+ "name": "_onConnOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 253,
+ "name": "_onConnOpen",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 314,
+ "character": 21
+ }
+ ]
+ },
+ {
+ "id": 271,
+ "name": "_sendHeartbeat",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 272,
+ "name": "_sendHeartbeat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 362,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 260,
+ "name": "_triggerChanError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 261,
+ "name": "_triggerChanError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 341,
+ "character": 27
+ }
+ ]
+ },
+ {
+ "id": 237,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 238,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 239,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 240,
+ "name": "chanParams",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 241,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 246,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Connects the socket."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 118,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 230,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 231,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "connecting"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "open"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "closing"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "closed"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 215,
+ "character": 17
+ }
+ ]
+ },
+ {
+ "id": 206,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 207,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 208,
+ "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": 209,
+ "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": 210,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 212,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 211,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Error"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 212,
+ 211
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 142,
+ "character": 13
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 139,
+ "character": 12
+ }
+ ]
+ },
+ {
+ "id": 248,
+ "name": "endPointURL",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 249,
+ "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": 293,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 232,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 233,
+ "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": 231,
+ "character": 13
+ }
+ ]
+ },
+ {
+ "id": 213,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 214,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Logs the message. Override `this.logger` for specialized logging."
+ },
+ "parameters": [
+ {
+ "id": 215,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 216,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 217,
+ "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": 164,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 250,
+ "name": "makeRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 251,
+ "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": 303,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Registers a callbacks for connection state change events.",
+ "tags": [
+ {
+ "tag": "example",
+ "text": "\n socket.onOpen(() => console.log(\"Socket closed.\"))\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 223,
+ "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": 186,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 245,
+ "name": "onConnMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 246,
+ "name": "onConnMessage",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 247,
+ "name": "rawMessage",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 267,
+ "character": 15
+ }
+ ]
+ },
+ {
+ "id": 224,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 225,
+ "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": 226,
+ "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": 197,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 227,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 228,
+ "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": 229,
+ "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": 208,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 218,
+ "name": "onOpen",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 219,
+ "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": 220,
+ "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": 175,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 242,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 243,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 244,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 291,
+ "name": "Message"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 252,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 234,
+ "name": "remove",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 235,
+ "name": "remove",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes a subscription from the socket."
+ },
+ "parameters": [
+ {
+ "id": 236,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "An open subscription.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 240,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 195,
+ "name": "stateChangeCallbacks",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 197,
+ "name": "close",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 198,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 199,
+ "name": "message",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 196,
+ "name": "open",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ "defaultValue": "[]"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 197,
+ 198,
+ 199,
+ 196
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 200
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 171,
+ 193,
+ 191,
+ 190,
+ 172,
+ 173,
+ 183,
+ 185,
+ 189,
+ 184,
+ 177,
+ 186,
+ 192,
+ 188,
+ 187,
+ 194,
+ 181,
+ 182
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 262,
+ 269,
+ 254,
+ 257,
+ 252,
+ 271,
+ 260,
+ 237,
+ 204,
+ 230,
+ 206,
+ 248,
+ 232,
+ 213,
+ 250,
+ 221,
+ 245,
+ 224,
+ 227,
+ 218,
+ 242,
+ 234
+ ]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [
+ 195
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 35,
+ "character": 35
+ }
+ ]
+ },
+ {
+ "id": 291,
+ "name": "Message",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 292,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 294,
+ "name": "event",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 295,
+ "name": "payload",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 296,
+ "name": "ref",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 293,
+ "name": "topic",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 294,
+ 295,
+ 296,
+ 293
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 26,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 273,
+ "name": "Options",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 274,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 281,
+ "name": "decode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 280,
+ "name": "encode",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 283,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 284,
+ "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": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 277,
+ "name": "heartbeatIntervalMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 279,
+ "name": "logger",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 278,
+ "name": "longpollerTimeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 287,
+ "name": "params",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 288,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 289,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 290,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 282,
+ "name": "reconnectAfterMs",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 276,
+ "name": "timeout",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ ]
+ }
+ },
+ {
+ "id": 275,
+ "name": "transport",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 15,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 281,
+ 280,
+ 283,
+ 277,
+ 279,
+ 278,
+ 287,
+ 282,
+ 276,
+ 275
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 14,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 297,
+ "name": "noop",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 298,
+ "name": "noop",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 10
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 170
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 291,
+ 273
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 297
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 90,
+ "name": "\"RealtimeSubscription\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/RealtimeSubscription.ts",
+ "children": [
+ {
+ "id": 91,
+ "name": "RealtimeSubscription",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 99,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 103,
+ "name": "new RealtimeSubscription",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 104,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 105,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 106,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 92,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 7,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 96,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 11,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ },
+ {
+ "id": 95,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 101,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 17,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 98,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 97,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 12,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "Timer"
+ }
+ },
+ {
+ "id": 102,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 18,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 170,
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 94,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 9,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 7,
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 93,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 8,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 100,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 16,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 125,
+ "name": "canPush",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 126,
+ "name": "canPush",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 97,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 159,
+ "name": "isClosed",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 160,
+ "name": "isClosed",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 191,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 161,
+ "name": "isErrored",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 162,
+ "name": "isErrored",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 194,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 163,
+ "name": "isJoined",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 164,
+ "name": "isJoined",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 197,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 165,
+ "name": "isJoining",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 166,
+ "name": "isJoining",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 200,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 167,
+ "name": "isLeaving",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "isLeaving",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 203,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 140,
+ "name": "isMember",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 141,
+ "name": "isMember",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 142,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 151,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 143,
+ "name": "joinRef",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 144,
+ "name": "joinRef",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 155,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 122,
+ "name": "off",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 123,
+ "name": "off",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 93,
+ "character": 5
+ }
+ ]
+ },
+ {
+ "id": 118,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 119,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 121,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 89,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 112,
+ "name": "onClose",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 113,
+ "name": "onClose",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 114,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 81,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 115,
+ "name": "onError",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 116,
+ "name": "onError",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 117,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 85,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 135,
+ "name": "onMessage",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 136,
+ "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": 137,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 139,
+ "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": "RealtimeSubscription.ts",
+ "line": 147,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 127,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 128,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 129,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 13,
+ "name": "CHANNEL_EVENTS"
+ }
+ },
+ {
+ "id": 130,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 131,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 101,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 148,
+ "name": "rejoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 149,
+ "name": "rejoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 150,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 164,
+ "character": 8
+ }
+ ]
+ },
+ {
+ "id": 107,
+ "name": "rejoinUntilConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 108,
+ "name": "rejoinUntilConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 64,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 156,
+ "name": "replyEventName",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 157,
+ "name": "replyEventName",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 158,
+ "name": "ref",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 187,
+ "character": 16
+ }
+ ]
+ },
+ {
+ "id": 145,
+ "name": "sendJoin",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 146,
+ "name": "sendJoin",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 147,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 159,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 109,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 110,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 111,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ },
+ {
+ "id": 151,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 152,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 154,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 155,
+ "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": "RealtimeSubscription.ts",
+ "line": 171,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 132,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 133,
+ "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": 134,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "this.timeout"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 125,
+ "character": 13
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 99
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 92,
+ 96,
+ 95,
+ 101,
+ 98,
+ 97,
+ 102,
+ 94,
+ 93,
+ 100
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 125,
+ 159,
+ 161,
+ 163,
+ 165,
+ 167,
+ 140,
+ 143,
+ 122,
+ 118,
+ 112,
+ 115,
+ 135,
+ 127,
+ 148,
+ 107,
+ 156,
+ 145,
+ 109,
+ 151,
+ 132
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 6,
+ "character": 41
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 91
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeSubscription.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 385,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/index.ts",
+ "sources": [
+ {
+ "fileName": "index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 13,
+ "name": "CHANNEL_EVENTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 14,
+ "name": "close",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 23,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_close\""
+ },
+ {
+ "id": 15,
+ "name": "error",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 24,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_error\""
+ },
+ {
+ "id": 16,
+ "name": "join",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"phx_join\""
+ },
+ {
+ "id": 18,
+ "name": "leave",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 27,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_leave\""
+ },
+ {
+ "id": 17,
+ "name": "reply",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 26,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"phx_reply\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 14,
+ 15,
+ 16,
+ 18,
+ 17
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 22,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 7,
+ "name": "CHANNEL_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": "\"closed\""
+ },
+ {
+ "id": 9,
+ "name": "errored",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 16,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"errored\""
+ },
+ {
+ "id": 10,
+ "name": "joined",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 17,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"joined\""
+ },
+ {
+ "id": 11,
+ "name": "joining",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 18,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"joining\""
+ },
+ {
+ "id": 12,
+ "name": "leaving",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 19,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"leaving\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 8,
+ 9,
+ 10,
+ 11,
+ 12
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 14,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 2,
+ "name": "SOCKET_STATES",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 6,
+ "name": "closed",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 11,
+ "character": 8
+ }
+ ],
+ "defaultValue": "3"
+ },
+ {
+ "id": 5,
+ "name": "closing",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 10,
+ "character": 9
+ }
+ ],
+ "defaultValue": "2"
+ },
+ {
+ "id": 3,
+ "name": "connecting",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "defaultValue": "0"
+ },
+ {
+ "id": 4,
+ "name": "open",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 9,
+ "character": 6
+ }
+ ],
+ "defaultValue": "1"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 6,
+ 5,
+ 3,
+ 4
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 7,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 19,
+ "name": "TRANSPORTS",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 20,
+ "name": "websocket",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 31,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"websocket\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 20
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 30,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 22,
+ "name": "DEFAULT_TIMEOUT",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "10000"
+ },
+ "defaultValue": "10000"
+ },
+ {
+ "id": 21,
+ "name": "VSN",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"1.0.0\""
+ },
+ {
+ "id": 23,
+ "name": "WS_CLOSE_NORMAL",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 5,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "1000"
+ },
+ "defaultValue": "1000"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 4,
+ "children": [
+ 13,
+ 7,
+ 2,
+ 19
+ ]
+ },
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 22,
+ 21,
+ 23
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 38,
+ "name": "\"lib/push\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/push.ts",
+ "children": [
+ {
+ "id": 39,
+ "name": "Push",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 52,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Push"
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "new Push",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Initializes the Push"
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The Channel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 91,
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 59,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The event, for example `\"phx_join\"`"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 60,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The payload, for example `{user_id: 123}`"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 61,
+ "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": 39,
+ "name": "Push"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 16,
+ "character": 32
+ }
+ ]
+ },
+ {
+ "id": 53,
+ "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": 91,
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 54,
+ "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": 55,
+ "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": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 47,
+ "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": 48,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 50,
+ "name": "callback",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 49,
+ "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": [
+ 50,
+ 49
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 12,
+ "character": 11
+ }
+ ]
+ }
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 43,
+ "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": 44,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 46,
+ "name": "response",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 10,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 45,
+ "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": [
+ 46,
+ 45
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 8,
+ "character": 15
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 42,
+ "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": 51,
+ "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": 40,
+ "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": 56,
+ "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": 41,
+ "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": 77,
+ "name": "_cancelRefEvent",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 78,
+ "name": "_cancelRefEvent",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 89,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 79,
+ "name": "_cancelTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 80,
+ "name": "_cancelTimeout",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 96,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 87,
+ "name": "_hasReceived",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 88,
+ "name": "_hasReceived",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 89,
+ "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": 113,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 81,
+ "name": "_matchReceive",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 82,
+ "name": "_matchReceive",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 83,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__0",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 84,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 86,
+ "name": "response",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 103,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 85,
+ "name": "status",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 102,
+ "character": 10
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 86,
+ 85
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 101,
+ "character": 24
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 101,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 67,
+ "name": "receive",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 68,
+ "name": "receive",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 69,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 70,
+ "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": 57,
+ "character": 9
+ }
+ ]
+ },
+ {
+ "id": 62,
+ "name": "resend",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 63,
+ "name": "resend",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 64,
+ "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": 65,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 66,
+ "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": 71,
+ "name": "startTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 72,
+ "name": "startTimeout",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 66,
+ "character": 14
+ }
+ ]
+ },
+ {
+ "id": 73,
+ "name": "trigger",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 74,
+ "name": "trigger",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 75,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "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": 85,
+ "character": 9
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [
+ 52
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 53,
+ 54,
+ 55,
+ 47,
+ 43,
+ 42,
+ 51,
+ 40,
+ 56,
+ 41
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 77,
+ 79,
+ 87,
+ 81,
+ 67,
+ 62,
+ 65,
+ 71,
+ 73
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 4,
+ "character": 25
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 39
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/push.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 24,
+ "name": "\"lib/timer\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/timer.ts",
+ "children": [
+ {
+ "id": 25,
+ "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": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 31,
+ "name": "new Timer",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 32,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 33,
+ "name": "timerCalc",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "Timer"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 15,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 29,
+ "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": 26,
+ "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": 30,
+ "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": 27,
+ "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": 34,
+ "name": "reset",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 35,
+ "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": 36,
+ "name": "scheduleTimeout",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 37,
+ "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": [
+ 28
+ ]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 29,
+ 26,
+ 30,
+ 27
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 34,
+ 36
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 13,
+ "character": 26
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [
+ 25
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/timer.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 299,
+ "name": "\"lib/transformers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/home/runner/work/realtime-js/realtime-js/src/lib/transformers.ts",
+ "children": [
+ {
+ "id": 300,
+ "name": "PostgresTypes",
+ "kind": 4,
+ "kindString": "Enumeration",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Helpers to convert the change Payload into native JS types."
+ },
+ "children": [
+ {
+ "id": 301,
+ "name": "abstime",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"abstime\""
+ },
+ {
+ "id": 302,
+ "name": "bool",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 10,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"bool\""
+ },
+ {
+ "id": 303,
+ "name": "date",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 11,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"date\""
+ },
+ {
+ "id": 304,
+ "name": "daterange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 12,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"daterange\""
+ },
+ {
+ "id": 305,
+ "name": "float4",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 13,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"float4\""
+ },
+ {
+ "id": 306,
+ "name": "float8",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 14,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"float8\""
+ },
+ {
+ "id": 307,
+ "name": "int2",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 15,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int2\""
+ },
+ {
+ "id": 308,
+ "name": "int4",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 16,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int4\""
+ },
+ {
+ "id": 309,
+ "name": "int4range",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 17,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"int4range\""
+ },
+ {
+ "id": 310,
+ "name": "int8",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 18,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"int8\""
+ },
+ {
+ "id": 311,
+ "name": "int8range",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 19,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"int8range\""
+ },
+ {
+ "id": 312,
+ "name": "json",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 20,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"json\""
+ },
+ {
+ "id": 313,
+ "name": "jsonb",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 21,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"jsonb\""
+ },
+ {
+ "id": 314,
+ "name": "money",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 22,
+ "character": 7
+ }
+ ],
+ "defaultValue": "\"money\""
+ },
+ {
+ "id": 315,
+ "name": "numeric",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 23,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"numeric\""
+ },
+ {
+ "id": 316,
+ "name": "oid",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 24,
+ "character": 5
+ }
+ ],
+ "defaultValue": "\"oid\""
+ },
+ {
+ "id": 317,
+ "name": "reltime",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 25,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"reltime\""
+ },
+ {
+ "id": 318,
+ "name": "time",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 26,
+ "character": 6
+ }
+ ],
+ "defaultValue": "\"time\""
+ },
+ {
+ "id": 319,
+ "name": "timestamp",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 27,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"timestamp\""
+ },
+ {
+ "id": 320,
+ "name": "timestamptz",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 28,
+ "character": 13
+ }
+ ],
+ "defaultValue": "\"timestamptz\""
+ },
+ {
+ "id": 321,
+ "name": "timetz",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 29,
+ "character": 8
+ }
+ ],
+ "defaultValue": "\"timetz\""
+ },
+ {
+ "id": 322,
+ "name": "tsrange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 30,
+ "character": 9
+ }
+ ],
+ "defaultValue": "\"tsrange\""
+ },
+ {
+ "id": 323,
+ "name": "tstzrange",
+ "kind": 16,
+ "kindString": "Enumeration member",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 31,
+ "character": 11
+ }
+ ],
+ "defaultValue": "\"tstzrange\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumeration members",
+ "kind": 16,
+ "children": [
+ 301,
+ 302,
+ 303,
+ 304,
+ 305,
+ 306,
+ 307,
+ 308,
+ 309,
+ 310,
+ 311,
+ 312,
+ 313,
+ 314,
+ 315,
+ 316,
+ 317,
+ 318,
+ 319,
+ 320,
+ 321,
+ 322,
+ 323
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 8,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 324,
+ "name": "Column",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 34,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 325,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 326,
+ "name": "flags",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 35,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ },
+ {
+ "id": 327,
+ "name": "name",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 36,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 328,
+ "name": "type",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 37,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 329,
+ "name": "type_modifier",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 38,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 326,
+ 327,
+ 328,
+ 329
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 34,
+ "character": 13
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 330,
+ "name": "Records",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 41,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 331,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": [
+ {
+ "id": 332,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 333,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 41,
+ "character": 14
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 350,
+ "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', 'true')\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": 351,
+ "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', 'true')\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": 352,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "A postgres column type"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 353,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The cell value\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 112,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 334,
+ "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": 335,
+ "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": 336,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 324,
+ "name": "Column"
+ }
+ }
+ },
+ {
+ "id": 337,
+ "name": "records",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {},
+ "type": {
+ "type": "reference",
+ "id": 330,
+ "name": "Records"
+ }
+ },
+ {
+ "id": 338,
+ "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": 339,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 340,
+ "name": "skipTypes",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 60,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [
+ 340
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 60,
+ "character": 10
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 341,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 342,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 343,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 57,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "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'}], ['Paul', '33'], [])\n//=> 33"
+ },
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 345,
+ "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'}], ['Paul', '33'], [])\n//=> 33"
+ },
+ {
+ "tag": "example",
+ "text": "convertColumn('age', [{name: 'first_name', type: 'text'}, {name: 'age', type: 'int4'}], ['Paul', '33'], ['int4'])\n//=> \"33\"\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 346,
+ "name": "columnName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The column that you want to convert"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 347,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 324,
+ "name": "Column"
+ }
+ }
+ },
+ {
+ "id": 348,
+ "name": "records",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The map of string values"
+ },
+ "type": {
+ "type": "reference",
+ "id": 330,
+ "name": "Records"
+ }
+ },
+ {
+ "id": 349,
+ "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": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 85,
+ "character": 26
+ }
+ ]
+ },
+ {
+ "id": 354,
+ "name": "noop",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 355,
+ "name": "noop",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 356,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 183,
+ "character": 10
+ }
+ ]
+ },
+ {
+ "id": 378,
+ "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('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]"
+ },
+ {
+ "tag": "example",
+ "text": "toArray('{}', 'int4')\n//=> []\n"
+ }
+ ]
+ },
+ "signatures": [
+ {
+ "id": 379,
+ "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('{1,2,3,4}', 'int4')\n//=> [1,2,3,4]"
+ },
+ {
+ "tag": "example",
+ "text": "toArray('{}', 'int4')\n//=> []\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 380,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 381,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 225,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "toBoolean",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 358,
+ "name": "toBoolean",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "stringValue",
+ "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/transformers.ts",
+ "line": 186,
+ "character": 22
+ }
+ ]
+ },
+ {
+ "id": 360,
+ "name": "toDate",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 361,
+ "name": "toDate",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 362,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Date"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 196,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 363,
+ "name": "toDateRange",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 364,
+ "name": "toDateRange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 365,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Date"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 199,
+ "character": 24
+ }
+ ]
+ },
+ {
+ "id": 366,
+ "name": "toFloat",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 367,
+ "name": "toFloat",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 368,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 203,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 369,
+ "name": "toInt",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 370,
+ "name": "toInt",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 371,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 206,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 372,
+ "name": "toIntRange",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 373,
+ "name": "toIntRange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 374,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 209,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 375,
+ "name": "toJson",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "signatures": [
+ {
+ "id": 376,
+ "name": "toJson",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 377,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 213,
+ "character": 19
+ }
+ ]
+ },
+ {
+ "id": 382,
+ "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": 383,
+ "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": 384,
+ "name": "stringValue",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 246,
+ "character": 30
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Enumerations",
+ "kind": 4,
+ "children": [
+ 300
+ ]
+ },
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [
+ 324,
+ 330
+ ]
+ },
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [
+ 350,
+ 334,
+ 344,
+ 354,
+ 378,
+ 357,
+ 360,
+ 363,
+ 366,
+ 369,
+ 372,
+ 375,
+ 382
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "lib/transformers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [
+ 169,
+ 90,
+ 385,
+ 1,
+ 38,
+ 24,
+ 299
+ ]
+ }
+ ]
+}
\ No newline at end of file
diff --git a/web/spec/realtime.yml b/web/spec/realtime.yml
new file mode 100644
index 00000000000..74bc50a5d8d
--- /dev/null
+++ b/web/spec/realtime.yml
@@ -0,0 +1,79 @@
+openref: 0.1
+
+info:
+ title: Realtime Client
+ description: |
+ Listens to changes in a PostgreSQL Database and via websockets.
+
+ This is for usage with Supabase Realtime server.
+
+ definition: spec/realtime.json
+ libraries:
+ - name: 'JavaScript'
+ id: 'js'
+ version: '0.0.1'
+ - name: 'Python'
+ id: 'py'
+ version: '0.0.1'
+ docs:
+ path: realtime/client/
+ sidebar:
+ - name: 'About'
+ items:
+ - index
+ - Installing
+ - Initializing
+ - name: 'Client functions'
+ items:
+ - connect
+ - disconnect
+
+pages:
+
+ Installing:
+ description: |
+ All JavaScript libraries are built directly by the Supabase team.
+
+ Other languages are built by the community and supported by Supabase.
+
+ ## Javascript
+
+ ```bash
+ npm install @supabase/realtime-js
+ ```
+
+ ## Python
+
+ ```bash
+ # Not yet implemented
+ ```
+
+ Initializing:
+ $ref: '"RealtimeClient".RealtimeClient.constructor'
+
+ connect:
+ $ref: '"RealtimeClient".RealtimeClient.connect'
+ examples:
+ - name: Connect
+ js: |
+ ```js
+ realtime.connect()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ disconnect:
+ $ref: '"RealtimeClient".RealtimeClient.disconnect'
+ examples:
+ - name: Connect
+ js: |
+ ```js
+ realtime.disconnect()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
diff --git a/web/spec/supabase.json b/web/spec/supabase.json
new file mode 100644
index 00000000000..e8292921a27
--- /dev/null
+++ b/web/spec/supabase.json
@@ -0,0 +1,5629 @@
+{
+ "id": 0,
+ "name": "@supabase/supabase-js",
+ "kind": 0,
+ "flags": {},
+ "originalName": "",
+ "children": [
+ {
+ "id": 189,
+ "name": "\"SupabaseClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/SupabaseClient.ts",
+ "children": [
+ {
+ "id": 190,
+ "name": "SupabaseClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Client.",
+ "text": "An isomorphic Javascript client for interacting with Postgres.\n"
+ },
+ "children": [
+ {
+ "id": 197,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "signatures": [
+ {
+ "id": 200,
+ "name": "new SupabaseClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Create a new client for use in the browser."
+ },
+ "parameters": [
+ {
+ "id": 201,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 202,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 203,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 190,
+ "name": "SupabaseClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 30,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 191,
+ "name": "auth",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Supabase Auth allows you to create and manage user sessions for access to data that is secured by access policies."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 25,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseAuthClient"
+ }
+ },
+ {
+ "id": 195,
+ "name": "authUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 29,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 196,
+ "name": "realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 30,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 194,
+ "name": "realtimeUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 28,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 193,
+ "name": "restUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 27,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 192,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 26,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 199,
+ "name": "supabaseKey",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase Key which is supplied when you create a new project in your project dashboard."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 44,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 198,
+ "name": "supabaseUrl",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isConstructorProperty": true
+ },
+ "comment": {
+ "shortText": "The unique Supabase URL which is supplied when you create a new project in your project dashboard."
+ },
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 43,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 230,
+ "name": "_closeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 231,
+ "name": "_closeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 232,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 155,
+ "character": 23
+ }
+ ]
+ },
+ {
+ "id": 225,
+ "name": "_getAuthHeaders",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 226,
+ "name": "_getAuthHeaders",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 227,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 228,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 229,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 147,
+ "character": 28
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 147,
+ "character": 25
+ }
+ ]
+ },
+ {
+ "id": 223,
+ "name": "_initPostgRESTClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 224,
+ "name": "_initPostgRESTClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "PostgrestClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 140,
+ "character": 30
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "_initRealtimeClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 222,
+ "name": "_initRealtimeClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 134,
+ "character": 29
+ }
+ ]
+ },
+ {
+ "id": 218,
+ "name": "_initSupabaseAuthClient",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 219,
+ "name": "_initSupabaseAuthClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 220,
+ "name": "settings",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseAuthClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 121,
+ "character": 33
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "from",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 205,
+ "name": "from",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a table operation."
+ },
+ "typeParameter": [
+ {
+ "id": 206,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 207,
+ "name": "table",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The table name to operate on.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 131,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T",
+ "default": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "name": "SupabaseQueryBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 70,
+ "character": 6
+ }
+ ]
+ },
+ {
+ "id": 216,
+ "name": "getSubscriptions",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 217,
+ "name": "getSubscriptions",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns an array of all your subscriptions."
+ },
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 117,
+ "character": 18
+ }
+ ]
+ },
+ {
+ "id": 213,
+ "name": "removeSubscription",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 214,
+ "name": "removeSubscription",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Removes an active subscription and returns the number of open connections."
+ },
+ "parameters": [
+ {
+ "id": 215,
+ "name": "subscription",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The subscription you want to remove.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "unknown"
+ }
+ ],
+ "name": "Promise"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 96,
+ "character": 20
+ }
+ ]
+ },
+ {
+ "id": 208,
+ "name": "rpc",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 209,
+ "name": "rpc",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Perform a stored procedure call."
+ },
+ "typeParameter": [
+ {
+ "id": 210,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 211,
+ "name": "fn",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The function name to call."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 212,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The parameters to pass to the function call.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "unknown",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestBuilder"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 86,
+ "character": 5
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [197]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [191, 195, 196, 194, 193, 192, 199, 198]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [230, 225, 223, 221, 218, 204, 216, 213, 208]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 21,
+ "character": 35
+ }
+ ]
+ },
+ {
+ "id": 233,
+ "name": "DEFAULT_OPTIONS",
+ "kind": 2097152,
+ "kindString": "Object literal",
+ "flags": {
+ "isConst": true
+ },
+ "children": [
+ {
+ "id": 235,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 10,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 237,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 12,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 238,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 13,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 239,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {}
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 236,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 11,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "true"
+ },
+ {
+ "id": 234,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 9,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "\"public\""
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [235, 237, 238, 236, 234]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 8,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [190]
+ },
+ {
+ "title": "Object literals",
+ "kind": 2097152,
+ "children": [233]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/SupabaseClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 240,
+ "name": "\"index\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/index.ts",
+ "children": [
+ {
+ "id": 241,
+ "name": "createClient",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "signatures": [
+ {
+ "id": 242,
+ "name": "createClient",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new Supabase Client."
+ },
+ "parameters": [
+ {
+ "id": 243,
+ "name": "supabaseUrl",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 244,
+ "name": "supabaseKey",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 245,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 5,
+ "name": "SupabaseClientOptions"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 190,
+ "name": "SupabaseClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 7,
+ "character": 18
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [241]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/index.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 24,
+ "name": "\"lib/SupabaseAuthClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseAuthClient.ts",
+ "children": [
+ {
+ "id": 25,
+ "name": "SupabaseAuthClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 26,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 27,
+ "name": "new SupabaseAuthClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 28,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 29,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 36,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 8,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 35,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 7,
+ "character": 22
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 31,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 6,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 32,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 33,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 34,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 38,
+ "name": "localStorage",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 10,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ }
+ },
+ {
+ "id": 37,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 9,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 30,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 5,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [36, 35, 31, 38, 37, 30]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 4,
+ "character": 22
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 25,
+ "name": "SupabaseAuthClient"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "GoTrueClient.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 3,
+ "character": 54
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "GoTrueClient.__constructor"
+ }
+ },
+ {
+ "id": 41,
+ "name": "api",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 12,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "GoTrueApi"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 41,
+ "name": "GoTrueClient.api"
+ }
+ },
+ {
+ "id": 42,
+ "name": "autoRefreshToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 13,
+ "character": 30
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 42,
+ "name": "GoTrueClient.autoRefreshToken"
+ }
+ },
+ {
+ "id": 40,
+ "name": "currentSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The session object for the currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 11,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 40,
+ "name": "GoTrueClient.currentSession"
+ }
+ },
+ {
+ "id": 39,
+ "name": "currentUser",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The currently logged in user or null."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 7,
+ "character": 25
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 39,
+ "name": "GoTrueClient.currentUser"
+ }
+ },
+ {
+ "id": 44,
+ "name": "localStorage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 15,
+ "character": 26
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Storage"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 44,
+ "name": "GoTrueClient.localStorage"
+ }
+ },
+ {
+ "id": 43,
+ "name": "persistSession",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 14,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 43,
+ "name": "GoTrueClient.persistSession"
+ }
+ },
+ {
+ "id": 45,
+ "name": "stateChangeEmmitters",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 16,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "reference",
+ "name": "Subscription"
+ }
+ ],
+ "name": "Map"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 45,
+ "name": "GoTrueClient.stateChangeEmmitters"
+ }
+ },
+ {
+ "id": 93,
+ "name": "getSessionFromUrl",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 94,
+ "name": "getSessionFromUrl",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Gets the session data from a URL string"
+ },
+ "parameters": [
+ {
+ "id": 95,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 97,
+ "name": "storeSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "Optionally store the session in the browser\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 104,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [97]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 98,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 99,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 106,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 100,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 107,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [99, 100]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 105,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 93,
+ "name": "GoTrueClient.getSessionFromUrl"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 103,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 93,
+ "name": "GoTrueClient.getSessionFromUrl"
+ }
+ },
+ {
+ "id": 105,
+ "name": "onAuthStateChange",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 106,
+ "name": "onAuthStateChange",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Receive a notification every time an auth event happens.",
+ "returns": "A subscription object which can be used to unsubcribe itself.\n"
+ },
+ "parameters": [
+ {
+ "id": 107,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 108,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 109,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 110,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "AuthChangeEvent"
+ }
+ },
+ {
+ "id": 111,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 119,
+ "character": 31
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 112,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 113,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 120,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Subscription"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 114,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 121,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [113, 114]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 119,
+ "character": 91
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 105,
+ "name": "GoTrueClient.onAuthStateChange"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 119,
+ "character": 21
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 105,
+ "name": "GoTrueClient.onAuthStateChange"
+ }
+ },
+ {
+ "id": 80,
+ "name": "refreshSession",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 81,
+ "name": "refreshSession",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Force refreshes the session including the user data in case it was updated in a different session."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 82,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 83,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 87,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 85,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 89,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 84,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 88,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [83, 85, 84]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 86,
+ "character": 30
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "GoTrueClient.refreshSession"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 86,
+ "character": 18
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 80,
+ "name": "GoTrueClient.refreshSession"
+ }
+ },
+ {
+ "id": 75,
+ "name": "session",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 76,
+ "name": "session",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the session data, if there is an active session."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 77,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 78,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 80,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 79,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 81,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [78, 79]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 79,
+ "character": 14
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 75,
+ "name": "GoTrueClient.session"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 79,
+ "character": 11
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 75,
+ "name": "GoTrueClient.session"
+ }
+ },
+ {
+ "id": 56,
+ "name": "signIn",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 57,
+ "name": "signIn",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Log in an existing user, or login via a third-party provider."
+ },
+ "parameters": [
+ {
+ "id": 58,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 59,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 60,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 58,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 61,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 59,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 62,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "One of the providers supported by GoTrue.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 60,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Provider"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [60, 61, 62]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 57,
+ "character": 23
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 63,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 64,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 62,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 68,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 66,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 66,
+ "name": "provider",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 64,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "Provider"
+ }
+ },
+ {
+ "id": 67,
+ "name": "url",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 65,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 65,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 63,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [64, 68, 66, 67, 65]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 61,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 56,
+ "name": "GoTrueClient.signIn"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 57,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 56,
+ "name": "GoTrueClient.signIn"
+ }
+ },
+ {
+ "id": 101,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 102,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Signs out the current user, if there is a logged in user."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 103,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 104,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 113,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [104]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 112,
+ "character": 23
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 101,
+ "name": "GoTrueClient.signOut"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 112,
+ "character": 11
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 101,
+ "name": "GoTrueClient.signOut"
+ }
+ },
+ {
+ "id": 46,
+ "name": "signUp",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 47,
+ "name": "signUp",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Creates a new user."
+ },
+ "parameters": [
+ {
+ "id": 48,
+ "name": "credentials",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user login details."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 49,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 50,
+ "name": "email",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's email address."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 43,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 51,
+ "name": "password",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The user's password.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 44,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [50, 51]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 23
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 52,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 53,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 46,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "Session"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 55,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 48,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 54,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 47,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [53, 55, 54]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 45,
+ "character": 16
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 46,
+ "name": "GoTrueClient.signUp"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 42,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 46,
+ "name": "GoTrueClient.signUp"
+ }
+ },
+ {
+ "id": 86,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 87,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Updates user data, if there is a logged in user."
+ },
+ "parameters": [
+ {
+ "id": 88,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "UserAttributes"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 89,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 90,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 95,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 92,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 97,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 91,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 96,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [90, 92, 91]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 94,
+ "character": 48
+ }
+ ]
+ }
+ }
+ ],
+ "name": "Promise"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "GoTrueClient.update"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 94,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 86,
+ "name": "GoTrueClient.update"
+ }
+ },
+ {
+ "id": 69,
+ "name": "user",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 70,
+ "name": "user",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Returns the user data, if there is a logged in user."
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 71,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 72,
+ "name": "data",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 72,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 74,
+ "name": "error",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 74,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 73,
+ "name": "user",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 73,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "name": "User"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [72, 74, 73]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 71,
+ "character": 11
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueClient.user"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/gotrue-js/dist/main/GoTrueClient.d.ts",
+ "line": 71,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 69,
+ "name": "GoTrueClient.user"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [26]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [41, 42, 40, 39, 44, 43, 45]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [93, 105, 80, 75, 56, 101, 46, 86, 69]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 3,
+ "character": 31
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "name": "GoTrueClient"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [25]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseAuthClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 130,
+ "name": "\"lib/SupabaseQueryBuilder\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseQueryBuilder.ts",
+ "children": [
+ {
+ "id": 131,
+ "name": "SupabaseQueryBuilder",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 132,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "children": [
+ {
+ "id": 135,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 136,
+ "name": "new SupabaseQueryBuilder",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 137,
+ "name": "url",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 138,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 139,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 140,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 13,
+ "character": 13
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 141,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 142,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 143,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 145,
+ "name": "realtime",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 15,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 144,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 14,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 146,
+ "name": "table",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 16,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [140, 145, 144, 146]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 11,
+ "character": 16
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 131,
+ "name": "SupabaseQueryBuilder"
+ },
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.__constructor"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 8,
+ "character": 35
+ }
+ ],
+ "overwrites": {
+ "type": "reference",
+ "name": "PostgrestQueryBuilder.__constructor"
+ }
+ },
+ {
+ "id": 134,
+ "name": "_realtime",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 8,
+ "character": 19
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 133,
+ "name": "_subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPrivate": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 7,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 116,
+ "name": "SupabaseRealtimeClient"
+ }
+ },
+ {
+ "id": 176,
+ "name": "body",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 38,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 176,
+ "name": "PostgrestBuilder.body"
+ }
+ },
+ {
+ "id": 171,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 34,
+ "character": 21
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 34,
+ "character": 22
+ }
+ ]
+ }
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 171,
+ "name": "PostgrestBuilder.headers"
+ }
+ },
+ {
+ "id": 169,
+ "name": "method",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 32,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "GET"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "HEAD"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "POST"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "PATCH"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 169,
+ "name": "PostgrestBuilder.method"
+ }
+ },
+ {
+ "id": 175,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true,
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 37,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 175,
+ "name": "PostgrestBuilder.schema"
+ }
+ },
+ {
+ "id": 170,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isProtected": true,
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 33,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "URL"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 170,
+ "name": "PostgrestBuilder.url"
+ }
+ },
+ {
+ "id": 167,
+ "name": "delete",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 168,
+ "name": "delete",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs a DELETE on the table."
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 167,
+ "name": "PostgrestQueryBuilder.delete"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 39,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 167,
+ "name": "PostgrestQueryBuilder.delete"
+ }
+ },
+ {
+ "id": 157,
+ "name": "insert",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 158,
+ "name": "insert",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an INSERT into the table."
+ },
+ "parameters": [
+ {
+ "id": 159,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to insert."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ },
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 160,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "originalName": "__1",
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 163,
+ "name": "onConflict",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.\n"
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 66
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ },
+ {
+ "id": 162,
+ "name": "upsert",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "If `true`, performs an UPSERT."
+ },
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 54
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [163, 162]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 157,
+ "name": "PostgrestQueryBuilder.insert"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 26,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 157,
+ "name": "PostgrestQueryBuilder.insert"
+ }
+ },
+ {
+ "id": 147,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 148,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Subscribe to realtime changes in your databse."
+ },
+ "parameters": [
+ {
+ "id": 149,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes."
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "*"
+ }
+ ]
+ }
+ },
+ {
+ "id": 150,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback that will handle the payload that is sent whenever your database changes.\n"
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 151,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 152,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 153,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 15,
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "SupabaseRealtimePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 37,
+ "character": 13
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 116,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 35,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 154,
+ "name": "select",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 155,
+ "name": "select",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs horizontal filtering with SELECT."
+ },
+ "parameters": [
+ {
+ "id": 156,
+ "name": "columns",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "text": "The columns to retrieve, separated by commas.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 154,
+ "name": "PostgrestQueryBuilder.select"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 18,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 154,
+ "name": "PostgrestQueryBuilder.select"
+ }
+ },
+ {
+ "id": 177,
+ "name": "then",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 178,
+ "name": "then",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 179,
+ "name": "TResult1",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ },
+ {
+ "id": 180,
+ "name": "TResult2",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 181,
+ "name": "onfulfilled",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 182,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 183,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 184,
+ "name": "value",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 40,
+ "character": 75
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ },
+ {
+ "id": 185,
+ "name": "onrejected",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 186,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 187,
+ "name": "__call",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 188,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ },
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 40,
+ "character": 176
+ }
+ ]
+ }
+ },
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "null"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "typeParameter",
+ "name": "TResult1",
+ "default": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ },
+ {
+ "type": "typeParameter",
+ "name": "TResult2",
+ "default": {
+ "type": "intrinsic",
+ "name": "never"
+ }
+ }
+ ]
+ }
+ ],
+ "name": "PromiseLike"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 177,
+ "name": "PostgrestBuilder.then"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/types.d.ts",
+ "line": 40,
+ "character": 8
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 177,
+ "name": "PostgrestBuilder.then"
+ }
+ },
+ {
+ "id": 164,
+ "name": "update",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 165,
+ "name": "update",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Performs an UPDATE on the table."
+ },
+ "parameters": [
+ {
+ "id": 166,
+ "name": "values",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The values to update.\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "Partial"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestFilterBuilder"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 164,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "node_modules/@supabase/postgrest-js/dist/main/lib/PostgrestQueryBuilder.d.ts",
+ "line": 35,
+ "character": 10
+ }
+ ],
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 164,
+ "name": "PostgrestQueryBuilder.update"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [135]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [134, 133, 176, 171, 169, 175, 170]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [167, 157, 147, 154, 177, 164]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 6,
+ "character": 33
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestQueryBuilder"
+ }
+ ],
+ "implementedTypes": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ ],
+ "name": "PostgrestResponse"
+ }
+ ],
+ "name": "PromiseLike"
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [131]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseQueryBuilder.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 115,
+ "name": "\"lib/SupabaseRealtimeClient\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/SupabaseRealtimeClient.ts",
+ "children": [
+ {
+ "id": 116,
+ "name": "SupabaseRealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 118,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 119,
+ "name": "new SupabaseRealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 120,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "RealtimeClient"
+ }
+ },
+ {
+ "id": 121,
+ "name": "schema",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 122,
+ "name": "tableName",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 116,
+ "name": "SupabaseRealtimeClient"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 36
+ }
+ ]
+ },
+ {
+ "id": 117,
+ "name": "subscription",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 5,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ },
+ {
+ "id": 123,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 124,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The event you want to listen to."
+ },
+ "parameters": [
+ {
+ "id": 125,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "The event"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "*"
+ }
+ ]
+ }
+ },
+ {
+ "id": 126,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "text": "A callback function that is called whenever the event occurs.\n"
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ }
+ }
+ ],
+ "type": {
+ "type": "unknown",
+ "name": "this"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 18,
+ "character": 4
+ }
+ ]
+ },
+ {
+ "id": 127,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 128,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "Enables the subscription."
+ },
+ "parameters": [
+ {
+ "id": 129,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "reference",
+ "name": "Function"
+ },
+ "defaultValue": "() => {}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "RealtimeSubscription"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 55,
+ "character": 11
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [118]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [117]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [123, 127]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 4,
+ "character": 35
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Classes",
+ "kind": 128,
+ "children": [116]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/SupabaseRealtimeClient.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 1,
+ "name": "\"lib/constants\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/constants.ts",
+ "children": [
+ {
+ "id": 2,
+ "name": "DEFAULT_HEADERS",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isConst": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 3,
+ "character": 28
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 3,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [2]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/constants.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 246,
+ "name": "\"lib/helpers\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/helpers.ts",
+ "children": [
+ {
+ "id": 247,
+ "name": "uuid",
+ "kind": 64,
+ "kindString": "Function",
+ "flags": {
+ "isExported": true
+ },
+ "signatures": [
+ {
+ "id": 248,
+ "name": "uuid",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 3,
+ "character": 20
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Functions",
+ "kind": 64,
+ "children": [247]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/helpers.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ },
+ {
+ "id": 4,
+ "name": "\"lib/types\"",
+ "kind": 1,
+ "kindString": "Module",
+ "flags": {
+ "isExported": true
+ },
+ "originalName": "/Users/copple/Projects/Kade/supabase-js/src/lib/types.ts",
+ "children": [
+ {
+ "id": 5,
+ "name": "SupabaseClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 33
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 6,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 12,
+ "name": "autoRefreshToken",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Automatically refreshes the token for logged in users."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 13,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 14,
+ "name": "detectSessionInUrl",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Detect a session from the URL. Used for OAuth login callbacks."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 21,
+ "character": 20
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 8,
+ "name": "headers",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional headers for initializing the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 9,
+ "character": 9
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 9,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "indexSignature": [
+ {
+ "id": 10,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {
+ "isExported": true
+ },
+ "parameters": [
+ {
+ "id": 11,
+ "name": "key",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isExported": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
+ "id": 13,
+ "name": "persistSession",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true,
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Whether to persist a logged in session to storage."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 17,
+ "character": 16
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "intrinsic",
+ "name": "false"
+ },
+ {
+ "type": "intrinsic",
+ "name": "true"
+ }
+ ]
+ }
+ },
+ {
+ "id": 7,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [12, 14, 8, 13, 7]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 35
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 15,
+ "name": "SupabaseRealtimePayload",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {
+ "isExported": true
+ },
+ "typeParameter": [
+ {
+ "id": 16,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {
+ "isExported": true
+ }
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 35
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 17,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {
+ "isExported": true
+ },
+ "children": [
+ {
+ "id": 18,
+ "name": "commit_timestamp",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 19,
+ "name": "eventType",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 26,
+ "character": 11
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "stringLiteral",
+ "value": "INSERT"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "UPDATE"
+ },
+ {
+ "type": "stringLiteral",
+ "value": "DELETE"
+ }
+ ]
+ }
+ },
+ {
+ "id": 22,
+ "name": "new",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The new record. Present for 'INSERT' and 'UPDATE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 30,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 23,
+ "name": "old",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "comment": {
+ "shortText": "The previous record. Present for 'UPDATE' and 'DELETE' events."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 32,
+ "character": 5
+ }
+ ],
+ "type": {
+ "type": "typeParameter",
+ "name": "T"
+ }
+ },
+ {
+ "id": 20,
+ "name": "schema",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 27,
+ "character": 8
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 21,
+ "name": "table",
+ "kind": 32,
+ "kindString": "Variable",
+ "flags": {
+ "isExported": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 28,
+ "character": 7
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Variables",
+ "kind": 32,
+ "children": [18, 19, 22, 23, 20, 21]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 40
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Type aliases",
+ "kind": 4194304,
+ "children": [5, 15]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 0
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Modules",
+ "kind": 1,
+ "children": [189, 240, 24, 130, 115, 1, 246, 4]
+ }
+ ]
+}
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
new file mode 100644
index 00000000000..7ce9c4e1815
--- /dev/null
+++ b/web/spec/supabase.yml
@@ -0,0 +1,2021 @@
+openref: 0.1
+
+info:
+ title: Supabase Client
+ description: |
+
+ Our client library is modular. Each sub-library is a standalone implementation for a single external system. This is one of the ways we support existing tools.
+
+
+ | Repo | Official | Community |
+ |-----------------------|--------------------------------------------------|------------------|
+ | **`supabase-{lang}`** Combines libraries and adds enrichments. | [`JavaScript`](https://github.com/supabase/supabase-js) | [`C#`](https://github.com/supabase/supabase-csharp), [`Python`](https://github.com/supabase/supabase-py), `Rust` |
+ | `postgrest-{lang}` Client library to work with [PostgREST](https://github.com/postgrest/postgrest) | [`JavaScript`](https://github.com/supabase/postgrest-js) | [`C#`](https://github.com/supabase/postgrest-csharp), [`Python`](https://github.com/supabase/postgrest-py), [`Rust`](https://github.com/supabase/postgrest-rs) |
+ | `realtime-{lang}` Client library to work with [Realtime](https://github.com/supabase/realtime) | [`JavaScript`](https://github.com/supabase/realtime-js) | `C#`, `Python`, `Rust` |
+ | `gotrue-{lang}` Client library to work with [GoTrue](https://github.com/netlify/gotrue) | [`JavaScript`](https://github.com/supabase/gotrue-js) | `C#`, `Python`, `Rust` |
+
+
+
+ definition: spec/combined.json
+ libraries:
+ - name: 'JavaScript'
+ id: 'js'
+ version: '0.0.1'
+ - name: 'Python'
+ id: 'py'
+ version: '0.0.1'
+ docs:
+ path: client/
+ sidebar:
+ - name: 'About'
+ items:
+ - index
+ - Installing
+ - Initializing
+ - Generating Types
+ - name: 'Auth'
+ items:
+ - auth.signUp()
+ - auth.signIn()
+ - auth.signOut()
+ - auth.session()
+ - auth.user()
+ - auth.update()
+ - auth.onAuthStateChange()
+ - Reset Password (Email)
+ - name: 'Data'
+ items:
+ - select()
+ - insert()
+ - update()
+ - delete()
+ - rpc()
+ - name: 'Realtime'
+ items:
+ - subscribe()
+ - removeSubscription()
+ - getSubscriptions()
+ - name: 'Modifiers'
+ items:
+ - Using Modifiers
+ - limit()
+ - order()
+ - range()
+ - single()
+ - name: 'Filters'
+ items:
+ - Using Filters
+ - .filter()
+ - .or()
+ - .not()
+ - .match()
+ - .eq()
+ - .neq()
+ - .gt()
+ - .gte()
+ - .lt()
+ - .lte()
+ - .like()
+ - .ilike()
+ - .is()
+ - .in()
+ - .cs()
+ - .cd()
+ - .sl()
+ - .sr()
+ - .nxl()
+ - .nxr()
+ - .adj()
+ - .ov()
+ - .fts()
+ - .plfts()
+ - .phfts()
+ - .wfts()
+
+pages:
+
+ Installing:
+ description: |
+ All JavaScript libraries are built directly by the Supabase team.
+
+ Other languages are built by the community and supported by Supabase.
+
+ ## Javascript
+
+ ```bash
+ npm install @supabase/postgrest-js
+ ```
+
+ Find the source code on [GitHub](https://github.com/supabase/postgrest-js).
+
+ ## Python
+
+ ```bash
+ # Not yet implemented
+
+ Initializing:
+ $ref: '@supabase/supabase-js."SupabaseClient".SupabaseClient.constructor'
+ description: |
+ You can initialize a new Supabase client using the `createClient()` method.
+ examples:
+ - name: createClient()
+ js: |
+ ```js
+ import { createClient } from '@supabase/supabase-js'
+
+ // Create a single supabase client for interacting with your database
+ const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key")
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With additional parameters
+ js: |
+ ```js
+ import { createClient } from '@supabase/supabase-js'
+
+ const options = { }
+ const supabase = createClient("https://xyzcompany.supabase.co", "public-anon-key", options)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ Generating Types:
+ description: |
+ Supabase will soon release native type generators that dump your database types for various languages. For now, we support TypeScript through a third-party tool.
+
+ ## Usage with TypeScript
+
+ `supabase-js` ships with type definitions for usage with TypeScript and for convenient IntelliSense autocomplete and documentation in your editor.
+
+ When using TypeScript, you can pass the type of database row as a type parameter to the `from` method to get better autocompletion support down the chain.
+ If you don't provide a type for the row you need to explicitly pass `from('tableName')`.
+
+ ```ts
+ type Message = {
+ id: number;
+ inserted_at: string;
+ message: string;
+ user_id: string;
+ channel_id: number;
+ author: { username: string };
+ };
+
+ const response = await supabase
+ .from('messages') // Message maps to the type of the row in your database.
+ .select('*, author:user_id(username)')
+ .match({ channel_id: 2 }); // Your IDE will be able to help with automcompletion.
+ response.body // Response body will be of type Array.
+
+ // If you don't provide a type for the row you need to explicitly pass `from('tableName')`.
+ const response = await supabase
+ .from('messages')
+ .select('*, author:user_id(username)')
+ .match({ channel_id: 2 });
+ response.body // Response body will be of type Array.
+ ```
+
+ ### Generate database types from Swagger OpenAPI specification
+
+ Supabase generates a Swagger speficiation file for your database which can be used to generate your data types for usage with TypeScript.
+
+ The Swagger specification for your Supabase project can be accessed as follows:
+
+ ```txt
+ https://your-project.supabase.co/rest/v1/?apikey=your-anon-key
+ ```
+
+ Using the open source [swagger-to-ts](https://github.com/manifoldco/swagger-to-ts#%EF%B8%8F-reading-specs-from-remote-resource) tool you can generate your types and store them locally:
+
+ ```bash
+ npx @manifoldco/swagger-to-ts https://your-project.supabase.co/rest/v1/?apikey=your-anon-key --output types/supabase.ts
+ ```
+
+ **Note:** Do note that your local types won't automatically stay in sync with your database, so make sure to regenerate your types after your make changes to your database.
+
+ After you have generated your types, you can use them in your TypeScript projects:
+
+ ```ts
+ import { NextApiRequest, NextApiResponse } from "next";
+ import { createClient } from "@supabase/supabase-js";
+ import { definitions } from "../../types/supabase";
+
+ const supabase = createClient(
+ process.env.NEXT_PUBLIC_SUPABASE_URL,
+ process.env.SUPABASE_SECRET_KEY
+ );
+
+ export default async (req: NextApiRequest, res: NextApiResponse) => {
+ const allOnlineUsers = await supabase
+ .from("users")
+ .select("*")
+ .eq("status", "ONLINE");
+ res.status(200).json(allOnlineUsers);
+ };
+ ```
+
+ auth.signUp():
+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.signUp'
+ examples:
+ - name: Sign up
+ isSpotlight: true
+ js: |
+ ```js
+ const { error, data } = await supabase.auth.signUp({
+ email: 'example@email.com',
+ password: 'example-password',
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ auth.signIn():
+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.signIn'
+ notes: |
+ - A user can sign up either via email or OAuth.
+ - If you provide `email` without a `password`, the user will be sent a magic link.
+ - Specifying a `provider` will open the browser to the relevant login page.
+ examples:
+ - name: Sign in
+ isSpotlight: true
+ js: |
+ ```js
+ const { error, data } = await supabase.auth.signIn({
+ email: 'example@email.com',
+ password: 'example-password',
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Sign in using third-party providers.
+ js: |
+ ```js
+ const { user, error } = await supabase.auth.signIn({
+ // provider can be 'github', 'google', 'gitlab', or 'bitbucket'
+ provider: 'github'
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ auth.signOut():
+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.signOut'
+ examples:
+ - name: Sign out
+ isSpotlight: true
+ js: |
+ ```js
+ const { error, data } = supabase.signOut()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ auth.session():
+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.session'
+ examples:
+ - name: Get the session data
+ isSpotlight: true
+ js: |
+ ```js
+ const session = supabase.auth.session()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ auth.user():
+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.user'
+ examples:
+ - name: Get the logged in user
+ isSpotlight: true
+ js: |
+ ```js
+ const user = supabase.auth.user()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ auth.update():
+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.update'
+ notes: |
+ It's generally better to store user data in a table inside your public schema (i.e. `public.users`).
+ Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.
+ examples:
+ - name: Update a user's metadata.
+ isSpotlight: true
+ js: |
+ ```js
+ const { user, error } = await supabase.auth.update({
+ data: { hello: 'world' }
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ auth.onAuthStateChange():
+ $ref: '@supabase/gotrue-js."GoTrueClient".GoTrueClient.onAuthStateChange'
+ examples:
+ - name: Listen to auth changes
+ isSpotlight: true
+ js: |
+ ```js
+ supabase.auth.onAuthStateChange((event, session) => {
+ console.log(event, session)
+ })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ Reset Password (Email):
+ $ref: '@supabase/gotrue-js."GoTrueApi".GoTrueApi.resetPasswordForEmail'
+ examples:
+ - name: Reset password
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = supabase.auth.api.resetPasswordForEmail('user@email.com')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ select():
+ title: "Fetch data: select()"
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.select'
+ notes: |
+ - `select()` can be combined with [Modifiers](/docs/client/using-modifiers)
+ - `select()` can be combined with [Filters](/docs/client/using-filters)
+ examples:
+ - name: Getting your data
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Selecting specific columns
+ description: You can select specific fields from your tables.
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Query foreign tables
+ description: If your database has relationships, you can query related tables too.
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select(`
+ name,
+ cities (
+ name
+ )
+ `)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Query the same foreign table multiple times
+ description: |
+ Sometimes you will need to query the same foreign table twice.
+ In this case, you can use the name of the joined column to identify
+ which join you intend to use. For convenience, you can also give an
+ alias for each column. For example, if we had a shop of products,
+ and we wanted to get the supplier and the purchaser at the same time
+ (both in the users) table:
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('products')
+ .select(`
+ id,
+ supplier:supplier_id ( name ),
+ purchaser:purchaser_id ( name )
+ `)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Quering JSON data
+ description: |
+ If you have data inside of a JSONB column, you can apply select
+ and query filters to the data values. Postgres offers a
+ [number of operators](https://www.postgresql.org/docs/9.5/functions-json.html)
+ for querying JSON data. Also see
+ [PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details.
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('products')
+ .select(`
+ id,
+ supplier:supplier_id ( name ),
+ purchaser:purchaser_id ( name )
+ `)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ insert():
+ title: "Create data: insert()"
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.insert'
+ examples:
+ - name: Create a record
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .insert([
+ { name: 'The Shire', country_id: 554 }
+ ])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Bulk create
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .insert([
+ { name: 'The Shire', country_id: 554 },
+ { name: 'Rohan', country_id: 555 },
+ ])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Upsert
+ description: |
+ For upsert, if set to true, primary key columns would need to be included
+ in the data parameter in order for an update to properly happen. Also, primary keys
+ used must be natural, not surrogate. There are however,
+ [workarounds](https://github.com/PostgREST/postgrest/issues/1118)
+ for surrogate primary keys.
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .insert(
+ [
+ { name: 'The Shire', country_id: 554 },
+ { name: 'Rohan', country_id: 555 },
+ { name: 'City by the Bay', country_id:840}
+ ],
+ { upsert: true })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ update():
+ title: "Modify data: update()"
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.update'
+ notes: |
+ - `update()` should always be combined with [Filters](/docs/client/using-filters) to target the item(s) you wish to update.
+ examples:
+ - name: Updating your data
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Middle Earth' })
+ .match({ name: 'Auckland' })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ delete():
+ title: "Delete data: delete()"
+ $ref: '@supabase/postgrest-js."lib/PostgrestQueryBuilder".PostgrestQueryBuilder.delete'
+ notes: |
+ - `delete()` should always be combined with [Filters](/docs/client/using-filters) to target the item(s) you wish to delete.
+ examples:
+ - name: Delete records
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .match({ id: 666 })
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ rpc():
+ title: "Stored Procedures: rpc()"
+ description: |
+ You can call stored procedures as a "Remote Procedure Call".
+
+ That's a fancy way of saying that you can put some logic into your database then call it from anywhere.
+ It's especially useful when the logic rarely changes - like password resets and updates.
+ $ref: '@supabase/postgrest-js."PostgrestClient".PostgrestClient.rpc'
+ examples:
+ - name: Call a stored procedure
+ isSpotlight: true
+ description: This is an example invoking a stored procedure.
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .rpc('hello_world')
+ }
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With Parameters
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .rpc('echo_city', { name: 'The Shire' })
+ }
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Bulk call
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .rpc('echo_city', [
+ { name: 'The Shire' },
+ { name: 'Mordor' }
+ ])
+ }
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With filters.
+ description: |
+ Stored procedures that return tables can also be combined with
+ [Modifiers](/docs/client/using-modifiers) and
+ [Filters](/docs/client/using-filters).
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .eq('name', 'The Shire')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ subscribe():
+ title: "on().subscribe()"
+ $ref: '@supabase/supabase-js."lib/SupabaseQueryBuilder".SupabaseQueryBuilder.on'
+ notes: |
+ - If you want to receive the "previous" data for updates and deletes, you will need to set `REPLICA IDENTITY` to `FULL`, like this: `ALTER TABLE your_table REPLICA IDENTITY FULL;`
+ examples:
+ - name: Listen to all database changes
+ isSpotlight: true
+ js: |
+ ```js
+ const mySubscription = supabase
+ .from('*')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Listening to a specific table
+ js: |
+ ```js
+ const mySubscription = supabase
+ .from('countries')
+ .on('*', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Listening to inserts
+ js: |
+ ```js
+ const mySubscription = supabase
+ .from('countries')
+ .on('INSERT', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Listening to updates
+ js: |
+ ```js
+ const mySubscription = supabase
+ .from('countries')
+ .on('UPDATE', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Listening to deletes
+ js: |
+ ```js
+ const mySubscription = supabase
+ .from('countries')
+ .on('DELETE', payload => {
+ console.log('Change received!', payload)
+ })
+ .subscribe()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Listening to multiple events
+ description: You can chain listeners if you want to listen to multiple events for each table.
+ js: |
+ ```js
+ const mySubscription = supabase
+ .from('countries')
+ .on('INSERT', handleRecordInserted)
+ .on('DELETE', handleRecordDeleted)
+ .subscribe()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Listening to row level changes
+ description: You can listen to individual rows using the format `{table}:{col}.eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match.
+ js: |
+ ```js
+ const mySubscription = supabase
+ .from('countries:id.eq.200')
+ .on('UPDATE', handleRecordUpdated)
+ .subscribe()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ removeSubscription():
+ title: "removeSubscription()"
+ $ref: '@supabase/supabase-js."SupabaseClient".SupabaseClient.removeSubscription'
+ examples:
+ - name: Remove a subscription
+ isSpotlight: true
+ js: |
+ ```js
+ supabase.removeSubscription(mySubscription)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ getSubscriptions():
+ title: "getSubscriptions()"
+ $ref: '@supabase/supabase-js."SupabaseClient".SupabaseClient.getSubscriptions'
+ examples:
+ - name: Remove a subscription
+ isSpotlight: true
+ js: |
+ ```js
+ const subscriptions = supabase.getSubscriptions()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ Using Modifiers:
+ description: |
+ Modifiers can be used on `select()` queries.
+
+ If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function.
+
+ limit():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.limit'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .limit(1)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With embedded resources
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, cities(name)')
+ .eq('name', 'United States')
+ .limit(1, 'cities')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ order():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.order'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name', 'country_id')
+ .order('id')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With embedded resources
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, cities(name)')
+ .eq('name', 'United States')
+ .order('cities.name')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ range():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.range'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .range(0,3)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ single():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.single'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .single()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ Using Filters:
+ description: |
+ Filters can be used on `select()`, `update()`, and `delete()` queries.
+
+ If a Stored Procedure returns a table response, you can also apply filters.
+
+ .filter():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.filter'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .filter('name', 'eq', 'Paris')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .filter('name', 'eq', 'Paris')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .filter({'name', 'eq', 'Paris'})
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .filter({'name', 'eq', 'Paris'})
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: Filter embedded resources
+ js: |
+ ```js
+ export const getFilterJsEmbedded = `
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, countries ( name )')
+ .filter('countries.name', 'eq', 'France')
+ `.trim()
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .or():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.or'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .or('id.eq.20,id.eq.30')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: User `or` with `and`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .or('id.gt.20,and(name.eq.New Zealand,name.eq.France)')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .not():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.not'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .not('name', 'eq', 'Paris')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .not('name', 'eq', 'Paris')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .not('name', 'eq', 'Paris')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities)
+ .not('name', 'eq', 'Paris')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .match():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.match'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .match({name: 'Beijing', country_id: 156})
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .match({name: 'Beijing', country_id: 156})
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .match({name: 'Beijing', country_id: 156})
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .match({name: 'Beijing', country_id: 156})
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .eq():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.eq'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .eq('name', 'The shire')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .eq('name', 'San Francisco')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .eq('name', 'Mordor')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .eq('name', 'San Francisco')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .neq():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.neq'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .neq('name', 'The shire')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .neq('name', 'San Francisco')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .neq('name', 'Mordor')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .neq('name', 'Lagos')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .gt():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.gt'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .gt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .gt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .gt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .gt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .gte():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.gte'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .gte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .gte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .gte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .gte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .lt():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lt'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .lt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .lt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .lt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .lt('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .lte():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lte'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .lte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .lte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .lte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .lte('country_id', 250)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .like():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.like'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .like('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .like('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .like('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .like('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .ilike():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.ilike'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .ilike('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .ilike('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .ilike('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .ilike('name', '%la%')
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .is():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.is'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .is('name', null)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .is('name', null)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .is('name', null)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .is('name', null)
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .in():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.in'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .select('name, country_id')
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .update({ name: 'Mordor' })
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('cities')
+ .delete()
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_cities')
+ .in('name', ['Rio de Janeiro', 'San Francisco'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+
+ .cs():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.cs'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .cs('main_exports', ['oil'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .cs('main_exports', ['oil'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .cs('main_exports', ['oil'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .cs('main_exports', ['oil'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .cd():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.cd'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .cd('main_exports', ['cars', 'food', 'machine'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .cd('main_exports', ['orks', 'surveillance', 'evil'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .cd('main_exports', ['cars', 'food', 'machine'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .cd('main_exports', ['cars', 'food', 'machine'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .sl():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.sl'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .sl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .sl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .sl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .sl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .sr():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.sr'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .sr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .sr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .sr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .sr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .nxl():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.nxl'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .nxl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .nxl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .nxl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .nxl('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .nxr():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.nxr'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .nxr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .nxr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .nxr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .nxr('population_range_millions', [150, 250])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .adj():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.adj'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, population_range_millions')
+ .adj('population_range_millions', [70, 185])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .adj('population_range_millions', [70, 185])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .adj('population_range_millions', [70, 185])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .adj('population_range_millions', [70, 185])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .ov():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.ov'
+ examples:
+ - name: With `select()`
+ isSpotlight: true
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .select('name, id, main_exports')
+ .ova('main_exports', ['computers', 'minerals'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `update()`
+ js: |
+ ```js
+ let countries = await supabase
+ .from('countries')
+ .update({ name: 'Mordor' })
+ .ova('main_exports', ['computers', 'minerals'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `delete()`
+ js: |
+ ```js
+ const { data, error } = await supabase
+ .from('countries')
+ .delete()
+ .ova('main_exports', ['computers', 'minerals'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+ - name: With `rpc()`
+ js: |
+ ```js
+ // Only valid if the Stored Procedure returns a table type.
+ const { data, error } = await supabase
+ .rpc('echo_all_countries')
+ .ova('main_exports', ['computers', 'minerals'])
+ ```
+ py: |
+ ```py
+ # Not yet implemented
+ ```
+
+ .fts():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.fts'
+
+ .plfts():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.plfts'
+
+ .phfts():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.phfts'
+
+ .wfts():
+ $ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.wfts'
\ No newline at end of file
diff --git a/web/src/css/custom.css b/web/src/css/custom.css
index 93a1a0ad887..3b187e54024 100755
--- a/web/src/css/custom.css
+++ b/web/src/css/custom.css
@@ -390,8 +390,13 @@ a.card {
color: var(--ifm-color-content);
box-shadow: none;
border: 1px solid #333;
+ display: flex;
/* background-color: var(--ifm-background-color); */
}
+a.card .card__body {
+ flex: 1;
+ flex-grow: 1;
+}
a.card:hover {
transition: all 0.2s ease;
border: 1px solid var(--custom-primary);
@@ -913,6 +918,22 @@ html[data-theme='dark'] .navbar-item-github:before {
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")
no-repeat;
}
+.navbar-item-twitter:hover {
+ opacity: 0.6;
+}
+.navbar-item-twitter:before {
+ content: '';
+ margin-top: 6px;
+ width: 24px;
+ height: 24px;
+ display: flex;
+ background: url("data:image/svg+xml,%3Csvg viewBox='0 0 335 276' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m302 70a195 195 0 0 1 -299 175 142 142 0 0 0 97 -30 70 70 0 0 1 -58 -47 70 70 0 0 0 31 -2 70 70 0 0 1 -57 -66 70 70 0 0 0 28 5 70 70 0 0 1 -18 -90 195 195 0 0 0 141 72 67 67 0 0 1 116 -62 117 117 0 0 0 43 -17 65 65 0 0 1 -31 38 117 117 0 0 0 39 -11 65 65 0 0 1 -32 35'/%3E%3C/svg%3E")
+ no-repeat;
+}
+html[data-theme='dark'] .navbar-item-twitter:before {
+ background: url("data:image/svg+xml,%3Csvg viewBox='0 0 335 276' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='m302 70a195 195 0 0 1 -299 175 142 142 0 0 0 97 -30 70 70 0 0 1 -58 -47 70 70 0 0 0 31 -2 70 70 0 0 1 -57 -66 70 70 0 0 0 28 5 70 70 0 0 1 -18 -90 195 195 0 0 0 141 72 67 67 0 0 1 116 -62 117 117 0 0 0 43 -17 65 65 0 0 1 -31 38 117 117 0 0 0 39 -11 65 65 0 0 1 -32 35'/%3E%3C/svg%3E")
+ no-repeat;
+}
.navbar__item .dropdown__menu li:not(:first-child) {
margin-top: 5px;
}
@@ -920,4 +941,90 @@ html[data-theme='dark'] .navbar-item-github:before {
.w-full {
width: 100%;
max-width: 100%;
+}
+
+
+/* New CSS */
+
+.tabs {
+ margin:0;
+ font-size: 0.7rem;
+ background-color: var(--ifm-code-background-dark);
+ border-top-left-radius: 5px;
+ border-top-right-radius: 5px;
+ border-bottom: 1px solid var(--custom-border-color);
+}
+.tabs li {
+ padding: 8px;
+ border-radius: 0;
+ border-width: 0px;
+ color: var(--ifm-color-gray-500);
+}
+.tabs li.tabs__item--active {
+ color: var(--custom-primary);
+}
+div[role=tabpanel], div[role=tabpanel] div {
+ margin-top: 0 !important;
+ outline: none !important;
+ border-bottom-left-radius: 5px;
+ border-bottom-right-radius: 5px;
+}
+
+
+.method-list-group {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+}
+.method-list-group li {
+ border-top: 1px solid var(--custom-border-color);
+ padding-top: 12px;
+}
+.method-list-group li:last-child {
+ border-bottom: 1px solid var(--custom-border-color);
+}
+
+h4.method-list-item-label {
+ display: flex;
+}
+h4.method-list-item-label .method-list-item-label-name {
+ font-family: var(--ifm-font-family-monospace);
+ font-size: 0.8rem;
+}
+h4.method-list-item-label .method-list-item-label-badge {
+ font-family: var(--ifm-font-family-monospace);
+ font-size: 0.8rem;
+ padding: 0 5px;
+ font-weight: 300;
+}
+h4.method-list-item-label .method-list-item-validation {
+ font-family: var(--ifm-font-family-monospace);
+ font-size: 0.8rem;
+ padding: 0 5px;
+ font-weight: 300;
+}
+
+
+.method-list-group .method-list-group {
+ border: 1px solid var(--custom-border-color);
+ border-radius: 8px;
+ margin-bottom: 20px;
+ max-width: 600px;
+}
+.method-list-group .method-list-group li {
+ padding: 12px;
+ border-bottom: none;
+}
+.method-list-title {
+ margin: 0;
+ padding: 6px 12px;
+}
+.method-list-group .method-list-group li div,
+.method-list-group .method-list-group li h4,
+.method-list-group .method-list-group li p {
+ padding: 0;
+ margin: 0;
+}
+.method-list-group .method-list-group li h4 {
+ margin-bottom: 4px;
}
\ No newline at end of file
diff --git a/web/src/data/github.js b/web/src/data/github.js
index adf7890c1a0..624f291bde7 100644
--- a/web/src/data/github.js
+++ b/web/src/data/github.js
@@ -1,11 +1,11 @@
import supabase from './repos/supabase.json'
import realtime from './repos/realtime.json'
-import marketplace from './repos/marketplace.json'
+// import marketplace from './repos/marketplace.json'
import postgres from './repos/postgres.json'
import doctestJs from './repos/doctest-js.json'
import postgrestJs from './repos/postgrest-js.json'
import postgresApi from './repos/pg-api.json'
-const repos = [supabase, realtime, postgrestJs, postgres, doctestJs, marketplace, postgresApi]
+const repos = [supabase, realtime, postgrestJs, postgres, doctestJs, postgresApi]
export { repos, postgrestJs }
diff --git a/web/src/data/repos/pg-api.json b/web/src/data/repos/pg-api.json
index e98d3bdc52b..d4c30ab0339 100644
--- a/web/src/data/repos/pg-api.json
+++ b/web/src/data/repos/pg-api.json
@@ -65,23 +65,23 @@
"releases_url": "https://api.github.com/repos/supabase/pg-api/releases{/id}",
"deployments_url": "https://api.github.com/repos/supabase/pg-api/deployments",
"created_at": "2020-05-20T12:36:37Z",
- "updated_at": "2020-08-23T13:33:30Z",
- "pushed_at": "2020-08-18T13:31:51Z",
+ "updated_at": "2020-10-30T08:25:43Z",
+ "pushed_at": "2020-10-26T16:26:10Z",
"git_url": "git://github.com/supabase/pg-api.git",
"ssh_url": "git@github.com:supabase/pg-api.git",
"clone_url": "https://github.com/supabase/pg-api.git",
"svn_url": "https://github.com/supabase/pg-api",
"homepage": "https://supabase.io",
- "size": 87118,
- "stargazers_count": 53,
- "watchers_count": 53,
+ "size": 87982,
+ "stargazers_count": 72,
+ "watchers_count": 72,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": true,
- "forks_count": 3,
+ "forks_count": 5,
"mirror_url": null,
"archived": false,
"disabled": false,
@@ -93,9 +93,9 @@
"url": "https://api.github.com/licenses/apache-2.0",
"node_id": "MDc6TGljZW5zZTI="
},
- "forks": 3,
+ "forks": 5,
"open_issues": 6,
- "watchers": 53,
+ "watchers": 72,
"default_branch": "develop",
"temp_clone_token": null,
"organization": {
@@ -118,6 +118,6 @@
"type": "Organization",
"site_admin": false
},
- "network_count": 3,
- "subscribers_count": 5
+ "network_count": 5,
+ "subscribers_count": 6
}
diff --git a/web/src/data/repos/postgres.json b/web/src/data/repos/postgres.json
index 7afd44e0073..05ea8b67b3a 100644
--- a/web/src/data/repos/postgres.json
+++ b/web/src/data/repos/postgres.json
@@ -65,23 +65,23 @@
"releases_url": "https://api.github.com/repos/supabase/postgres/releases{/id}",
"deployments_url": "https://api.github.com/repos/supabase/postgres/deployments",
"created_at": "2020-04-10T08:02:57Z",
- "updated_at": "2020-08-24T00:03:22Z",
- "pushed_at": "2020-08-18T13:31:26Z",
+ "updated_at": "2020-10-30T08:25:37Z",
+ "pushed_at": "2020-10-02T08:31:17Z",
"git_url": "git://github.com/supabase/postgres.git",
"ssh_url": "git@github.com:supabase/postgres.git",
"clone_url": "https://github.com/supabase/postgres.git",
"svn_url": "https://github.com/supabase/postgres",
"homepage": "https://supabase.io",
"size": 117,
- "stargazers_count": 132,
- "watchers_count": 132,
+ "stargazers_count": 151,
+ "watchers_count": 151,
"language": "Shell",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
- "forks_count": 3,
+ "forks_count": 4,
"mirror_url": null,
"archived": false,
"disabled": false,
@@ -93,9 +93,9 @@
"url": "https://api.github.com/licenses/postgresql",
"node_id": "MDc6TGljZW5zZTMx"
},
- "forks": 3,
+ "forks": 4,
"open_issues": 4,
- "watchers": 132,
+ "watchers": 151,
"default_branch": "develop",
"temp_clone_token": null,
"organization": {
@@ -118,6 +118,6 @@
"type": "Organization",
"site_admin": false
},
- "network_count": 3,
- "subscribers_count": 7
+ "network_count": 4,
+ "subscribers_count": 8
}
diff --git a/web/src/data/repos/realtime.json b/web/src/data/repos/realtime.json
index e0ebbd658f1..cd66971fa9d 100644
--- a/web/src/data/repos/realtime.json
+++ b/web/src/data/repos/realtime.json
@@ -65,27 +65,27 @@
"releases_url": "https://api.github.com/repos/supabase/realtime/releases{/id}",
"deployments_url": "https://api.github.com/repos/supabase/realtime/deployments",
"created_at": "2019-09-23T12:15:45Z",
- "updated_at": "2020-08-24T06:52:45Z",
- "pushed_at": "2020-08-18T13:31:04Z",
+ "updated_at": "2020-10-31T18:41:16Z",
+ "pushed_at": "2020-09-14T14:38:34Z",
"git_url": "git://github.com/supabase/realtime.git",
"ssh_url": "git@github.com:supabase/realtime.git",
"clone_url": "https://github.com/supabase/realtime.git",
"svn_url": "https://github.com/supabase/realtime",
"homepage": "https://supabase.io",
- "size": 2304,
- "stargazers_count": 1691,
- "watchers_count": 1691,
+ "size": 2322,
+ "stargazers_count": 1804,
+ "watchers_count": 1804,
"language": "Elixir",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
- "forks_count": 68,
+ "forks_count": 75,
"mirror_url": null,
"archived": false,
"disabled": false,
- "open_issues_count": 3,
+ "open_issues_count": 9,
"license": {
"key": "apache-2.0",
"name": "Apache License 2.0",
@@ -93,9 +93,9 @@
"url": "https://api.github.com/licenses/apache-2.0",
"node_id": "MDc6TGljZW5zZTI="
},
- "forks": 68,
- "open_issues": 3,
- "watchers": 1691,
+ "forks": 75,
+ "open_issues": 9,
+ "watchers": 1804,
"default_branch": "master",
"temp_clone_token": null,
"organization": {
@@ -118,6 +118,6 @@
"type": "Organization",
"site_admin": false
},
- "network_count": 68,
+ "network_count": 75,
"subscribers_count": 53
}
diff --git a/web/src/data/repos/supabase.json b/web/src/data/repos/supabase.json
index f54bab93dab..5a2a1cac041 100644
--- a/web/src/data/repos/supabase.json
+++ b/web/src/data/repos/supabase.json
@@ -65,27 +65,27 @@
"releases_url": "https://api.github.com/repos/supabase/supabase/releases{/id}",
"deployments_url": "https://api.github.com/repos/supabase/supabase/deployments",
"created_at": "2019-10-12T05:56:49Z",
- "updated_at": "2020-08-24T03:37:28Z",
- "pushed_at": "2020-08-23T03:35:02Z",
+ "updated_at": "2020-11-01T18:31:33Z",
+ "pushed_at": "2020-10-30T20:22:07Z",
"git_url": "git://github.com/supabase/supabase.git",
"ssh_url": "git@github.com:supabase/supabase.git",
"clone_url": "https://github.com/supabase/supabase.git",
"svn_url": "https://github.com/supabase/supabase",
"homepage": "https://supabase.io",
- "size": 18404,
- "stargazers_count": 2088,
- "watchers_count": 2088,
+ "size": 31094,
+ "stargazers_count": 2551,
+ "watchers_count": 2551,
"language": "JavaScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
- "forks_count": 66,
+ "forks_count": 101,
"mirror_url": null,
"archived": false,
"disabled": false,
- "open_issues_count": 22,
+ "open_issues_count": 30,
"license": {
"key": "apache-2.0",
"name": "Apache License 2.0",
@@ -93,9 +93,9 @@
"url": "https://api.github.com/licenses/apache-2.0",
"node_id": "MDc6TGljZW5zZTI="
},
- "forks": 66,
- "open_issues": 22,
- "watchers": 2088,
+ "forks": 101,
+ "open_issues": 30,
+ "watchers": 2551,
"default_branch": "master",
"temp_clone_token": null,
"organization": {
@@ -118,6 +118,6 @@
"type": "Organization",
"site_admin": false
},
- "network_count": 66,
- "subscribers_count": 77
+ "network_count": 101,
+ "subscribers_count": 91
}
diff --git a/web/src/data/sponsors.json b/web/src/data/sponsors.json
index c7265fd8102..d52c8ca5852 100644
--- a/web/src/data/sponsors.json
+++ b/web/src/data/sponsors.json
@@ -8,13 +8,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "7SY61892ND0264025",
+ "transaction_id": "6R536008RY873023C",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-28T01:21:53.000+08:00"
+ "transaction_date": "2020-10-28T01:12:27.000+08:00"
}
]
},
@@ -34,17 +34,7 @@
"sponsorship_started_on": "2020-05-27T19:27:21.000+08:00",
"is_public": true,
"is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1HF1sEEQsq43iHhXFlgoP6X1",
- "tier_name": "$5 a month",
- "tier_monthly_amount": "$5.00",
- "processed_amount": "$5.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2020-08-12T02:07:08.000+08:00"
- }
- ]
+ "transactions": []
},
{
"sponsor_handle": "arnaudbonzom",
@@ -64,13 +54,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HEIaQEQsq43iHhXDZi6muf6",
+ "transaction_id": "ch_1HaPZIEQsq43iHhXSSI4cPbR",
"tier_name": "$19 a month",
"tier_monthly_amount": "$19.00",
"processed_amount": "$19.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-10T01:45:44.000+08:00"
+ "transaction_date": "2020-10-10T01:40:00.000+08:00"
}
]
},
@@ -81,17 +71,7 @@
"sponsorship_started_on": "2020-05-28T12:57:15.000+08:00",
"is_public": true,
"is_yearly": false,
- "transactions": [
- {
- "transaction_id": "ch_1HKpKjEQsq43iHhX74RFUOhV",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$19.00",
- "is_prorated": false,
- "status": "settled",
- "transaction_date": "2020-08-28T01:56:29.000+08:00"
- }
- ]
+ "transactions": []
},
{
"sponsor_handle": "Cmarenburg",
@@ -102,13 +82,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HIeTiEQsq43iHhXbMqdgSM8",
+ "transaction_id": "ch_1HYxFeEQsq43iHhXHxgla2mz",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
- "status": "settled",
- "transaction_date": "2020-08-22T01:56:46.000+08:00"
+ "status": "processor_declined",
+ "transaction_date": "2020-10-06T01:13:39.000+08:00"
}
]
},
@@ -121,13 +101,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HDacoEQsq43iHhXVVwcPnUM",
+ "transaction_id": "ch_1HZgbGEQsq43iHhXwFX4QQRH",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-08T02:49:16.000+08:00"
+ "transaction_date": "2020-10-08T01:38:58.000+08:00"
}
]
},
@@ -140,32 +120,32 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HDDKREQsq43iHhX00NVMdZz",
+ "transaction_id": "ch_1HZKRwEQsq43iHhXj0XSsRfd",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-07T01:56:44.000+08:00"
+ "transaction_date": "2020-10-07T01:59:54.000+08:00"
}
]
},
{
"sponsor_handle": "Julianwan",
- "sponsor_profile_name": null,
+ "sponsor_profile_name": "Julian Wan",
"sponsor_public_email": null,
"sponsorship_started_on": "2020-06-16T03:30:05.000+08:00",
"is_public": true,
"is_yearly": false,
"transactions": [
{
- "transaction_id": "2MT56508LD3969344",
+ "transaction_id": "1UV556535B5707001",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-16T01:37:54.000+08:00"
+ "transaction_date": "2020-10-16T01:31:26.000+08:00"
}
]
},
@@ -178,13 +158,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HJ0ecEQsq43iHhXYA0HwIBF",
+ "transaction_id": "ch_1Hf7gFEQsq43iHhXx3cN6KAk",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-23T01:37:32.000+08:00"
+ "transaction_date": "2020-10-23T01:34:34.000+08:00"
}
]
},
@@ -197,13 +177,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HBlFGEQsq43iHhXwXpe2PHl",
+ "transaction_id": "ch_1HXsNjEQsq43iHhXboVlLj6E",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-03T01:45:22.000+08:00"
+ "transaction_date": "2020-10-03T01:49:36.000+08:00"
}
]
},
@@ -216,13 +196,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HCqWaEQsq43iHhXpYnzxOdw",
+ "transaction_id": "ch_1HYxdMEQsq43iHhXJ3vAasFB",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-06T01:35:45.000+08:00"
+ "transaction_date": "2020-10-06T01:38:08.000+08:00"
}
]
},
@@ -235,13 +215,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "8X769098995164337",
+ "transaction_id": "8UM41802HT0872133",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-18T01:22:04.000+08:00"
+ "transaction_date": "2020-10-18T01:12:15.000+08:00"
}
]
},
@@ -252,35 +232,7 @@
"sponsorship_started_on": "2020-08-07T21:43:49.000+08:00",
"is_public": true,
"is_yearly": true,
- "transactions": [
- {
- "transaction_id": "ch_1HLB7GEQsq43iHhXjbYy2sho",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$228.00",
- "is_prorated": false,
- "status": "processor_declined",
- "transaction_date": "2020-08-29T01:12:03.000+08:00"
- },
- {
- "transaction_id": "ch_1HIeLlEQsq43iHhXpNJXbWpX",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$228.00",
- "is_prorated": false,
- "status": "processor_declined",
- "transaction_date": "2020-08-22T01:48:35.000+08:00"
- },
- {
- "transaction_id": "ch_1HDVrQEQsq43iHhXaCCYB4NX",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$8.00",
- "is_prorated": true,
- "status": "settled",
- "transaction_date": "2020-08-07T21:44:02.000+08:00"
- }
- ]
+ "transactions": []
},
{
"sponsor_handle": "thorwebdev",
@@ -291,22 +243,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HG6mpEQsq43iHhXgX7tlU3h",
+ "transaction_id": "ch_1HcDmzEQsq43iHhXZ3vWIz9r",
"tier_name": "$19 a month",
"tier_monthly_amount": "$19.00",
"processed_amount": "$19.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-15T01:34:00.000+08:00"
- },
- {
- "transaction_id": "ch_1HDZzdEQsq43iHhXl4yVCyel",
- "tier_name": "$19 a month",
- "tier_monthly_amount": "$19.00",
- "processed_amount": "$4.00",
- "is_prorated": true,
- "status": "settled",
- "transaction_date": "2020-08-08T02:08:47.000+08:00"
+ "transaction_date": "2020-10-15T01:29:34.000+08:00"
}
]
},
@@ -319,13 +262,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HEekUEQsq43iHhXlQVYDVFe",
- "tier_name": "$5,000 a month",
- "tier_monthly_amount": "$5,000.00",
- "processed_amount": "$5,000.00",
+ "transaction_id": "CBA-00025913",
+ "tier_name": "$49 a month",
+ "tier_monthly_amount": "$49.00",
+ "processed_amount": "$49.00",
"is_prorated": false,
- "status": "settled",
- "transaction_date": "2020-08-11T03:28:48.000+08:00"
+ "status": null,
+ "transaction_date": "2020-10-11T01:10:48.000+08:00"
}
]
},
@@ -338,13 +281,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HHb1SEQsq43iHhXEKIqNLwn",
+ "transaction_id": "ch_1HdfHiEQsq43iHhXVOCjIBTF",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
"processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-19T04:03:17.000+08:00"
+ "transaction_date": "2020-10-19T01:03:13.000+08:00"
}
]
},
@@ -357,13 +300,13 @@
"is_yearly": false,
"transactions": [
{
- "transaction_id": "ch_1HJw41EQsq43iHhXsroO9Bwa",
+ "transaction_id": "ch_1HfqZXEQsq43iHhXXjc4vMHv",
"tier_name": "$19 a month",
"tier_monthly_amount": "$19.00",
"processed_amount": "$19.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-25T14:55:34.000+08:00"
+ "transaction_date": "2020-10-25T01:30:39.000+08:00"
}
]
},
@@ -374,15 +317,52 @@
"sponsorship_started_on": "2020-08-28T22:39:16.000+08:00",
"is_public": true,
"is_yearly": true,
+ "transactions": []
+ },
+ {
+ "sponsor_handle": "tpberntsen",
+ "sponsor_profile_name": "Thomas Peter Berntsen",
+ "sponsor_public_email": null,
+ "sponsorship_started_on": "2020-10-16T16:05:31.000+08:00",
+ "is_public": true,
+ "is_yearly": true,
"transactions": [
{
- "transaction_id": "ch_1HL8jbEQsq43iHhXDAgWo2Kd",
+ "transaction_id": "7NG423441V0818949",
+ "tier_name": "$19 a month",
+ "tier_monthly_amount": "$19.00",
+ "processed_amount": "$16.00",
+ "is_prorated": true,
+ "status": "settled",
+ "transaction_date": "2020-10-16T16:05:42.000+08:00"
+ }
+ ]
+ },
+ {
+ "sponsor_handle": "harrisi",
+ "sponsor_profile_name": "Ian Harris",
+ "sponsor_public_email": null,
+ "sponsorship_started_on": "2020-10-21T12:04:49.000+08:00",
+ "is_public": true,
+ "is_yearly": false,
+ "transactions": [
+ {
+ "transaction_id": "ch_1Hi19OEQsq43iHhX9IbKwDhJ",
"tier_name": "$5 a month",
"tier_monthly_amount": "$5.00",
- "processed_amount": "$60.00",
+ "processed_amount": "$5.00",
"is_prorated": false,
"status": "settled",
- "transaction_date": "2020-08-28T22:39:26.000+08:00"
+ "transaction_date": "2020-10-31T01:12:37.000+08:00"
+ },
+ {
+ "transaction_id": "ch_1HeYZFEQsq43iHhXXixH9imn",
+ "tier_name": "$5 a month",
+ "tier_monthly_amount": "$5.00",
+ "processed_amount": "$1.00",
+ "is_prorated": true,
+ "status": "settled",
+ "transaction_date": "2020-10-21T12:05:00.000+08:00"
}
]
}
diff --git a/web/src/examples/users.js b/web/src/examples/users.js
new file mode 100644
index 00000000000..ec28b8ff9ef
--- /dev/null
+++ b/web/src/examples/users.js
@@ -0,0 +1,40 @@
+export const signUp = `
+const { user, error } = await supabase.auth.signUp({
+ email: 'someone@email.com',
+ password: 'password'
+})
+`.trim()
+
+export const signIn = `
+const { user, error } = await supabase.auth.signIn({
+ email: 'someone@email.com',
+ password: 'password'
+})
+`.trim()
+
+export const userData = `
+const { user, error } = await supabase.auth.user()
+`.trim()
+
+export const signOut = `
+await supabase.auth.signOut()
+`.trim()
+
+export const update = `
+const { user, error } = await supabase.auth.update({
+ data: { hello: 'world' }
+})
+`.trim()
+
+export const signInOauth = `
+const { user, error } = await supabase.auth.signIn({
+ // provider can be 'github', 'google', 'gitlab', or 'bitbucket'
+ provider: 'github'
+})
+`.trim()
+
+export const onAuthStateChange = `
+supabase.auth.onAuthStateChange((event, session) => {
+ console.log(event, session)
+})
+`.trim()
\ No newline at end of file
diff --git a/web/src/pages/index.js b/web/src/pages/index.js
index 97cb26e0e3e..b5e32b37004 100755
--- a/web/src/pages/index.js
+++ b/web/src/pages/index.js
@@ -169,25 +169,6 @@ const features = [
},
]
-function Feature({ imageUrl, title, description, href }) {
- const imgUrl = useBaseUrl(imageUrl)
- return (
-
-
-
- {imgUrl && (
-
-
-
- )}
-
{title}
-
{description}
-
-
-
- )
-}
-
function Home() {
const context = useDocusaurusContext()
const { siteConfig = {} } = context
diff --git a/web/src/pages/oss.js b/web/src/pages/oss.js
index cad59e2b03c..f303cd88105 100644
--- a/web/src/pages/oss.js
+++ b/web/src/pages/oss.js
@@ -21,7 +21,8 @@ export default function Oss() {
heading: 'Enterprise: $5,000 per month',
transactions: sponsors.filter(
(x) =>
- x.transactions[0]?.tier_name == '$5,000 a month' && x.transactions[0]?.status == 'settled'
+ x.transactions[0]?.tier_name == '$5,000 a month' &&
+ x.transactions[0]?.status != 'processor_declined'
),
},
{
@@ -29,7 +30,8 @@ export default function Oss() {
heading: 'Agency: $2,500 per month',
transactions: sponsors.filter(
(x) =>
- x.transactions[0]?.tier_name == '$2,500 a month' && x.transactions[0]?.status == 'settled'
+ x.transactions[0]?.tier_name == '$2,500 a month' &&
+ x.transactions[0]?.status != 'processor_declined'
),
},
{
@@ -37,7 +39,8 @@ export default function Oss() {
heading: 'Startup: $1,000 per month',
transactions: sponsors.filter(
(x) =>
- x.transactions[0]?.tier_name == '$1,000 a month' && x.transactions[0]?.status == 'settled'
+ x.transactions[0]?.tier_name == '$1,000 a month' &&
+ x.transactions[0]?.status != 'processor_declined'
),
},
{
@@ -45,7 +48,8 @@ export default function Oss() {
heading: 'Evangelist: $49 per month',
transactions: sponsors.filter(
(x) =>
- x.transactions[0]?.tier_name == '$49 a month' && x.transactions[0]?.status == 'settled'
+ x.transactions[0]?.tier_name == '$49 a month' &&
+ x.transactions[0]?.status != 'processor_declined'
),
},
{
@@ -53,7 +57,8 @@ export default function Oss() {
heading: 'Supporter: $19 per month',
transactions: sponsors.filter(
(x) =>
- x.transactions[0]?.tier_name == '$19 a month' && x.transactions[0]?.status == 'settled'
+ x.transactions[0]?.tier_name == '$19 a month' &&
+ x.transactions[0]?.status != 'processor_declined'
),
},
{
@@ -61,7 +66,8 @@ export default function Oss() {
heading: 'Contributor: $5 per month',
transactions: sponsors.filter(
(x) =>
- x.transactions[0]?.tier_name == '$5 a month' && x.transactions[0]?.status == 'settled'
+ x.transactions[0]?.tier_name == '$5 a month' &&
+ x.transactions[0]?.status != 'processor_declined'
),
},
]
@@ -133,7 +139,7 @@ export default function Oss() {
{maintainers
.filter((x) => activePill == 'All' || x.tags.includes(activePill))
- .sort((a,b) => a.handle.localeCompare(b.handle))
+ .sort((a, b) => a.handle.localeCompare(b.handle))
.map((x, idx) => (