Quid Faciam Hodie?
Winner Best Flutter Project
@@ -592,7 +594,7 @@ export default function launchweek() {
That Hot Dog Game
Previous Winner: Most Fun/Interesting
@@ -607,7 +609,7 @@ export default function launchweek() {
RepoWatch
Previous Winner Best Realtime Project
@@ -653,7 +655,7 @@ export default function launchweek() {
- Live
+ Currently Happening
The Supabase Content Storm
diff --git a/apps/www/pages/storage/Storage.tsx b/apps/www/pages/storage/Storage.tsx
index a473e23cd3e..e73eb303c40 100644
--- a/apps/www/pages/storage/Storage.tsx
+++ b/apps/www/pages/storage/Storage.tsx
@@ -187,6 +187,17 @@ function StoragePage() {
title="CDN"
text="Serve from the edge to reduce latency."
/>
+
+ }
+ >
+ Explore docs
+
+
- Coming soon
+
+ }
+ >
+ Explore docs
+
+
,
]}
diff --git a/apps/docs/pages/handbook/supasquad.mdx b/apps/www/pages/supasquad.mdx
similarity index 92%
rename from apps/docs/pages/handbook/supasquad.mdx
rename to apps/www/pages/supasquad.mdx
index e6ec7e336ac..012750bedac 100644
--- a/apps/docs/pages/handbook/supasquad.mdx
+++ b/apps/www/pages/supasquad.mdx
@@ -1,18 +1,22 @@
-import Layout from '~/layouts/DefaultGuideLayout'
+import Layout from '../layouts/Layout'
+import SectionContainer from '../components/Layouts/SectionContainer'
export const meta = {
- id: 'supasquad',
title: 'SupaSquad',
description: 'Supabase Advocate program',
}
+
+
+# SupaSquad
+
The SupaSquad is an official Supabase advocate program where community members help build and manage the Supabase community.
- Official recognition in the Supabase community.
- Direct connection to the Supabase team.
- Help steer the Supabase community.
-
+
## Requirements
@@ -89,6 +93,6 @@ Apply to join the program using [this form](https://airtable.com/shr0FtLqLfhpuEy
the Supabase ecosystem.
-export const Page = ({ children }) =>
+
-export default Page
+export default (context) =>
diff --git a/apps/www/public/images/blog/2022-june/thumb.png b/apps/www/public/images/blog/2022-june/thumb.png
index 5e4609d7af6..48b0ac51a65 100644
Binary files a/apps/www/public/images/blog/2022-june/thumb.png and b/apps/www/public/images/blog/2022-june/thumb.png differ
diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-hit.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-hit.png
new file mode 100644
index 00000000000..a36bc8533e5
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-hit.png differ
diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-miss.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-miss.png
new file mode 100644
index 00000000000..090db0701d3
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-miss.png differ
diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-refresh.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-refresh.png
new file mode 100644
index 00000000000..1647bac58d8
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/cache-refresh.png differ
diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/caching.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/caching.png
new file mode 100644
index 00000000000..256e17e79af
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/caching.png differ
diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/hit rate improvement.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/hit rate improvement.png
new file mode 100644
index 00000000000..2f29f04d14d
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/hit rate improvement.png differ
diff --git a/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/resize.png b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/resize.png
new file mode 100644
index 00000000000..2c98597bb10
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-6/day-2-storage-resize/resize.png differ
diff --git a/apps/www/public/images/blog/lw6-storage/Image-resizing.jpg b/apps/www/public/images/blog/lw6-storage/Image-resizing.jpg
new file mode 100644
index 00000000000..57975a400c6
Binary files /dev/null and b/apps/www/public/images/blog/lw6-storage/Image-resizing.jpg differ
diff --git a/apps/www/public/images/launchweek/antcopplecall.png b/apps/www/public/images/launchweek/antcopplecall.png
new file mode 100644
index 00000000000..9490790f6fd
Binary files /dev/null and b/apps/www/public/images/launchweek/antcopplecall.png differ
diff --git a/apps/www/public/images/launchweek/image-processing-bg-alt.png b/apps/www/public/images/launchweek/image-processing-bg-alt.png
new file mode 100644
index 00000000000..5d3d75463cc
Binary files /dev/null and b/apps/www/public/images/launchweek/image-processing-bg-alt.png differ
diff --git a/apps/www/public/images/launchweek/image-processing-bg-light-alt.png b/apps/www/public/images/launchweek/image-processing-bg-light-alt.png
new file mode 100644
index 00000000000..de01c7bf28c
Binary files /dev/null and b/apps/www/public/images/launchweek/image-processing-bg-light-alt.png differ
diff --git a/apps/www/public/images/launchweek/launch-week-6.jpg b/apps/www/public/images/launchweek/launch-week-6.jpg
index cf7c77d3cda..91c4e1ff343 100644
Binary files a/apps/www/public/images/launchweek/launch-week-6.jpg and b/apps/www/public/images/launchweek/launch-week-6.jpg differ
diff --git a/apps/www/public/images/supabase-squad.png b/apps/www/public/images/supabase-squad.png
new file mode 100644
index 00000000000..8027de56ba7
Binary files /dev/null and b/apps/www/public/images/supabase-squad.png differ
diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xml
index 122ff39e516..d5f1e387aca 100644
--- a/apps/www/public/rss.xml
+++ b/apps/www/public/rss.xml
@@ -5,13 +5,20 @@
https://supabase.com
Latest news from Supabase
en
-
Sun, 11 Dec 2022 16:04:00 +0000
+
Mon, 12 Dec 2022 16:04:00 +0000
-
+ https://supabase.com/blog/storage-image-resizing-smart-cdn
+ Supabase Storage v2: Image resizing and Smart CDN
+ https://supabase.com/blog/storage-image-resizing-smart-cdn
+ We're introducing new features for Supabase Storage: Image resizing and a Smart CDN.
+ Mon, 12 Dec 2022 16:04:00 +0000
+
+
-
https://supabase.com/blog/new-supabase-docs-built-with-nextjs
New Supabase Docs, built with Next.js
https://supabase.com/blog/new-supabase-docs-built-with-nextjs
- We've redesign our Docs and migrated to Next.js
+ We've redesignd our Docs and migrated to Next.js
Sun, 11 Dec 2022 16:04:00 +0000
-
diff --git a/apps/www/public/sitemap_www.xml b/apps/www/public/sitemap_www.xml
index ee99ac2420f..ad197067af9 100644
--- a/apps/www/public/sitemap_www.xml
+++ b/apps/www/public/sitemap_www.xml
@@ -66,18 +66,6 @@
0.5
-
- https://supabase.com/database
- weekly
- 0.5
-
-
-
- https://supabase.com/edge-functions
- weekly
- 0.5
-
-
https://supabase.com/contact/enterprise
weekly
@@ -91,7 +79,13 @@
- https://supabase.com/launch-week/ticket-image
+ https://supabase.com/database
+ weekly
+ 0.5
+
+
+
+ https://supabase.com/edge-functions
weekly
0.5
@@ -108,6 +102,12 @@
0.5
+
+ https://supabase.com/launch-week/ticket-image
+ weekly
+ 0.5
+
+
https://supabase.com/nextjs
weekly
diff --git a/package-lock.json b/package-lock.json
index 4d053839bfc..f0df444fb07 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -42,21 +42,15 @@
"dependencies": {
"@algolia/autocomplete-js": "^1.7.2",
"@algolia/autocomplete-plugin-recent-searches": "^1.7.2",
- "@apollo/client": "^3.6.6",
- "@code-hike/mdx": "^0.7.4",
"@docsearch/react": "^3.3.0",
"@mdx-js/loader": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^12.0.4",
"@radix-ui/react-accordion": "^1.0.1",
- "@radix-ui/react-collapsible": "^1.0.1",
- "@tailwindcss/typography": "^0.4.1",
"algoliasearch": "^4.14.2",
"babel": "^6.23.0",
"common": "*",
"config": "*",
- "dotenv": "^16.0.3",
- "graphql": "^16.5.0",
"gray-matter": "^4.0.3",
"isbot": "^3.6.5",
"jsrsasign": "^10.5.26",
@@ -69,9 +63,7 @@
"next-mdx-toc": "^0.1.3",
"next-plugin-yaml": "^1.0.1",
"next-seo": "^5.14.1",
- "next-themes": "0.0.15",
"next-transpile-modules": "^9.0.0",
- "octokit": "^2.0.10",
"react": "17.0.2",
"react-copy-to-clipboard": "^5.0.2",
"react-dom": "17.0.2",
@@ -80,11 +72,7 @@
"react-syntax-highlighter": "^15.3.1",
"remark": "^14.0.2",
"remark-admonitions": "^1.2.1",
- "remark-autolink-headings": "^7.0.1",
"remark-gfm": "^3.0.1",
- "remark-html": "^15.0.0",
- "remark-mdx": "^2.0.0-rc.2",
- "remark-prism": "^1.3.6",
"remark-slug": "^7.0.1",
"shiki": "^0.11.1",
"ui": "*",
@@ -94,6 +82,7 @@
"@types/node": "^17.0.12",
"@types/react": "17.0.39",
"config": "*",
+ "dotenv": "^16.0.3",
"ejs": "^3.1.8",
"eslint": "8.9.0",
"globby": "^12.0.2",
@@ -412,51 +401,6 @@
"node": ">= 10"
}
},
- "apps/docs/node_modules/@radix-ui/react-collapsible": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.0.1.tgz",
- "integrity": "sha512-0maX4q91iYa4gjt3PsNf7dq/yqSR+HGAE8I5p54dQ6gnveS+ETWlMoijxrhmgV1k8svxpm34mQAtqIrJt4XZmA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.0",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-context": "1.0.0",
- "@radix-ui/react-id": "1.0.0",
- "@radix-ui/react-presence": "1.0.0",
- "@radix-ui/react-primitive": "1.0.1",
- "@radix-ui/react-use-controllable-state": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "apps/docs/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0",
- "react-dom": "^16.8 || ^17.0 || ^18.0"
- }
- },
- "apps/docs/node_modules/@radix-ui/react-collapsible/node_modules/@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0 || ^18.0"
- }
- },
"apps/docs/node_modules/ajv": {
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -1271,47 +1215,6 @@
"node": ">=6.0.0"
}
},
- "node_modules/@apollo/client": {
- "version": "3.7.1",
- "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.7.1.tgz",
- "integrity": "sha512-xu5M/l7p9gT9Fx7nF3AQivp0XukjB7TM7tOd5wifIpI8RskYveL4I+rpTijzWrnqCPZabkbzJKH7WEAKdctt9w==",
- "dependencies": {
- "@graphql-typed-document-node/core": "^3.1.1",
- "@wry/context": "^0.7.0",
- "@wry/equality": "^0.5.0",
- "@wry/trie": "^0.3.0",
- "graphql-tag": "^2.12.6",
- "hoist-non-react-statics": "^3.3.2",
- "optimism": "^0.16.1",
- "prop-types": "^15.7.2",
- "response-iterator": "^0.2.6",
- "symbol-observable": "^4.0.0",
- "ts-invariant": "^0.10.3",
- "tslib": "^2.3.0",
- "zen-observable-ts": "^1.2.5"
- },
- "peerDependencies": {
- "graphql": "^14.0.0 || ^15.0.0 || ^16.0.0",
- "graphql-ws": "^5.5.5",
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
- "subscriptions-transport-ws": "^0.9.0 || ^0.11.0"
- },
- "peerDependenciesMeta": {
- "graphql-ws": {
- "optional": true
- },
- "react": {
- "optional": true
- },
- "react-dom": {
- "optional": true
- },
- "subscriptions-transport-ws": {
- "optional": true
- }
- }
- },
"node_modules/@babel/code-frame": {
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
@@ -3504,14 +3407,6 @@
"integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==",
"dev": true
},
- "node_modules/@graphql-typed-document-node/core": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.1.tgz",
- "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==",
- "peerDependencies": {
- "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
- }
- },
"node_modules/@hcaptcha/react-hcaptcha": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/@hcaptcha/react-hcaptcha/-/react-hcaptcha-1.4.4.tgz",
@@ -5940,110 +5835,6 @@
"react": "^16.8 || ^17.0"
}
},
- "node_modules/@radix-ui/react-dialog": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-0.1.7.tgz",
- "integrity": "sha512-jXt8srGhHBRvEr9jhEAiwwJzWCWZoGRJ030aC9ja/gkRJbZdy0iD3FwXf+Ff4RtsZyLUMHW7VUwFOlz3Ixe1Vw==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "0.1.0",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-dismissable-layer": "0.1.5",
- "@radix-ui/react-focus-guards": "0.1.0",
- "@radix-ui/react-focus-scope": "0.1.4",
- "@radix-ui/react-id": "0.1.5",
- "@radix-ui/react-portal": "0.1.4",
- "@radix-ui/react-presence": "0.1.2",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-slot": "0.1.2",
- "@radix-ui/react-use-controllable-state": "0.1.0",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "^2.4.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0",
- "react-dom": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/primitive": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-0.1.0.tgz",
- "integrity": "sha512-tqxZKybwN5Fa3VzZry4G6mXAAb9aAqKmPtnVbZpL0vsBwvOHTBwsjHVPXylocYLwEtBY9SCe665bYnNB515uoA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-id": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
- "integrity": "sha512-IPc4H/63bes0IZ1GJJozSEkSWcDyhNGtKFWUpJ+XtaLyQ1X3x7Mf6fWwWhDcpqlYEP+5WtAvfqcyEsyjP+ZhBQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-controllable-state": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-0.1.0.tgz",
- "integrity": "sha512-zv7CX/PgsRl46a52Tl45TwqwVJdmqnlQEQhaYMz/yBOD2sx2gCkCFSoF/z9mpnYWmS6DTLNTg5lIps3fV6EnXg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
"node_modules/@radix-ui/react-dismissable-layer": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-0.1.5.tgz",
@@ -6394,110 +6185,6 @@
"react": "^16.8 || ^17.0"
}
},
- "node_modules/@radix-ui/react-popover": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-0.1.6.tgz",
- "integrity": "sha512-zQzgUqW4RQDb0ItAL1xNW4K4olUrkfV3jeEPs9rG+nsDQurO+W9TT+YZ9H1mmgAJqlthyv1sBRZGdBm4YjtD6Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "0.1.0",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-dismissable-layer": "0.1.5",
- "@radix-ui/react-focus-guards": "0.1.0",
- "@radix-ui/react-focus-scope": "0.1.4",
- "@radix-ui/react-id": "0.1.5",
- "@radix-ui/react-popper": "0.1.4",
- "@radix-ui/react-portal": "0.1.4",
- "@radix-ui/react-presence": "0.1.2",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-use-controllable-state": "0.1.0",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "^2.4.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0",
- "react-dom": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/primitive": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-0.1.0.tgz",
- "integrity": "sha512-tqxZKybwN5Fa3VzZry4G6mXAAb9aAqKmPtnVbZpL0vsBwvOHTBwsjHVPXylocYLwEtBY9SCe665bYnNB515uoA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-id": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
- "integrity": "sha512-IPc4H/63bes0IZ1GJJozSEkSWcDyhNGtKFWUpJ+XtaLyQ1X3x7Mf6fWwWhDcpqlYEP+5WtAvfqcyEsyjP+ZhBQ==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
- "node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-controllable-state": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-0.1.0.tgz",
- "integrity": "sha512-zv7CX/PgsRl46a52Tl45TwqwVJdmqnlQEQhaYMz/yBOD2sx2gCkCFSoF/z9mpnYWmS6DTLNTg5lIps3fV6EnXg==",
- "dependencies": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
- },
- "peerDependencies": {
- "react": "^16.8 || ^17.0"
- }
- },
"node_modules/@radix-ui/react-popper": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-0.1.4.tgz",
@@ -10019,20 +9706,6 @@
"tailwindcss": ">=3.0.0 || >= 3.0.0-alpha.1"
}
},
- "node_modules/@tailwindcss/typography": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.4.1.tgz",
- "integrity": "sha512-ovPPLUhs7zAIJfr0y1dbGlyCuPhpuv/jpBoFgqAc658DWGGrOBWBMpAWLw2KlzbNeVk4YBJMzue1ekvIbdw6XA==",
- "dependencies": {
- "lodash.castarray": "^4.4.0",
- "lodash.isplainobject": "^4.0.6",
- "lodash.merge": "^4.6.2",
- "lodash.uniq": "^4.5.0"
- },
- "peerDependencies": {
- "tailwindcss": ">=2.0.0"
- }
- },
"node_modules/@tanstack/match-sorter-utils": {
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@tanstack/match-sorter-utils/-/match-sorter-utils-8.1.1.tgz",
@@ -10174,6 +9847,7 @@
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
"integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
+ "dev": true,
"engines": {
"node": ">= 6"
}
@@ -11332,39 +11006,6 @@
"@xtuc/long": "4.2.2"
}
},
- "node_modules/@wry/context": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.7.0.tgz",
- "integrity": "sha512-LcDAiYWRtwAoSOArfk7cuYvFXytxfVrdX7yxoUmK7pPITLk5jYh2F8knCwS7LjgYL8u1eidPlKKV6Ikqq0ODqQ==",
- "dependencies": {
- "tslib": "^2.3.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@wry/equality": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.5.3.tgz",
- "integrity": "sha512-avR+UXdSrsF2v8vIqIgmeTY0UR91UT+IyablCyKe/uk22uOJ8fusKZnH9JH9e1/EtLeNJBtagNmL3eJdnOV53g==",
- "dependencies": {
- "tslib": "^2.3.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
- "node_modules/@wry/trie": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@wry/trie/-/trie-0.3.2.tgz",
- "integrity": "sha512-yRTyhWSls2OY/pYLfwff867r8ekooZ4UI+/gxot5Wj8EFwSf2rG+n+Mo/6LoLQm1TKA4GRj2+LCpbfS937dClQ==",
- "dependencies": {
- "tslib": "^2.3.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/@xtuc/ieee754": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
@@ -11378,7 +11019,8 @@
"node_modules/abab": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
- "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA=="
+ "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==",
+ "dev": true
},
"node_modules/accepts": {
"version": "1.3.8",
@@ -11408,6 +11050,7 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz",
"integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==",
+ "dev": true,
"dependencies": {
"acorn": "^7.1.1",
"acorn-walk": "^7.1.1"
@@ -12068,7 +11711,8 @@
"node_modules/asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
+ "dev": true
},
"node_modules/at-least-node": {
"version": "1.0.0",
@@ -12966,7 +12610,8 @@
"node_modules/browser-process-hrtime": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz",
- "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow=="
+ "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==",
+ "dev": true
},
"node_modules/browserify-aes": {
"version": "1.2.0",
@@ -13870,6 +13515,7 @@
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dev": true,
"dependencies": {
"delayed-stream": "~1.0.0"
},
@@ -14930,11 +14576,6 @@
"url": "https://github.com/sponsors/fb55"
}
},
- "node_modules/css-selector-parser": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/css-selector-parser/-/css-selector-parser-1.4.1.tgz",
- "integrity": "sha512-HYPSb7y/Z7BNDCOrakL4raGO2zltZkbeXyAd6Tg9obzix6QhzxCotdBl6VT0Dv4vZfJGVz3WL/xaEI9Ly3ul0g=="
- },
"node_modules/css-unit-converter": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.2.tgz",
@@ -14978,12 +14619,14 @@
"node_modules/cssom": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz",
- "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw=="
+ "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==",
+ "dev": true
},
"node_modules/cssstyle": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",
"integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==",
+ "dev": true,
"dependencies": {
"cssom": "~0.3.6"
},
@@ -14994,7 +14637,8 @@
"node_modules/cssstyle/node_modules/cssom": {
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
- "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg=="
+ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
+ "dev": true
},
"node_modules/csstype": {
"version": "3.1.1",
@@ -15726,6 +15370,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz",
"integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==",
+ "dev": true,
"dependencies": {
"abab": "^2.0.3",
"whatwg-mimetype": "^2.3.0",
@@ -15784,7 +15429,8 @@
"node_modules/decimal.js": {
"version": "10.4.2",
"resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.2.tgz",
- "integrity": "sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA=="
+ "integrity": "sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA==",
+ "dev": true
},
"node_modules/decimal.js-light": {
"version": "2.5.1",
@@ -15939,6 +15585,7 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "dev": true,
"engines": {
"node": ">=0.4.0"
}
@@ -16226,6 +15873,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz",
"integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==",
+ "dev": true,
"dependencies": {
"webidl-conversions": "^5.0.0"
},
@@ -16237,6 +15885,7 @@
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz",
"integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==",
+ "dev": true,
"engines": {
"node": ">=8"
}
@@ -16289,6 +15938,7 @@
"version": "16.0.3",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz",
"integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==",
+ "dev": true,
"engines": {
"node": ">=12"
}
@@ -16635,7 +16285,8 @@
"node_modules/escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+ "dev": true
},
"node_modules/escape-string-regexp": {
"version": "4.0.0",
@@ -16652,6 +16303,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz",
"integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==",
+ "dev": true,
"dependencies": {
"esprima": "^4.0.1",
"estraverse": "^5.2.0",
@@ -16673,6 +16325,7 @@
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
"integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==",
+ "dev": true,
"dependencies": {
"prelude-ls": "~1.1.2",
"type-check": "~0.3.2"
@@ -16685,6 +16338,7 @@
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
"integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
+ "dev": true,
"dependencies": {
"deep-is": "~0.1.3",
"fast-levenshtein": "~2.0.6",
@@ -16701,6 +16355,7 @@
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
"integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==",
+ "dev": true,
"engines": {
"node": ">= 0.8.0"
}
@@ -16709,7 +16364,9 @@
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
+ "dev": true,
"optional": true,
+ "peer": true,
"engines": {
"node": ">=0.10.0"
}
@@ -16718,6 +16375,7 @@
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
"integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==",
+ "dev": true,
"dependencies": {
"prelude-ls": "~1.1.2"
},
@@ -18433,6 +18091,7 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
+ "dev": true,
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
@@ -18979,28 +18638,6 @@
"lodash": "^4.17.15"
}
},
- "node_modules/graphql": {
- "version": "16.6.0",
- "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz",
- "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==",
- "engines": {
- "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
- }
- },
- "node_modules/graphql-tag": {
- "version": "2.12.6",
- "resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz",
- "integrity": "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==",
- "dependencies": {
- "tslib": "^2.1.0"
- },
- "engines": {
- "node": ">=10"
- },
- "peerDependencies": {
- "graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
- }
- },
"node_modules/gray-matter": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz",
@@ -19746,6 +19383,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz",
"integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==",
+ "dev": true,
"dependencies": {
"whatwg-encoding": "^1.0.5"
},
@@ -19909,6 +19547,7 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
"integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
+ "dev": true,
"dependencies": {
"@tootallnate/once": "1",
"agent-base": "6",
@@ -20631,7 +20270,8 @@
"node_modules/is-potential-custom-element-name": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
- "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ=="
+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
+ "dev": true
},
"node_modules/is-reference": {
"version": "3.0.0",
@@ -22849,6 +22489,7 @@
"version": "16.7.0",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz",
"integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==",
+ "dev": true,
"dependencies": {
"abab": "^2.0.5",
"acorn": "^8.2.4",
@@ -22894,6 +22535,7 @@
"version": "8.8.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
"integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",
+ "dev": true,
"bin": {
"acorn": "bin/acorn"
},
@@ -22905,6 +22547,7 @@
"version": "7.5.9",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
"integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
+ "dev": true,
"engines": {
"node": ">=8.3.0"
},
@@ -25273,6 +24916,7 @@
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "dev": true,
"engines": {
"node": ">= 0.6"
}
@@ -25281,6 +24925,7 @@
"version": "2.1.35",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "dev": true,
"dependencies": {
"mime-db": "1.52.0"
},
@@ -26145,16 +25790,6 @@
"react-dom": ">=16.0.0"
}
},
- "node_modules/next-themes": {
- "version": "0.0.15",
- "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.0.15.tgz",
- "integrity": "sha512-LTmtqYi03c4gMTJmWwVK9XkHL7h0/+XrtR970Ujvtu3s0kZNeJN24aJsi4rkZOI8i19+qq6f8j+8Duwy5jqcrQ==",
- "peerDependencies": {
- "next": "*",
- "react": "*",
- "react-dom": "*"
- }
- },
"node_modules/next-tick": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
@@ -26584,7 +26219,8 @@
"node_modules/nwsapi": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.2.tgz",
- "integrity": "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw=="
+ "integrity": "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==",
+ "dev": true
},
"node_modules/object-assign": {
"version": "4.1.1",
@@ -26925,15 +26561,6 @@
"opener": "bin/opener-bin.js"
}
},
- "node_modules/optimism": {
- "version": "0.16.2",
- "resolved": "https://registry.npmjs.org/optimism/-/optimism-0.16.2.tgz",
- "integrity": "sha512-zWNbgWj+3vLEjZNIh/okkY2EUfX+vB9TJopzIZwT1xxaMqC5hRLLraePod4c5n4He08xuXNH+zhKFFCu390wiQ==",
- "dependencies": {
- "@wry/context": "^0.7.0",
- "@wry/trie": "^0.3.0"
- }
- },
"node_modules/optionator": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
@@ -27209,14 +26836,6 @@
"resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz",
"integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw=="
},
- "node_modules/parse5-htmlparser2-tree-adapter": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz",
- "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==",
- "dependencies": {
- "parse5": "^6.0.1"
- }
- },
"node_modules/parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
@@ -29655,7 +29274,8 @@
"node_modules/psl": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz",
- "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag=="
+ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==",
+ "dev": true
},
"node_modules/public-encrypt": {
"version": "4.0.3",
@@ -29746,7 +29366,8 @@
"node_modules/querystringify": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
- "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
+ "dev": true
},
"node_modules/queue-microtask": {
"version": "1.2.3",
@@ -31571,127 +31192,6 @@
"url": "https://opencollective.com/unified"
}
},
- "node_modules/remark-autolink-headings": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/remark-autolink-headings/-/remark-autolink-headings-7.0.1.tgz",
- "integrity": "sha512-a1BIwoJ0cSnX+sPp5u3AFULBFWHGYBt57Fo4a+7IlGiJOQxs8b7uYAE5Iu26Ocl7Y5cvinZy3FaGVruLCKg6vA==",
- "dependencies": {
- "@types/hast": "^2.0.0",
- "@types/mdast": "^3.0.0",
- "extend": "^3.0.0",
- "unified": "^10.0.0",
- "unist-util-visit": "^4.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/bail": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
- "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/is-buffer": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
- "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/feross"
- },
- {
- "type": "patreon",
- "url": "https://www.patreon.com/feross"
- },
- {
- "type": "consulting",
- "url": "https://feross.org/support"
- }
- ],
- "engines": {
- "node": ">=4"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/is-plain-obj": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
- "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",
- "engines": {
- "node": ">=12"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/trough": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz",
- "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g==",
- "funding": {
- "type": "github",
- "url": "https://github.com/sponsors/wooorm"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/unified": {
- "version": "10.1.2",
- "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz",
- "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==",
- "dependencies": {
- "@types/unist": "^2.0.0",
- "bail": "^2.0.0",
- "extend": "^3.0.0",
- "is-buffer": "^2.0.0",
- "is-plain-obj": "^4.0.0",
- "trough": "^2.0.0",
- "vfile": "^5.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/unist-util-is": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.1.1.tgz",
- "integrity": "sha512-F5CZ68eYzuSvJjGhCLPL3cYx45IxkqXSetCcRgUXtbcm50X2L9oOWQlfUfDdAf+6Pd27YDblBfdtmsThXmwpbQ==",
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/unist-util-visit": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.1.tgz",
- "integrity": "sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==",
- "dependencies": {
- "@types/unist": "^2.0.0",
- "unist-util-is": "^5.0.0",
- "unist-util-visit-parents": "^5.1.1"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
- "node_modules/remark-autolink-headings/node_modules/unist-util-visit-parents": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz",
- "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==",
- "dependencies": {
- "@types/unist": "^2.0.0",
- "unist-util-is": "^5.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
"node_modules/remark-external-links": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/remark-external-links/-/remark-external-links-8.0.0.tgz",
@@ -31959,22 +31459,6 @@
"url": "https://opencollective.com/unified"
}
},
- "node_modules/remark-prism": {
- "version": "1.3.6",
- "resolved": "https://registry.npmjs.org/remark-prism/-/remark-prism-1.3.6.tgz",
- "integrity": "sha512-yYSXJ2MEK2DeD9UKDKFkQPcVqRx6aX2FYD1kE27ScogpZ/BBO8MoOO6gf/AKqfXvKGnP51wqvDEBmPseypgaug==",
- "dependencies": {
- "classnames": "^2.3.1",
- "css-selector-parser": "^1.4.1",
- "escape-html": "^1.0.3",
- "jsdom": "^16.5.3",
- "parse-numeric-range": "^1.2.0",
- "parse5": "^6.0.1",
- "parse5-htmlparser2-tree-adapter": "^6.0.1",
- "prismjs": "^1.23.0",
- "unist-util-map": "^2.0.1"
- }
- },
"node_modules/remark-rehype": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-8.1.0.tgz",
@@ -32424,7 +31908,8 @@
"node_modules/requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
- "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
+ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
+ "dev": true
},
"node_modules/resize-observer-polyfill": {
"version": "1.5.1",
@@ -32483,14 +31968,6 @@
"node": ">=10"
}
},
- "node_modules/response-iterator": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/response-iterator/-/response-iterator-0.2.6.tgz",
- "integrity": "sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw==",
- "engines": {
- "node": ">=0.8"
- }
- },
"node_modules/ret": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
@@ -32928,6 +32405,7 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz",
"integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==",
+ "dev": true,
"dependencies": {
"xmlchars": "^2.2.0"
},
@@ -34202,18 +33680,11 @@
"react": "^16.11.0 || ^17.0.0"
}
},
- "node_modules/symbol-observable": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz",
- "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ==",
- "engines": {
- "node": ">=0.10"
- }
- },
"node_modules/symbol-tree": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
- "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="
+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
+ "dev": true
},
"node_modules/symbol.prototype.description": {
"version": "1.0.5",
@@ -34781,6 +34252,7 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz",
"integrity": "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==",
+ "dev": true,
"dependencies": {
"psl": "^1.1.33",
"punycode": "^2.1.1",
@@ -34795,6 +34267,7 @@
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
"integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
+ "dev": true,
"engines": {
"node": ">= 4.0.0"
}
@@ -34803,6 +34276,7 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz",
"integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==",
+ "dev": true,
"dependencies": {
"punycode": "^2.1.1"
},
@@ -34861,17 +34335,6 @@
"node": ">=6.10"
}
},
- "node_modules/ts-invariant": {
- "version": "0.10.3",
- "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.10.3.tgz",
- "integrity": "sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==",
- "dependencies": {
- "tslib": "^2.1.0"
- },
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/ts-jest": {
"version": "27.1.5",
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.5.tgz",
@@ -35582,19 +35045,6 @@
"url": "https://opencollective.com/unified"
}
},
- "node_modules/unist-util-map": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/unist-util-map/-/unist-util-map-2.0.1.tgz",
- "integrity": "sha512-VdNvk4BQUUU9Rgr8iUOvclHa/iN9O+6Dt66FKij8l9OVezGG37gGWCPU5KSax1R2degqXFvl3kWTkvzL79e9tQ==",
- "dependencies": {
- "@types/mdast": "^3.0.0",
- "object-assign": "^4.0.0"
- },
- "funding": {
- "type": "opencollective",
- "url": "https://opencollective.com/unified"
- }
- },
"node_modules/unist-util-position": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-3.1.0.tgz",
@@ -35899,6 +35349,7 @@
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
+ "dev": true,
"dependencies": {
"querystringify": "^2.1.1",
"requires-port": "^1.0.0"
@@ -36295,6 +35746,7 @@
"resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz",
"integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==",
"deprecated": "Use your platform's native performance.now() and performance.timeOrigin.",
+ "dev": true,
"dependencies": {
"browser-process-hrtime": "^1.0.0"
}
@@ -36303,6 +35755,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz",
"integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==",
+ "dev": true,
"dependencies": {
"xml-name-validator": "^3.0.0"
},
@@ -36604,6 +36057,7 @@
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz",
"integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==",
+ "dev": true,
"engines": {
"node": ">=10.4"
}
@@ -37224,6 +36678,7 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz",
"integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==",
+ "dev": true,
"dependencies": {
"iconv-lite": "0.4.24"
}
@@ -37231,12 +36686,14 @@
"node_modules/whatwg-mimetype": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",
- "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g=="
+ "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==",
+ "dev": true
},
"node_modules/whatwg-url": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz",
"integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==",
+ "dev": true,
"dependencies": {
"lodash": "^4.7.0",
"tr46": "^2.1.0",
@@ -37435,12 +36892,14 @@
"node_modules/xml-name-validator": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz",
- "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw=="
+ "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",
+ "dev": true
},
"node_modules/xmlchars": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
- "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw=="
+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
+ "dev": true
},
"node_modules/xtend": {
"version": "4.0.2",
@@ -37550,19 +37009,6 @@
"resolved": "https://registry.npmjs.org/yup-password/-/yup-password-0.2.2.tgz",
"integrity": "sha512-2PHfqGWtbXg4OfDV7VKFIb3hyEaYgTYpEORnFqgGAYqzENWmGzWMoeGvJg2Ohmq6maTRxhJzLZpNTITrqlZTrA=="
},
- "node_modules/zen-observable": {
- "version": "0.8.15",
- "resolved": "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz",
- "integrity": "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ=="
- },
- "node_modules/zen-observable-ts": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/zen-observable-ts/-/zen-observable-ts-1.2.5.tgz",
- "integrity": "sha512-QZWQekv6iB72Naeake9hS1KxHlotfRpe+WGNbNx5/ta+R3DNjVO2bswf63gXlWDcs+EMd7XY8HfVQyP1X6T4Zg==",
- "dependencies": {
- "zen-observable": "0.8.15"
- }
- },
"node_modules/zwitch": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
@@ -37665,7 +37111,7 @@
"@radix-ui/react-dialog": "^0.1.5",
"@radix-ui/react-dropdown-menu": "^0.1.4",
"@radix-ui/react-popover": "^0.1.0",
- "@radix-ui/react-portal": "^0.1.3",
+ "@radix-ui/react-portal": "^1.0.1",
"@radix-ui/react-tabs": "^0.1.0",
"@tailwindcss/forms": "^0.4.0",
"@tailwindcss/typography": "^0.5.0",
@@ -37749,6 +37195,46 @@
"react": "^16.8 || ^17.0"
}
},
+ "packages/ui/node_modules/@radix-ui/react-dialog": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-0.1.7.tgz",
+ "integrity": "sha512-jXt8srGhHBRvEr9jhEAiwwJzWCWZoGRJ030aC9ja/gkRJbZdy0iD3FwXf+Ff4RtsZyLUMHW7VUwFOlz3Ixe1Vw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "0.1.0",
+ "@radix-ui/react-compose-refs": "0.1.0",
+ "@radix-ui/react-context": "0.1.1",
+ "@radix-ui/react-dismissable-layer": "0.1.5",
+ "@radix-ui/react-focus-guards": "0.1.0",
+ "@radix-ui/react-focus-scope": "0.1.4",
+ "@radix-ui/react-id": "0.1.5",
+ "@radix-ui/react-portal": "0.1.4",
+ "@radix-ui/react-presence": "0.1.2",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-slot": "0.1.2",
+ "@radix-ui/react-use-controllable-state": "0.1.0",
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "^2.4.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0",
+ "react-dom": "^16.8 || ^17.0"
+ }
+ },
+ "packages/ui/node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-portal": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.4.tgz",
+ "integrity": "sha512-MO0wRy2eYRTZ/CyOri9NANCAtAtq89DEtg90gicaTlkCfdqCLEBsLb+/q66BZQTr3xX/Vq01nnVfc/TkCqoqvw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-use-layout-effect": "0.1.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0",
+ "react-dom": "^16.8 || ^17.0"
+ }
+ },
"packages/ui/node_modules/@radix-ui/react-id": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
@@ -37761,6 +37247,95 @@
"react": "^16.8 || ^17.0"
}
},
+ "packages/ui/node_modules/@radix-ui/react-popover": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-0.1.6.tgz",
+ "integrity": "sha512-zQzgUqW4RQDb0ItAL1xNW4K4olUrkfV3jeEPs9rG+nsDQurO+W9TT+YZ9H1mmgAJqlthyv1sBRZGdBm4YjtD6Q==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "0.1.0",
+ "@radix-ui/react-compose-refs": "0.1.0",
+ "@radix-ui/react-context": "0.1.1",
+ "@radix-ui/react-dismissable-layer": "0.1.5",
+ "@radix-ui/react-focus-guards": "0.1.0",
+ "@radix-ui/react-focus-scope": "0.1.4",
+ "@radix-ui/react-id": "0.1.5",
+ "@radix-ui/react-popper": "0.1.4",
+ "@radix-ui/react-portal": "0.1.4",
+ "@radix-ui/react-presence": "0.1.2",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-use-controllable-state": "0.1.0",
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "^2.4.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0",
+ "react-dom": "^16.8 || ^17.0"
+ }
+ },
+ "packages/ui/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-portal": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.4.tgz",
+ "integrity": "sha512-MO0wRy2eYRTZ/CyOri9NANCAtAtq89DEtg90gicaTlkCfdqCLEBsLb+/q66BZQTr3xX/Vq01nnVfc/TkCqoqvw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-use-layout-effect": "0.1.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0",
+ "react-dom": "^16.8 || ^17.0"
+ }
+ },
+ "packages/ui/node_modules/@radix-ui/react-portal": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.1.tgz",
+ "integrity": "sha512-NY2vUWI5WENgAT1nfC6JS7RU5xRYBfjZVLq0HmgEN1Ezy3rk/UruMV4+Rd0F40PEaFC5SrLS1ixYvcYIQrb4Ig==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "1.0.1"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "packages/ui/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.1.tgz",
+ "integrity": "sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-slot": "1.0.1"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0",
+ "react-dom": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "packages/ui/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.1.tgz",
+ "integrity": "sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
+ "packages/ui/node_modules/@radix-ui/react-portal/node_modules/@radix-ui/react-primitive/node_modules/@radix-ui/react-slot/node_modules/@radix-ui/react-compose-refs": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.0.tgz",
+ "integrity": "sha512-0KaSv6sx787/hK3eF53iOkiSLwAGlFMx5lotrqD2pTjB18KbybKoEIgkNZTKC60YECDQTKGTRcDBILwZVqVKvA==",
+ "dependencies": {
+ "@babel/runtime": "^7.13.10"
+ },
+ "peerDependencies": {
+ "react": "^16.8 || ^17.0 || ^18.0"
+ }
+ },
"packages/ui/node_modules/@radix-ui/react-primitive": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
@@ -38537,26 +38112,6 @@
"@jridgewell/trace-mapping": "^0.3.9"
}
},
- "@apollo/client": {
- "version": "3.7.1",
- "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.7.1.tgz",
- "integrity": "sha512-xu5M/l7p9gT9Fx7nF3AQivp0XukjB7TM7tOd5wifIpI8RskYveL4I+rpTijzWrnqCPZabkbzJKH7WEAKdctt9w==",
- "requires": {
- "@graphql-typed-document-node/core": "^3.1.1",
- "@wry/context": "^0.7.0",
- "@wry/equality": "^0.5.0",
- "@wry/trie": "^0.3.0",
- "graphql-tag": "^2.12.6",
- "hoist-non-react-statics": "^3.3.2",
- "optimism": "^0.16.1",
- "prop-types": "^15.7.2",
- "response-iterator": "^0.2.6",
- "symbol-observable": "^4.0.0",
- "ts-invariant": "^0.10.3",
- "tslib": "^2.3.0",
- "zen-observable-ts": "^1.2.5"
- }
- },
"@babel/code-frame": {
"version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
@@ -40079,12 +39634,6 @@
"integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==",
"dev": true
},
- "@graphql-typed-document-node/core": {
- "version": "3.1.1",
- "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.1.tgz",
- "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==",
- "requires": {}
- },
"@hcaptcha/react-hcaptcha": {
"version": "1.4.4",
"resolved": "https://registry.npmjs.org/@hcaptcha/react-hcaptcha/-/react-hcaptcha-1.4.4.tgz",
@@ -41887,90 +41436,6 @@
}
}
},
- "@radix-ui/react-dialog": {
- "version": "0.1.7",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-0.1.7.tgz",
- "integrity": "sha512-jXt8srGhHBRvEr9jhEAiwwJzWCWZoGRJ030aC9ja/gkRJbZdy0iD3FwXf+Ff4RtsZyLUMHW7VUwFOlz3Ixe1Vw==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "0.1.0",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-dismissable-layer": "0.1.5",
- "@radix-ui/react-focus-guards": "0.1.0",
- "@radix-ui/react-focus-scope": "0.1.4",
- "@radix-ui/react-id": "0.1.5",
- "@radix-ui/react-portal": "0.1.4",
- "@radix-ui/react-presence": "0.1.2",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-slot": "0.1.2",
- "@radix-ui/react-use-controllable-state": "0.1.0",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "^2.4.0"
- },
- "dependencies": {
- "@radix-ui/primitive": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-0.1.0.tgz",
- "integrity": "sha512-tqxZKybwN5Fa3VzZry4G6mXAAb9aAqKmPtnVbZpL0vsBwvOHTBwsjHVPXylocYLwEtBY9SCe665bYnNB515uoA==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-id": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
- "integrity": "sha512-IPc4H/63bes0IZ1GJJozSEkSWcDyhNGtKFWUpJ+XtaLyQ1X3x7Mf6fWwWhDcpqlYEP+5WtAvfqcyEsyjP+ZhBQ==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- }
- },
- "@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- }
- },
- "@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- }
- },
- "@radix-ui/react-use-controllable-state": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-0.1.0.tgz",
- "integrity": "sha512-zv7CX/PgsRl46a52Tl45TwqwVJdmqnlQEQhaYMz/yBOD2sx2gCkCFSoF/z9mpnYWmS6DTLNTg5lIps3fV6EnXg==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
- }
- }
- }
- },
"@radix-ui/react-dismissable-layer": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@radix-ui/react-dismissable-layer/-/react-dismissable-layer-0.1.5.tgz",
@@ -42254,90 +41719,6 @@
}
}
},
- "@radix-ui/react-popover": {
- "version": "0.1.6",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-0.1.6.tgz",
- "integrity": "sha512-zQzgUqW4RQDb0ItAL1xNW4K4olUrkfV3jeEPs9rG+nsDQurO+W9TT+YZ9H1mmgAJqlthyv1sBRZGdBm4YjtD6Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "0.1.0",
- "@radix-ui/react-compose-refs": "0.1.0",
- "@radix-ui/react-context": "0.1.1",
- "@radix-ui/react-dismissable-layer": "0.1.5",
- "@radix-ui/react-focus-guards": "0.1.0",
- "@radix-ui/react-focus-scope": "0.1.4",
- "@radix-ui/react-id": "0.1.5",
- "@radix-ui/react-popper": "0.1.4",
- "@radix-ui/react-portal": "0.1.4",
- "@radix-ui/react-presence": "0.1.2",
- "@radix-ui/react-primitive": "0.1.4",
- "@radix-ui/react-use-controllable-state": "0.1.0",
- "aria-hidden": "^1.1.1",
- "react-remove-scroll": "^2.4.0"
- },
- "dependencies": {
- "@radix-ui/primitive": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/primitive/-/primitive-0.1.0.tgz",
- "integrity": "sha512-tqxZKybwN5Fa3VzZry4G6mXAAb9aAqKmPtnVbZpL0vsBwvOHTBwsjHVPXylocYLwEtBY9SCe665bYnNB515uoA==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-compose-refs": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-0.1.0.tgz",
- "integrity": "sha512-eyclbh+b77k+69Dk72q3694OHrn9B3QsoIRx7ywX341U9RK1ThgQjMFZoPtmZNQTksXHLNEiefR8hGVeFyInGg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-context": {
- "version": "0.1.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-context/-/react-context-0.1.1.tgz",
- "integrity": "sha512-PkyVX1JsLBioeu0jB9WvRpDBBLtLZohVDT3BB5CTSJqActma8S8030P57mWZb4baZifMvN7KKWPAA40UmWKkQg==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- },
- "@radix-ui/react-id": {
- "version": "0.1.5",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
- "integrity": "sha512-IPc4H/63bes0IZ1GJJozSEkSWcDyhNGtKFWUpJ+XtaLyQ1X3x7Mf6fWwWhDcpqlYEP+5WtAvfqcyEsyjP+ZhBQ==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-layout-effect": "0.1.0"
- }
- },
- "@radix-ui/react-primitive": {
- "version": "0.1.4",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
- "integrity": "sha512-6gSl2IidySupIMJFjYnDIkIWRyQdbu/AHK7rbICPani+LW4b0XdxBXc46og/iZvuwW8pjCS8I2SadIerv84xYA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-slot": "0.1.2"
- }
- },
- "@radix-ui/react-slot": {
- "version": "0.1.2",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-0.1.2.tgz",
- "integrity": "sha512-ADkqfL+agEzEguU3yS26jfB50hRrwf7U4VTwAOZEmi/g+ITcBWe12yM46ueS/UCIMI9Py+gFUaAdxgxafFvY2Q==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "0.1.0"
- }
- },
- "@radix-ui/react-use-controllable-state": {
- "version": "0.1.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-controllable-state/-/react-use-controllable-state-0.1.0.tgz",
- "integrity": "sha512-zv7CX/PgsRl46a52Tl45TwqwVJdmqnlQEQhaYMz/yBOD2sx2gCkCFSoF/z9mpnYWmS6DTLNTg5lIps3fV6EnXg==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-use-callback-ref": "0.1.0"
- }
- }
- }
- },
"@radix-ui/react-popper": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/@radix-ui/react-popper/-/react-popper-0.1.4.tgz",
@@ -44943,17 +44324,6 @@
"mini-svg-data-uri": "^1.2.3"
}
},
- "@tailwindcss/typography": {
- "version": "0.4.1",
- "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.4.1.tgz",
- "integrity": "sha512-ovPPLUhs7zAIJfr0y1dbGlyCuPhpuv/jpBoFgqAc658DWGGrOBWBMpAWLw2KlzbNeVk4YBJMzue1ekvIbdw6XA==",
- "requires": {
- "lodash.castarray": "^4.4.0",
- "lodash.isplainobject": "^4.0.6",
- "lodash.merge": "^4.6.2",
- "lodash.uniq": "^4.5.0"
- }
- },
"@tanstack/match-sorter-utils": {
"version": "8.1.1",
"resolved": "https://registry.npmjs.org/@tanstack/match-sorter-utils/-/match-sorter-utils-8.1.1.tgz",
@@ -45040,7 +44410,8 @@
"@tootallnate/once": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",
- "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw=="
+ "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
+ "dev": true
},
"@tsconfig/node10": {
"version": "1.0.9",
@@ -46075,30 +45446,6 @@
"@xtuc/long": "4.2.2"
}
},
- "@wry/context": {
- "version": "0.7.0",
- "resolved": "https://registry.npmjs.org/@wry/context/-/context-0.7.0.tgz",
- "integrity": "sha512-LcDAiYWRtwAoSOArfk7cuYvFXytxfVrdX7yxoUmK7pPITLk5jYh2F8knCwS7LjgYL8u1eidPlKKV6Ikqq0ODqQ==",
- "requires": {
- "tslib": "^2.3.0"
- }
- },
- "@wry/equality": {
- "version": "0.5.3",
- "resolved": "https://registry.npmjs.org/@wry/equality/-/equality-0.5.3.tgz",
- "integrity": "sha512-avR+UXdSrsF2v8vIqIgmeTY0UR91UT+IyablCyKe/uk22uOJ8fusKZnH9JH9e1/EtLeNJBtagNmL3eJdnOV53g==",
- "requires": {
- "tslib": "^2.3.0"
- }
- },
- "@wry/trie": {
- "version": "0.3.2",
- "resolved": "https://registry.npmjs.org/@wry/trie/-/trie-0.3.2.tgz",
- "integrity": "sha512-yRTyhWSls2OY/pYLfwff867r8ekooZ4UI+/gxot5Wj8EFwSf2rG+n+Mo/6LoLQm1TKA4GRj2+LCpbfS937dClQ==",
- "requires": {
- "tslib": "^2.3.0"
- }
- },
"@xtuc/ieee754": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz",
@@ -46112,7 +45459,8 @@
"abab": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz",
- "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA=="
+ "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==",
+ "dev": true
},
"accepts": {
"version": "1.3.8",
@@ -46133,6 +45481,7 @@
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz",
"integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==",
+ "dev": true,
"requires": {
"acorn": "^7.1.1",
"acorn-walk": "^7.1.1"
@@ -46641,7 +45990,8 @@
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
+ "dev": true
},
"at-least-node": {
"version": "1.0.0",
@@ -47320,7 +46670,8 @@
"browser-process-hrtime": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz",
- "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow=="
+ "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==",
+ "dev": true
},
"browserify-aes": {
"version": "1.2.0",
@@ -48001,6 +47352,7 @@
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dev": true,
"requires": {
"delayed-stream": "~1.0.0"
}
@@ -48891,11 +48243,6 @@
"nth-check": "^2.0.1"
}
},
- "css-selector-parser": {
- "version": "1.4.1",
- "resolved": "https://registry.npmjs.org/css-selector-parser/-/css-selector-parser-1.4.1.tgz",
- "integrity": "sha512-HYPSb7y/Z7BNDCOrakL4raGO2zltZkbeXyAd6Tg9obzix6QhzxCotdBl6VT0Dv4vZfJGVz3WL/xaEI9Ly3ul0g=="
- },
"css-unit-converter": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/css-unit-converter/-/css-unit-converter-1.1.2.tgz",
@@ -48927,12 +48274,14 @@
"cssom": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz",
- "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw=="
+ "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==",
+ "dev": true
},
"cssstyle": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz",
"integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==",
+ "dev": true,
"requires": {
"cssom": "~0.3.6"
},
@@ -48940,7 +48289,8 @@
"cssom": {
"version": "0.3.8",
"resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz",
- "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg=="
+ "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==",
+ "dev": true
}
}
},
@@ -49551,6 +48901,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz",
"integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==",
+ "dev": true,
"requires": {
"abab": "^2.0.3",
"whatwg-mimetype": "^2.3.0",
@@ -49597,7 +48948,8 @@
"decimal.js": {
"version": "10.4.2",
"resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.4.2.tgz",
- "integrity": "sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA=="
+ "integrity": "sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA==",
+ "dev": true
},
"decimal.js-light": {
"version": "2.5.1",
@@ -49715,7 +49067,8 @@
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "dev": true
},
"delegate": {
"version": "3.2.0",
@@ -49873,15 +49226,11 @@
"requires": {
"@algolia/autocomplete-js": "^1.7.2",
"@algolia/autocomplete-plugin-recent-searches": "^1.7.2",
- "@apollo/client": "^3.6.6",
- "@code-hike/mdx": "^0.7.4",
"@docsearch/react": "^3.3.0",
"@mdx-js/loader": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^12.0.4",
"@radix-ui/react-accordion": "^1.0.1",
- "@radix-ui/react-collapsible": "^1.0.1",
- "@tailwindcss/typography": "^0.4.1",
"@types/node": "^17.0.12",
"@types/react": "17.0.39",
"algoliasearch": "^4.14.2",
@@ -49892,7 +49241,6 @@
"ejs": "^3.1.8",
"eslint": "8.9.0",
"globby": "^12.0.2",
- "graphql": "^16.5.0",
"gray-matter": "^4.0.3",
"isbot": "^3.6.5",
"jsrsasign": "^10.5.26",
@@ -49906,10 +49254,8 @@
"next-mdx-toc": "^0.1.3",
"next-plugin-yaml": "^1.0.1",
"next-seo": "^5.14.1",
- "next-themes": "0.0.15",
"next-transpile-modules": "9.0.0",
"npm-run-all": "^4.1.5",
- "octokit": "^2.0.10",
"openapi-types": "^12.0.2",
"prettier": "^2.2.1",
"react": "17.0.2",
@@ -49920,11 +49266,7 @@
"react-syntax-highlighter": "^15.3.1",
"remark": "^14.0.2",
"remark-admonitions": "^1.2.1",
- "remark-autolink-headings": "^7.0.1",
"remark-gfm": "^3.0.1",
- "remark-html": "^15.0.0",
- "remark-mdx": "^2.0.0-rc.2",
- "remark-prism": "^1.3.6",
"remark-slug": "^7.0.1",
"sass": "^1.55.0",
"shiki": "^0.11.1",
@@ -50111,42 +49453,6 @@
"integrity": "sha512-tpQJYUH+TzPMIsdVl9fH8uDg47iwiNjKY+8e9da3dXqlkztKzjSw0OwSADoqh3KrifplXeKSta+BBGLdBqg3sg==",
"optional": true
},
- "@radix-ui/react-collapsible": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-collapsible/-/react-collapsible-1.0.1.tgz",
- "integrity": "sha512-0maX4q91iYa4gjt3PsNf7dq/yqSR+HGAE8I5p54dQ6gnveS+ETWlMoijxrhmgV1k8svxpm34mQAtqIrJt4XZmA==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/primitive": "1.0.0",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-context": "1.0.0",
- "@radix-ui/react-id": "1.0.0",
- "@radix-ui/react-presence": "1.0.0",
- "@radix-ui/react-primitive": "1.0.1",
- "@radix-ui/react-use-controllable-state": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- },
- "dependencies": {
- "@radix-ui/react-presence": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-presence/-/react-presence-1.0.0.tgz",
- "integrity": "sha512-A+6XEvN01NfVWiKu38ybawfHsBjWum42MRPnEuqPsBZ4eV7e/7K321B5VgYMPv3Xx5An6o1/l9ZuDBgmcmWK3w==",
- "requires": {
- "@babel/runtime": "^7.13.10",
- "@radix-ui/react-compose-refs": "1.0.0",
- "@radix-ui/react-use-layout-effect": "1.0.0"
- }
- },
- "@radix-ui/react-use-layout-effect": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@radix-ui/react-use-layout-effect/-/react-use-layout-effect-1.0.0.tgz",
- "integrity": "sha512-6Tpkq+R6LOlmQb1R5NNETLG0B4YP0wc+klfXafpUCj6JGyaUc8il7/kUZ7m59rGbXGczE9Bs+iz2qloqsZBduQ==",
- "requires": {
- "@babel/runtime": "^7.13.10"
- }
- }
- }
- },
"ajv": {
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -50487,6 +49793,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz",
"integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==",
+ "dev": true,
"requires": {
"webidl-conversions": "^5.0.0"
},
@@ -50494,7 +49801,8 @@
"webidl-conversions": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz",
- "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA=="
+ "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==",
+ "dev": true
}
}
},
@@ -50536,7 +49844,8 @@
"dotenv": {
"version": "16.0.3",
"resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.3.tgz",
- "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ=="
+ "integrity": "sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==",
+ "dev": true
},
"dotenv-expand": {
"version": "5.1.0",
@@ -50826,7 +50135,8 @@
"escape-html": {
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
- "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==",
+ "dev": true
},
"escape-string-regexp": {
"version": "4.0.0",
@@ -50837,6 +50147,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz",
"integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==",
+ "dev": true,
"requires": {
"esprima": "^4.0.1",
"estraverse": "^5.2.0",
@@ -50849,6 +50160,7 @@
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
"integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==",
+ "dev": true,
"requires": {
"prelude-ls": "~1.1.2",
"type-check": "~0.3.2"
@@ -50858,6 +50170,7 @@
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
"integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
+ "dev": true,
"requires": {
"deep-is": "~0.1.3",
"fast-levenshtein": "~2.0.6",
@@ -50870,18 +50183,22 @@
"prelude-ls": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
- "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w=="
+ "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==",
+ "dev": true
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",
- "optional": true
+ "dev": true,
+ "optional": true,
+ "peer": true
},
"type-check": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
"integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==",
+ "dev": true,
"requires": {
"prelude-ls": "~1.1.2"
}
@@ -52223,6 +51540,7 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
+ "dev": true,
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
@@ -52616,19 +51934,6 @@
"lodash": "^4.17.15"
}
},
- "graphql": {
- "version": "16.6.0",
- "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz",
- "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw=="
- },
- "graphql-tag": {
- "version": "2.12.6",
- "resolved": "https://registry.npmjs.org/graphql-tag/-/graphql-tag-2.12.6.tgz",
- "integrity": "sha512-FdSNcu2QQcWnM2VNvSCCDCVS5PpPqpzgFT8+GXzqJuoDd0CBncxCY278u4mhRO7tMgo2JjgJA5aZ+nWSQ/Z+xg==",
- "requires": {
- "tslib": "^2.1.0"
- }
- },
"gray-matter": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/gray-matter/-/gray-matter-4.0.3.tgz",
@@ -53163,6 +52468,7 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz",
"integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==",
+ "dev": true,
"requires": {
"whatwg-encoding": "^1.0.5"
}
@@ -53286,6 +52592,7 @@
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
"integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
+ "dev": true,
"requires": {
"@tootallnate/once": "1",
"agent-base": "6",
@@ -53795,7 +53102,8 @@
"is-potential-custom-element-name": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz",
- "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ=="
+ "integrity": "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==",
+ "dev": true
},
"is-reference": {
"version": "3.0.0",
@@ -55605,6 +54913,7 @@
"version": "16.7.0",
"resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.7.0.tgz",
"integrity": "sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw==",
+ "dev": true,
"requires": {
"abab": "^2.0.5",
"acorn": "^8.2.4",
@@ -55638,12 +54947,14 @@
"acorn": {
"version": "8.8.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.1.tgz",
- "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA=="
+ "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==",
+ "dev": true
},
"ws": {
"version": "7.5.9",
"resolved": "https://registry.npmjs.org/ws/-/ws-7.5.9.tgz",
"integrity": "sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==",
+ "dev": true,
"requires": {}
}
}
@@ -57348,12 +56659,14 @@
"mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "dev": true
},
"mime-types": {
"version": "2.1.35",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "dev": true,
"requires": {
"mime-db": "1.52.0"
}
@@ -57999,12 +57312,6 @@
"integrity": "sha512-NiJeQbxYP3z+EMp52q8k3Q+OfX2+Yv2WehERDj98r2wjXxL+woKpRBdsSVYolTD0Hm8IWs42SzaISE93RoQdOw==",
"requires": {}
},
- "next-themes": {
- "version": "0.0.15",
- "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.0.15.tgz",
- "integrity": "sha512-LTmtqYi03c4gMTJmWwVK9XkHL7h0/+XrtR970Ujvtu3s0kZNeJN24aJsi4rkZOI8i19+qq6f8j+8Duwy5jqcrQ==",
- "requires": {}
- },
"next-tick": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.1.0.tgz",
@@ -58341,7 +57648,8 @@
"nwsapi": {
"version": "2.2.2",
"resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.2.tgz",
- "integrity": "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw=="
+ "integrity": "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw==",
+ "dev": true
},
"object-assign": {
"version": "4.1.1",
@@ -58587,15 +57895,6 @@
"resolved": "https://registry.npmjs.org/opener/-/opener-1.5.2.tgz",
"integrity": "sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A=="
},
- "optimism": {
- "version": "0.16.2",
- "resolved": "https://registry.npmjs.org/optimism/-/optimism-0.16.2.tgz",
- "integrity": "sha512-zWNbgWj+3vLEjZNIh/okkY2EUfX+vB9TJopzIZwT1xxaMqC5hRLLraePod4c5n4He08xuXNH+zhKFFCu390wiQ==",
- "requires": {
- "@wry/context": "^0.7.0",
- "@wry/trie": "^0.3.0"
- }
- },
"optionator": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
@@ -58808,14 +58107,6 @@
"resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz",
"integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw=="
},
- "parse5-htmlparser2-tree-adapter": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-6.0.1.tgz",
- "integrity": "sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==",
- "requires": {
- "parse5": "^6.0.1"
- }
- },
"parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
@@ -60626,7 +59917,8 @@
"psl": {
"version": "1.9.0",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.9.0.tgz",
- "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag=="
+ "integrity": "sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==",
+ "dev": true
},
"public-encrypt": {
"version": "4.0.3",
@@ -60705,7 +59997,8 @@
"querystringify": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz",
- "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
+ "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==",
+ "dev": true
},
"queue-microtask": {
"version": "1.2.3",
@@ -62071,78 +61364,6 @@
}
}
},
- "remark-autolink-headings": {
- "version": "7.0.1",
- "resolved": "https://registry.npmjs.org/remark-autolink-headings/-/remark-autolink-headings-7.0.1.tgz",
- "integrity": "sha512-a1BIwoJ0cSnX+sPp5u3AFULBFWHGYBt57Fo4a+7IlGiJOQxs8b7uYAE5Iu26Ocl7Y5cvinZy3FaGVruLCKg6vA==",
- "requires": {
- "@types/hast": "^2.0.0",
- "@types/mdast": "^3.0.0",
- "extend": "^3.0.0",
- "unified": "^10.0.0",
- "unist-util-visit": "^4.0.0"
- },
- "dependencies": {
- "bail": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",
- "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw=="
- },
- "is-buffer": {
- "version": "2.0.5",
- "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.5.tgz",
- "integrity": "sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ=="
- },
- "is-plain-obj": {
- "version": "4.1.0",
- "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",
- "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg=="
- },
- "trough": {
- "version": "2.1.0",
- "resolved": "https://registry.npmjs.org/trough/-/trough-2.1.0.tgz",
- "integrity": "sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g=="
- },
- "unified": {
- "version": "10.1.2",
- "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz",
- "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==",
- "requires": {
- "@types/unist": "^2.0.0",
- "bail": "^2.0.0",
- "extend": "^3.0.0",
- "is-buffer": "^2.0.0",
- "is-plain-obj": "^4.0.0",
- "trough": "^2.0.0",
- "vfile": "^5.0.0"
- }
- },
- "unist-util-is": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.1.1.tgz",
- "integrity": "sha512-F5CZ68eYzuSvJjGhCLPL3cYx45IxkqXSetCcRgUXtbcm50X2L9oOWQlfUfDdAf+6Pd27YDblBfdtmsThXmwpbQ=="
- },
- "unist-util-visit": {
- "version": "4.1.1",
- "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.1.tgz",
- "integrity": "sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==",
- "requires": {
- "@types/unist": "^2.0.0",
- "unist-util-is": "^5.0.0",
- "unist-util-visit-parents": "^5.1.1"
- }
- },
- "unist-util-visit-parents": {
- "version": "5.1.1",
- "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz",
- "integrity": "sha512-gks4baapT/kNRaWxuGkl5BIhoanZo7sC/cUT/JToSRNL1dYoXRFl75d++NkjYk4TAu2uv2Px+l8guMajogeuiw==",
- "requires": {
- "@types/unist": "^2.0.0",
- "unist-util-is": "^5.0.0"
- }
- }
- }
- },
"remark-external-links": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/remark-external-links/-/remark-external-links-8.0.0.tgz",
@@ -62304,22 +61525,6 @@
}
}
},
- "remark-prism": {
- "version": "1.3.6",
- "resolved": "https://registry.npmjs.org/remark-prism/-/remark-prism-1.3.6.tgz",
- "integrity": "sha512-yYSXJ2MEK2DeD9UKDKFkQPcVqRx6aX2FYD1kE27ScogpZ/BBO8MoOO6gf/AKqfXvKGnP51wqvDEBmPseypgaug==",
- "requires": {
- "classnames": "^2.3.1",
- "css-selector-parser": "^1.4.1",
- "escape-html": "^1.0.3",
- "jsdom": "^16.5.3",
- "parse-numeric-range": "^1.2.0",
- "parse5": "^6.0.1",
- "parse5-htmlparser2-tree-adapter": "^6.0.1",
- "prismjs": "^1.23.0",
- "unist-util-map": "^2.0.1"
- }
- },
"remark-rehype": {
"version": "8.1.0",
"resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-8.1.0.tgz",
@@ -62568,7 +61773,8 @@
"requires-port": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz",
- "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ=="
+ "integrity": "sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==",
+ "dev": true
},
"resize-observer-polyfill": {
"version": "1.5.1",
@@ -62611,11 +61817,6 @@
"integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==",
"dev": true
},
- "response-iterator": {
- "version": "0.2.6",
- "resolved": "https://registry.npmjs.org/response-iterator/-/response-iterator-0.2.6.tgz",
- "integrity": "sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw=="
- },
"ret": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
@@ -62953,6 +62154,7 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz",
"integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==",
+ "dev": true,
"requires": {
"xmlchars": "^2.2.0"
}
@@ -64381,15 +63583,11 @@
"dequal": "2.0.2"
}
},
- "symbol-observable": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-4.0.0.tgz",
- "integrity": "sha512-b19dMThMV4HVFynSAM1++gBHAbk2Tc/osgLIBZMKsyqh34jb2e8Os7T6ZW/Bt3pJFdBTd2JwAnAAEQV7rSNvcQ=="
- },
"symbol-tree": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz",
- "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="
+ "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==",
+ "dev": true
},
"symbol.prototype.description": {
"version": "1.0.5",
@@ -64830,6 +64028,7 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.2.tgz",
"integrity": "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==",
+ "dev": true,
"requires": {
"psl": "^1.1.33",
"punycode": "^2.1.1",
@@ -64840,7 +64039,8 @@
"universalify": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-0.2.0.tgz",
- "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg=="
+ "integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==",
+ "dev": true
}
}
},
@@ -64848,6 +64048,7 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/tr46/-/tr46-2.1.0.tgz",
"integrity": "sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw==",
+ "dev": true,
"requires": {
"punycode": "^2.1.1"
}
@@ -64885,14 +64086,6 @@
"integrity": "sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==",
"dev": true
},
- "ts-invariant": {
- "version": "0.10.3",
- "resolved": "https://registry.npmjs.org/ts-invariant/-/ts-invariant-0.10.3.tgz",
- "integrity": "sha512-uivwYcQaxAucv1CzRp2n/QdYPo4ILf9VXgH19zEIjFx2EJufV16P0JtJVpYHy89DItG6Kwj2oIUjrcK5au+4tQ==",
- "requires": {
- "tslib": "^2.1.0"
- }
- },
"ts-jest": {
"version": "27.1.5",
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.5.tgz",
@@ -65184,7 +64377,7 @@
"@radix-ui/react-dialog": "^0.1.5",
"@radix-ui/react-dropdown-menu": "^0.1.4",
"@radix-ui/react-popover": "^0.1.0",
- "@radix-ui/react-portal": "^0.1.3",
+ "@radix-ui/react-portal": "^1.0.1",
"@radix-ui/react-tabs": "^0.1.0",
"@tailwindcss/forms": "^0.4.0",
"@tailwindcss/typography": "^0.5.0",
@@ -65254,6 +64447,40 @@
"@babel/runtime": "^7.13.10"
}
},
+ "@radix-ui/react-dialog": {
+ "version": "0.1.7",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-dialog/-/react-dialog-0.1.7.tgz",
+ "integrity": "sha512-jXt8srGhHBRvEr9jhEAiwwJzWCWZoGRJ030aC9ja/gkRJbZdy0iD3FwXf+Ff4RtsZyLUMHW7VUwFOlz3Ixe1Vw==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "0.1.0",
+ "@radix-ui/react-compose-refs": "0.1.0",
+ "@radix-ui/react-context": "0.1.1",
+ "@radix-ui/react-dismissable-layer": "0.1.5",
+ "@radix-ui/react-focus-guards": "0.1.0",
+ "@radix-ui/react-focus-scope": "0.1.4",
+ "@radix-ui/react-id": "0.1.5",
+ "@radix-ui/react-portal": "0.1.4",
+ "@radix-ui/react-presence": "0.1.2",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-slot": "0.1.2",
+ "@radix-ui/react-use-controllable-state": "0.1.0",
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "^2.4.0"
+ },
+ "dependencies": {
+ "@radix-ui/react-portal": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.4.tgz",
+ "integrity": "sha512-MO0wRy2eYRTZ/CyOri9NANCAtAtq89DEtg90gicaTlkCfdqCLEBsLb+/q66BZQTr3xX/Vq01nnVfc/TkCqoqvw==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-use-layout-effect": "0.1.0"
+ }
+ }
+ }
+ },
"@radix-ui/react-id": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@radix-ui/react-id/-/react-id-0.1.5.tgz",
@@ -65263,6 +64490,81 @@
"@radix-ui/react-use-layout-effect": "0.1.0"
}
},
+ "@radix-ui/react-popover": {
+ "version": "0.1.6",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-popover/-/react-popover-0.1.6.tgz",
+ "integrity": "sha512-zQzgUqW4RQDb0ItAL1xNW4K4olUrkfV3jeEPs9rG+nsDQurO+W9TT+YZ9H1mmgAJqlthyv1sBRZGdBm4YjtD6Q==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/primitive": "0.1.0",
+ "@radix-ui/react-compose-refs": "0.1.0",
+ "@radix-ui/react-context": "0.1.1",
+ "@radix-ui/react-dismissable-layer": "0.1.5",
+ "@radix-ui/react-focus-guards": "0.1.0",
+ "@radix-ui/react-focus-scope": "0.1.4",
+ "@radix-ui/react-id": "0.1.5",
+ "@radix-ui/react-popper": "0.1.4",
+ "@radix-ui/react-portal": "0.1.4",
+ "@radix-ui/react-presence": "0.1.2",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-use-controllable-state": "0.1.0",
+ "aria-hidden": "^1.1.1",
+ "react-remove-scroll": "^2.4.0"
+ },
+ "dependencies": {
+ "@radix-ui/react-portal": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-0.1.4.tgz",
+ "integrity": "sha512-MO0wRy2eYRTZ/CyOri9NANCAtAtq89DEtg90gicaTlkCfdqCLEBsLb+/q66BZQTr3xX/Vq01nnVfc/TkCqoqvw==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "0.1.4",
+ "@radix-ui/react-use-layout-effect": "0.1.0"
+ }
+ }
+ }
+ },
+ "@radix-ui/react-portal": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-portal/-/react-portal-1.0.1.tgz",
+ "integrity": "sha512-NY2vUWI5WENgAT1nfC6JS7RU5xRYBfjZVLq0HmgEN1Ezy3rk/UruMV4+Rd0F40PEaFC5SrLS1ixYvcYIQrb4Ig==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-primitive": "1.0.1"
+ },
+ "dependencies": {
+ "@radix-ui/react-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-1.0.1.tgz",
+ "integrity": "sha512-fHbmislWVkZaIdeF6GZxF0A/NH/3BjrGIYj+Ae6eTmTCr7EB0RQAAVEiqsXK6p3/JcRqVSBQoceZroj30Jj3XA==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-slot": "1.0.1"
+ },
+ "dependencies": {
+ "@radix-ui/react-slot": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-slot/-/react-slot-1.0.1.tgz",
+ "integrity": "sha512-avutXAFL1ehGvAXtPquu0YK5oz6ctS474iM3vNGQIkswrVhdrS52e3uoMQBzZhNRAIE0jBnUyXWNmSjGHhCFcw==",
+ "requires": {
+ "@babel/runtime": "^7.13.10",
+ "@radix-ui/react-compose-refs": "1.0.0"
+ },
+ "dependencies": {
+ "@radix-ui/react-compose-refs": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@radix-ui/react-compose-refs/-/react-compose-refs-1.0.0.tgz",
+ "integrity": "sha512-0KaSv6sx787/hK3eF53iOkiSLwAGlFMx5lotrqD2pTjB18KbybKoEIgkNZTKC60YECDQTKGTRcDBILwZVqVKvA==",
+ "requires": {
+ "@babel/runtime": "^7.13.10"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ },
"@radix-ui/react-primitive": {
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/@radix-ui/react-primitive/-/react-primitive-0.1.4.tgz",
@@ -65507,15 +64809,6 @@
"resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-4.1.0.tgz",
"integrity": "sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg=="
},
- "unist-util-map": {
- "version": "2.0.1",
- "resolved": "https://registry.npmjs.org/unist-util-map/-/unist-util-map-2.0.1.tgz",
- "integrity": "sha512-VdNvk4BQUUU9Rgr8iUOvclHa/iN9O+6Dt66FKij8l9OVezGG37gGWCPU5KSax1R2degqXFvl3kWTkvzL79e9tQ==",
- "requires": {
- "@types/mdast": "^3.0.0",
- "object-assign": "^4.0.0"
- }
- },
"unist-util-position": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-3.1.0.tgz",
@@ -65735,6 +65028,7 @@
"version": "1.5.10",
"resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz",
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
+ "dev": true,
"requires": {
"querystringify": "^2.1.1",
"requires-port": "^1.0.0"
@@ -66003,6 +65297,7 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz",
"integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==",
+ "dev": true,
"requires": {
"browser-process-hrtime": "^1.0.0"
}
@@ -66011,6 +65306,7 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz",
"integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==",
+ "dev": true,
"requires": {
"xml-name-validator": "^3.0.0"
}
@@ -66261,7 +65557,8 @@
"webidl-conversions": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz",
- "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w=="
+ "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==",
+ "dev": true
},
"webpack": {
"version": "4.46.0",
@@ -66744,6 +66041,7 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz",
"integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==",
+ "dev": true,
"requires": {
"iconv-lite": "0.4.24"
}
@@ -66751,12 +66049,14 @@
"whatwg-mimetype": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz",
- "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g=="
+ "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==",
+ "dev": true
},
"whatwg-url": {
"version": "8.7.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.7.0.tgz",
"integrity": "sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg==",
+ "dev": true,
"requires": {
"lodash": "^4.7.0",
"tr46": "^2.1.0",
@@ -67072,12 +66372,14 @@
"xml-name-validator": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz",
- "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw=="
+ "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==",
+ "dev": true
},
"xmlchars": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz",
- "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw=="
+ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==",
+ "dev": true
},
"xtend": {
"version": "4.0.2",
@@ -67157,19 +66459,6 @@
"resolved": "https://registry.npmjs.org/yup-password/-/yup-password-0.2.2.tgz",
"integrity": "sha512-2PHfqGWtbXg4OfDV7VKFIb3hyEaYgTYpEORnFqgGAYqzENWmGzWMoeGvJg2Ohmq6maTRxhJzLZpNTITrqlZTrA=="
},
- "zen-observable": {
- "version": "0.8.15",
- "resolved": "https://registry.npmjs.org/zen-observable/-/zen-observable-0.8.15.tgz",
- "integrity": "sha512-PQ2PC7R9rslx84ndNBZB/Dkv8V8fZEpk83RLgXtYd0fwUgEjseMn1Dgajh2x6S8QbZAFa9p2qVCEuYZNgve0dQ=="
- },
- "zen-observable-ts": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/zen-observable-ts/-/zen-observable-ts-1.2.5.tgz",
- "integrity": "sha512-QZWQekv6iB72Naeake9hS1KxHlotfRpe+WGNbNx5/ta+R3DNjVO2bswf63gXlWDcs+EMd7XY8HfVQyP1X6T4Zg==",
- "requires": {
- "zen-observable": "0.8.15"
- }
- },
"zwitch": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/zwitch/-/zwitch-1.0.5.tgz",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 1e1490587d6..fdcb547ecff 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -17,7 +17,7 @@
"@radix-ui/react-dialog": "^0.1.5",
"@radix-ui/react-dropdown-menu": "^0.1.4",
"@radix-ui/react-popover": "^0.1.0",
- "@radix-ui/react-portal": "^0.1.3",
+ "@radix-ui/react-portal": "^1.0.1",
"@radix-ui/react-tabs": "^0.1.0",
"@tailwindcss/forms": "^0.4.0",
"@tailwindcss/typography": "^0.5.0",
diff --git a/packages/ui/src/components/Popover/Popover.tsx b/packages/ui/src/components/Popover/Popover.tsx
index 9cc6547c5db..010e5f591ce 100644
--- a/packages/ui/src/components/Popover/Popover.tsx
+++ b/packages/ui/src/components/Popover/Popover.tsx
@@ -1,10 +1,8 @@
-import React from 'react'
-
+import * as React from 'react'
import * as RadixPopover from '@radix-ui/react-popover'
import type * as RadixPopoverTypes from '@radix-ui/react-popover/'
import { IconX } from '../Icon/icons/IconX'
-
import styleHandler from '../../lib/theme/styleHandler'
interface RootProps {
diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.ts
index bd0c2fb538e..03f568e2ec4 100644
--- a/packages/ui/src/lib/theme/defaultTheme.ts
+++ b/packages/ui/src/lib/theme/defaultTheme.ts
@@ -382,7 +382,7 @@ export default {
`,
},
'rounded-pills': {
- list: 'flex space-x-2',
+ list: 'flex flex-wrap gap-2',
base: `
relative
cursor-pointer
@@ -1564,7 +1564,7 @@ export default {
transition cursor-pointer select-none relative py-2 pl-3 pr-9
text-scale-900
text-sm
-
+ hover:bg-scale-300 dark:hover:bg-scale-500
focus:bg-scale-300 dark:focus:bg-scale-500
focus:text-scale-1200
border-none
diff --git a/spec/Makefile b/spec/Makefile
index 706d5e5e342..b138b4d5961 100644
--- a/spec/Makefile
+++ b/spec/Makefile
@@ -118,4 +118,3 @@ combine-raw.tsdoc.v2:
###############################################################################
format:
npx prettier --write .
-
diff --git a/spec/cli_v1_commands.yaml b/spec/cli_v1_commands.yaml
index a55059edbf6..ca9116bdf17 100644
--- a/spec/cli_v1_commands.yaml
+++ b/spec/cli_v1_commands.yaml
@@ -1,4 +1,4 @@
-clispec: "001"
+clispec: '001'
info:
id: cli
version: 1.23.0
@@ -20,19 +20,19 @@ flags:
- id: debug
name: --debug
description: output debug logs to stderr
- default_value: "false"
+ default_value: 'false'
- id: experimental
name: --experimental
description: enable experimental features
- default_value: "false"
+ default_value: 'false'
- id: help
name: -h, --help
description: help for supabase
- default_value: "false"
+ default_value: 'false'
- id: workdir
name: --workdir
description: path to a Supabase project directory
- default_value: ""
+ default_value: ''
commands:
- id: supabase-vanity-subdomains
title: supabase vanity-subdomains
@@ -53,7 +53,7 @@ commands:
- id: project-ref
name: --project-ref
description: Project ref of the Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-vanity-subdomains-get
title: supabase vanity-subdomains get
summary: Get the current vanity subdomain
@@ -84,7 +84,7 @@ commands:
name: --desired-subdomain
description: |
The desired vanity subdomain to use for your Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-vanity-subdomains-activate
title: supabase vanity-subdomains activate
summary: Activate a vanity subdomain
@@ -102,7 +102,7 @@ commands:
name: --desired-subdomain
description: |
The desired vanity subdomain to use for your Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-test
title: supabase test
summary: Run tests on local Supabase containers
@@ -132,7 +132,7 @@ commands:
- id: backup
name: --backup
description: Backs up the current database before stopping.
- default_value: "false"
+ default_value: 'false'
- id: supabase-status
title: supabase status
summary: Show status of local Supabase containers
@@ -212,7 +212,7 @@ commands:
- id: env-file
name: --env-file
description: Read secrets from a .env file.
- default_value: ""
+ default_value: ''
- id: supabase-secrets-list
title: supabase secrets list
summary: List all secrets on Supabase
@@ -252,15 +252,15 @@ commands:
- id: db-password
name: --db-password
description: Database password of the project.
- default_value: ""
+ default_value: ''
- id: interactive
name: -i, --interactive
description: Enables interactive mode.
- default_value: "false"
+ default_value: 'false'
- id: org-id
name: --org-id
description: Organization ID to create the project in.
- default_value: ""
+ default_value: ''
- id: plan
name: --plan <[ free | pro ]>
description: Select a plan that suits your needs.
@@ -275,7 +275,7 @@ commands:
- id: region
name: --region
description: Select a region close to you for the best performance.
- default_value: ""
+ default_value: ''
accepted_values:
- id: ap-northeast-1
name: ap-northeast-1
@@ -347,7 +347,7 @@ commands:
- id: project-ref
name: --project-ref
description: Project ref of the Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-network-restrictions-update
title: supabase network-restrictions update
summary: Update network restrictions
@@ -359,7 +359,7 @@ commands:
- id: bypass-cidr-checks
name: --bypass-cidr-checks
description: Bypass some of the CIDR validation checks.
- default_value: "false"
+ default_value: 'false'
- id: db-allow-cidr
name: --db-allow-cidr
description: CIDR to allow DB connections from.
@@ -395,7 +395,7 @@ commands:
name: --status <[ applied | reverted ]>
description: Version status to update.
required: true
- default_value: ""
+ default_value: ''
accepted_values:
- id: applied
name: applied
@@ -422,7 +422,7 @@ commands:
- id: password
name: -p, --password
description: Password to your remote Postgres database.
- default_value: ""
+ default_value: ''
- id: supabase-login
title: supabase login
summary: Authenticate using an access token
@@ -444,12 +444,12 @@ commands:
- id: password
name: -p, --password
description: Password to your remote Postgres database.
- default_value: ""
+ default_value: ''
- id: project-ref
name: --project-ref
description: Project ref of the Supabase project.
required: true
- default_value: ""
+ default_value: ''
- id: supabase-init
title: supabase init
summary: Initialize a local project
@@ -489,19 +489,19 @@ commands:
- id: db-url
name: --db-url
description: Generate types from a database url.
- default_value: ""
+ default_value: ''
- id: linked
name: --linked
description: Generate types from the linked project.
- default_value: "false"
+ default_value: 'false'
- id: local
name: --local
description: Generate types from the local dev database.
- default_value: "false"
+ default_value: 'false'
- id: project-id
name: --project-id
description: Generate types from a project ID.
- default_value: ""
+ default_value: ''
- id: schema
name: --schema
description: Schemas to generate types for.
@@ -530,11 +530,11 @@ commands:
name: --env-file
description: |
Path to an env file to be populated to the Function environment.
- default_value: ""
+ default_value: ''
- id: no-verify-jwt
name: --no-verify-jwt
description: Disable JWT verification for the Function.
- default_value: "false"
+ default_value: 'false'
- id: supabase-functions-new
title: supabase functions new
summary: Create a new Function locally
@@ -555,15 +555,15 @@ commands:
- id: legacy-bundle
name: --legacy-bundle
description: Use legacy bundling mechanism.
- default_value: "false"
+ default_value: 'false'
- id: no-verify-jwt
name: --no-verify-jwt
description: Disable JWT verification for the Function.
- default_value: "false"
+ default_value: 'false'
- id: project-ref
name: --project-ref
description: Project ref of the Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-functions-delete
title: supabase functions delete
summary: Delete a Function from Supabase
@@ -577,7 +577,7 @@ commands:
- id: project-ref
name: --project-ref
description: Project ref of the Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-domains
title: supabase domains
summary: Manage custom domain names for Supabase projects
@@ -598,11 +598,11 @@ commands:
- id: include-raw-output
name: --include-raw-output
description: Include raw output (useful for debugging).
- default_value: "false"
+ default_value: 'false'
- id: project-ref
name: --project-ref
description: Project ref of the Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-domains-reverify
title: supabase domains reverify
summary: Re-verify the custom hostname config for your project
@@ -644,7 +644,7 @@ commands:
- id: custom-hostname
name: --custom-hostname
description: The custom hostname to use for your Supabase project.
- default_value: ""
+ default_value: ''
- id: supabase-domains-activate
title: supabase domains activate
summary: Activate the custom hostname for a project
@@ -699,7 +699,7 @@ commands:
- id: password
name: -p, --password
description: Password to your remote Postgres database.
- default_value: ""
+ default_value: ''
- id: supabase-db-remote-commit
title: supabase db remote commit
summary: Commit remote changes as a new migration
@@ -720,11 +720,11 @@ commands:
name: --dry-run
description: |
Print the migrations that would be applied, but don't actually apply them.
- default_value: "false"
+ default_value: 'false'
- id: password
name: -p, --password
description: Password to your remote Postgres database.
- default_value: ""
+ default_value: ''
- id: supabase-db-lint
title: supabase db lint
summary: Checks local database for typing error
@@ -759,11 +759,11 @@ commands:
- id: file
name: -f, --file
description: Saves schema diff to a file.
- default_value: ""
+ default_value: ''
- id: linked
name: --linked
description: Diffs local schema against linked project.
- default_value: "false"
+ default_value: 'false'
- id: schema
name: -s, --schema
description: List of schema to include.
@@ -771,7 +771,7 @@ commands:
- id: use-migra
name: --use-migra
description: Use migra to generate schema diff.
- default_value: "false"
+ default_value: 'false'
- id: supabase-completion
title: supabase completion
summary: Generate the autocompletion script for the specified shell
@@ -821,7 +821,7 @@ commands:
- id: no-descriptions
name: --no-descriptions
description: disable completion descriptions
- default_value: "false"
+ default_value: 'false'
- id: supabase-completion-powershell
title: supabase completion powershell
summary: Generate the autocompletion script for powershell
@@ -842,7 +842,7 @@ commands:
- id: no-descriptions
name: --no-descriptions
description: disable completion descriptions
- default_value: "false"
+ default_value: 'false'
- id: supabase-completion-fish
title: supabase completion fish
summary: Generate the autocompletion script for fish
@@ -866,7 +866,7 @@ commands:
- id: no-descriptions
name: --no-descriptions
description: disable completion descriptions
- default_value: "false"
+ default_value: 'false'
- id: supabase-completion-bash
title: supabase completion bash
summary: Generate the autocompletion script for bash
@@ -899,4 +899,4 @@ commands:
- id: no-descriptions
name: --no-descriptions
description: disable completion descriptions
- default_value: "false"
+ default_value: 'false'
diff --git a/spec/common-cli-sections.json b/spec/common-cli-sections.json
index d7bb3af701a..94570bfab9b 100644
--- a/spec/common-cli-sections.json
+++ b/spec/common-cli-sections.json
@@ -267,12 +267,6 @@
"slug": "supabase-db-remote-commit",
"type": "cli-command"
},
- {
- "id": "supabase-db-remote-changes",
- "title": "supabase db remote changes",
- "slug": "supabase-db-remote-changes",
- "type": "cli-command"
- },
{
"id": "supabase-db-push",
"title": "supabase db push",
diff --git a/spec/common-client-libs-sections.json b/spec/common-client-libs-sections.json
index 6cb387f0435..7aa270c1eaa 100644
--- a/spec/common-client-libs-sections.json
+++ b/spec/common-client-libs-sections.json
@@ -932,7 +932,7 @@
},
{
"id": "from-get-public-url",
- "title": "Retrieve an asset's URL",
+ "title": "Retrieve public URL",
"slug": "storage-from-getpublicurl",
"product": "storage",
"type": "function",
diff --git a/spec/enrichments/tsdoc_v2/combined.json b/spec/enrichments/tsdoc_v2/combined.json
index 4af3936ad21..84e9353dcfd 100644
--- a/spec/enrichments/tsdoc_v2/combined.json
+++ b/spec/enrichments/tsdoc_v2/combined.json
@@ -463,7 +463,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -529,7 +530,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -2753,7 +2778,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -2819,7 +2845,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -3832,7 +3882,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -3898,7 +3949,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -4256,7 +4331,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -4322,7 +4398,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -5611,7 +5711,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -5677,7 +5778,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -8014,7 +8139,300 @@
"type": {
"type": "reference",
"id": 699,
- "name": "GoTrueAdminMFAApi"
+ "name": "GoTrueAdminMFAApi",
+ "dereferenced": {
+ "id": 699,
+ "name": "GoTrueAdminMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication administration API.",
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 703,
+ "name": "deleteFactor",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 704,
+ "name": "deleteFactor",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#unenroll}\n"
+ },
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 705,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "dereferenced": {
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 684,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 685,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the MFA factor to delete."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 686,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user whose factor is being deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 847,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [685, 686]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthMFAAdminDeleteFactorResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 700,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 701,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all factors associated to a user."
+ },
+ "parameters": [
+ {
+ "id": 702,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "dereferenced": {
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 697,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 698,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 868,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [698]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 687,
+ "name": "AuthMFAAdminListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [703, 700]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 876,
+ "character": 17
+ }
+ ]
+ }
}
},
{
@@ -10176,7 +10594,58 @@
"type": {
"type": "reference",
"id": 706,
- "name": "SupportedStorage"
+ "name": "SupportedStorage",
+ "dereferenced": {
+ "id": 706,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 903,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ }
}
},
{
@@ -10267,7 +10736,2484 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "GoTrueAdminApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new GoTrueAdminApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 4,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 5,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 11,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 13,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 14,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 9,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [11, 7, 6]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 16,
+ "name": "mfa",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains all MFA administration methods."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 699,
+ "name": "GoTrueAdminMFAApi",
+ "dereferenced": {
+ "id": 699,
+ "name": "GoTrueAdminMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication administration API.",
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 703,
+ "name": "deleteFactor",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 704,
+ "name": "deleteFactor",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#unenroll}\n"
+ },
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 705,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "dereferenced": {
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 684,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 685,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the MFA factor to delete."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 686,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user whose factor is being deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 847,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [685, 686]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthMFAAdminDeleteFactorResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 700,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 701,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all factors associated to a user."
+ },
+ "parameters": [
+ {
+ "id": 702,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "dereferenced": {
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 697,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 698,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 868,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [698]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 687,
+ "name": "AuthMFAAdminListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [703, 700]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 876,
+ "character": 17
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 43,
+ "name": "createUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 139,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 44,
+ "name": "createUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."
+ },
+ "parameters": [
+ {
+ "id": 45,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 413,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 416,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 306,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 410,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 417,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 407,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 414,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's email address if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 287,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 419,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 409,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 418,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 242,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 408,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 415,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 412,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 270,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [413, 416, 420, 417, 414, 419, 418, 415, 412]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 258,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "UserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 66,
+ "name": "deleteUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 234,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 67,
+ "name": "deleteUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Delete a user. Requires a `service_role` key."
+ },
+ "parameters": [
+ {
+ "id": 68,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user id you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "generateLink",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 105,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 41,
+ "name": "generateLink",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates email links and OTPs to be sent via a custom email provider."
+ },
+ "parameters": [
+ {
+ "id": 42,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 543,
+ "name": "GenerateLinkParams",
+ "dereferenced": {
+ "id": 543,
+ "name": "GenerateLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 545,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "id": 518,
+ "name": "GenerateSignupLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 502,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 519,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 521,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 504,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 523,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 506,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 522,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 505,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 520,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 503,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "signup"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [521, 523, 522, 520]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 502,
+ "character": 39
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 524,
+ "name": "GenerateInviteOrMagiclinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 525,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 527,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 528,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 513,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 526,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 510,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [527, 528, 526]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 46
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 529,
+ "name": "GenerateRecoveryLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 516,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 530,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 532,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 519,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 533,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 520,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 531,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 517,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "recovery"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [532, 533, 531]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 516,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 534,
+ "name": "GenerateEmailChangeLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 535,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 537,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 526,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 538,
+ "name": "newEmail",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 530,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 539,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 531,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 536,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 524,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [537, 538, 539, 536]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 544,
+ "name": "GenerateLinkResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 189,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 60,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 61,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 33,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 75,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 34,
+ "name": "inviteUserByEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends an invite link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 35,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 36,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 37,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 39,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 79,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 38,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 78,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [39, 38]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 46,
+ "name": "listUsers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 161,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 47,
+ "name": "listUsers",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get a list of users.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser."
+ },
+ "parameters": [
+ {
+ "id": 48,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object which supports `page` and `per_page` as numbers, to alter the paginated results.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 717,
+ "name": "PageParams",
+ "dereferenced": {
+ "id": 717,
+ "name": "PageParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 917,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 718,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 719,
+ "name": "page",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The page number"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 919,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 720,
+ "name": "perPage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Number of items returned per page"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 921,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [719, 720]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 917,
+ "character": 25
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 49,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 50,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 51,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 52,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 384,
+ "name": "User"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [52]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 53,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [50, 53]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 54,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 55,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 58
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 57,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 66
+ }
+ ],
+ "type": {
+ "type": "tuple"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [57]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 58,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 79
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 727,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [55, 58]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 27,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 28,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 29,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 30,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 31,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 52,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 32,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 52,
+ "character": 52
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 727,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [31, 32]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 62,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 211,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 63,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 64,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 65,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 413,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 416,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 306,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 410,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 417,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 407,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 414,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's email address if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 287,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 419,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 409,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 418,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 242,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 408,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 415,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 412,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 270,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [413, 416, 420, 417, 414, 419, 418, 415, 412]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 258,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "UserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [16]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [43, 66, 40, 59, 33, 46, 27, 62]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 18,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -10289,7 +13235,757 @@
"type": {
"type": "reference",
"id": 654,
- "name": "GoTrueMFAApi"
+ "name": "GoTrueMFAApi",
+ "dereferenced": {
+ "id": 654,
+ "name": "GoTrueMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication API."
+ },
+ "children": [
+ {
+ "id": 658,
+ "name": "challenge",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 659,
+ "name": "challenge",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor."
+ },
+ "parameters": [
+ {
+ "id": 660,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 578,
+ "name": "MFAChallengeParams",
+ "dereferenced": {
+ "id": 578,
+ "name": "MFAChallengeParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 579,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 580,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor to be challenged. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 624,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [580]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 33
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 622,
+ "name": "AuthMFAChallengeResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 667,
+ "name": "challengeAndVerify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 668,
+ "name": "challengeAndVerify",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ },
+ "parameters": [
+ {
+ "id": 669,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 581,
+ "name": "MFAChallengeAndVerifyParams",
+ "dereferenced": {
+ "id": 581,
+ "name": "MFAChallengeAndVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 627,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 582,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 584,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 631,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 583,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being verified. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 629,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [584, 583]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 627,
+ "character": 42
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 585,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 655,
+ "name": "enroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 656,
+ "name": "enroll",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.",
+ "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n"
+ },
+ "parameters": [
+ {
+ "id": 657,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 565,
+ "name": "MFAEnrollParams",
+ "dereferenced": {
+ "id": 565,
+ "name": "MFAEnrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 597,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 566,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 567,
+ "name": "factorType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 599,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ },
+ {
+ "id": 569,
+ "name": "friendlyName",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Human readable name assigned to the factor."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 603,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 568,
+ "name": "issuer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Domain which the user is enrolled with."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 601,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [567, 569, 568]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 597,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 598,
+ "name": "AuthMFAEnrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 672,
+ "name": "getAuthenticatorAssuranceLevel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 673,
+ "name": "getAuthenticatorAssuranceLevel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.",
+ "text": "- `aal1` (or `null`) means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors.\n\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 643,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 670,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 671,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the list of MFA factors enabled for this user. For most use cases\nyou should consider using {@link\nGoTrueMFAApi#getAuthenticatorAssuranceLevel}. This uses a cached version\nof the factors and avoids incurring a network call. If you need to update\nthis list, call {@link GoTrueClient#getUser} first.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#enroll}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueClient#getUser}\n\n"
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 632,
+ "name": "AuthMFAListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 664,
+ "name": "unenroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 665,
+ "name": "unenroll",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor."
+ },
+ "parameters": [
+ {
+ "id": 666,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 570,
+ "name": "MFAUnenrollParams",
+ "dereferenced": {
+ "id": 570,
+ "name": "MFAUnenrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 606,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 571,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 572,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 608,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [572]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 606,
+ "character": 32
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 613,
+ "name": "AuthMFAUnenrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 661,
+ "name": "verify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 662,
+ "name": "verify",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ },
+ "parameters": [
+ {
+ "id": 663,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 573,
+ "name": "MFAVerifyParams",
+ "dereferenced": {
+ "id": 573,
+ "name": "MFAVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 574,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 576,
+ "name": "challengeId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the challenge being verified. Returned in challenge()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 616,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 577,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 619,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 575,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being verified. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 613,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [576, 577, 575]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 585,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [658, 667, 655, 672, 670, 664, 661]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 759,
+ "character": 17
+ }
+ ]
+ }
}
},
{
@@ -10833,7 +14529,212 @@
"type": {
"type": "reference",
"id": 421,
- "name": "Subscription"
+ "name": "Subscription",
+ "dereferenced": {
+ "id": 421,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 422,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The subscriber UUID. This will be set by the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 313,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 423,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 317,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 424,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 425,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 287,
+ "name": "AuthChangeEvent",
+ "dereferenced": {
+ "id": 287,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_DELETED"
+ },
+ {
+ "id": 286,
+ "name": "AuthChangeEventMFA",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "MFA_CHALLENGE_VERIFIED"
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 347,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 427,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 321,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 428,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Call this to remove the listener."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [422]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [423, 427]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 309,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -11523,7 +15424,93 @@
"type": {
"type": "reference",
"id": 285,
- "name": "Provider"
+ "name": "Provider",
+ "dereferenced": {
+ "id": 285,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "bitbucket"
+ },
+ {
+ "type": "literal",
+ "value": "discord"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "github"
+ },
+ {
+ "type": "literal",
+ "value": "gitlab"
+ },
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "keycloak"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin"
+ },
+ {
+ "type": "literal",
+ "value": "notion"
+ },
+ {
+ "type": "literal",
+ "value": "slack"
+ },
+ {
+ "type": "literal",
+ "value": "spotify"
+ },
+ {
+ "type": "literal",
+ "value": "twitch"
+ },
+ {
+ "type": "literal",
+ "value": "twitter"
+ },
+ {
+ "type": "literal",
+ "value": "workos"
+ }
+ ]
+ }
+ }
}
}
],
@@ -13527,7 +17514,34 @@
"type": {
"type": "reference",
"id": 506,
- "name": "MobileOtpType"
+ "name": "MobileOtpType",
+ "dereferenced": {
+ "id": 506,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 481,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -13695,7 +17709,46 @@
"type": {
"type": "reference",
"id": 507,
- "name": "EmailOtpType"
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 507,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -15577,7 +19630,556 @@
"type": {
"type": "reference",
"id": 384,
- "name": "User"
+ "name": "User",
+ "dereferenced": {
+ "id": 384,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 394,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 219,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 386,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 211,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 377,
+ "name": "UserAppMetadata",
+ "dereferenced": {
+ "id": 377,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 378,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [378]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 379,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 380,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 388,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 213,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 389,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 398,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 222,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 395,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 391,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 216,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 399,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 405,
+ "name": "factors",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 370,
+ "name": "Factor"
+ }
+ }
+ },
+ {
+ "id": 385,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 210,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 404,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 359,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 393,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 401,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 392,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 217,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 396,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 215,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 403,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 228,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 387,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 212,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 381,
+ "name": "UserMetadata",
+ "dereferenced": {
+ "id": 381,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 205,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 382,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 383,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 394, 386, 388, 389, 398, 397, 395, 391, 399, 405, 385, 404, 393, 401, 392,
+ 396, 400, 390, 402, 403, 387
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 209,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -15885,7 +20487,73 @@
"type": {
"type": "reference",
"id": 377,
- "name": "UserAppMetadata"
+ "name": "UserAppMetadata",
+ "dereferenced": {
+ "id": 377,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 378,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [378]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 379,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 380,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
}
},
{
@@ -16266,7 +20934,44 @@
"type": {
"type": "reference",
"id": 381,
- "name": "UserMetadata"
+ "name": "UserMetadata",
+ "dereferenced": {
+ "id": 381,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 205,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 382,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 383,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
}
}
],
@@ -16843,7 +21548,46 @@
"type": {
"type": "reference",
"id": 507,
- "name": "EmailOtpType"
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 507,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -17017,7 +21761,34 @@
"type": {
"type": "reference",
"id": 506,
- "name": "MobileOtpType"
+ "name": "MobileOtpType",
+ "dereferenced": {
+ "id": 506,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 481,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -20554,7 +25325,50 @@
"type": {
"type": "reference",
"id": 564,
- "name": "GenerateLinkType"
+ "name": "GenerateLinkType",
+ "dereferenced": {
+ "id": 564,
+ "name": "GenerateLinkType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 589,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ }
}
}
],
@@ -21304,7 +26118,58 @@
"type": {
"type": "reference",
"id": 706,
- "name": "SupportedStorage"
+ "name": "SupportedStorage",
+ "dereferenced": {
+ "id": 706,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 903,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ }
}
},
{
@@ -22683,7 +27548,93 @@
"type": {
"type": "reference",
"id": 285,
- "name": "Provider"
+ "name": "Provider",
+ "dereferenced": {
+ "id": 285,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "bitbucket"
+ },
+ {
+ "type": "literal",
+ "value": "discord"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "github"
+ },
+ {
+ "type": "literal",
+ "value": "gitlab"
+ },
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "keycloak"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin"
+ },
+ {
+ "type": "literal",
+ "value": "notion"
+ },
+ {
+ "type": "literal",
+ "value": "slack"
+ },
+ {
+ "type": "literal",
+ "value": "spotify"
+ },
+ {
+ "type": "literal",
+ "value": "twitch"
+ },
+ {
+ "type": "literal",
+ "value": "twitter"
+ },
+ {
+ "type": "literal",
+ "value": "workos"
+ }
+ ]
+ }
+ }
}
}
],
@@ -24432,7 +29383,34 @@
"type": {
"type": "reference",
"id": 506,
- "name": "MobileOtpType"
+ "name": "MobileOtpType",
+ "dereferenced": {
+ "id": 506,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 481,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -24600,7 +29578,46 @@
"type": {
"type": "reference",
"id": 507,
- "name": "EmailOtpType"
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 507,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -25865,7 +30882,8 @@
"type": {
"type": "reference",
"id": 5,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -26044,7 +31062,8 @@
"type": {
"type": "reference",
"id": 5,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
},
{
@@ -41275,7 +46294,237 @@
"type": {
"type": "reference",
"id": 294,
- "name": "RealtimeChannelOptions"
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "..."
},
@@ -41295,7 +46544,418 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 29,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 30,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 31,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 35,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 67,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 38,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 39,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 40,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [37, 38]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [39]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 41,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 34,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 33,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 32,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "dereferenced": {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -41349,7 +47009,1948 @@
"type": {
"type": "reference",
"id": 306,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332,
+ 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -42057,7 +49658,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -42323,7 +49925,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -42589,7 +50192,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -42855,7 +50459,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -46032,7 +53637,237 @@
"type": {
"type": "reference",
"id": 294,
- "name": "RealtimeChannelOptions"
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "..."
},
@@ -46052,7 +53887,350 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 29,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 30,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]"
+ }
+ },
+ {
+ "id": 31,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 35,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 67,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 38,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 39,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 40,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [37, 38]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [39]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 41,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]"
+ }
+ },
+ {
+ "id": 34,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 33,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 32,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "dereferenced": {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -46106,7 +54284,44 @@
"type": {
"type": "reference",
"id": 306,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": "[Circular ~.children.5.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329,
+ 318, 326, 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -46814,7 +55029,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -47080,7 +55296,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -47346,7 +55563,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -47612,7 +55830,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -51012,7 +59231,237 @@
"type": {
"type": "reference",
"id": 294,
- "name": "RealtimeChannelOptions"
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "..."
},
@@ -51032,7 +59481,34 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": "[Circular ~.children.6.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -51086,7 +59562,1919 @@
"type": {
"type": "reference",
"id": 306,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 425, 424, 427, 422, 423, 431, 426, 421,
+ 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329,
+ 318, 326, 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -51794,7 +62182,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -52060,7 +62449,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -52326,7 +62716,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -52592,7 +62983,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -53534,7 +63926,7004 @@
"type": {
"type": "reference",
"id": 55,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": [
+ {
+ "id": 66,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 111,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 67,
+ "name": "new RealtimeChannel",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 68,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 69,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 70,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 425, 424, 427, 422, 423, 431, 426, 421,
+ 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329,
+ 318, 326, 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 71,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 95,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 72,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 73,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 74,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 81,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 99,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 77,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 98,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 78,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 98,
+ "character": 14
+ }
+ ],
+ "indexSignature": {
+ "id": 79,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 80,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 82,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 100,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 97,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [81, 77, 82, 76]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 96,
+ "character": 19
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 86,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 106,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 85,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 91,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 89,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 109,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": "[Circular ~.children.6.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 88,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 108,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 87,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 107,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 92,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318,
+ 326, 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 104,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 83,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 103,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 90,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 315,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 120,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Listen to messages."
+ },
+ "parameters": [
+ {
+ "id": 121,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 122,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 162,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 163,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 101,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 284,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 102,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 367,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 205,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 206,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 207,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 208,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 368,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [208]
+ }
+ ],
+ "indexSignature": {
+ "id": 209,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 210,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 211,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 212,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 213,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 214,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
+ "parameters": [
+ {
+ "id": 95,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 100,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 103,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 104,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 105,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 106,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 107,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 108,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 109,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 110,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 111,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 112,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 407,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 222,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "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": 223,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 302,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 114,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 115,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 116,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 117,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 118,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 215,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 394,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 216,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 217,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 218,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 219,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 220,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -53603,7 +70992,64 @@
"type": {
"type": "reference",
"id": 495,
- "name": "RealtimePresenceState"
+ "name": "RealtimePresenceState",
+ "dereferenced": {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ }
},
"defaultValue": "{}"
}
@@ -54374,7 +71820,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -58114,7 +75561,138 @@
"type": {
"type": "reference",
"id": 357,
- "name": "Bucket"
+ "name": "Bucket",
+ "dereferenced": {
+ "id": 357,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 358,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 2,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 359,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 3,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 363,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 362,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [361, 358, 359, 360, 363, 362]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ]
+ }
}
},
{
@@ -58501,7 +76079,70 @@
"type": {
"type": "reference",
"id": 374,
- "name": "SortBy"
+ "name": "SortBy",
+ "dereferenced": {
+ "id": 374,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 375,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 376,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [375, 376]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -60681,7 +78322,112 @@
"type": {
"type": "reference",
"id": 390,
- "name": "TransformOptions"
+ "name": "TransformOptions",
+ "dereferenced": {
+ "id": 390,
+ "name": "TransformOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "height",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The height of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 393,
+ "name": "resize",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "cover"
+ },
+ {
+ "type": "literal",
+ "value": "contain"
+ },
+ {
+ "type": "literal",
+ "value": "fill"
+ }
+ ]
+ }
+ },
+ {
+ "id": 391,
+ "name": "width",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The width of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393, 391]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -61263,7 +79009,112 @@
"type": {
"type": "reference",
"id": 390,
- "name": "TransformOptions"
+ "name": "TransformOptions",
+ "dereferenced": {
+ "id": 390,
+ "name": "TransformOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "height",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The height of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 393,
+ "name": "resize",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "cover"
+ },
+ {
+ "type": "literal",
+ "value": "contain"
+ },
+ {
+ "type": "literal",
+ "value": "fill"
+ }
+ ]
+ }
+ },
+ {
+ "id": 391,
+ "name": "width",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The width of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393, 391]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -61515,7 +79366,112 @@
"type": {
"type": "reference",
"id": 390,
- "name": "TransformOptions"
+ "name": "TransformOptions",
+ "dereferenced": {
+ "id": 390,
+ "name": "TransformOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "height",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The height of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 393,
+ "name": "resize",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "cover"
+ },
+ {
+ "type": "literal",
+ "value": "contain"
+ },
+ {
+ "type": "literal",
+ "value": "fill"
+ }
+ ]
+ }
+ },
+ {
+ "id": 391,
+ "name": "width",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The width of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393, 391]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -61752,7 +79708,70 @@
"type": {
"type": "reference",
"id": 374,
- "name": "SortBy"
+ "name": "SortBy",
+ "dereferenced": {
+ "id": 374,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 375,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 376,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [375, 376]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 17
+ }
+ ]
+ }
}
}
],
diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
index e1e43bc04ec..ec733c758d5 100644
--- a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json
@@ -2162,7 +2162,300 @@
"type": {
"type": "reference",
"id": 699,
- "name": "GoTrueAdminMFAApi"
+ "name": "GoTrueAdminMFAApi",
+ "dereferenced": {
+ "id": 699,
+ "name": "GoTrueAdminMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication administration API.",
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 703,
+ "name": "deleteFactor",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 704,
+ "name": "deleteFactor",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#unenroll}\n"
+ },
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 705,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "dereferenced": {
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 684,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 685,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the MFA factor to delete."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 686,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user whose factor is being deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 847,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [685, 686]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthMFAAdminDeleteFactorResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 700,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 701,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all factors associated to a user."
+ },
+ "parameters": [
+ {
+ "id": 702,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "dereferenced": {
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 697,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 698,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 868,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [698]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 687,
+ "name": "AuthMFAAdminListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [703, 700]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 876,
+ "character": 17
+ }
+ ]
+ }
}
},
{
@@ -4324,7 +4617,58 @@
"type": {
"type": "reference",
"id": 706,
- "name": "SupportedStorage"
+ "name": "SupportedStorage",
+ "dereferenced": {
+ "id": 706,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 903,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ }
}
},
{
@@ -4415,7 +4759,2484 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "GoTrueAdminApi",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 2,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 28,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 3,
+ "name": "new GoTrueAdminApi",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 4,
+ "name": "__namedParameters",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 5,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 11,
+ "name": "fetch",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 37,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 12,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 13,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 14,
+ "name": "input",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "reference",
+ "qualifiedName": "RequestInfo",
+ "package": "typescript",
+ "name": "RequestInfo"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "URL",
+ "package": "typescript",
+ "name": "URL"
+ }
+ ]
+ }
+ },
+ {
+ "id": 15,
+ "name": "init",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "RequestInit",
+ "package": "typescript",
+ "name": "RequestInit"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Response",
+ "package": "typescript",
+ "name": "Response"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 7,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 34,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 8,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 9,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 10,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 6,
+ "name": "url",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 33,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [11, 7, 6]
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 16,
+ "name": "mfa",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains all MFA administration methods."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 699,
+ "name": "GoTrueAdminMFAApi",
+ "dereferenced": {
+ "id": 699,
+ "name": "GoTrueAdminMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication administration API.",
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "children": [
+ {
+ "id": 703,
+ "name": "deleteFactor",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 704,
+ "name": "deleteFactor",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Deletes a factor on a user. This will log the user out of all active\nsessions if the deleted factor was verified.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#unenroll}\n"
+ },
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "parameters": [
+ {
+ "id": 705,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "dereferenced": {
+ "id": 683,
+ "name": "AuthMFAAdminDeleteFactorParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 684,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 685,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the MFA factor to delete."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 844,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 686,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user whose factor is being deleted."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 847,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [685, 686]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 842,
+ "character": 45
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 674,
+ "name": "AuthMFAAdminDeleteFactorResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 700,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 701,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Lists all factors associated to a user."
+ },
+ "parameters": [
+ {
+ "id": 702,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "dereferenced": {
+ "id": 696,
+ "name": "AuthMFAAdminListFactorsParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "tags": [
+ {
+ "tag": "expermental",
+ "text": "\n"
+ }
+ ]
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 697,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 698,
+ "name": "userId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 868,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [698]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 866,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 687,
+ "name": "AuthMFAAdminListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [703, 700]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 876,
+ "character": 17
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 43,
+ "name": "createUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 139,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 44,
+ "name": "createUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Creates a new user.\nThis function should only be called on a server. Never expose your `service_role` key in the browser."
+ },
+ "parameters": [
+ {
+ "id": 45,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 413,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 416,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 306,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 410,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 417,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 407,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 414,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's email address if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 287,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 419,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 409,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 418,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 242,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 408,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 415,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 412,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 270,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [413, 416, 420, 417, 414, 419, 418, 415, 412]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 258,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "UserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 66,
+ "name": "deleteUser",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 234,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 67,
+ "name": "deleteUser",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Delete a user. Requires a `service_role` key."
+ },
+ "parameters": [
+ {
+ "id": 68,
+ "name": "id",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user id you want to remove.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 40,
+ "name": "generateLink",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 105,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 41,
+ "name": "generateLink",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Generates email links and OTPs to be sent via a custom email provider."
+ },
+ "parameters": [
+ {
+ "id": 42,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 543,
+ "name": "GenerateLinkParams",
+ "dereferenced": {
+ "id": 543,
+ "name": "GenerateLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 545,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "id": 518,
+ "name": "GenerateSignupLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 502,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 519,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 521,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 504,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 523,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 506,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 522,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 505,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 520,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 503,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "signup"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [521, 523, 522, 520]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 502,
+ "character": 39
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 524,
+ "name": "GenerateInviteOrMagiclinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 525,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 527,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 512,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 528,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 513,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "data"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 526,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 510,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [527, 528, 526]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 509,
+ "character": 46
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 529,
+ "name": "GenerateRecoveryLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 516,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 530,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 532,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 519,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 533,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 520,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 531,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 517,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "recovery"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [532, 533, 531]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 516,
+ "character": 41
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 534,
+ "name": "GenerateEmailChangeLinkParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 535,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 537,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's email"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 526,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 538,
+ "name": "newEmail",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's new email. Only required if type is 'email_change_current' or 'email_change_new'."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 530,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 539,
+ "name": "options",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 531,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 540,
+ "name": "GenerateLinkOptions"
+ },
+ {
+ "type": "literal",
+ "value": "redirectTo"
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ },
+ {
+ "id": 536,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 524,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [537, 538, 539, 536]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 523,
+ "character": 44
+ }
+ ]
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 544,
+ "name": "GenerateLinkResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 59,
+ "name": "getUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 189,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 60,
+ "name": "getUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get user by id."
+ },
+ "parameters": [
+ {
+ "id": 61,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The user's unique identifier\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 33,
+ "name": "inviteUserByEmail",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 75,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 34,
+ "name": "inviteUserByEmail",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sends an invite link to an email address."
+ },
+ "parameters": [
+ {
+ "id": 35,
+ "name": "email",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The email address of the user."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 36,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 37,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 39,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Optional user metadata\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 79,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 38,
+ "name": "redirectTo",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A URL or mobile deeplink to send the user to after they are confirmed."
+ },
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 78,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [39, 38]
+ }
+ ]
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 46,
+ "name": "listUsers",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 161,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 47,
+ "name": "listUsers",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Get a list of users.",
+ "text": "This function should only be called on a server. Never expose your `service_role` key in the browser."
+ },
+ "parameters": [
+ {
+ "id": 48,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "An object which supports `page` and `per_page` as numbers, to alter the paginated results.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 717,
+ "name": "PageParams",
+ "dereferenced": {
+ "id": 717,
+ "name": "PageParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 917,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 718,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 719,
+ "name": "page",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The page number"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 919,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 720,
+ "name": "perPage",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Number of items returned per page"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 921,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [719, 720]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 917,
+ "character": 25
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 49,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 50,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 51,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 52,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 23
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 384,
+ "name": "User"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [52]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 53,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [50, 53]
+ }
+ ]
+ }
+ },
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 54,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 55,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 58
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 56,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 57,
+ "name": "users",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 66
+ }
+ ],
+ "type": {
+ "type": "tuple"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [57]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 58,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 163,
+ "character": 79
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 727,
+ "name": "AuthError"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [55, 58]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 27,
+ "name": "signOut",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 52,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 28,
+ "name": "signOut",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Removes a logged-in session."
+ },
+ "parameters": [
+ {
+ "id": 29,
+ "name": "jwt",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A valid, logged-in JWT.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reflection",
+ "declaration": {
+ "id": 30,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 31,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 52,
+ "character": 40
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": null
+ }
+ },
+ {
+ "id": 32,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 52,
+ "character": 52
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 727,
+ "name": "AuthError"
+ }
+ ]
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [31, 32]
+ }
+ ]
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 62,
+ "name": "updateUserById",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 211,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 63,
+ "name": "updateUserById",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Updates the user data."
+ },
+ "parameters": [
+ {
+ "id": 64,
+ "name": "uid",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 65,
+ "name": "attributes",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The data you want to update.\n\nThis function should only be called on a server. Never expose your `service_role` key in the browser.\n"
+ },
+ "type": {
+ "type": "reference",
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "dereferenced": {
+ "id": 411,
+ "name": "AdminUserAttributes",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 413,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's application specific metadata. This maps to the `auth.users.app_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `app_metadata` should be a JSON object that includes app-specific info, such as identity providers, roles, and other\naccess control information.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 280,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ },
+ {
+ "id": 416,
+ "name": "ban_duration",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Determines how long a user is banned for.",
+ "text": "The format for the ban duration follows a strict sequence of decimal numbers with a unit suffix.\nValid time units are \"ns\", \"us\" (or \"µs\"), \"ms\", \"s\", \"m\", \"h\".\n\nFor example, some possible durations include: '300ms', '2h45m'.\n\nSetting the ban duration to 'none' lifts the ban on the user.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 306,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 420,
+ "name": "data",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "The `data` should be a JSON object that includes user-specific info, such as their first and last name.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 255,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 410,
+ "name": "UserAttributes.data"
+ }
+ },
+ {
+ "id": 417,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's email."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 237,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 407,
+ "name": "UserAttributes.email"
+ }
+ },
+ {
+ "id": 414,
+ "name": "email_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's email address if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 287,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 419,
+ "name": "password",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's password."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 247,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 409,
+ "name": "UserAttributes.password"
+ }
+ },
+ {
+ "id": 418,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The user's phone."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 242,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "inheritedFrom": {
+ "type": "reference",
+ "id": 408,
+ "name": "UserAttributes.phone"
+ }
+ },
+ {
+ "id": 415,
+ "name": "phone_confirm",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Confirms the user's phone number if set to true.",
+ "text": "Only a service role can modify.\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 294,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 412,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom data object to store the user's metadata. This maps to the `auth.users.user_metadata` column.",
+ "text": "Only a service role can modify.\n\nThe `user_metadata` should be a JSON object that includes user-specific info, such as their first and last name.\n\nNote: When using the GoTrueAdminApi and wanting to modify a user's metadata,\nthis attribute is used instead of UserAttributes data.\n\n"
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 270,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "object"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [413, 416, 420, 417, 414, 419, 418, 415, 412]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 258,
+ "character": 17
+ }
+ ],
+ "extendedTypes": [
+ {
+ "type": "reference",
+ "id": 406,
+ "name": "UserAttributes"
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 336,
+ "name": "UserResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [2]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [16]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [43, 66, 40, 59, 33, 46, 27, 62]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/GoTrueAdminApi.ts",
+ "line": 18,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -4437,7 +7258,757 @@
"type": {
"type": "reference",
"id": 654,
- "name": "GoTrueMFAApi"
+ "name": "GoTrueMFAApi",
+ "dereferenced": {
+ "id": 654,
+ "name": "GoTrueMFAApi",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "comment": {
+ "shortText": "Contains the full multi-factor authentication API."
+ },
+ "children": [
+ {
+ "id": 658,
+ "name": "challenge",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 659,
+ "name": "challenge",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Prepares a challenge used to verify that a user has access to a MFA\nfactor."
+ },
+ "parameters": [
+ {
+ "id": 660,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 578,
+ "name": "MFAChallengeParams",
+ "dereferenced": {
+ "id": 578,
+ "name": "MFAChallengeParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 579,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 580,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor to be challenged. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 624,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [580]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 622,
+ "character": 33
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 622,
+ "name": "AuthMFAChallengeResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 667,
+ "name": "challengeAndVerify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 668,
+ "name": "challengeAndVerify",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Helper method which creates a challenge and immediately uses the given code to verify against it thereafter. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ },
+ "parameters": [
+ {
+ "id": 669,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 581,
+ "name": "MFAChallengeAndVerifyParams",
+ "dereferenced": {
+ "id": 581,
+ "name": "MFAChallengeAndVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 627,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 582,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 584,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 631,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 583,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being verified. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 629,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [584, 583]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 627,
+ "character": 42
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 585,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 655,
+ "name": "enroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 656,
+ "name": "enroll",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Starts the enrollment process for a new Multi-Factor Authentication (MFA)\nfactor. This method creates a new `unverified` factor.\nTo verify a factor, present the QR code or secret to the user and ask them to add it to their\nauthenticator app.\nThe user has to enter the code from their authenticator app to verify it.",
+ "text": "Upon verifying a factor, all other sessions are logged out and the current session's authenticator level is promoted to `aal2`.\n\n"
+ },
+ "parameters": [
+ {
+ "id": 657,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 565,
+ "name": "MFAEnrollParams",
+ "dereferenced": {
+ "id": 565,
+ "name": "MFAEnrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 597,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 566,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 567,
+ "name": "factorType",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The type of factor being enrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 599,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "totp"
+ }
+ },
+ {
+ "id": 569,
+ "name": "friendlyName",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Human readable name assigned to the factor."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 603,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 568,
+ "name": "issuer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "Domain which the user is enrolled with."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 601,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [567, 569, 568]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 597,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 598,
+ "name": "AuthMFAEnrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 672,
+ "name": "getAuthenticatorAssuranceLevel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 673,
+ "name": "getAuthenticatorAssuranceLevel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the Authenticator Assurance Level (AAL) for the active session.",
+ "text": "- `aal1` (or `null`) means that the user's identity has been verified only\nwith a conventional login (email+password, OTP, magic link, social login,\netc.).\n- `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.\n\nAlthough this method returns a promise, it's fairly quick (microseconds)\nand rarely uses the network. You can use this to check whether the current\nuser needs to be shown a screen to verify their MFA factors.\n\n"
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 643,
+ "name": "AuthMFAGetAuthenticatorAssuranceLevelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 670,
+ "name": "listFactors",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 671,
+ "name": "listFactors",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the list of MFA factors enabled for this user. For most use cases\nyou should consider using {@link\nGoTrueMFAApi#getAuthenticatorAssuranceLevel}. This uses a cached version\nof the factors and avoids incurring a network call. If you need to update\nthis list, call {@link GoTrueClient#getUser} first.",
+ "tags": [
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#enroll}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueMFAApi#getAuthenticatorAssuranceLevel}"
+ },
+ {
+ "tag": "see",
+ "text": "{@link GoTrueClient#getUser}\n\n"
+ }
+ ]
+ },
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 632,
+ "name": "AuthMFAListFactorsResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 664,
+ "name": "unenroll",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 665,
+ "name": "unenroll",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Unenroll removes a MFA factor.\nA user has to have an `aal2` authenticator level in order to unenroll a `verified` factor."
+ },
+ "parameters": [
+ {
+ "id": 666,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 570,
+ "name": "MFAUnenrollParams",
+ "dereferenced": {
+ "id": 570,
+ "name": "MFAUnenrollParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 606,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 571,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 572,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being unenrolled."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 608,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [572]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 606,
+ "character": 32
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 613,
+ "name": "AuthMFAUnenrollResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 661,
+ "name": "verify",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 662,
+ "name": "verify",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Verifies a code against a challenge. The verification code is\nprovided by the user by entering a code seen in their authenticator app."
+ },
+ "parameters": [
+ {
+ "id": 663,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 573,
+ "name": "MFAVerifyParams",
+ "dereferenced": {
+ "id": 573,
+ "name": "MFAVerifyParams",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 574,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 576,
+ "name": "challengeId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the challenge being verified. Returned in challenge()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 616,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 577,
+ "name": "code",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "Verification code provided by the user."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 619,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 575,
+ "name": "factorId",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "ID of the factor being verified. Returned in enroll()."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 613,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [576, 577, 575]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 611,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 585,
+ "name": "AuthMFAVerifyResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [658, 667, 655, 672, 670, 664, 661]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 759,
+ "character": 17
+ }
+ ]
+ }
}
},
{
@@ -4981,7 +8552,212 @@
"type": {
"type": "reference",
"id": 421,
- "name": "Subscription"
+ "name": "Subscription",
+ "dereferenced": {
+ "id": 421,
+ "name": "Subscription",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 422,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "comment": {
+ "shortText": "The subscriber UUID. This will be set by the client."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 313,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 423,
+ "name": "callback",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 317,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 424,
+ "name": "callback",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "The function to call every time there is an event. eg: (eventName) => {}"
+ },
+ "parameters": [
+ {
+ "id": 425,
+ "name": "event",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 287,
+ "name": "AuthChangeEvent",
+ "dereferenced": {
+ "id": 287,
+ "name": "AuthChangeEvent",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 25,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "PASSWORD_RECOVERY"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_IN"
+ },
+ {
+ "type": "literal",
+ "value": "SIGNED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "TOKEN_REFRESHED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_UPDATED"
+ },
+ {
+ "type": "literal",
+ "value": "USER_DELETED"
+ },
+ {
+ "id": 286,
+ "name": "AuthChangeEventMFA",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "MFA_CHALLENGE_VERIFIED"
+ }
+ }
+ ]
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "session",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "id": 347,
+ "name": "Session"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 427,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 321,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 428,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Call this to remove the listener."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [422]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [423, 427]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 309,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -5671,7 +9447,93 @@
"type": {
"type": "reference",
"id": 285,
- "name": "Provider"
+ "name": "Provider",
+ "dereferenced": {
+ "id": 285,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "bitbucket"
+ },
+ {
+ "type": "literal",
+ "value": "discord"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "github"
+ },
+ {
+ "type": "literal",
+ "value": "gitlab"
+ },
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "keycloak"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin"
+ },
+ {
+ "type": "literal",
+ "value": "notion"
+ },
+ {
+ "type": "literal",
+ "value": "slack"
+ },
+ {
+ "type": "literal",
+ "value": "spotify"
+ },
+ {
+ "type": "literal",
+ "value": "twitch"
+ },
+ {
+ "type": "literal",
+ "value": "twitter"
+ },
+ {
+ "type": "literal",
+ "value": "workos"
+ }
+ ]
+ }
+ }
}
}
],
@@ -7675,7 +11537,34 @@
"type": {
"type": "reference",
"id": 506,
- "name": "MobileOtpType"
+ "name": "MobileOtpType",
+ "dereferenced": {
+ "id": 506,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 481,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -7843,7 +11732,46 @@
"type": {
"type": "reference",
"id": 507,
- "name": "EmailOtpType"
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 507,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -9723,7 +13651,556 @@
"type": {
"type": "reference",
"id": 384,
- "name": "User"
+ "name": "User",
+ "dereferenced": {
+ "id": 384,
+ "name": "User",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 394,
+ "name": "action_link",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 219,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 386,
+ "name": "app_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 211,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 377,
+ "name": "UserAppMetadata",
+ "dereferenced": {
+ "id": 377,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 378,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [378]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 379,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 380,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 388,
+ "name": "aud",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 213,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 389,
+ "name": "confirmation_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 398,
+ "name": "confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 223,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 397,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 222,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 395,
+ "name": "email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 220,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 391,
+ "name": "email_change_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 216,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 399,
+ "name": "email_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 224,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 405,
+ "name": "factors",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 230,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 370,
+ "name": "Factor"
+ }
+ }
+ },
+ {
+ "id": 385,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 210,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 404,
+ "name": "identities",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 229,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 359,
+ "name": "UserIdentity"
+ }
+ }
+ },
+ {
+ "id": 393,
+ "name": "invited_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 401,
+ "name": "last_sign_in_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 226,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 392,
+ "name": "new_email",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 217,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 396,
+ "name": "phone",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 221,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 400,
+ "name": "phone_confirmed_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 225,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 390,
+ "name": "recovery_sent_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 215,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 402,
+ "name": "role",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 227,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 403,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 228,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 387,
+ "name": "user_metadata",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 212,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 381,
+ "name": "UserMetadata",
+ "dereferenced": {
+ "id": 381,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 205,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 382,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 383,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 394, 386, 388, 389, 398, 397, 395, 391, 399, 405, 385, 404, 393, 401, 392, 396,
+ 400, 390, 402, 403, 387
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 209,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -10031,7 +14508,73 @@
"type": {
"type": "reference",
"id": 377,
- "name": "UserAppMetadata"
+ "name": "UserAppMetadata",
+ "dereferenced": {
+ "id": 377,
+ "name": "UserAppMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 378,
+ "name": "provider",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 201,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [378]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 200,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 379,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 380,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
}
},
{
@@ -10412,7 +14955,44 @@
"type": {
"type": "reference",
"id": 381,
- "name": "UserMetadata"
+ "name": "UserMetadata",
+ "dereferenced": {
+ "id": 381,
+ "name": "UserMetadata",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 205,
+ "character": 17
+ }
+ ],
+ "indexSignature": {
+ "id": 382,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 383,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
}
}
],
@@ -10989,7 +15569,46 @@
"type": {
"type": "reference",
"id": 507,
- "name": "EmailOtpType"
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 507,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -11163,7 +15782,34 @@
"type": {
"type": "reference",
"id": 506,
- "name": "MobileOtpType"
+ "name": "MobileOtpType",
+ "dereferenced": {
+ "id": 506,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 481,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -14700,7 +19346,50 @@
"type": {
"type": "reference",
"id": 564,
- "name": "GenerateLinkType"
+ "name": "GenerateLinkType",
+ "dereferenced": {
+ "id": 564,
+ "name": "GenerateLinkType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 589,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_current"
+ },
+ {
+ "type": "literal",
+ "value": "email_change_new"
+ }
+ ]
+ }
+ }
}
}
],
@@ -15450,7 +20139,58 @@
"type": {
"type": "reference",
"id": 706,
- "name": "SupportedStorage"
+ "name": "SupportedStorage",
+ "dereferenced": {
+ "id": 706,
+ "name": "SupportedStorage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 903,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "qualifiedName": "Storage",
+ "package": "typescript",
+ "name": "Storage"
+ },
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "getItem"
+ },
+ {
+ "type": "literal",
+ "value": "setItem"
+ },
+ {
+ "type": "literal",
+ "value": "removeItem"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Pick",
+ "package": "typescript",
+ "name": "Pick"
+ }
+ ],
+ "name": "PromisifyMethods"
+ }
+ }
}
},
{
@@ -16829,7 +21569,93 @@
"type": {
"type": "reference",
"id": 285,
- "name": "Provider"
+ "name": "Provider",
+ "dereferenced": {
+ "id": 285,
+ "name": "Provider",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "comment": {
+ "shortText": "One of the providers supported by GoTrue."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "apple"
+ },
+ {
+ "type": "literal",
+ "value": "azure"
+ },
+ {
+ "type": "literal",
+ "value": "bitbucket"
+ },
+ {
+ "type": "literal",
+ "value": "discord"
+ },
+ {
+ "type": "literal",
+ "value": "facebook"
+ },
+ {
+ "type": "literal",
+ "value": "github"
+ },
+ {
+ "type": "literal",
+ "value": "gitlab"
+ },
+ {
+ "type": "literal",
+ "value": "google"
+ },
+ {
+ "type": "literal",
+ "value": "keycloak"
+ },
+ {
+ "type": "literal",
+ "value": "linkedin"
+ },
+ {
+ "type": "literal",
+ "value": "notion"
+ },
+ {
+ "type": "literal",
+ "value": "slack"
+ },
+ {
+ "type": "literal",
+ "value": "spotify"
+ },
+ {
+ "type": "literal",
+ "value": "twitch"
+ },
+ {
+ "type": "literal",
+ "value": "twitter"
+ },
+ {
+ "type": "literal",
+ "value": "workos"
+ }
+ ]
+ }
+ }
}
}
],
@@ -18578,7 +23404,34 @@
"type": {
"type": "reference",
"id": 506,
- "name": "MobileOtpType"
+ "name": "MobileOtpType",
+ "dereferenced": {
+ "id": 506,
+ "name": "MobileOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 481,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "sms"
+ },
+ {
+ "type": "literal",
+ "value": "phone_change"
+ }
+ ]
+ }
+ }
}
}
],
@@ -18746,7 +23599,46 @@
"type": {
"type": "reference",
"id": 507,
- "name": "EmailOtpType"
+ "name": "EmailOtpType",
+ "dereferenced": {
+ "id": 507,
+ "name": "EmailOtpType",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 482,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "signup"
+ },
+ {
+ "type": "literal",
+ "value": "invite"
+ },
+ {
+ "type": "literal",
+ "value": "magiclink"
+ },
+ {
+ "type": "literal",
+ "value": "recovery"
+ },
+ {
+ "type": "literal",
+ "value": "email_change"
+ }
+ ]
+ }
+ }
}
}
],
diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
index 19da10fd6b8..e4369b656c9 100644
--- a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json
@@ -1112,7 +1112,8 @@
"type": {
"type": "reference",
"id": 5,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -1291,7 +1292,8 @@
"type": {
"type": "reference",
"id": 5,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
},
{
diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
index 053a099d227..abd1c674f4b 100644
--- a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/realtime_dereferenced.json
@@ -2846,7 +2846,237 @@
"type": {
"type": "reference",
"id": 294,
- "name": "RealtimeChannelOptions"
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "..."
},
@@ -2866,7 +3096,418 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 29,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 30,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 31,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 35,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 67,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 38,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 39,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 40,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [37, 38]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [39]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 41,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 34,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 33,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 32,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "dereferenced": {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -2920,7 +3561,1948 @@
"type": {
"type": "reference",
"id": 306,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [425, 424, 427, 422, 423, 431, 426, 421, 420]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": "[Circular ~.children.4.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326, 332, 328,
+ 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -3628,7 +6210,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -3894,7 +6477,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -4160,7 +6744,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -4426,7 +7011,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -7601,7 +10187,237 @@
"type": {
"type": "reference",
"id": 294,
- "name": "RealtimeChannelOptions"
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "..."
},
@@ -7621,7 +10437,350 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 28,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 83,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 29,
+ "name": "new RealtimePresence",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Presence."
+ },
+ "parameters": [
+ {
+ "id": 30,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The RealtimeChannel"
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]"
+ }
+ },
+ {
+ "id": 31,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The options,\n for example `{events: {state: 'state', diff: 'diff'}}`\n"
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOpts",
+ "package": "@types/phoenix",
+ "name": "PresenceOpts"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 35,
+ "name": "caller",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 66,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 36,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 37,
+ "name": "onJoin",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 67,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnJoinCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnJoinCallback"
+ }
+ },
+ {
+ "id": 38,
+ "name": "onLeave",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 68,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "PresenceOnLeaveCallback",
+ "package": "@types/phoenix",
+ "name": "PresenceOnLeaveCallback"
+ }
+ },
+ {
+ "id": 39,
+ "name": "onSync",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 69,
+ "character": 4
+ }
+ ],
+ "signatures": [
+ {
+ "id": 40,
+ "name": "onSync",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [37, 38]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [39]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 41,
+ "name": "channel",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.5.children.32.signatures.0.parameters.0.type.dereferenced]"
+ }
+ },
+ {
+ "id": 34,
+ "name": "joinRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 65,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 33,
+ "name": "pendingDiffs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "RawPresenceDiff"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 32,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "dereferenced": {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -7675,7 +10834,44 @@
"type": {
"type": "reference",
"id": 306,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": "[Circular ~.children.5.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318,
+ 326, 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -8383,7 +11579,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -8649,7 +11846,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -8915,7 +12113,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -9181,7 +12380,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -12575,7 +15775,237 @@
"type": {
"type": "reference",
"id": 294,
- "name": "RealtimeChannelOptions"
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
},
"defaultValue": "..."
},
@@ -12595,7 +16025,34 @@
"type": {
"type": "reference",
"id": 1,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": "[Circular ~.children.6.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -12649,7 +16106,1918 @@
"type": {
"type": "reference",
"id": 306,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.6.children.0.signatures.0.parameters.0.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318,
+ 326, 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -13357,7 +18725,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -13623,7 +18992,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -13889,7 +19259,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -14155,7 +19526,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
@@ -15097,7 +20469,7003 @@
"type": {
"type": "reference",
"id": 55,
- "name": "default"
+ "name": "default",
+ "dereferenced": {
+ "id": 55,
+ "name": "RealtimeChannel",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "comment": {
+ "shortText": "A channel is the basic building block of Realtime\nand narrows the scope of data flow to subscribed clients.\nYou can think of a channel as a chatroom where participants are able to see who's online\nand send and receive messages."
+ },
+ "children": [
+ {
+ "id": 66,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 111,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 67,
+ "name": "new RealtimeChannel",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 68,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 69,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 70,
+ "name": "socket",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318,
+ 326, 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [
+ 366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 71,
+ "name": "bindings",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 95,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 72,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 73,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 74,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reflection",
+ "declaration": {
+ "id": 75,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 81,
+ "name": "callback",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 99,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 77,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 98,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 78,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 98,
+ "character": 14
+ }
+ ],
+ "indexSignature": {
+ "id": 79,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 80,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 82,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 100,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 76,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 97,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [81, 77, 82, 76]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 96,
+ "character": 19
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 86,
+ "name": "joinPush",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 106,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 85,
+ "name": "joinedOnce",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 105,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 91,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 89,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 109,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 1,
+ "name": "default",
+ "dereferenced": {
+ "id": 1,
+ "name": "RealtimePresence",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": "[Circular ~.children.6.children]",
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [28]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [35, 41, 34, 33, 32]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 62,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 88,
+ "name": "pushBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 108,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 87,
+ "name": "rejoinTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 107,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 92,
+ "name": "socket",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default",
+ "dereferenced": {
+ "id": 306,
+ "name": "RealtimeClient",
+ "kind": 128,
+ "kindString": "Class",
+ "flags": {},
+ "children": [
+ {
+ "id": 307,
+ "name": "constructor",
+ "kind": 512,
+ "kindString": "Constructor",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 88,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 308,
+ "name": "new RealtimeClient",
+ "kind": 16384,
+ "kindString": "Constructor signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Initializes the Socket."
+ },
+ "parameters": [
+ {
+ "id": 309,
+ "name": "endPoint",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 310,
+ "name": "options",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "dereferenced": {
+ "id": 418,
+ "name": "RealtimeClientOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 419,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 425,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 22,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 424,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 21,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 427,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 428,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 24,
+ "character": 12
+ }
+ ],
+ "indexSignature": {
+ "id": 429,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 430,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 422,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 19,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 423,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 20,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 431,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 432,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 25,
+ "character": 11
+ }
+ ],
+ "indexSignature": {
+ "id": 433,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 434,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 426,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 421,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 18,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 420,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 17,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 425, 424, 427, 422, 423, 431, 426, 421, 420
+ ]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 16,
+ "character": 36
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 306,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 311,
+ "name": "accessToken",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 41,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 312,
+ "name": "channels",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 42,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 333,
+ "name": "conn",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 57,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "WebSocket",
+ "package": "typescript",
+ "name": "WebSocket"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 331,
+ "name": "decode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 55,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 330,
+ "name": "encode",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 54,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 313,
+ "name": "endPoint",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 43,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ },
+ "defaultValue": "''"
+ },
+ {
+ "id": 342,
+ "name": "eventsPerSecondLimitMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 71,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "100"
+ },
+ {
+ "id": 314,
+ "name": "headers",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 44,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 315,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 316,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 317,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "DEFAULT_HEADERS"
+ },
+ {
+ "id": 324,
+ "name": "heartbeatIntervalMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 48,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "30000"
+ },
+ {
+ "id": 325,
+ "name": "heartbeatTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 49,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "undefined"
+ },
+ {
+ "type": "reference",
+ "qualifiedName": "global.NodeJS.Timer",
+ "package": "@types/node",
+ "name": "Timer"
+ }
+ ]
+ },
+ "defaultValue": "undefined"
+ },
+ {
+ "id": 343,
+ "name": "inThrottle",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 72,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ },
+ "defaultValue": "false"
+ },
+ {
+ "id": 329,
+ "name": "logger",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 53,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ },
+ "defaultValue": "noop"
+ },
+ {
+ "id": 318,
+ "name": "params",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 45,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 319,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 320,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 321,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ },
+ {
+ "id": 326,
+ "name": "pendingHeartbeatRef",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 50,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ },
+ "defaultValue": "null"
+ },
+ {
+ "id": 332,
+ "name": "reconnectAfterMs",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 56,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ {
+ "id": 328,
+ "name": "reconnectTimer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 52,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ }
+ },
+ {
+ "id": 327,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 51,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "0"
+ },
+ {
+ "id": 334,
+ "name": "sendBuffer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 58,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ },
+ "defaultValue": "[]"
+ },
+ {
+ "id": 335,
+ "name": "serializer",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 59,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "default"
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 336,
+ "name": "stateChangeCallbacks",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 60,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 337,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 339,
+ "name": "close",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 62,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 340,
+ "name": "error",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 63,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 341,
+ "name": "message",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 64,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ },
+ {
+ "id": 338,
+ "name": "open",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 61,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "qualifiedName": "Function",
+ "package": "typescript",
+ "name": "Function"
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [339, 340, 341, 338]
+ }
+ ]
+ }
+ },
+ "defaultValue": "..."
+ },
+ {
+ "id": 322,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 46,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "DEFAULT_TIMEOUT"
+ },
+ {
+ "id": 323,
+ "name": "transport",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 47,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ },
+ "defaultValue": "w3cwebsocket"
+ },
+ {
+ "id": 366,
+ "name": "channel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 218,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 367,
+ "name": "channel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 368,
+ "name": "topic",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 369,
+ "name": "params",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "dereferenced": {
+ "id": 294,
+ "name": "RealtimeChannelOptions",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 295,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 296,
+ "name": "config",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 297,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 298,
+ "name": "broadcast",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 299,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 301,
+ "name": "ack",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 34
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 300,
+ "name": "self",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 18
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [301, 300]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 19,
+ "character": 16
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 302,
+ "name": "presence",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "key option is used to track presence payload across clients"
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 4
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 303,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 304,
+ "name": "key",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 17
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [304]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 23,
+ "character": 15
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [298, 302]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 14,
+ "character": 10
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [296]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 13,
+ "character": 37
+ }
+ ]
+ }
+ }
+ }
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 344,
+ "name": "connect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 125,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 345,
+ "name": "connect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Connects the socket, unless already connected."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 362,
+ "name": "connectionState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 198,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 363,
+ "name": "connectionState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns the current state of the socket."
+ },
+ "type": {
+ "type": "reference",
+ "name": "CONNECTION_STATE"
+ }
+ }
+ ]
+ },
+ {
+ "id": 346,
+ "name": "disconnect",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 147,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 347,
+ "name": "disconnect",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Disconnects the socket."
+ },
+ "parameters": [
+ {
+ "id": 348,
+ "name": "code",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A numeric status code to send on disconnect."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 349,
+ "name": "reason",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "A custom reason for the disconnect.\n"
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 350,
+ "name": "getChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 162,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 351,
+ "name": "getChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ }
+ ]
+ },
+ {
+ "id": 364,
+ "name": "isConnected",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 214,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 365,
+ "name": "isConnected",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Returns `true` is the connection is open."
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ }
+ ]
+ },
+ {
+ "id": 357,
+ "name": "log",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 191,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 358,
+ "name": "log",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Logs the message.",
+ "text": "For customized logging, `this.logger` can be overridden.\n"
+ },
+ "parameters": [
+ {
+ "id": 359,
+ "name": "kind",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "msg",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 361,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ },
+ {
+ "id": 370,
+ "name": "push",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 236,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 371,
+ "name": "push",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Push out a message if the socket is connected.",
+ "text": "If the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established.\n"
+ },
+ "parameters": [
+ {
+ "id": 372,
+ "name": "data",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 435,
+ "name": "RealtimeMessage",
+ "dereferenced": {
+ "id": 435,
+ "name": "RealtimeMessage",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 436,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 438,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 30,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 441,
+ "name": "join_ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 33,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 439,
+ "name": "payload",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 31,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ },
+ {
+ "id": 440,
+ "name": "ref",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 32,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 437,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 29,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [438, 441, 439, 440, 437]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 28,
+ "character": 30
+ }
+ ]
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "intrinsic",
+ "name": "void"
+ },
+ {
+ "type": "literal",
+ "value": "rate limited"
+ }
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "id": 355,
+ "name": "removeAllChannels",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 177,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 356,
+ "name": "removeAllChannels",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 352,
+ "name": "removeChannel",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 166,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 353,
+ "name": "removeChannel",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 354,
+ "name": "channel",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default",
+ "dereferenced": "[Circular ~.children.6.children.2.type.dereferenced]"
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 499,
+ "name": "RealtimeRemoveChannelResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 373,
+ "name": "setAuth",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 263,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 374,
+ "name": "setAuth",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Sets the JWT access token used for channel subscription authorization and Realtime RLS."
+ },
+ "parameters": [
+ {
+ "id": 375,
+ "name": "token",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "comment": {
+ "shortText": "A JWT string.\n"
+ },
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": null
+ },
+ {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ ]
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [307]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [
+ 311, 312, 333, 331, 330, 313, 342, 314, 324, 325, 343, 329, 318, 326,
+ 332, 328, 327, 334, 335, 336, 322, 323
+ ]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [366, 344, 362, 346, 350, 364, 357, 370, 355, 352, 373]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeClient.ts",
+ "line": 40,
+ "character": 21
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 84,
+ "name": "state",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 104,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "name": "CHANNEL_STATES"
+ },
+ "defaultValue": "CHANNEL_STATES.closed"
+ },
+ {
+ "id": 83,
+ "name": "timeout",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 103,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 90,
+ "name": "topic",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isPublic": true
+ },
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 119,
+ "name": "on",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 315,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 120,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Listen to messages."
+ },
+ "parameters": [
+ {
+ "id": 121,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ },
+ {
+ "id": 122,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 123,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 124,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 317,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [124]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 125,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 126,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 127,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 128,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 129,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 131,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 320,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 130,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 319,
+ "character": 6
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "broadcast"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [131, 130]
+ }
+ ],
+ "indexSignature": {
+ "id": 132,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 133,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 134,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 135,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 136,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 137,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 138,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 326,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "sync"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [138]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 139,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 140,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 141,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 142,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 143,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 144,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 145,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 146,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 331,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "join"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [146]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 147,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 148,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 149,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 150,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 483,
+ "name": "RealtimePresenceJoinPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 151,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 152,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "presence"
+ }
+ },
+ {
+ "id": 153,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 154,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 155,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 336,
+ "character": 14
+ }
+ ],
+ "type": {
+ "type": "literal",
+ "value": "leave"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [155]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 156,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 157,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 158,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 159,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 489,
+ "name": "RealtimePresenceLeavePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 160,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 164,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 161,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 162,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 163,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 165,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 166,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "*"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 167,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 168,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 169,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 170,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 449,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 164,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresChangesPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 171,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 175,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 172,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 173,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 174,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 176,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 177,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "INSERT"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 178,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 179,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 180,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 181,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 454,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 175,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresInsertPayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 182,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 186,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 183,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 184,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 185,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 187,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 188,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "UPDATE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 189,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 190,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 191,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 192,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 464,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 186,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresUpdatePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ },
+ {
+ "id": 193,
+ "name": "on",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "typeParameter": [
+ {
+ "id": 197,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 194,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 195,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 196,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "parameters": [
+ {
+ "id": 198,
+ "name": "type",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "literal",
+ "value": "postgres_changes"
+ }
+ },
+ {
+ "id": 199,
+ "name": "filter",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 442,
+ "typeArguments": [
+ {
+ "type": "literal",
+ "value": "DELETE"
+ }
+ ],
+ "name": "RealtimePostgresChangesFilter",
+ "dereferenced": {
+ "id": 442,
+ "name": "RealtimePostgresChangesFilter",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 12
+ }
+ ],
+ "typeParameter": [
+ {
+ "id": 448,
+ "name": "T",
+ "kind": 131072,
+ "kindString": "Type parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 443,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 444,
+ "name": "event",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 61,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 448,
+ "name": "T",
+ "dereferenced": {}
+ }
+ },
+ {
+ "id": 447,
+ "name": "filter",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 64,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 445,
+ "name": "schema",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 62,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 446,
+ "name": "table",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 63,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [444, 447, 445, 446]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 60,
+ "character": 62
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 200,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 201,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 202,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 203,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 473,
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 197,
+ "name": "T"
+ }
+ ],
+ "name": "RealtimePostgresDeletePayload"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 101,
+ "name": "presenceState",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 284,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 102,
+ "name": "presenceState",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "type": {
+ "type": "reference",
+ "id": 495,
+ "name": "RealtimePresenceState"
+ }
+ }
+ ]
+ },
+ {
+ "id": 204,
+ "name": "send",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 367,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 205,
+ "name": "send",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 206,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 207,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "children": [
+ {
+ "id": 208,
+ "name": "type",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 368,
+ "character": 15
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [208]
+ }
+ ],
+ "indexSignature": {
+ "id": 209,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 210,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 211,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 212,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 213,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 214,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 93,
+ "name": "subscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 171,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 94,
+ "name": "subscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "comment": {
+ "shortText": "Subscribe registers your client with the server"
+ },
+ "parameters": [
+ {
+ "id": 95,
+ "name": "callback",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 96,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "signatures": [
+ {
+ "id": 97,
+ "name": "__type",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 98,
+ "name": "status",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "SUBSCRIBED"
+ },
+ {
+ "type": "literal",
+ "value": "TIMED_OUT"
+ },
+ {
+ "type": "literal",
+ "value": "CLOSED"
+ },
+ {
+ "type": "literal",
+ "value": "CHANNEL_ERROR"
+ }
+ ]
+ }
+ },
+ {
+ "id": 99,
+ "name": "err",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {
+ "isOptional": true
+ },
+ "type": {
+ "type": "reference",
+ "qualifiedName": "Error",
+ "package": "typescript",
+ "name": "Error"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ }
+ },
+ {
+ "id": 100,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "id": 55,
+ "name": "default"
+ }
+ }
+ ]
+ },
+ {
+ "id": 103,
+ "name": "track",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 288,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 104,
+ "name": "track",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 105,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 106,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 107,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 108,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ },
+ {
+ "id": 109,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 110,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 111,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 112,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 221,
+ "name": "unsubscribe",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 407,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 222,
+ "name": "unsubscribe",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "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": 223,
+ "name": "timeout",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ },
+ "defaultValue": "..."
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "error"
+ },
+ {
+ "type": "literal",
+ "value": "ok"
+ },
+ {
+ "type": "literal",
+ "value": "timed out"
+ }
+ ]
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 113,
+ "name": "untrack",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 302,
+ "character": 8
+ }
+ ],
+ "signatures": [
+ {
+ "id": 114,
+ "name": "untrack",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 115,
+ "name": "opts",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 116,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 117,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 118,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ },
+ "defaultValue": "{}"
+ }
+ ],
+ "type": {
+ "type": "reference",
+ "typeArguments": [
+ {
+ "type": "reference",
+ "id": 305,
+ "name": "RealtimeChannelSendResponse"
+ }
+ ],
+ "qualifiedName": "Promise",
+ "package": "typescript",
+ "name": "Promise"
+ }
+ }
+ ]
+ },
+ {
+ "id": 215,
+ "name": "updateJoinPayload",
+ "kind": 2048,
+ "kindString": "Method",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 394,
+ "character": 2
+ }
+ ],
+ "signatures": [
+ {
+ "id": 216,
+ "name": "updateJoinPayload",
+ "kind": 4096,
+ "kindString": "Call signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 217,
+ "name": "payload",
+ "kind": 32768,
+ "kindString": "Parameter",
+ "flags": {},
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 218,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "indexSignature": {
+ "id": 219,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 220,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "any"
+ }
+ }
+ }
+ }
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "void"
+ }
+ }
+ ]
+ }
+ ],
+ "groups": [
+ {
+ "title": "Constructors",
+ "kind": 512,
+ "children": [66]
+ },
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [71, 86, 85, 91, 89, 88, 87, 92, 84, 83, 90]
+ },
+ {
+ "title": "Methods",
+ "kind": 2048,
+ "children": [119, 101, 204, 93, 103, 221, 113, 215]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "RealtimeChannel.ts",
+ "line": 94,
+ "character": 21
+ }
+ ]
+ }
}
},
{
@@ -15166,7 +27534,64 @@
"type": {
"type": "reference",
"id": 495,
- "name": "RealtimePresenceState"
+ "name": "RealtimePresenceState",
+ "dereferenced": {
+ "id": 495,
+ "name": "RealtimePresenceState",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "reflection",
+ "declaration": {
+ "id": 496,
+ "name": "__type",
+ "kind": 65536,
+ "kindString": "Type literal",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "RealtimePresence.ts",
+ "line": 18,
+ "character": 36
+ }
+ ],
+ "indexSignature": {
+ "id": 497,
+ "name": "__index",
+ "kind": 8192,
+ "kindString": "Index signature",
+ "flags": {},
+ "parameters": [
+ {
+ "id": 498,
+ "name": "key",
+ "kind": 32768,
+ "flags": {},
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "type": {
+ "type": "array",
+ "elementType": {
+ "type": "reference",
+ "name": "Presence"
+ }
+ }
+ }
+ }
+ }
+ }
},
"defaultValue": "{}"
}
@@ -15937,7 +28362,8 @@
"type": {
"type": "reference",
"id": 448,
- "name": "T"
+ "name": "T",
+ "dereferenced": {}
}
},
{
diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
index d85e05b52d8..2074da33442 100644
--- a/spec/enrichments/tsdoc_v2/storage_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/storage_dereferenced.json
@@ -2157,7 +2157,138 @@
"type": {
"type": "reference",
"id": 357,
- "name": "Bucket"
+ "name": "Bucket",
+ "dereferenced": {
+ "id": 357,
+ "name": "Bucket",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 361,
+ "name": "created_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 5,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 358,
+ "name": "id",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 2,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 359,
+ "name": "name",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 3,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 360,
+ "name": "owner",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 4,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 363,
+ "name": "public",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 7,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "boolean"
+ }
+ },
+ {
+ "id": 362,
+ "name": "updated_at",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 6,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [361, 358, 359, 360, 363, 362]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 1,
+ "character": 17
+ }
+ ]
+ }
}
},
{
@@ -2544,7 +2675,70 @@
"type": {
"type": "reference",
"id": 374,
- "name": "SortBy"
+ "name": "SortBy",
+ "dereferenced": {
+ "id": 374,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 375,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 376,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [375, 376]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -4724,7 +4918,112 @@
"type": {
"type": "reference",
"id": 390,
- "name": "TransformOptions"
+ "name": "TransformOptions",
+ "dereferenced": {
+ "id": 390,
+ "name": "TransformOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "height",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The height of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 393,
+ "name": "resize",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "cover"
+ },
+ {
+ "type": "literal",
+ "value": "contain"
+ },
+ {
+ "type": "literal",
+ "value": "fill"
+ }
+ ]
+ }
+ },
+ {
+ "id": 391,
+ "name": "width",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The width of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393, 391]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -5306,7 +5605,112 @@
"type": {
"type": "reference",
"id": 390,
- "name": "TransformOptions"
+ "name": "TransformOptions",
+ "dereferenced": {
+ "id": 390,
+ "name": "TransformOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "height",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The height of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 393,
+ "name": "resize",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "cover"
+ },
+ {
+ "type": "literal",
+ "value": "contain"
+ },
+ {
+ "type": "literal",
+ "value": "fill"
+ }
+ ]
+ }
+ },
+ {
+ "id": 391,
+ "name": "width",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The width of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393, 391]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -5558,7 +5962,112 @@
"type": {
"type": "reference",
"id": 390,
- "name": "TransformOptions"
+ "name": "TransformOptions",
+ "dereferenced": {
+ "id": 390,
+ "name": "TransformOptions",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 392,
+ "name": "height",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The height of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 84,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ },
+ {
+ "id": 393,
+ "name": "resize",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The resize mode can be cover, contain or fill. Defaults to cover.\nCover resizes the image to maintain it's aspect ratio while filling the entire width and height.\nContain resizes the image to maintain it's aspect ratio while fitting the entire image within the width and height.\nFill resizes the image to fill the entire width and height. If the object's aspect ratio does not match the width and height, the image will be stretched to fit."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 91,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "union",
+ "types": [
+ {
+ "type": "literal",
+ "value": "cover"
+ },
+ {
+ "type": "literal",
+ "value": "contain"
+ },
+ {
+ "type": "literal",
+ "value": "fill"
+ }
+ ]
+ }
+ },
+ {
+ "id": 391,
+ "name": "width",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "comment": {
+ "shortText": "The width of the image in pixels."
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 80,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "number"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [392, 393, 391]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 76,
+ "character": 17
+ }
+ ]
+ }
}
}
],
@@ -5795,7 +6304,70 @@
"type": {
"type": "reference",
"id": 374,
- "name": "SortBy"
+ "name": "SortBy",
+ "dereferenced": {
+ "id": 374,
+ "name": "SortBy",
+ "kind": 256,
+ "kindString": "Interface",
+ "flags": {},
+ "children": [
+ {
+ "id": 375,
+ "name": "column",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 23,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ },
+ {
+ "id": 376,
+ "name": "order",
+ "kind": 1024,
+ "kindString": "Property",
+ "flags": {
+ "isOptional": true
+ },
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 24,
+ "character": 2
+ }
+ ],
+ "type": {
+ "type": "intrinsic",
+ "name": "string"
+ }
+ }
+ ],
+ "groups": [
+ {
+ "title": "Properties",
+ "kind": 1024,
+ "children": [375, 376]
+ }
+ ],
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 22,
+ "character": 17
+ }
+ ]
+ }
}
}
],
diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
index 11f9da9faf0..5aadce1d49c 100644
--- a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
+++ b/spec/enrichments/tsdoc_v2/supabase_dereferenced.json
@@ -460,7 +460,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -526,7 +527,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -2750,7 +2775,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -2816,7 +2842,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -3829,7 +3879,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -3895,7 +3946,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -4253,7 +4328,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -4319,7 +4395,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
@@ -5608,7 +5708,8 @@
"type": {
"type": "reference",
"id": 78,
- "name": "SchemaName"
+ "name": "SchemaName",
+ "dereferenced": {}
}
}
],
@@ -5674,7 +5775,31 @@
"type": {
"type": "reference",
"id": 60,
- "name": "Fetch"
+ "name": "Fetch",
+ "dereferenced": {
+ "id": 60,
+ "name": "Fetch",
+ "kind": 4194304,
+ "kindString": "Type alias",
+ "flags": {},
+ "sources": [
+ {
+ "fileName": "src/lib/types.ts",
+ "line": 8,
+ "character": 12
+ }
+ ],
+ "type": {
+ "type": "query",
+ "queryType": {
+ "type": "reference",
+ "id": 18,
+ "qualifiedName": "fetch",
+ "package": "typescript",
+ "name": "fetch"
+ }
+ }
+ }
}
},
{
diff --git a/spec/parser/tsdoc.ts b/spec/parser/tsdoc.ts
index 757c51caa4f..f73ab60a623 100644
--- a/spec/parser/tsdoc.ts
+++ b/spec/parser/tsdoc.ts
@@ -69,6 +69,17 @@ function dereferenceReducer(child: any, kv: KV) {
if (!!child.parameters) {
child.parameters.forEach((x: any) => dereferenceReducer(x, kv))
}
+ if (
+ !!child.type &&
+ !!child.type.declaration &&
+ !!child.type.declaration.children &&
+ child.type.type === 'reflection'
+ ) {
+ child.type.declaration.children.forEach((x: any) =>
+ dereferenceReducer(x, kv)
+ )
+ }
+
const final = { ...child }
if (
// For now I can only dereference parameters
@@ -81,6 +92,14 @@ function dereferenceReducer(child: any, kv: KV) {
const dereferenced = kv[final.type.id]
final.type.dereferenced = dereferenced || {}
return final
+ } else if (
+ final.kindString === 'Property' &&
+ final.type?.type === 'reference' &&
+ final.type?.id
+ ) {
+ const dereferenced = kv[final.type.id]
+ final.type.dereferenced = dereferenced || {}
+ return final
} else if (
final.kindString === 'Type alias' &&
final.type?.type === 'union'
diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.yml
index a75d65f890e..073ec4d6f10 100644
--- a/spec/supabase_dart_v1.yml
+++ b/spec/supabase_dart_v1.yml
@@ -504,7 +504,7 @@ functions:
isSpotlight: true
code: |
```dart
- final data = await supabase
+ await supabase
.from('cities')
.insert({'name': 'The Shire', 'country_id': 554});
```
@@ -512,11 +512,21 @@ functions:
name: Bulk create
code: |
```dart
- final res = await supabase.from('cities').insert([
+ await supabase.from('cities').insert([
{'name': 'The Shire', 'country_id': 554},
{'name': 'Rohan', 'country_id': 555},
]);
```
+ - id: fetch-inserted-data
+ name: Fetch inserted record
+ code: |
+ ```dart
+ final List