mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 13:49:09 +03:00
11716 lines
391 KiB
JSON
11716 lines
391 KiB
JSON
{
|
|
"id": 0,
|
|
"name": "@supabase/realtime-js",
|
|
"variant": "project",
|
|
"kind": 1,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 629,
|
|
"name": "REALTIME_LISTEN_TYPES",
|
|
"variant": "declaration",
|
|
"kind": 8,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 630,
|
|
"name": "BROADCAST",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 98,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L98"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "broadcast"
|
|
}
|
|
},
|
|
{
|
|
"id": 632,
|
|
"name": "POSTGRES_CHANGES",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 100,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L100"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "postgres_changes"
|
|
}
|
|
},
|
|
{
|
|
"id": 631,
|
|
"name": "PRESENCE",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 99,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L99"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "presence"
|
|
}
|
|
},
|
|
{
|
|
"id": 633,
|
|
"name": "SYSTEM",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 101,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L101"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "system"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [630, 632, 631, 633]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 97,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L97"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 634,
|
|
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
|
|
"variant": "declaration",
|
|
"kind": 8,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 635,
|
|
"name": "ALL",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 91,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L91"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "*"
|
|
}
|
|
},
|
|
{
|
|
"id": 638,
|
|
"name": "DELETE",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 94,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L94"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "DELETE"
|
|
}
|
|
},
|
|
{
|
|
"id": 636,
|
|
"name": "INSERT",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 92,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L92"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "INSERT"
|
|
}
|
|
},
|
|
{
|
|
"id": 637,
|
|
"name": "UPDATE",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 93,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L93"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "UPDATE"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [635, 638, 636, 637]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 90,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L90"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 639,
|
|
"name": "REALTIME_PRESENCE_LISTEN_EVENTS",
|
|
"variant": "declaration",
|
|
"kind": 8,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 641,
|
|
"name": "JOIN",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 37,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L37"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "join"
|
|
}
|
|
},
|
|
{
|
|
"id": 642,
|
|
"name": "LEAVE",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 38,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L38"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "leave"
|
|
}
|
|
},
|
|
{
|
|
"id": 640,
|
|
"name": "SYNC",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 36,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "sync"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [641, 642, 640]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 35,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L35"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 643,
|
|
"name": "REALTIME_SUBSCRIBE_STATES",
|
|
"variant": "declaration",
|
|
"kind": 8,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 647,
|
|
"name": "CHANNEL_ERROR",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 108,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L108"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "CHANNEL_ERROR"
|
|
}
|
|
},
|
|
{
|
|
"id": 646,
|
|
"name": "CLOSED",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 107,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L107"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "CLOSED"
|
|
}
|
|
},
|
|
{
|
|
"id": 644,
|
|
"name": "SUBSCRIBED",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 105,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L105"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "SUBSCRIBED"
|
|
}
|
|
},
|
|
{
|
|
"id": 645,
|
|
"name": "TIMED_OUT",
|
|
"variant": "declaration",
|
|
"kind": 16,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 106,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L106"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "TIMED_OUT"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumeration Members",
|
|
"children": [647, 646, 644, 645]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 104,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L104"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 59,
|
|
"name": "RealtimeChannel",
|
|
"variant": "declaration",
|
|
"kind": 128,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "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": 70,
|
|
"name": "constructor",
|
|
"variant": "declaration",
|
|
"kind": 512,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 147,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 71,
|
|
"name": "RealtimeChannel",
|
|
"variant": "signature",
|
|
"kind": 16384,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 147,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L147"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 72,
|
|
"name": "topic",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Topic name can be any string."
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 73,
|
|
"name": "params",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 355,
|
|
"name": "RealtimeChannelOptions",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 74,
|
|
"name": "socket",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 369,
|
|
"name": "RealtimeClient",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 75,
|
|
"name": "bindings",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 128,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 76,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 128,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L128"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 77,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 129,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 78,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 79,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 85,
|
|
"name": "callback",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 132,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L132"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 81,
|
|
"name": "filter",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 131,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 82,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 131,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 83,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 131,
|
|
"character": 16,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L131"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 84,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 86,
|
|
"name": "id",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 133,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L133"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 80,
|
|
"name": "type",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 130,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L130"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [85, 81, 86, 80]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 129,
|
|
"character": 19,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L129"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "{}"
|
|
},
|
|
{
|
|
"id": 94,
|
|
"name": "broadcastEndpointURL",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 143,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L143"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 89,
|
|
"name": "joinedOnce",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 138,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L138"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "false"
|
|
},
|
|
{
|
|
"id": 90,
|
|
"name": "joinPush",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 139,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L139"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/push.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"name": "Push",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 98,
|
|
"name": "params",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 150,
|
|
"character": 11,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L150"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 355,
|
|
"name": "RealtimeChannelOptions",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 93,
|
|
"name": "presence",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 142,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L142"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 1,
|
|
"name": "RealtimePresence",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 96,
|
|
"name": "private",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 145,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L145"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"id": 92,
|
|
"name": "pushBuffer",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 141,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L141"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/push.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"name": "Push",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 91,
|
|
"name": "rejoinTimer",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 140,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L140"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/timer.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"name": "Timer",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 99,
|
|
"name": "socket",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 151,
|
|
"character": 11,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L151"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 369,
|
|
"name": "RealtimeClient",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 88,
|
|
"name": "state",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 137,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L137"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/constants.ts",
|
|
"qualifiedName": "CHANNEL_STATES"
|
|
},
|
|
"name": "CHANNEL_STATES",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
"defaultValue": "CHANNEL_STATES.closed"
|
|
},
|
|
{
|
|
"id": 95,
|
|
"name": "subTopic",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 144,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L144"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 87,
|
|
"name": "timeout",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 136,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L136"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 97,
|
|
"name": "topic",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Topic name can be any string."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 149,
|
|
"character": 11,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L149"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 131,
|
|
"name": "on",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 355,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 360,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 365,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 370,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 375,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 380,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 385,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 396,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 405,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 414,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414"
|
|
},
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 419,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L419"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 132,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 355,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L355"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 133,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "presence"
|
|
}
|
|
},
|
|
{
|
|
"id": 134,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 135,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 136,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 357,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "sync"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [136]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 357,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L357"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 137,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 138,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 358,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 139,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 358,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L358"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 140,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 360,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 141,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 142,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 360,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 143,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 360,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L360"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 144,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 145,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "presence"
|
|
}
|
|
},
|
|
{
|
|
"id": 146,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 147,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 148,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 362,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "join"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [148]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 362,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L362"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 149,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 150,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 363,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 151,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 363,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L363"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 152,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 599,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 141,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePresenceJoinPayload",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 153,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 365,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 154,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 155,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 365,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 156,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 365,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L365"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 157,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 158,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "presence"
|
|
}
|
|
},
|
|
{
|
|
"id": 159,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 160,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 161,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 367,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "leave"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [161]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 367,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L367"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 162,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 163,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 368,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 164,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 368,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L368"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 165,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 609,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 154,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePresenceLeavePayload",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 166,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 370,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 167,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 168,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 370,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 169,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 370,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L370"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 170,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 171,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "postgres_changes"
|
|
}
|
|
},
|
|
{
|
|
"id": 172,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 558,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "*"
|
|
}
|
|
],
|
|
"name": "RealtimePostgresChangesFilter",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 173,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 174,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 373,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 175,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 373,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L373"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 176,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 565,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 167,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePostgresChangesPayload",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 177,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 375,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 178,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 179,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 375,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 180,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 375,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L375"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 181,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 182,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "postgres_changes"
|
|
}
|
|
},
|
|
{
|
|
"id": 183,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 558,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "INSERT"
|
|
}
|
|
],
|
|
"name": "RealtimePostgresChangesFilter",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 184,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 185,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 378,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 186,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 378,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L378"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 187,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 570,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 178,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePostgresInsertPayload",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 188,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 380,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 189,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 190,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 380,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 191,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 380,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L380"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 192,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 193,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "postgres_changes"
|
|
}
|
|
},
|
|
{
|
|
"id": 194,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 558,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "UPDATE"
|
|
}
|
|
],
|
|
"name": "RealtimePostgresChangesFilter",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 195,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 196,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 383,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 197,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 383,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L383"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 198,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 580,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 189,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePostgresUpdatePayload",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 199,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 385,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 200,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 201,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 385,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 202,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 385,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L385"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 203,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 204,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "postgres_changes"
|
|
}
|
|
},
|
|
{
|
|
"id": 205,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 558,
|
|
"typeArguments": [
|
|
{
|
|
"type": "literal",
|
|
"value": "DELETE"
|
|
}
|
|
],
|
|
"name": "RealtimePostgresChangesFilter",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 206,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 207,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 388,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 208,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 388,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L388"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 209,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 589,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 200,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePostgresDeletePayload",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 210,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The following is placed here to display on supabase.com/docs/reference/javascript/subscribe."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 396,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L396"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 211,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "One of \"broadcast\", \"presence\", or \"postgres_changes\"."
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "broadcast"
|
|
}
|
|
},
|
|
{
|
|
"id": 212,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Custom object specific to the Realtime feature detailing which payloads to receive."
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 213,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 214,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 398,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [214]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 398,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L398"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 215,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Function to be invoked when event handler is triggered."
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 216,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 399,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 217,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 399,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 218,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 219,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 221,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 401,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L401"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 220,
|
|
"name": "type",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 400,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L400"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "broadcast"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [221, 220]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 399,
|
|
"character": 24,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L399"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 222,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 402,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L402"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 223,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 224,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 405,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 225,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 226,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 405,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 227,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 405,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L405"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 228,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 229,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "broadcast"
|
|
}
|
|
},
|
|
{
|
|
"id": 230,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 231,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 232,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 407,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [232]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 407,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L407"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 233,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 234,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 408,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 235,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 408,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 236,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 237,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 239,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 410,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L410"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 240,
|
|
"name": "payload",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 411,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L411"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 225,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
},
|
|
{
|
|
"id": 238,
|
|
"name": "type",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 409,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L409"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "broadcast"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [239, 240, 238]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 408,
|
|
"character": 24,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L408"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 241,
|
|
"name": "on",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Creates an event handler that listens to changes."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 414,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 242,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 243,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 414,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 244,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 414,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L414"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 245,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 246,
|
|
"name": "type",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "literal",
|
|
"value": "system"
|
|
}
|
|
},
|
|
{
|
|
"id": 247,
|
|
"name": "filter",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 248,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 249,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 250,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 417,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 251,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 417,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L417"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 252,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 108,
|
|
"name": "presenceState",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 320,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 109,
|
|
"name": "presenceState",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 320,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L320"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 110,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 111,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 321,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 112,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 321,
|
|
"character": 16,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L321"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 113,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 114,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 619,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 110,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePresenceState",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 253,
|
|
"name": "send",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 445,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 254,
|
|
"name": "send",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Sends a message into the channel."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 445,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L445"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 255,
|
|
"name": "args",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Arguments to send to channel"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 256,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 258,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The name of the event being sent"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 448,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L448"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 259,
|
|
"name": "payload",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Payload to be sent"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 449,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L449"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 257,
|
|
"name": "type",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The type of event to send"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 447,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L447"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "presence"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "broadcast"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "postgres_changes"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [258, 259, 257]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 446,
|
|
"character": 10,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L446"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 260,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 450,
|
|
"character": 6,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L450"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 261,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 262,
|
|
"name": "opts",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Options to be used during the send process"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 263,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 452,
|
|
"character": 10,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 264,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 452,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L452"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 265,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "{}"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 368,
|
|
"name": "RealtimeChannelSendResponse",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 100,
|
|
"name": "subscribe",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 213,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 101,
|
|
"name": "subscribe",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Subscribe registers your client with the server"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 213,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L213"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 102,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 103,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 214,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 104,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 214,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L214"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 105,
|
|
"name": "status",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 643,
|
|
"name": "REALTIME_SUBSCRIBE_STATES",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 106,
|
|
"name": "err",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Error"
|
|
},
|
|
"name": "Error",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 107,
|
|
"name": "timeout",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 275,
|
|
"name": "teardown",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 561,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 276,
|
|
"name": "teardown",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Teardown the channel.\n\nDestroys and stops related timers."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 561,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L561"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 115,
|
|
"name": "track",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 326,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 116,
|
|
"name": "track",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 326,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L326"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 117,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 118,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 327,
|
|
"character": 13,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 119,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 327,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L327"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 120,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 121,
|
|
"name": "opts",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 122,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 328,
|
|
"character": 10,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 123,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 328,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L328"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 124,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "{}"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 368,
|
|
"name": "RealtimeChannelSendResponse",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 272,
|
|
"name": "unsubscribe",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 522,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 273,
|
|
"name": "unsubscribe",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Leaves the channel.\n\nUnsubscribes from server events, and instructs channel to terminate on server.\nTriggers onClose() hooks.\n\nTo receive leave acknowledgements, use the a "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`receive`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " hook to bind to the server ack, ie:\nchannel.unsubscribe().receive(\"ok\", () => alert(\"left!\") )"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 522,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L522"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 274,
|
|
"name": "timeout",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "error"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "ok"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "timed out"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 125,
|
|
"name": "untrack",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 340,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 126,
|
|
"name": "untrack",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 340,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L340"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 127,
|
|
"name": "opts",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 128,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 341,
|
|
"character": 10,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 129,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 341,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L341"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 130,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "{}"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 368,
|
|
"name": "RealtimeChannelSendResponse",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 266,
|
|
"name": "updateJoinPayload",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 509,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 267,
|
|
"name": "updateJoinPayload",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 509,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 268,
|
|
"name": "payload",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 269,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 509,
|
|
"character": 29,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 270,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 509,
|
|
"character": 31,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L509"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 271,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [70]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [75, 94, 89, 90, 98, 93, 96, 92, 91, 99, 88, 95, 87, 97]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [131, 108, 253, 100, 275, 115, 272, 125, 266]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 127,
|
|
"character": 21,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L127"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 369,
|
|
"name": "RealtimeClient",
|
|
"variant": "declaration",
|
|
"kind": 128,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 370,
|
|
"name": "constructor",
|
|
"variant": "declaration",
|
|
"kind": 512,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 150,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 371,
|
|
"name": "RealtimeClient",
|
|
"variant": "signature",
|
|
"kind": 16384,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Initializes the Socket."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 150,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L150"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 372,
|
|
"name": "endPoint",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The string WebSocket endpoint, ie, \"ws://example.com/socket\", \"wss://example.com\", \"/socket\" (inherited host & protocol)"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 373,
|
|
"name": "options",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 526,
|
|
"name": "RealtimeClientOptions",
|
|
"package": "@supabase/realtime-js",
|
|
"highlightedProperties": {
|
|
"transport": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The Websocket Transport, for example WebSocket. This can be a custom implementation"
|
|
}
|
|
],
|
|
"timeout": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The default timeout in milliseconds to trigger push timeouts."
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The optional params to pass when connecting."
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Deprecated: headers cannot be set on websocket connections and this option will be removed in the future."
|
|
}
|
|
],
|
|
"heartbeatIntervalMs": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The millisec interval to send a heartbeat message."
|
|
}
|
|
],
|
|
"logger": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The optional function for specialized logging, ie: logger: (kind, msg, data) => { console.log("
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`${kind}: ${msg}`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": ", data) }"
|
|
}
|
|
],
|
|
"logLevel": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Sets the log level for Realtime"
|
|
}
|
|
],
|
|
"encode": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The function to encode outgoing messages. Defaults to JSON: (payload, callback) => callback(JSON.stringify(payload))"
|
|
}
|
|
],
|
|
"decode": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The function to decode incoming messages. Defaults to Serializer's decode."
|
|
}
|
|
],
|
|
"reconnectAfterMs": [
|
|
{
|
|
"kind": "text",
|
|
"text": "he optional function that returns the millsec reconnect interval. Defaults to stepped backoff off."
|
|
}
|
|
],
|
|
"worker": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Use Web Worker to set a side flow. Defaults to false."
|
|
}
|
|
],
|
|
"workerUrl": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The URL of the worker script. Defaults to https://realtime.supabase.com/worker.js that includes a heartbeat event call to keep the connection alive."
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 369,
|
|
"name": "RealtimeClient",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 420,
|
|
"name": "accessToken",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 127,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 421,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 127,
|
|
"character": 16,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 422,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 127,
|
|
"character": 16,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L127"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
},
|
|
{
|
|
"id": 374,
|
|
"name": "accessTokenValue",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 91,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L91"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
},
|
|
{
|
|
"id": 375,
|
|
"name": "apiKey",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 92,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L92"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
},
|
|
{
|
|
"id": 376,
|
|
"name": "channels",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 93,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L93"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 403,
|
|
"name": "conn",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 112,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L112"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "WebSocket"
|
|
},
|
|
"name": "WebSocket",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
},
|
|
{
|
|
"id": 401,
|
|
"name": "decode",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 110,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L110"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 400,
|
|
"name": "encode",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 109,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L109"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 377,
|
|
"name": "endPoint",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 94,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L94"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "''"
|
|
},
|
|
{
|
|
"id": 412,
|
|
"name": "fetch",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 126,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L126"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 413,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"line": 29329,
|
|
"character": 17
|
|
},
|
|
{
|
|
"fileName": "node_modules/@types/node/globals.d.ts",
|
|
"line": 374,
|
|
"character": 13
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 414,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"line": 29329,
|
|
"character": 17
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 415,
|
|
"name": "input",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "RequestInfo"
|
|
},
|
|
"name": "RequestInfo",
|
|
"package": "typescript"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "URL"
|
|
},
|
|
"name": "URL",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 416,
|
|
"name": "init",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "RequestInit"
|
|
},
|
|
"name": "RequestInit",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "Response"
|
|
},
|
|
"name": "Response",
|
|
"package": "typescript"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 417,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch)"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "node_modules/@types/node/globals.d.ts",
|
|
"line": 374,
|
|
"character": 13
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 418,
|
|
"name": "input",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "Request"
|
|
},
|
|
"name": "Request",
|
|
"package": "typescript"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "URL"
|
|
},
|
|
"name": "URL",
|
|
"package": "typescript"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 419,
|
|
"name": "init",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "RequestInit"
|
|
},
|
|
"name": "RequestInit",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "Response"
|
|
},
|
|
"name": "Response",
|
|
"package": "typescript"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 379,
|
|
"name": "headers",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@deprecated",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "headers cannot be set on websocket connections"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 97,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 380,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 97,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 381,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 97,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L97"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 382,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "{}"
|
|
},
|
|
{
|
|
"id": 392,
|
|
"name": "heartbeatCallback",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 104,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 393,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 104,
|
|
"character": 21,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 394,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 104,
|
|
"character": 21,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L104"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 395,
|
|
"name": "status",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "HeartbeatStatus"
|
|
},
|
|
"name": "HeartbeatStatus",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "noop"
|
|
},
|
|
{
|
|
"id": 389,
|
|
"name": "heartbeatIntervalMs",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 101,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L101"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "25000"
|
|
},
|
|
{
|
|
"id": 390,
|
|
"name": "heartbeatTimer",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 102,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L102"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "undefined"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/@types/node/timers.d.ts",
|
|
"qualifiedName": "__global.NodeJS.Timeout"
|
|
},
|
|
"name": "Timeout",
|
|
"package": "@types/node",
|
|
"qualifiedName": "__global.NodeJS.Timeout"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "undefined"
|
|
},
|
|
{
|
|
"id": 378,
|
|
"name": "httpEndpoint",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 95,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L95"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
"defaultValue": "''"
|
|
},
|
|
{
|
|
"id": 398,
|
|
"name": "logger",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 107,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L107"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
},
|
|
"defaultValue": "noop"
|
|
},
|
|
{
|
|
"id": 399,
|
|
"name": "logLevel",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 108,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L108"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "LogLevel"
|
|
},
|
|
"name": "LogLevel",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 383,
|
|
"name": "params",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 98,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 384,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 98,
|
|
"character": 11,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 385,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 98,
|
|
"character": 13,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L98"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 386,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "{}"
|
|
},
|
|
{
|
|
"id": 391,
|
|
"name": "pendingHeartbeatRef",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 103,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L103"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
},
|
|
{
|
|
"id": 402,
|
|
"name": "reconnectAfterMs",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 111,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L111"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 397,
|
|
"name": "reconnectTimer",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 106,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L106"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/timer.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"name": "Timer",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 396,
|
|
"name": "ref",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 105,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L105"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "0"
|
|
},
|
|
{
|
|
"id": 404,
|
|
"name": "sendBuffer",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 113,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L113"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 405,
|
|
"name": "serializer",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 114,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L114"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/serializer.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"name": "Serializer",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 406,
|
|
"name": "stateChangeCallbacks",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 115,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 407,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 409,
|
|
"name": "close",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 117,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L117"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 410,
|
|
"name": "error",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 118,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L118"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 411,
|
|
"name": "message",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 119,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L119"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 408,
|
|
"name": "open",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 116,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L116"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [409, 410, 411, 408]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 115,
|
|
"character": 24,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L115"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 387,
|
|
"name": "timeout",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 99,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L99"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
},
|
|
"defaultValue": "DEFAULT_TIMEOUT"
|
|
},
|
|
{
|
|
"id": 388,
|
|
"name": "transport",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 100,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L100"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "WebSocketLikeConstructor"
|
|
},
|
|
"name": "WebSocketLikeConstructor",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 423,
|
|
"name": "worker",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 128,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L128"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"id": 425,
|
|
"name": "workerRef",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 130,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L130"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "Worker"
|
|
},
|
|
"name": "Worker",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 424,
|
|
"name": "workerUrl",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 129,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L129"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 450,
|
|
"name": "channel",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 328,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 451,
|
|
"name": "channel",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 328,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L328"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 452,
|
|
"name": "topic",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 453,
|
|
"name": "params",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 355,
|
|
"name": "RealtimeChannelOptions",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
"defaultValue": "..."
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 426,
|
|
"name": "connect",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 207,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 427,
|
|
"name": "connect",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Connects the socket, unless already connected."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 207,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L207"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 446,
|
|
"name": "connectionState",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 308,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 447,
|
|
"name": "connectionState",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Returns the current state of the socket."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 308,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L308"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/constants.ts",
|
|
"qualifiedName": "CONNECTION_STATE"
|
|
},
|
|
"name": "CONNECTION_STATE",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 430,
|
|
"name": "disconnect",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 244,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 431,
|
|
"name": "disconnect",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Disconnects the socket."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 244,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L244"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 432,
|
|
"name": "code",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A numeric status code to send on disconnect."
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 433,
|
|
"name": "reason",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A custom reason for the disconnect."
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 428,
|
|
"name": "endpointURL",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 231,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 429,
|
|
"name": "endpointURL",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Returns the URL of the websocket."
|
|
}
|
|
],
|
|
"blockTags": [
|
|
{
|
|
"tag": "@returns",
|
|
"content": [
|
|
{
|
|
"kind": "text",
|
|
"text": "string The URL of the websocket."
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 231,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L231"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 468,
|
|
"name": "flushSendBuffer",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 435,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 469,
|
|
"name": "flushSendBuffer",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Flushes send buffer"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 435,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L435"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 434,
|
|
"name": "getChannels",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 264,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 435,
|
|
"name": "getChannels",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Returns all created channels"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 264,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L264"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 448,
|
|
"name": "isConnected",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 324,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 449,
|
|
"name": "isConnected",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Returns "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`true`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " is the connection is open."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 324,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L324"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 441,
|
|
"name": "log",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 301,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 442,
|
|
"name": "log",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Logs the message.\n\nFor customized logging, "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`this.logger`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " can be overridden."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 301,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L301"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 443,
|
|
"name": "kind",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 444,
|
|
"name": "msg",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 445,
|
|
"name": "data",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 462,
|
|
"name": "onHeartbeat",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 429,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 463,
|
|
"name": "onHeartbeat",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 429,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 464,
|
|
"name": "callback",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 465,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 429,
|
|
"character": 24,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 466,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 429,
|
|
"character": 24,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L429"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 467,
|
|
"name": "status",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "HeartbeatStatus"
|
|
},
|
|
"name": "HeartbeatStatus",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 454,
|
|
"name": "push",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 352,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 455,
|
|
"name": "push",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Push out a message if the socket is connected.\n\nIf the socket is not connected, the message gets enqueued within a local buffer, and sent out when a connection is next established."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 352,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L352"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 456,
|
|
"name": "data",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 551,
|
|
"name": "RealtimeMessage",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 439,
|
|
"name": "removeAllChannels",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 287,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 440,
|
|
"name": "removeAllChannels",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Unsubscribes and removes all channels"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 287,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L287"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": 628,
|
|
"name": "RealtimeRemoveChannelResponse",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 436,
|
|
"name": "removeChannel",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 272,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 437,
|
|
"name": "removeChannel",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Unsubscribes and removes a single channel"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 272,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L272"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 438,
|
|
"name": "channel",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A RealtimeChannel instance"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 628,
|
|
"name": "RealtimeRemoveChannelResponse",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 460,
|
|
"name": "sendHeartbeat",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 403,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 461,
|
|
"name": "sendHeartbeat",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Sends a heartbeat message if the socket is connected."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 403,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L403"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 457,
|
|
"name": "setAuth",
|
|
"variant": "declaration",
|
|
"kind": 2048,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 376,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 458,
|
|
"name": "setAuth",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Sets the JWT access token used for channel subscription authorization and Realtime RLS.\n\nIf param is null it will use the "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`accessToken`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " callback function or the token set on the client.\n\nOn callback used, it will set the value of the token internal to the client."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 376,
|
|
"character": 8,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L376"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 459,
|
|
"name": "token",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "A JWT string to override the token set on the client."
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [370]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
420, 374, 375, 376, 403, 401, 400, 377, 412, 379, 392, 389, 390, 378, 398, 399, 383,
|
|
391, 402, 397, 396, 404, 405, 406, 387, 388, 423, 425, 424
|
|
]
|
|
},
|
|
{
|
|
"title": "Methods",
|
|
"children": [450, 426, 446, 430, 428, 468, 434, 448, 441, 462, 454, 439, 436, 460, 457]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 90,
|
|
"character": 21,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L90"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"name": "RealtimePresence",
|
|
"variant": "declaration",
|
|
"kind": 128,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 30,
|
|
"name": "constructor",
|
|
"variant": "declaration",
|
|
"kind": 512,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 85,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 31,
|
|
"name": "RealtimePresence",
|
|
"variant": "signature",
|
|
"kind": 16384,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Initializes the Presence."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 85,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 32,
|
|
"name": "channel",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The RealtimeChannel"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 33,
|
|
"name": "opts",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The options,\n for example "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`{events: {state: 'state', diff: 'diff'}}`"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/@types/phoenix/index.d.ts",
|
|
"qualifiedName": "PresenceOpts"
|
|
},
|
|
"name": "PresenceOpts",
|
|
"package": "@types/phoenix"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 1,
|
|
"name": "RealtimePresence",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 38,
|
|
"name": "caller",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 68,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 39,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 40,
|
|
"name": "onJoin",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 69,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L69"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/@types/phoenix/index.d.ts",
|
|
"qualifiedName": "PresenceOnJoinCallback"
|
|
},
|
|
"name": "PresenceOnJoinCallback",
|
|
"package": "@types/phoenix"
|
|
}
|
|
},
|
|
{
|
|
"id": 41,
|
|
"name": "onLeave",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 70,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L70"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/@types/phoenix/index.d.ts",
|
|
"qualifiedName": "PresenceOnLeaveCallback"
|
|
},
|
|
"name": "PresenceOnLeaveCallback",
|
|
"package": "@types/phoenix"
|
|
}
|
|
},
|
|
{
|
|
"id": 42,
|
|
"name": "onSync",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 71,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 43,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 71,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 44,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 71,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L71"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "void"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [40, 41, 42]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 68,
|
|
"character": 10,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L68"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"defaultValue": "..."
|
|
},
|
|
{
|
|
"id": 45,
|
|
"name": "channel",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isPublic": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The RealtimeChannel"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 85,
|
|
"character": 21,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L85"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 59,
|
|
"name": "RealtimeChannel",
|
|
"package": "@supabase/realtime-js",
|
|
"qualifiedName": "default"
|
|
}
|
|
},
|
|
{
|
|
"id": 37,
|
|
"name": "enabled",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 67,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L67"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
},
|
|
"defaultValue": "false"
|
|
},
|
|
{
|
|
"id": 36,
|
|
"name": "joinRef",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 66,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L66"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
]
|
|
},
|
|
"defaultValue": "null"
|
|
},
|
|
{
|
|
"id": 35,
|
|
"name": "pendingDiffs",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 65,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L65"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "RawPresenceDiff"
|
|
},
|
|
"name": "RawPresenceDiff",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
"defaultValue": "[]"
|
|
},
|
|
{
|
|
"id": 34,
|
|
"name": "state",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 64,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L64"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 619,
|
|
"name": "RealtimePresenceState",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
"defaultValue": "{}"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Constructors",
|
|
"children": [30]
|
|
},
|
|
{
|
|
"title": "Properties",
|
|
"children": [38, 45, 37, 36, 35, 34]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 63,
|
|
"character": 21,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L63"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 355,
|
|
"name": "RealtimeChannelOptions",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 16,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 356,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 357,
|
|
"name": "config",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 17,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 358,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 359,
|
|
"name": "broadcast",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "self option enables client to receive message it broadcast\nack option instructs server to acknowledge that broadcast message was received"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 22,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 360,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 362,
|
|
"name": "ack",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 22,
|
|
"character": 34,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"id": 361,
|
|
"name": "self",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 22,
|
|
"character": 18,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [362, 361]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 22,
|
|
"character": 16,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L22"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 363,
|
|
"name": "presence",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "key option is used to track presence payload across clients"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 26,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 364,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 366,
|
|
"name": "enabled",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 26,
|
|
"character": 31,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"id": 365,
|
|
"name": "key",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 26,
|
|
"character": 17,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [366, 365]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 26,
|
|
"character": 15,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L26"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 367,
|
|
"name": "private",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "defines if the channel is private or not and if RLS policies will be used to check data"
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 30,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L30"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [359, 363, 367]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 17,
|
|
"character": 10,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L17"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [357]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 16,
|
|
"character": 37,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L16"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 368,
|
|
"name": "RealtimeChannelSendResponse",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 88,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L88"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "ok"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "timed out"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "error"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 526,
|
|
"name": "RealtimeClientOptions",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 64,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 527,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 548,
|
|
"name": "accessToken",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 80,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 549,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 80,
|
|
"character": 16,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L80"
|
|
}
|
|
],
|
|
"signatures": [
|
|
{
|
|
"id": 550,
|
|
"name": "__type",
|
|
"variant": "signature",
|
|
"kind": 4096,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Promise"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"name": "Promise",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 533,
|
|
"name": "decode",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 70,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L70"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 532,
|
|
"name": "encode",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 69,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L69"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 545,
|
|
"name": "fetch",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 77,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L77"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "Fetch"
|
|
},
|
|
"name": "Fetch",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 535,
|
|
"name": "headers",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 72,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 536,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 72,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 537,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 72,
|
|
"character": 14,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L72"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 538,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 530,
|
|
"name": "heartbeatIntervalMs",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 67,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L67"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 543,
|
|
"name": "log_level",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 75,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L75"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "LogLevel"
|
|
},
|
|
"name": "LogLevel",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 531,
|
|
"name": "logger",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 68,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L68"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 544,
|
|
"name": "logLevel",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 76,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L76"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "LogLevel"
|
|
},
|
|
"name": "LogLevel",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 539,
|
|
"name": "params",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 73,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 540,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 73,
|
|
"character": 11,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 541,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 73,
|
|
"character": 13,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L73"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 542,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 534,
|
|
"name": "reconnectAfterMs",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 71,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L71"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Function"
|
|
},
|
|
"name": "Function",
|
|
"package": "typescript"
|
|
}
|
|
},
|
|
{
|
|
"id": 529,
|
|
"name": "timeout",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 66,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L66"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "number"
|
|
}
|
|
},
|
|
{
|
|
"id": 528,
|
|
"name": "transport",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 65,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L65"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "WebSocketLikeConstructor"
|
|
},
|
|
"name": "WebSocketLikeConstructor",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
},
|
|
{
|
|
"id": 546,
|
|
"name": "worker",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 78,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L78"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "boolean"
|
|
}
|
|
},
|
|
{
|
|
"id": 547,
|
|
"name": "workerUrl",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 79,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L79"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [
|
|
548, 533, 532, 545, 535, 530, 543, 531, 544, 539, 534, 529, 528, 546, 547
|
|
]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 64,
|
|
"character": 36,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L64"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 551,
|
|
"name": "RealtimeMessage",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 31,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 552,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 554,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 33,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L33"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 557,
|
|
"name": "join_ref",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 36,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L36"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 555,
|
|
"name": "payload",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 34,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L34"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
},
|
|
{
|
|
"id": 556,
|
|
"name": "ref",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 35,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L35"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 553,
|
|
"name": "topic",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 32,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L32"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [554, 557, 555, 556, 553]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 31,
|
|
"character": 30,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L31"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 558,
|
|
"name": "RealtimePostgresChangesFilter",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 67,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L67"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 564,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "templateLiteral",
|
|
"head": "",
|
|
"tail": [
|
|
[
|
|
{
|
|
"type": "reference",
|
|
"target": 634,
|
|
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
""
|
|
]
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 559,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 560,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The type of database change to listen to."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 73,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L73"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 564,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
},
|
|
{
|
|
"id": 563,
|
|
"name": "filter",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "Receive database changes when filter is matched."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 85,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L85"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 561,
|
|
"name": "schema",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The database schema to listen to."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 77,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L77"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 562,
|
|
"name": "table",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {
|
|
"isOptional": true
|
|
},
|
|
"comment": {
|
|
"summary": [
|
|
{
|
|
"kind": "text",
|
|
"text": "The database table to listen to."
|
|
}
|
|
]
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 81,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L81"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [560, 563, 561, 562]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 69,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L69"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 565,
|
|
"name": "RealtimePostgresChangesPayload",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 62,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 566,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 567,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 62,
|
|
"character": 53,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 568,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 62,
|
|
"character": 55,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L62"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 569,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"target": 570,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 566,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePostgresInsertPayload",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": 580,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 566,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePostgresUpdatePayload",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
{
|
|
"type": "reference",
|
|
"target": 589,
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 566,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "RealtimePostgresDeletePayload",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 589,
|
|
"name": "RealtimePostgresDeletePayload",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 55,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 595,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 596,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 55,
|
|
"character": 52,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 597,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 55,
|
|
"character": 54,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L55"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 598,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresChangesPayloadBase"
|
|
},
|
|
"name": "RealtimePostgresChangesPayloadBase",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 590,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 591,
|
|
"name": "eventType",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 57,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L57"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "templateLiteral",
|
|
"head": "",
|
|
"tail": [
|
|
[
|
|
{
|
|
"type": "reference",
|
|
"target": 638,
|
|
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
""
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 592,
|
|
"name": "new",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 58,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 593,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 58,
|
|
"character": 9,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L58"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 594,
|
|
"name": "old",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 59,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L59"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Partial"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 595,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "Partial",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [591, 592, 594]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 56,
|
|
"character": 39,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L56"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 570,
|
|
"name": "RealtimePostgresInsertPayload",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 41,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 576,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 577,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 41,
|
|
"character": 52,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 578,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 41,
|
|
"character": 54,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L41"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 579,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresChangesPayloadBase"
|
|
},
|
|
"name": "RealtimePostgresChangesPayloadBase",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 571,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 572,
|
|
"name": "eventType",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 43,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L43"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "templateLiteral",
|
|
"head": "",
|
|
"tail": [
|
|
[
|
|
{
|
|
"type": "reference",
|
|
"target": 636,
|
|
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
""
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 573,
|
|
"name": "new",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 44,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L44"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 576,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
},
|
|
{
|
|
"id": 574,
|
|
"name": "old",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 45,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 575,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 45,
|
|
"character": 9,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L45"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [572, 573, 574]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 42,
|
|
"character": 39,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L42"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 580,
|
|
"name": "RealtimePostgresUpdatePayload",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 48,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 585,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 586,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 48,
|
|
"character": 52,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 587,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 48,
|
|
"character": 54,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L48"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 588,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intersection",
|
|
"types": [
|
|
{
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresChangesPayloadBase"
|
|
},
|
|
"name": "RealtimePostgresChangesPayloadBase",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
{
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 581,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 582,
|
|
"name": "eventType",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 50,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L50"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "templateLiteral",
|
|
"head": "",
|
|
"tail": [
|
|
[
|
|
{
|
|
"type": "reference",
|
|
"target": 637,
|
|
"name": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
""
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 583,
|
|
"name": "new",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 51,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L51"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": 585,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
},
|
|
{
|
|
"id": 584,
|
|
"name": "old",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 52,
|
|
"character": 4,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L52"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts",
|
|
"qualifiedName": "Partial"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 585,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "Partial",
|
|
"package": "typescript"
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [582, 583, 584]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 49,
|
|
"character": 39,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L49"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 599,
|
|
"name": "RealtimePresenceJoinPayload",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 21,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 605,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 606,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 21,
|
|
"character": 50,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 607,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 21,
|
|
"character": 52,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 608,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 600,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 603,
|
|
"name": "currentPresences",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 24,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L24"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "Presence"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 605,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "Presence",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 601,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 22,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L22"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "templateLiteral",
|
|
"head": "",
|
|
"tail": [
|
|
[
|
|
{
|
|
"type": "reference",
|
|
"target": 641,
|
|
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
""
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 602,
|
|
"name": "key",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 23,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L23"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 604,
|
|
"name": "newPresences",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 25,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L25"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "Presence"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 605,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "Presence",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [603, 601, 602, 604]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 21,
|
|
"character": 76,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L21"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 609,
|
|
"name": "RealtimePresenceLeavePayload",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 28,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 615,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 616,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 28,
|
|
"character": 51,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 617,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 28,
|
|
"character": 53,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 618,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 610,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"children": [
|
|
{
|
|
"id": 613,
|
|
"name": "currentPresences",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 31,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L31"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "Presence"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 615,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "Presence",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 611,
|
|
"name": "event",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 29,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L29"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "templateLiteral",
|
|
"head": "",
|
|
"tail": [
|
|
[
|
|
{
|
|
"type": "reference",
|
|
"target": 642,
|
|
"name": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE",
|
|
"package": "@supabase/realtime-js"
|
|
},
|
|
""
|
|
]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 612,
|
|
"name": "key",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 30,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L30"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
},
|
|
{
|
|
"id": 614,
|
|
"name": "leftPresences",
|
|
"variant": "declaration",
|
|
"kind": 1024,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 32,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L32"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "Presence"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 615,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "Presence",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Properties",
|
|
"children": [613, 611, 612, 614]
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 28,
|
|
"character": 77,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L28"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 619,
|
|
"name": "RealtimePresenceState",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 17,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17"
|
|
}
|
|
],
|
|
"typeParameters": [
|
|
{
|
|
"id": 623,
|
|
"name": "T",
|
|
"variant": "typeParam",
|
|
"kind": 131072,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 624,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 17,
|
|
"character": 44,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 625,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 17,
|
|
"character": 46,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 626,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "any"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"default": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 627,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 17,
|
|
"character": 69,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "reflection",
|
|
"declaration": {
|
|
"id": 620,
|
|
"name": "__type",
|
|
"variant": "declaration",
|
|
"kind": 65536,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 17,
|
|
"character": 75,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L17"
|
|
}
|
|
],
|
|
"indexSignatures": [
|
|
{
|
|
"id": 621,
|
|
"name": "__index",
|
|
"variant": "signature",
|
|
"kind": 8192,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimePresence.ts",
|
|
"line": 18,
|
|
"character": 2,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimePresence.ts#L18"
|
|
}
|
|
],
|
|
"parameters": [
|
|
{
|
|
"id": 622,
|
|
"name": "key",
|
|
"variant": "param",
|
|
"kind": 32768,
|
|
"flags": {},
|
|
"type": {
|
|
"type": "intrinsic",
|
|
"name": "string"
|
|
}
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "array",
|
|
"elementType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "Presence"
|
|
},
|
|
"typeArguments": [
|
|
{
|
|
"type": "reference",
|
|
"target": 623,
|
|
"name": "T",
|
|
"package": "@supabase/realtime-js",
|
|
"refersToTypeParameter": true
|
|
}
|
|
],
|
|
"name": "Presence",
|
|
"package": "@supabase/realtime-js"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 628,
|
|
"name": "RealtimeRemoveChannelResponse",
|
|
"variant": "declaration",
|
|
"kind": 2097152,
|
|
"flags": {},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeClient.ts",
|
|
"line": 39,
|
|
"character": 12,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeClient.ts#L39"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "union",
|
|
"types": [
|
|
{
|
|
"type": "literal",
|
|
"value": "ok"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "timed out"
|
|
},
|
|
{
|
|
"type": "literal",
|
|
"value": "error"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"id": 648,
|
|
"name": "REALTIME_CHANNEL_STATES",
|
|
"variant": "declaration",
|
|
"kind": 32,
|
|
"flags": {
|
|
"isConst": true
|
|
},
|
|
"sources": [
|
|
{
|
|
"fileName": "src/RealtimeChannel.ts",
|
|
"line": 111,
|
|
"character": 13,
|
|
"url": "https://github.com/supabase/realtime-js/blob/d3026be84cd2ed2ac1b22deda4bbfc18e0226d86/src/RealtimeChannel.ts#L111"
|
|
}
|
|
],
|
|
"type": {
|
|
"type": "query",
|
|
"queryType": {
|
|
"type": "reference",
|
|
"target": {
|
|
"sourceFileName": "src/lib/constants.ts",
|
|
"qualifiedName": "CHANNEL_STATES"
|
|
},
|
|
"name": "CHANNEL_STATES",
|
|
"package": "@supabase/realtime-js",
|
|
"preferValues": true
|
|
}
|
|
},
|
|
"defaultValue": "CHANNEL_STATES"
|
|
}
|
|
],
|
|
"groups": [
|
|
{
|
|
"title": "Enumerations",
|
|
"children": [629, 634, 639, 643]
|
|
},
|
|
{
|
|
"title": "Classes",
|
|
"children": [59, 369, 1]
|
|
},
|
|
{
|
|
"title": "Type Aliases",
|
|
"children": [355, 368, 526, 551, 558, 565, 589, 570, 580, 599, 609, 619, 628]
|
|
},
|
|
{
|
|
"title": "Variables",
|
|
"children": [648]
|
|
}
|
|
],
|
|
"packageName": "@supabase/realtime-js",
|
|
"readme": [
|
|
{
|
|
"kind": "text",
|
|
"text": "<br />\n<p align=\"center\">\n <a href=\"https://supabase.io\">\n <picture>\n <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/supabase/supabase/master/packages/common/assets/images/supabase-logo-wordmark--dark.svg\">\n <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/supabase/supabase/master/packages/common/assets/images/supabase-logo-wordmark--light.svg\">\n <img alt=\"Supabase Logo\" width=\"300\" src=\"https://raw.githubusercontent.com/supabase/supabase/master/packages/common/assets/images/logo-preview.jpg\">\n </picture>\n </a>\n\n <h1 align=\"center\">Supabase Realtime Client</h1>\n\n <h3 align=\"center\">Send ephemeral messages with <b>Broadcast</b>, track and synchronize state with <b>Presence</b>, and listen to database changes with <b>Postgres Change Data Capture (CDC)</b>.</h3>\n\n <p align=\"center\">\n <a href=\"https://supabase.com/docs/guides/realtime\">Guides</a>\n ·\n <a href=\"https://supabase.com/docs/reference/javascript\">Reference Docs</a>\n ·\n <a href=\"https://multiplayer.dev\">Multiplayer Demo</a>\n </p>\n</p>\n\n# Overview\n\nThis client enables you to use the following Supabase Realtime's features:\n\n- **Broadcast**: send ephemeral messages from client to clients with minimal latency. Use cases include sharing cursor positions between users.\n- **Presence**: track and synchronize shared state across clients with the help of CRDTs. Use cases include tracking which users are currently viewing a specific webpage.\n- **Postgres Change Data Capture (CDC)**: listen for changes in your PostgreSQL database and send them to clients.\n\n# Usage\n\n## Installing the Package\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```bash\nnpm install @supabase/realtime-js\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n## Creating a Channel\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```js\nimport { RealtimeClient } from '@supabase/realtime-js'\n\nconst client = new RealtimeClient(REALTIME_URL, {\n params: {\n apikey: API_KEY\n },\n})\n\nconst channel = client.channel('test-channel', {})\n\nchannel.subscribe((status, err) => {\n if (status === 'SUBSCRIBED') {\n console.log('Connected!')\n }\n\n if (status === 'CHANNEL_ERROR') {\n console.log(`There was an error subscribing to channel: ${err.message}`)\n }\n\n if (status === 'TIMED_OUT') {\n console.log('Realtime server did not respond in time.')\n }\n\n if (status === 'CLOSED') {\n console.log('Realtime channel was unexpectedly closed.')\n }\n})\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n### Notes:\n\n- "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`REALTIME_URL`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " is "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`'ws://localhost:4000/socket'`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " when developing locally and "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`'wss://<project_ref>.supabase.co/realtime/v1'`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " when connecting to your Supabase project.\n- "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`API_KEY`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " is a JWT whose claims must contain "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`exp`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " and "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`role`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " (existing database role).\n- Channel name can be any "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`string`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": ".\n\n## Broadcast\n\nYour client can send and receive messages based on the "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`event`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": ".\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```js\n// Setup...\n\nconst channel = client.channel('broadcast-test', { broadcast: { ack: false, self: false } })\n\nchannel.on('broadcast', { event: 'some-event' }, (payload) =>\n console.log(payload)\n)\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n // Send message to other clients listening to 'broadcast-test' channel\n await channel.send({\n type: 'broadcast',\n event: 'some-event',\n payload: { hello: 'world' },\n })\n }\n})\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n### Notes:\n\n- Setting "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`ack`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " to "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`true`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " means that the "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`channel.send`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " promise will resolve once server replies with acknowledgement that it received the broadcast message request.\n- Setting "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`self`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " to "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`true`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " means that the client will receive the broadcast message it sent out.\n- Setting "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`private`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " to "
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "`true`"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": " means that the client will use RLS to determine if the user can connect or not to a given channel.\n\n## Presence\n\nYour client can track and sync state that's stored in the channel.\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```js\n// Setup...\n\nconst channel = client.channel(\n 'presence-test',\n {\n config: {\n presence: {\n key: ''\n }\n }\n }\n)\n\nchannel.on('presence', { event: 'sync' }, () => {\n console.log('Online users: ', channel.presenceState())\n})\n\nchannel.on('presence', { event: 'join' }, ({ newPresences }) => {\n console.log('New users have joined: ', newPresences)\n})\n\nchannel.on('presence', { event: 'leave' }, ({ leftPresences }) => {\n console.log('Users have left: ', leftPresences)\n})\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n const status = await channel.track({ 'user_id': 1 })\n console.log(status)\n }\n})\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n## Postgres CDC\n\nReceive database changes on the client.\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```js\n// Setup...\n\nconst channel = client.channel('db-changes')\n\nchannel.on('postgres_changes', { event: '*', schema: 'public' }, (payload) => {\n console.log('All changes in public schema: ', payload)\n})\n\nchannel.on('postgres_changes', { event: 'INSERT', schema: 'public', table: 'messages' }, (payload) => {\n console.log('All inserts in messages table: ', payload)\n})\n\nchannel.on('postgres_changes', { event: 'UPDATE', schema: 'public', table: 'users', filter: 'username=eq.Realtime' }, (payload) => {\n console.log('All updates on users table when username is Realtime: ', payload)\n})\n\nchannel.subscribe(async (status) => {\n if (status === 'SUBSCRIBED') {\n console.log('Ready to receive database changes!')\n }\n})\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n## Get All Channels\n\nYou can see all the channels that your client has instantiatied.\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```js\n// Setup...\n\nclient.getChannels()\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n## Cleanup\n\nIt is highly recommended that you clean up your channels after you're done with them.\n\n- Remove a single channel\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```js\n// Setup...\n\nconst channel = client.channel('some-channel-to-remove')\n\nchannel.subscribe()\n\nclient.removeChannel(channel)\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n- Remove all channels\n\n"
|
|
},
|
|
{
|
|
"kind": "code",
|
|
"text": "```js\n// Setup...\n\nconst channel1 = client.channel('a-channel-to-remove')\nconst channel2 = client.channel('another-channel-to-remove')\n\nchannel1.subscribe()\nchannel2.subscribe()\n\nclient.removeAllChannels()\n```"
|
|
},
|
|
{
|
|
"kind": "text",
|
|
"text": "\n\n## Credits\n\nThis repo draws heavily from [phoenix-js](https://github.com/phoenixframework/phoenix/tree/master/assets/js/phoenix).\n\n## License\n\nMIT."
|
|
}
|
|
],
|
|
"symbolIdMap": {
|
|
"0": {
|
|
"sourceFileName": "src/index.ts",
|
|
"qualifiedName": ""
|
|
},
|
|
"1": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"30": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default.__constructor"
|
|
},
|
|
"31": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"32": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "channel"
|
|
},
|
|
"33": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "opts"
|
|
},
|
|
"34": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default.state"
|
|
},
|
|
"35": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default.pendingDiffs"
|
|
},
|
|
"36": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default.joinRef"
|
|
},
|
|
"37": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default.enabled"
|
|
},
|
|
"38": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default.caller"
|
|
},
|
|
"39": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"40": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.onJoin"
|
|
},
|
|
"41": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.onLeave"
|
|
},
|
|
"42": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.onSync"
|
|
},
|
|
"43": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"44": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"45": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "default.channel"
|
|
},
|
|
"59": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"70": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.__constructor"
|
|
},
|
|
"71": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"72": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "topic"
|
|
},
|
|
"73": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "params"
|
|
},
|
|
"74": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "socket"
|
|
},
|
|
"75": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.bindings"
|
|
},
|
|
"76": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"77": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"79": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"80": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.type"
|
|
},
|
|
"81": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.filter"
|
|
},
|
|
"82": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"83": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"85": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.callback"
|
|
},
|
|
"86": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.id"
|
|
},
|
|
"87": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.timeout"
|
|
},
|
|
"88": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.state"
|
|
},
|
|
"89": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.joinedOnce"
|
|
},
|
|
"90": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.joinPush"
|
|
},
|
|
"91": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.rejoinTimer"
|
|
},
|
|
"92": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.pushBuffer"
|
|
},
|
|
"93": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.presence"
|
|
},
|
|
"94": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.broadcastEndpointURL"
|
|
},
|
|
"95": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.subTopic"
|
|
},
|
|
"96": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.private"
|
|
},
|
|
"97": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.topic"
|
|
},
|
|
"98": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.params"
|
|
},
|
|
"99": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.socket"
|
|
},
|
|
"100": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.subscribe"
|
|
},
|
|
"101": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.subscribe"
|
|
},
|
|
"102": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"103": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"104": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"105": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "status"
|
|
},
|
|
"106": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "err"
|
|
},
|
|
"107": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "timeout"
|
|
},
|
|
"108": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.presenceState"
|
|
},
|
|
"109": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.presenceState"
|
|
},
|
|
"110": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"111": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"112": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"114": {
|
|
"sourceFileName": "",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"115": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.track"
|
|
},
|
|
"116": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.track"
|
|
},
|
|
"117": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"118": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"119": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"121": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "opts"
|
|
},
|
|
"122": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"123": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"125": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.untrack"
|
|
},
|
|
"126": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.untrack"
|
|
},
|
|
"127": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "opts"
|
|
},
|
|
"128": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"129": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"131": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"132": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"133": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"134": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"135": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"136": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"137": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"138": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"139": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"140": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"141": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"142": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"143": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"145": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"146": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"147": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"148": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"149": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"150": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"151": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"152": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"153": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"154": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"155": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"156": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"158": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"159": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"160": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"161": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"162": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"163": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"164": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"165": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"166": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"167": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"168": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"169": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"171": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"172": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"173": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"174": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"175": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"176": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"177": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"178": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"179": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"180": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"182": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"183": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"184": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"185": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"186": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"187": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"188": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"189": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"190": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"191": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"193": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"194": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"195": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"196": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"197": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"198": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"199": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"200": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"201": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"202": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"204": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"205": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"206": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"207": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"208": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"209": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"210": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"211": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"212": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"213": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"214": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"215": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"216": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"217": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"218": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"219": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"220": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.type"
|
|
},
|
|
"221": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"222": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"224": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"225": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"226": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"227": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"229": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"230": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"231": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"232": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"233": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"234": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"235": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"236": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"237": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"238": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.type"
|
|
},
|
|
"239": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"240": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.payload"
|
|
},
|
|
"241": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.on"
|
|
},
|
|
"242": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"243": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"244": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"246": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "type"
|
|
},
|
|
"247": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "filter"
|
|
},
|
|
"248": {
|
|
"sourceFileName": "",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"249": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"250": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"251": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"252": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"253": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.send"
|
|
},
|
|
"254": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.send"
|
|
},
|
|
"255": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "args"
|
|
},
|
|
"256": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"257": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.type"
|
|
},
|
|
"258": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"259": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.payload"
|
|
},
|
|
"260": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"262": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "opts"
|
|
},
|
|
"263": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"264": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"266": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.updateJoinPayload"
|
|
},
|
|
"267": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.updateJoinPayload"
|
|
},
|
|
"268": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "payload"
|
|
},
|
|
"269": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"270": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"272": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.unsubscribe"
|
|
},
|
|
"273": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.unsubscribe"
|
|
},
|
|
"274": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "timeout"
|
|
},
|
|
"275": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.teardown"
|
|
},
|
|
"276": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "default.teardown"
|
|
},
|
|
"355": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimeChannelOptions"
|
|
},
|
|
"356": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"357": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.config"
|
|
},
|
|
"358": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"359": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.broadcast"
|
|
},
|
|
"360": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"361": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.self"
|
|
},
|
|
"362": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.ack"
|
|
},
|
|
"363": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.presence"
|
|
},
|
|
"364": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"365": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.key"
|
|
},
|
|
"366": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.enabled"
|
|
},
|
|
"367": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.private"
|
|
},
|
|
"368": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimeChannelSendResponse"
|
|
},
|
|
"369": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"370": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.__constructor"
|
|
},
|
|
"371": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default"
|
|
},
|
|
"372": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "endPoint"
|
|
},
|
|
"373": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "options"
|
|
},
|
|
"374": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.accessTokenValue"
|
|
},
|
|
"375": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.apiKey"
|
|
},
|
|
"376": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.channels"
|
|
},
|
|
"377": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.endPoint"
|
|
},
|
|
"378": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.httpEndpoint"
|
|
},
|
|
"379": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.headers"
|
|
},
|
|
"380": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"381": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"383": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.params"
|
|
},
|
|
"384": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"385": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"387": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.timeout"
|
|
},
|
|
"388": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.transport"
|
|
},
|
|
"389": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.heartbeatIntervalMs"
|
|
},
|
|
"390": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.heartbeatTimer"
|
|
},
|
|
"391": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.pendingHeartbeatRef"
|
|
},
|
|
"392": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.heartbeatCallback"
|
|
},
|
|
"393": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"394": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"395": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "status"
|
|
},
|
|
"396": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.ref"
|
|
},
|
|
"397": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.reconnectTimer"
|
|
},
|
|
"398": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.logger"
|
|
},
|
|
"399": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.logLevel"
|
|
},
|
|
"400": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.encode"
|
|
},
|
|
"401": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.decode"
|
|
},
|
|
"402": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.reconnectAfterMs"
|
|
},
|
|
"403": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.conn"
|
|
},
|
|
"404": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.sendBuffer"
|
|
},
|
|
"405": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.serializer"
|
|
},
|
|
"406": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.stateChangeCallbacks"
|
|
},
|
|
"407": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"408": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.open"
|
|
},
|
|
"409": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.close"
|
|
},
|
|
"410": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.error"
|
|
},
|
|
"411": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.message"
|
|
},
|
|
"412": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.fetch"
|
|
},
|
|
"413": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "fetch"
|
|
},
|
|
"414": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "fetch"
|
|
},
|
|
"415": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "input"
|
|
},
|
|
"416": {
|
|
"sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts",
|
|
"qualifiedName": "init"
|
|
},
|
|
"417": {
|
|
"sourceFileName": "node_modules/@types/node/globals.d.ts",
|
|
"qualifiedName": "fetch"
|
|
},
|
|
"418": {
|
|
"sourceFileName": "node_modules/@types/node/globals.d.ts",
|
|
"qualifiedName": "input"
|
|
},
|
|
"419": {
|
|
"sourceFileName": "node_modules/@types/node/globals.d.ts",
|
|
"qualifiedName": "init"
|
|
},
|
|
"420": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.accessToken"
|
|
},
|
|
"421": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"422": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"423": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.worker"
|
|
},
|
|
"424": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.workerUrl"
|
|
},
|
|
"425": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.workerRef"
|
|
},
|
|
"426": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.connect"
|
|
},
|
|
"427": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.connect"
|
|
},
|
|
"428": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.endpointURL"
|
|
},
|
|
"429": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.endpointURL"
|
|
},
|
|
"430": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.disconnect"
|
|
},
|
|
"431": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.disconnect"
|
|
},
|
|
"432": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "code"
|
|
},
|
|
"433": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "reason"
|
|
},
|
|
"434": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.getChannels"
|
|
},
|
|
"435": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.getChannels"
|
|
},
|
|
"436": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.removeChannel"
|
|
},
|
|
"437": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.removeChannel"
|
|
},
|
|
"438": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "channel"
|
|
},
|
|
"439": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.removeAllChannels"
|
|
},
|
|
"440": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.removeAllChannels"
|
|
},
|
|
"441": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.log"
|
|
},
|
|
"442": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.log"
|
|
},
|
|
"443": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "kind"
|
|
},
|
|
"444": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "msg"
|
|
},
|
|
"445": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "data"
|
|
},
|
|
"446": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.connectionState"
|
|
},
|
|
"447": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.connectionState"
|
|
},
|
|
"448": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.isConnected"
|
|
},
|
|
"449": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.isConnected"
|
|
},
|
|
"450": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.channel"
|
|
},
|
|
"451": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.channel"
|
|
},
|
|
"452": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "topic"
|
|
},
|
|
"453": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "params"
|
|
},
|
|
"454": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.push"
|
|
},
|
|
"455": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.push"
|
|
},
|
|
"456": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "data"
|
|
},
|
|
"457": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.setAuth"
|
|
},
|
|
"458": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.setAuth"
|
|
},
|
|
"459": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "token"
|
|
},
|
|
"460": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.sendHeartbeat"
|
|
},
|
|
"461": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.sendHeartbeat"
|
|
},
|
|
"462": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.onHeartbeat"
|
|
},
|
|
"463": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.onHeartbeat"
|
|
},
|
|
"464": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "callback"
|
|
},
|
|
"465": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"466": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"467": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "status"
|
|
},
|
|
"468": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.flushSendBuffer"
|
|
},
|
|
"469": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "default.flushSendBuffer"
|
|
},
|
|
"526": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "RealtimeClientOptions"
|
|
},
|
|
"527": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"528": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.transport"
|
|
},
|
|
"529": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.timeout"
|
|
},
|
|
"530": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.heartbeatIntervalMs"
|
|
},
|
|
"531": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.logger"
|
|
},
|
|
"532": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.encode"
|
|
},
|
|
"533": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.decode"
|
|
},
|
|
"534": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.reconnectAfterMs"
|
|
},
|
|
"535": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.headers"
|
|
},
|
|
"536": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"537": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"539": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.params"
|
|
},
|
|
"540": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"541": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"543": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.log_level"
|
|
},
|
|
"544": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.logLevel"
|
|
},
|
|
"545": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.fetch"
|
|
},
|
|
"546": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.worker"
|
|
},
|
|
"547": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.workerUrl"
|
|
},
|
|
"548": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.accessToken"
|
|
},
|
|
"549": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"550": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"551": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "RealtimeMessage"
|
|
},
|
|
"552": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"553": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.topic"
|
|
},
|
|
"554": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"555": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.payload"
|
|
},
|
|
"556": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.ref"
|
|
},
|
|
"557": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "__type.join_ref"
|
|
},
|
|
"558": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresChangesFilter"
|
|
},
|
|
"559": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"560": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"561": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.schema"
|
|
},
|
|
"562": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.table"
|
|
},
|
|
"563": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.filter"
|
|
},
|
|
"564": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"565": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresChangesPayload"
|
|
},
|
|
"566": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"567": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"568": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"570": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresInsertPayload"
|
|
},
|
|
"571": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"572": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.eventType"
|
|
},
|
|
"573": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.new"
|
|
},
|
|
"574": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.old"
|
|
},
|
|
"575": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"576": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"577": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"578": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"580": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresUpdatePayload"
|
|
},
|
|
"581": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"582": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.eventType"
|
|
},
|
|
"583": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.new"
|
|
},
|
|
"584": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.old"
|
|
},
|
|
"585": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"586": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"587": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"589": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "RealtimePostgresDeletePayload"
|
|
},
|
|
"590": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"591": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.eventType"
|
|
},
|
|
"592": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.new"
|
|
},
|
|
"593": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"594": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.old"
|
|
},
|
|
"595": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"596": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"597": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"599": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "RealtimePresenceJoinPayload"
|
|
},
|
|
"600": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"601": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"602": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.key"
|
|
},
|
|
"603": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.currentPresences"
|
|
},
|
|
"604": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.newPresences"
|
|
},
|
|
"605": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"606": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"607": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"609": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "RealtimePresenceLeavePayload"
|
|
},
|
|
"610": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"611": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.event"
|
|
},
|
|
"612": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.key"
|
|
},
|
|
"613": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.currentPresences"
|
|
},
|
|
"614": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.leftPresences"
|
|
},
|
|
"615": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"616": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"617": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"619": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "RealtimePresenceState"
|
|
},
|
|
"620": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"621": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"623": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "T"
|
|
},
|
|
"624": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"625": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type.__index"
|
|
},
|
|
"627": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "__type"
|
|
},
|
|
"628": {
|
|
"sourceFileName": "src/RealtimeClient.ts",
|
|
"qualifiedName": "RealtimeRemoveChannelResponse"
|
|
},
|
|
"629": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_LISTEN_TYPES"
|
|
},
|
|
"630": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_LISTEN_TYPES.BROADCAST"
|
|
},
|
|
"631": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_LISTEN_TYPES.PRESENCE"
|
|
},
|
|
"632": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_LISTEN_TYPES.POSTGRES_CHANGES"
|
|
},
|
|
"633": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_LISTEN_TYPES.SYSTEM"
|
|
},
|
|
"634": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT"
|
|
},
|
|
"635": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.ALL"
|
|
},
|
|
"636": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.INSERT"
|
|
},
|
|
"637": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.UPDATE"
|
|
},
|
|
"638": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_POSTGRES_CHANGES_LISTEN_EVENT.DELETE"
|
|
},
|
|
"639": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS"
|
|
},
|
|
"640": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.SYNC"
|
|
},
|
|
"641": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.JOIN"
|
|
},
|
|
"642": {
|
|
"sourceFileName": "src/RealtimePresence.ts",
|
|
"qualifiedName": "REALTIME_PRESENCE_LISTEN_EVENTS.LEAVE"
|
|
},
|
|
"643": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_SUBSCRIBE_STATES"
|
|
},
|
|
"644": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_SUBSCRIBE_STATES.SUBSCRIBED"
|
|
},
|
|
"645": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_SUBSCRIBE_STATES.TIMED_OUT"
|
|
},
|
|
"646": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_SUBSCRIBE_STATES.CLOSED"
|
|
},
|
|
"647": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_SUBSCRIBE_STATES.CHANNEL_ERROR"
|
|
},
|
|
"648": {
|
|
"sourceFileName": "src/RealtimeChannel.ts",
|
|
"qualifiedName": "REALTIME_CHANNEL_STATES"
|
|
}
|
|
},
|
|
"files": {
|
|
"entries": {
|
|
"1": "src/index.ts"
|
|
},
|
|
"reflections": {
|
|
"1": 0
|
|
}
|
|
}
|
|
}
|