Files
supabase/web/spec/postgrest.json
T
2021-05-24 05:22:23 +00:00

10605 lines
363 KiB
JSON

{
"id": 0,
"name": "@supabase/postgrest-js",
"kind": 0,
"flags": {},
"originalName": "",
"children": [
{
"id": 420,
"name": "\"PostgrestClient\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
"children": [
{
"id": 421,
"name": "PostgrestClient",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"children": [
{
"id": 428,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Creates a PostgREST client."
},
"signatures": [
{
"id": 429,
"name": "new PostgrestClient",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Creates a PostgREST client."
},
"parameters": [
{
"id": 430,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"shortText": "URL of the PostgREST endpoint."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 431,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 432,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 433,
"name": "headers",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "Custom headers."
},
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 19,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 434,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 435,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 436,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
},
{
"id": 437,
"name": "schema",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "Postgres schema to switch to.\n"
},
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 19,
"character": 26
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [433, 437]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 18,
"character": 16
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 421,
"name": "PostgrestClient"
}
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 8,
"character": 17
}
]
},
{
"id": 423,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 7,
"character": 9
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 424,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 425,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 426,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 7,
"character": 10
}
]
}
}
},
{
"id": 427,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 8,
"character": 8
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 422,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 6,
"character": 5
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 438,
"name": "auth",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 439,
"name": "auth",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Authenticates the request with JWT."
},
"parameters": [
{
"id": 440,
"name": "token",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The JWT token to use.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 31,
"character": 6
}
]
},
{
"id": 441,
"name": "from",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 442,
"name": "from",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Perform a table operation."
},
"typeParameter": [
{
"id": 443,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"parameters": [
{
"id": 444,
"name": "table",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The table name to operate on.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "reference",
"id": 306,
"typeArguments": [
{
"type": "typeParameter",
"name": "T",
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"name": "PostgrestQueryBuilder"
}
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 41,
"character": 6
}
]
},
{
"id": 445,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 446,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Perform a stored procedure call."
},
"typeParameter": [
{
"id": 447,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"parameters": [
{
"id": 448,
"name": "fn",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The function name to call."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 449,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"comment": {
"text": "The parameters to pass to the function call."
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "object"
}
]
}
},
{
"id": 450,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 451,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 452,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "Count algorithm to use to count rows in a table.\n"
},
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 57,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
},
"defaultValue": "null"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [452]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 55,
"character": 20
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T",
"default": {
"type": "intrinsic",
"name": "any"
}
}
],
"name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 53,
"character": 5
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [428]
},
{
"title": "Properties",
"kind": 1024,
"children": [423, 427, 422]
},
{
"title": "Methods",
"kind": 2048,
"children": [438, 441, 445]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 5,
"character": 36
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [421]
}
],
"sources": [
{
"fileName": "PostgrestClient.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 453,
"name": "\"index\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/index.ts",
"sources": [
{
"fileName": "index.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 114,
"name": "\"lib/PostgrestFilterBuilder\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts",
"children": [
{
"id": 115,
"name": "PostgrestFilterBuilder",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 116,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"children": [
{
"id": 289,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 290,
"name": "new PostgrestFilterBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 291,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 27,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestBuilder"
}
}
],
"type": {
"type": "reference",
"id": 115,
"name": "PostgrestFilterBuilder"
},
"inheritedFrom": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 44
}
],
"inheritedFrom": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
"id": 202,
"name": "adj",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `rangeAdjacent()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 306,
"character": 5
}
],
"type": {
"type": "reference",
"id": 198,
"name": "rangeAdjacent"
},
"defaultValue": "this.rangeAdjacent"
},
{
"id": 288,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 36,
"name": "PostgrestBuilder.body"
}
},
{
"id": 177,
"name": "cd",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `containedBy()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 231,
"character": 4
}
],
"type": {
"type": "reference",
"id": 173,
"name": "containedBy"
},
"defaultValue": "this.containedBy"
},
{
"id": 172,
"name": "cs",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `contains()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 207,
"character": 4
}
],
"type": {
"type": "reference",
"id": 168,
"name": "contains"
},
"defaultValue": "this.contains"
},
{
"id": 283,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 284,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 285,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 286,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 21
}
]
}
},
"inheritedFrom": {
"type": "reference",
"id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
"id": 281,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 51,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "GET"
},
{
"type": "stringLiteral",
"value": "HEAD"
},
{
"type": "stringLiteral",
"value": "POST"
},
{
"type": "stringLiteral",
"value": "PATCH"
},
{
"type": "stringLiteral",
"value": "DELETE"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 29,
"name": "PostgrestBuilder.method"
}
},
{
"id": 192,
"name": "nxl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `rangeGte()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 276,
"character": 5
}
],
"type": {
"type": "reference",
"id": 188,
"name": "rangeGte"
},
"defaultValue": "this.rangeGte"
},
{
"id": 197,
"name": "nxr",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `rangeLte()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 291,
"character": 5
}
],
"type": {
"type": "reference",
"id": 193,
"name": "rangeLte"
},
"defaultValue": "this.rangeLte"
},
{
"id": 207,
"name": "ov",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `overlaps()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 327,
"character": 4
}
],
"type": {
"type": "reference",
"id": 203,
"name": "overlaps"
},
"defaultValue": "this.overlaps"
},
{
"id": 287,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 54,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
"id": 182,
"name": "sl",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `rangeLt()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 246,
"character": 4
}
],
"type": {
"type": "reference",
"id": 178,
"name": "rangeLt"
},
"defaultValue": "this.rangeLt"
},
{
"id": 187,
"name": "sr",
"kind": 1024,
"kindString": "Property",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `rangeGt()` instead."
}
]
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 261,
"character": 4
}
],
"type": {
"type": "reference",
"id": 183,
"name": "rangeGt"
},
"defaultValue": "this.rangeGt"
},
{
"id": 282,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 52,
"character": 15
}
],
"type": {
"type": "reference",
"name": "URL"
},
"inheritedFrom": {
"type": "reference",
"id": 30,
"name": "PostgrestBuilder.url"
}
},
{
"id": 173,
"name": "containedBy",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 174,
"name": "containedBy",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose json, array, or range value on the stated `column` is\ncontained by the specified `value`."
},
"parameters": [
{
"id": 175,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 176,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"type": "intrinsic",
"name": "object"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 216,
"character": 13
}
]
},
{
"id": 168,
"name": "contains",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 169,
"name": "contains",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose json, array, or range value on the stated `column`\ncontains the values specified in `value`."
},
"parameters": [
{
"id": 170,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 171,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"type": "intrinsic",
"name": "object"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 191,
"character": 10
}
]
},
{
"id": 128,
"name": "eq",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 129,
"name": "eq",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value on the stated `column` exactly matches the\nspecified `value`."
},
"parameters": [
{
"id": 130,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 131,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 63,
"character": 4
}
]
},
{
"id": 244,
"name": "filter",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 245,
"name": "filter",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose `column` satisfies the filter."
},
"parameters": [
{
"id": 246,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 247,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The operator to filter with."
},
"type": {
"type": "reference",
"id": 304,
"name": "FilterOperator"
}
},
{
"id": 248,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 430,
"character": 8
}
]
},
{
"id": 216,
"name": "fts",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 217,
"name": "fts",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose tsvector value on the stated `column` matches\nto_tsquery(`query`).",
"tags": [
{
"tag": "deprecated",
"text": "Use `textSearch()` instead.\n"
}
]
},
"parameters": [
{
"id": 218,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 219,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The Postgres tsquery string to filter with."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 220,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 221,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 222,
"name": "config",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The text search configuration to use.\n"
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 369,
"character": 46
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [222]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 369,
"character": 37
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 369,
"character": 5
}
]
},
{
"id": 136,
"name": "gt",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 137,
"name": "gt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value on the stated `column` is greater than the\nspecified `value`."
},
"parameters": [
{
"id": 138,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 139,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 87,
"character": 4
}
]
},
{
"id": 140,
"name": "gte",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 141,
"name": "gte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value on the stated `column` is greater than or\nequal to the specified `value`."
},
"parameters": [
{
"id": 142,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 143,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 99,
"character": 5
}
]
},
{
"id": 156,
"name": "ilike",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 157,
"name": "ilike",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case insensitive)."
},
"parameters": [
{
"id": 158,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 159,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The pattern to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 147,
"character": 7
}
]
},
{
"id": 164,
"name": "in",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 165,
"name": "in",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value on the stated `column` is found on the\nspecified `values`."
},
"parameters": [
{
"id": 166,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 167,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The values to filter with.\n"
},
"type": {
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 171,
"character": 4
}
]
},
{
"id": 160,
"name": "is",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 161,
"name": "is",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "A check for exact equality (null, true, false), finds all rows whose\nvalue on the stated `column` exactly match the specified `value`."
},
"parameters": [
{
"id": 162,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 163,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "boolean"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 159,
"character": 4
}
]
},
{
"id": 152,
"name": "like",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 153,
"name": "like",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value in the stated `column` matches the supplied\n`pattern` (case sensitive)."
},
"parameters": [
{
"id": 154,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 155,
"name": "pattern",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The pattern to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 135,
"character": 6
}
]
},
{
"id": 266,
"name": "limit",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 267,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Limits the result with the specified `count`."
},
"parameters": [
{
"id": 268,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The maximum no. of rows to limit to."
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 269,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 270,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 271,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The foreign table to use (for foreign columns).\n"
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 66,
"character": 37
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [271]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 66,
"character": 22
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"inheritedFrom": {
"type": "reference",
"id": 76,
"name": "PostgrestTransformBuilder.limit"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 66,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
"id": 76,
"name": "PostgrestTransformBuilder.limit"
}
},
{
"id": 144,
"name": "lt",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 145,
"name": "lt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value on the stated `column` is less than the\nspecified `value`."
},
"parameters": [
{
"id": 146,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 147,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 111,
"character": 4
}
]
},
{
"id": 148,
"name": "lte",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 149,
"name": "lte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value on the stated `column` is less than or equal\nto the specified `value`."
},
"parameters": [
{
"id": 150,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 151,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 123,
"character": 5
}
]
},
{
"id": 249,
"name": "match",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 250,
"name": "match",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose columns match the specified `query` object."
},
"parameters": [
{
"id": 251,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The object to filter with, with column names as keys mapped\n to their filter values.\n"
},
"type": {
"type": "reflection",
"declaration": {
"id": 252,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 253,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 254,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 441,
"character": 14
}
]
}
}
}
],
"type": {
"type": "unknown",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 441,
"character": 7
}
]
},
{
"id": 132,
"name": "neq",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 133,
"name": "neq",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose value on the stated `column` doesn't match the\nspecified `value`."
},
"parameters": [
{
"id": 134,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 135,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 75,
"character": 5
}
]
},
{
"id": 117,
"name": "not",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 118,
"name": "not",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows which doesn't satisfy the filter."
},
"parameters": [
{
"id": 119,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 120,
"name": "operator",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The operator to filter with."
},
"type": {
"type": "reference",
"id": 304,
"name": "FilterOperator"
}
},
{
"id": 121,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 39,
"character": 5
}
]
},
{
"id": 122,
"name": "or",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 123,
"name": "or",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows satisfying at least one of the filters."
},
"parameters": [
{
"id": 124,
"name": "filters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The filters to use, separated by commas."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 125,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 126,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 127,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The foreign table to use (if `column` is a foreign column).\n"
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 50,
"character": 36
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [127]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 50,
"character": 21
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 50,
"character": 4
}
]
},
{
"id": 258,
"name": "order",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 259,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Orders the result with the specified `column`."
},
"parameters": [
{
"id": 260,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to order on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 261,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 262,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 263,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "If `true`, the result will be in ascending order."
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 43,
"character": 15
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
},
{
"id": 265,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The foreign table to use (if `column` is a foreign column).\n"
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 45,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 264,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "If `true`, `null`s appear first."
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 44,
"character": 16
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "false"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [263, 265, 264]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 41,
"character": 20
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"inheritedFrom": {
"type": "reference",
"id": 68,
"name": "PostgrestTransformBuilder.order"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 40,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
"id": 68,
"name": "PostgrestTransformBuilder.order"
}
},
{
"id": 203,
"name": "overlaps",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 204,
"name": "overlaps",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose array or range value on the stated `column` overlaps\n(has a value in common) with the specified `value`."
},
"parameters": [
{
"id": 205,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 206,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The value to filter with.\n"
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "string"
},
{
"type": "array",
"elementType": {
"type": "indexedAccess",
"indexType": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
},
"objectType": {
"type": "typeParameter",
"name": "T"
}
}
}
]
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 315,
"character": 10
}
]
},
{
"id": 230,
"name": "phfts",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 231,
"name": "phfts",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose tsvector value on the stated `column` matches\nphraseto_tsquery(`query`).",
"tags": [
{
"tag": "deprecated",
"text": "Use `textSearch()` with `type: 'phrase'` instead.\n"
}
]
},
"parameters": [
{
"id": 232,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 233,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The Postgres tsquery string to filter with."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 234,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 235,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 236,
"name": "config",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The text search configuration to use.\n"
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 401,
"character": 48
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [236]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 401,
"character": 39
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 401,
"character": 7
}
]
},
{
"id": 223,
"name": "plfts",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 224,
"name": "plfts",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose tsvector value on the stated `column` matches\nplainto_tsquery(`query`).",
"tags": [
{
"tag": "deprecated",
"text": "Use `textSearch()` with `type: 'plain'` instead.\n"
}
]
},
"parameters": [
{
"id": 225,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 226,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The Postgres tsquery string to filter with."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 227,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 228,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 229,
"name": "config",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The text search configuration to use.\n"
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 385,
"character": 48
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [229]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 385,
"character": 39
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 385,
"character": 7
}
]
},
{
"id": 272,
"name": "range",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 273,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Limits the result to rows within the specified range, inclusive."
},
"parameters": [
{
"id": 274,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The starting index from which to limit the result, inclusive."
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 275,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The last index to which to limit the result, inclusive."
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 276,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 277,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 278,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The foreign table to use (for foreign columns).\n"
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 79,
"character": 48
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [278]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 79,
"character": 33
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"inheritedFrom": {
"type": "reference",
"id": 82,
"name": "PostgrestTransformBuilder.range"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 79,
"character": 7
}
],
"inheritedFrom": {
"type": "reference",
"id": 82,
"name": "PostgrestTransformBuilder.range"
}
},
{
"id": 198,
"name": "rangeAdjacent",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 199,
"name": "rangeAdjacent",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose range value on the stated `column` is adjacent to\nthe specified `range`."
},
"parameters": [
{
"id": 200,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 201,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 300,
"character": 15
}
]
},
{
"id": 183,
"name": "rangeGt",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 184,
"name": "rangeGt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose range value on the stated `column` is strictly to\nthe right of the specified `range`."
},
"parameters": [
{
"id": 185,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 186,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 255,
"character": 9
}
]
},
{
"id": 188,
"name": "rangeGte",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 189,
"name": "rangeGte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the left of the specified `range`."
},
"parameters": [
{
"id": 190,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 191,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 270,
"character": 10
}
]
},
{
"id": 178,
"name": "rangeLt",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 179,
"name": "rangeLt",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose range value on the stated `column` is strictly to the\nleft of the specified `range`."
},
"parameters": [
{
"id": 180,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 181,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 240,
"character": 9
}
]
},
{
"id": 193,
"name": "rangeLte",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 194,
"name": "rangeLte",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose range value on the stated `column` does not extend\nto the right of the specified `range`."
},
"parameters": [
{
"id": 195,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 196,
"name": "range",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The range to filter with.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 285,
"character": 10
}
]
},
{
"id": 255,
"name": "select",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 256,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Performs vertical filtering with SELECT."
},
"parameters": [
{
"id": 257,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The columns to retrieve, separated by commas.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"*\""
}
],
"type": {
"type": "intrinsic",
"name": "this"
},
"inheritedFrom": {
"type": "reference",
"id": 65,
"name": "PostgrestTransformBuilder.select"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 13,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
"id": 65,
"name": "PostgrestTransformBuilder.select"
}
},
{
"id": 279,
"name": "single",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 280,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error."
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 60,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestSingleResponse"
}
],
"name": "PromiseLike"
},
"inheritedFrom": {
"type": "reference",
"id": 89,
"name": "PostgrestTransformBuilder.single"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 92,
"character": 8
}
],
"inheritedFrom": {
"type": "reference",
"id": 89,
"name": "PostgrestTransformBuilder.single"
}
},
{
"id": 208,
"name": "textSearch",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 209,
"name": "textSearch",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose text or tsvector value on the stated `column` matches\nthe tsquery in `query`."
},
"parameters": [
{
"id": 210,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 211,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The Postgres tsquery string to filter with."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 212,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 213,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 214,
"name": "config",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The text search configuration to use."
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 342,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 215,
"name": "type",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The type of tsquery conversion to use on `query`.\n"
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 343,
"character": 10
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "plain"
},
{
"type": "stringLiteral",
"value": "phrase"
},
{
"type": "stringLiteral",
"value": "websearch"
}
]
},
"defaultValue": "null"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [214, 215]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 340,
"character": 18
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 338,
"character": 12
}
]
},
{
"id": 292,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 293,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 294,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
},
{
"id": 295,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"parameters": [
{
"id": 296,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 297,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 298,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 299,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 63,
"character": 9
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 300,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 301,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 302,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 303,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 66,
"character": 18
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
]
}
],
"name": "PromiseLike"
},
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 61,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
},
{
"id": 237,
"name": "wfts",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 238,
"name": "wfts",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Finds all rows whose tsvector value on the stated `column` matches\nwebsearch_to_tsquery(`query`).",
"tags": [
{
"tag": "deprecated",
"text": "Use `textSearch()` with `type: 'websearch'` instead.\n"
}
]
},
"parameters": [
{
"id": 239,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to filter on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 240,
"name": "query",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The Postgres tsquery string to filter with."
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 241,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 242,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 243,
"name": "config",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The text search configuration to use.\n"
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 417,
"character": 47
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [243]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 417,
"character": 38
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 417,
"character": 6
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [289]
},
{
"title": "Properties",
"kind": 1024,
"children": [202, 288, 177, 172, 283, 281, 192, 197, 207, 287, 182, 187, 282]
},
{
"title": "Methods",
"kind": 2048,
"children": [
173, 168, 128, 244, 216, 136, 140, 156, 164, 160, 152, 266, 144, 148, 249, 132, 117,
122, 258, 203, 230, 223, 272, 198, 183, 188, 178, 193, 255, 279, 208, 292, 237
]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 31,
"character": 43
}
],
"extendedTypes": [
{
"type": "reference",
"id": 63,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestTransformBuilder"
}
],
"implementedTypes": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
],
"name": "PromiseLike"
}
]
},
{
"id": 304,
"name": "FilterOperator",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"shortText": "Filters"
},
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 7,
"character": 19
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "eq"
},
{
"type": "stringLiteral",
"value": "neq"
},
{
"type": "stringLiteral",
"value": "gt"
},
{
"type": "stringLiteral",
"value": "gte"
},
{
"type": "stringLiteral",
"value": "lt"
},
{
"type": "stringLiteral",
"value": "lte"
},
{
"type": "stringLiteral",
"value": "like"
},
{
"type": "stringLiteral",
"value": "ilike"
},
{
"type": "stringLiteral",
"value": "is"
},
{
"type": "stringLiteral",
"value": "in"
},
{
"type": "stringLiteral",
"value": "cs"
},
{
"type": "stringLiteral",
"value": "cd"
},
{
"type": "stringLiteral",
"value": "sl"
},
{
"type": "stringLiteral",
"value": "sr"
},
{
"type": "stringLiteral",
"value": "nxl"
},
{
"type": "stringLiteral",
"value": "nxr"
},
{
"type": "stringLiteral",
"value": "adj"
},
{
"type": "stringLiteral",
"value": "ov"
},
{
"type": "stringLiteral",
"value": "fts"
},
{
"type": "stringLiteral",
"value": "plfts"
},
{
"type": "stringLiteral",
"value": "phfts"
},
{
"type": "stringLiteral",
"value": "wfts"
}
]
}
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [115]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [304]
}
],
"sources": [
{
"fileName": "lib/PostgrestFilterBuilder.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 305,
"name": "\"lib/PostgrestQueryBuilder\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts",
"children": [
{
"id": 306,
"name": "PostgrestQueryBuilder",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 307,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"children": [
{
"id": 308,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 309,
"name": "new PostgrestQueryBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 310,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 311,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 312,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 313,
"name": "headers",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 7,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 314,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 315,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 316,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
},
{
"id": 317,
"name": "schema",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 7,
"character": 26
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [313, 317]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 6,
"character": 16
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 306,
"name": "PostgrestQueryBuilder"
},
"overwrites": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 4,
"character": 75
}
],
"overwrites": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
"id": 368,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 36,
"name": "PostgrestBuilder.body"
}
},
{
"id": 363,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 364,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 365,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 366,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 21
}
]
}
},
"inheritedFrom": {
"type": "reference",
"id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
"id": 361,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 51,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "GET"
},
{
"type": "stringLiteral",
"value": "HEAD"
},
{
"type": "stringLiteral",
"value": "POST"
},
{
"type": "stringLiteral",
"value": "PATCH"
},
{
"type": "stringLiteral",
"value": "DELETE"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 29,
"name": "PostgrestBuilder.method"
}
},
{
"id": 367,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 54,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
"id": 362,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 52,
"character": 15
}
],
"type": {
"type": "reference",
"name": "URL"
},
"inheritedFrom": {
"type": "reference",
"id": 30,
"name": "PostgrestBuilder.url"
}
},
{
"id": 355,
"name": "delete",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 356,
"name": "delete",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Performs a DELETE on the table."
},
"parameters": [
{
"id": 357,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__0",
"type": {
"type": "reflection",
"declaration": {
"id": 358,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 360,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "Count algorithm to use to count rows in a table.\n"
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 191,
"character": 9
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
},
"defaultValue": "null"
},
{
"id": 359,
"name": "returning",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "If `true`, return the deleted row(s) in the response."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 190,
"character": 13
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "minimal"
},
{
"type": "stringLiteral",
"value": "representation"
}
]
},
"defaultValue": "\"representation\""
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [360, 359]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 189,
"character": 9
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 189,
"character": 8
}
]
},
{
"id": 325,
"name": "insert",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 326,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Performs an INSERT into the table."
},
"parameters": [
{
"id": 327,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The values to insert."
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
}
},
{
"id": 328,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 329,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 331,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 68,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
}
},
{
"id": 330,
"name": "returning",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 67,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "minimal"
},
{
"type": "stringLiteral",
"value": "representation"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [331, 330]
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestFilterBuilder"
}
},
{
"id": 332,
"name": "insert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"tags": [
{
"tag": "deprecated",
"text": "Use `upsert()` instead.\n"
}
]
},
"parameters": [
{
"id": 333,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
}
},
{
"id": 334,
"name": "options",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "reflection",
"declaration": {
"id": 335,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 339,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 80,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
}
},
{
"id": 337,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 78,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 338,
"name": "returning",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 79,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "minimal"
},
{
"type": "stringLiteral",
"value": "representation"
}
]
}
},
{
"id": 336,
"name": "upsert",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 77,
"character": 12
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "false"
},
{
"type": "intrinsic",
"name": "true"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [339, 337, 338, 336]
}
]
}
}
]
}
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 64,
"character": 8
},
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 74,
"character": 8
},
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 83,
"character": 8
}
]
},
{
"id": 318,
"name": "select",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 319,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Performs vertical filtering with SELECT."
},
"parameters": [
{
"id": 320,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The columns to retrieve, separated by commas."
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"*\""
},
{
"id": 321,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 322,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 324,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "Count algorithm to use to count rows in a table.\n"
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 26,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
},
"defaultValue": "null"
},
{
"id": 323,
"name": "head",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "When set to true, select will void data."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 25,
"character": 10
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "false"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [324, 323]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 23,
"character": 18
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 22,
"character": 8
}
]
},
{
"id": 369,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 370,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 371,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
},
{
"id": 372,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"parameters": [
{
"id": 373,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 374,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 375,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 376,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 63,
"character": 9
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 377,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 378,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 379,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 380,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 66,
"character": 18
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
]
}
],
"name": "PromiseLike"
},
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 61,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
},
{
"id": 348,
"name": "update",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 349,
"name": "update",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Performs an UPDATE on the table."
},
"parameters": [
{
"id": 350,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The values to update."
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
},
{
"id": 351,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 352,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 354,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "Count algorithm to use to count rows in a table.\n"
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 167,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
},
"defaultValue": "null"
},
{
"id": 353,
"name": "returning",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "By default the updated record is returned. Set this to 'minimal' if you don't need this value."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 166,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "minimal"
},
{
"type": "stringLiteral",
"value": "representation"
}
]
},
"defaultValue": "\"representation\""
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [354, 353]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 164,
"character": 23
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 163,
"character": 8
}
]
},
{
"id": 340,
"name": "upsert",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 341,
"name": "upsert",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Performs an UPSERT into the table."
},
"parameters": [
{
"id": 342,
"name": "values",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The values to insert."
},
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
}
},
{
"id": 343,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 344,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 347,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "Count algorithm to use to count rows in a table.\n"
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 134,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
},
"defaultValue": "null"
},
{
"id": 345,
"name": "onConflict",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 132,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 346,
"name": "returning",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "By default the new record is returned. Set this to 'minimal' if you don't need this value."
},
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 133,
"character": 15
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "minimal"
},
{
"type": "stringLiteral",
"value": "representation"
}
]
},
"defaultValue": "\"representation\""
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [347, 345, 346]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 130,
"character": 38
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 129,
"character": 8
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [308]
},
{
"title": "Properties",
"kind": 1024,
"children": [368, 363, 361, 367, 362]
},
{
"title": "Methods",
"kind": 2048,
"children": [355, 325, 318, 369, 348, 340]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 4,
"character": 42
}
],
"extendedTypes": [
{
"type": "reference",
"id": 27,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestBuilder"
}
],
"implementedTypes": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
],
"name": "PromiseLike"
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [306]
}
],
"sources": [
{
"fileName": "lib/PostgrestQueryBuilder.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 381,
"name": "\"lib/PostgrestRpcBuilder\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts",
"children": [
{
"id": 382,
"name": "PostgrestRpcBuilder",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 383,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"children": [
{
"id": 384,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 385,
"name": "new PostgrestRpcBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 386,
"name": "url",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 387,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 388,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 389,
"name": "headers",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 7,
"character": 13
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 390,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 391,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 392,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
]
}
}
},
{
"id": 393,
"name": "schema",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 7,
"character": 26
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [389, 393]
}
],
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 6,
"character": 16
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 382,
"name": "PostgrestRpcBuilder"
},
"overwrites": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 4,
"character": 73
}
],
"overwrites": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
"id": 407,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 36,
"name": "PostgrestBuilder.body"
}
},
{
"id": 402,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 403,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 404,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 405,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 21
}
]
}
},
"inheritedFrom": {
"type": "reference",
"id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
"id": 400,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 51,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "GET"
},
{
"type": "stringLiteral",
"value": "HEAD"
},
{
"type": "stringLiteral",
"value": "POST"
},
{
"type": "stringLiteral",
"value": "PATCH"
},
{
"type": "stringLiteral",
"value": "DELETE"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 29,
"name": "PostgrestBuilder.method"
}
},
{
"id": 406,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 54,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
"id": 401,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 52,
"character": 15
}
],
"type": {
"type": "reference",
"name": "URL"
},
"inheritedFrom": {
"type": "reference",
"id": 30,
"name": "PostgrestBuilder.url"
}
},
{
"id": 394,
"name": "rpc",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 395,
"name": "rpc",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Perform a stored procedure call."
},
"parameters": [
{
"id": 396,
"name": "params",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "object"
}
]
}
},
{
"id": 397,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 398,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 399,
"name": "count",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 21,
"character": 11
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "null"
},
{
"type": "stringLiteral",
"value": "exact"
},
{
"type": "stringLiteral",
"value": "planned"
},
{
"type": "stringLiteral",
"value": "estimated"
}
]
},
"defaultValue": "null"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [399]
}
],
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 19,
"character": 20
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "reference",
"id": 115,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestFilterBuilder"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 18,
"character": 5
}
]
},
{
"id": 408,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 409,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 410,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
},
{
"id": 411,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"parameters": [
{
"id": 412,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 413,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 414,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 415,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 63,
"character": 9
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 416,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 417,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 418,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 419,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 66,
"character": 18
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
]
}
],
"name": "PromiseLike"
},
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 61,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [384]
},
{
"title": "Properties",
"kind": 1024,
"children": [407, 402, 400, 406, 401]
},
{
"title": "Methods",
"kind": 2048,
"children": [394, 408]
}
],
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 4,
"character": 40
}
],
"extendedTypes": [
{
"type": "reference",
"id": 27,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestBuilder"
}
],
"implementedTypes": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
],
"name": "PromiseLike"
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [382]
}
],
"sources": [
{
"fileName": "lib/PostgrestRpcBuilder.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 62,
"name": "\"lib/PostgrestTransformBuilder\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestTransformBuilder.ts",
"children": [
{
"id": 63,
"name": "PostgrestTransformBuilder",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Post-filters (transforms)"
},
"typeParameter": [
{
"id": 64,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"children": [
{
"id": 99,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 100,
"name": "new PostgrestTransformBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 101,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 27,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestBuilder"
}
}
],
"type": {
"type": "reference",
"id": 63,
"name": "PostgrestTransformBuilder"
},
"inheritedFrom": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 44
}
],
"inheritedFrom": {
"type": "reference",
"id": 37,
"name": "PostgrestBuilder.__constructor"
}
},
{
"id": 98,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 36,
"name": "PostgrestBuilder.body"
}
},
{
"id": 93,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 94,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 95,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 96,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 21
}
]
}
},
"inheritedFrom": {
"type": "reference",
"id": 31,
"name": "PostgrestBuilder.headers"
}
},
{
"id": 91,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 51,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "GET"
},
{
"type": "stringLiteral",
"value": "HEAD"
},
{
"type": "stringLiteral",
"value": "POST"
},
{
"type": "stringLiteral",
"value": "PATCH"
},
{
"type": "stringLiteral",
"value": "DELETE"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 29,
"name": "PostgrestBuilder.method"
}
},
{
"id": 97,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 54,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
},
"inheritedFrom": {
"type": "reference",
"id": 35,
"name": "PostgrestBuilder.schema"
}
},
{
"id": 92,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 52,
"character": 15
}
],
"type": {
"type": "reference",
"name": "URL"
},
"inheritedFrom": {
"type": "reference",
"id": 30,
"name": "PostgrestBuilder.url"
}
},
{
"id": 76,
"name": "limit",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 77,
"name": "limit",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Limits the result with the specified `count`."
},
"parameters": [
{
"id": 78,
"name": "count",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The maximum no. of rows to limit to."
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 79,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 80,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 81,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The foreign table to use (for foreign columns).\n"
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 66,
"character": 37
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [81]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 66,
"character": 22
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 66,
"character": 7
}
]
},
{
"id": 68,
"name": "order",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 69,
"name": "order",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Orders the result with the specified `column`."
},
"parameters": [
{
"id": 70,
"name": "column",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The column to order on."
},
"type": {
"type": "typeOperator",
"operator": "keyof",
"target": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 71,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__1",
"type": {
"type": "reflection",
"declaration": {
"id": 72,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 73,
"name": "ascending",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "If `true`, the result will be in ascending order."
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 43,
"character": 15
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "true"
},
{
"id": 75,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The foreign table to use (if `column` is a foreign column).\n"
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 45,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 74,
"name": "nullsFirst",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "If `true`, `null`s appear first."
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 44,
"character": 16
}
],
"type": {
"type": "intrinsic",
"name": "boolean"
},
"defaultValue": "false"
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [73, 75, 74]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 41,
"character": 20
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 40,
"character": 7
}
]
},
{
"id": 82,
"name": "range",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 83,
"name": "range",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Limits the result to rows within the specified range, inclusive."
},
"parameters": [
{
"id": 84,
"name": "from",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The starting index from which to limit the result, inclusive."
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 85,
"name": "to",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The last index to which to limit the result, inclusive."
},
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 86,
"name": "__namedParameters",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"originalName": "__2",
"type": {
"type": "reflection",
"declaration": {
"id": 87,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"children": [
{
"id": 88,
"name": "foreignTable",
"kind": 32,
"kindString": "Variable",
"flags": {
"isExported": true
},
"comment": {
"text": "The foreign table to use (for foreign columns).\n"
},
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 79,
"character": 48
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [88]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 79,
"character": 33
}
]
}
},
"defaultValue": "{}"
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 79,
"character": 7
}
]
},
{
"id": 65,
"name": "select",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 66,
"name": "select",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Performs vertical filtering with SELECT."
},
"parameters": [
{
"id": 67,
"name": "columns",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"comment": {
"text": "The columns to retrieve, separated by commas.\n"
},
"type": {
"type": "intrinsic",
"name": "string"
},
"defaultValue": "\"*\""
}
],
"type": {
"type": "intrinsic",
"name": "this"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 13,
"character": 8
}
]
},
{
"id": 89,
"name": "single",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 90,
"name": "single",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"comment": {
"shortText": "Retrieves only one row from the result. Result must be one row (e.g. using\n`limit`), otherwise this will result in an error."
},
"type": {
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 60,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestSingleResponse"
}
],
"name": "PromiseLike"
}
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 92,
"character": 8
}
]
},
{
"id": 102,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 103,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 104,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
},
{
"id": 105,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"parameters": [
{
"id": 106,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 107,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 108,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 109,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 63,
"character": 9
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 110,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 111,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 112,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 113,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 66,
"character": 18
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
]
}
],
"name": "PromiseLike"
},
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 61,
"character": 6
}
],
"inheritedFrom": {
"type": "reference",
"id": 40,
"name": "PostgrestBuilder.then"
}
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [99]
},
{
"title": "Properties",
"kind": 1024,
"children": [98, 93, 91, 97, 92]
},
{
"title": "Methods",
"kind": 2048,
"children": [76, 68, 82, 65, 89, 102]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 7,
"character": 46
}
],
"extendedTypes": [
{
"type": "reference",
"id": 27,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestBuilder"
}
],
"extendedBy": [
{
"type": "reference",
"id": 115,
"name": "PostgrestFilterBuilder"
}
],
"implementedTypes": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
],
"name": "PromiseLike"
}
]
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [63]
}
],
"sources": [
{
"fileName": "lib/PostgrestTransformBuilder.ts",
"line": 1,
"character": 0
}
]
},
{
"id": 1,
"name": "\"lib/types\"",
"kind": 1,
"kindString": "Module",
"flags": {
"isExported": true
},
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/types.ts",
"children": [
{
"id": 27,
"name": "PostgrestBuilder",
"kind": 128,
"kindString": "Class",
"flags": {
"isExported": true,
"isAbstract": true
},
"typeParameter": [
{
"id": 28,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"children": [
{
"id": 37,
"name": "constructor",
"kind": 512,
"kindString": "Constructor",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 38,
"name": "new PostgrestBuilder",
"kind": 16384,
"kindString": "Constructor signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 39,
"name": "builder",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 27,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestBuilder"
}
}
],
"type": {
"type": "reference",
"id": 27,
"name": "PostgrestBuilder"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 44
}
]
},
{
"id": 36,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 55,
"character": 16
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
},
{
"type": "array",
"elementType": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "Partial"
}
}
]
}
},
{
"id": 31,
"name": "headers",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 32,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"indexSignature": [
{
"id": 33,
"name": "__index",
"kind": 8192,
"kindString": "Index signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 34,
"name": "key",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 53,
"character": 21
}
]
}
}
},
{
"id": 29,
"name": "method",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 51,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "stringLiteral",
"value": "GET"
},
{
"type": "stringLiteral",
"value": "HEAD"
},
{
"type": "stringLiteral",
"value": "POST"
},
{
"type": "stringLiteral",
"value": "PATCH"
},
{
"type": "stringLiteral",
"value": "DELETE"
}
]
}
},
{
"id": 35,
"name": "schema",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true,
"isOptional": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 54,
"character": 18
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "string"
}
]
}
},
{
"id": 30,
"name": "url",
"kind": 1024,
"kindString": "Property",
"flags": {
"isProtected": true,
"isExported": true
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 52,
"character": 15
}
],
"type": {
"type": "reference",
"name": "URL"
}
},
{
"id": 40,
"name": "then",
"kind": 2048,
"kindString": "Method",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 41,
"name": "then",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 42,
"name": "TResult1",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
},
{
"id": 43,
"name": "TResult2",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"parameters": [
{
"id": 44,
"name": "onfulfilled",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 45,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 46,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 47,
"name": "value",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 63,
"character": 9
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 48,
"name": "onrejected",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true,
"isOptional": true
},
"type": {
"type": "union",
"types": [
{
"type": "reflection",
"declaration": {
"id": 49,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {
"isExported": true
},
"signatures": [
{
"id": 50,
"name": "__call",
"kind": 4096,
"kindString": "Call signature",
"flags": {
"isExported": true
},
"parameters": [
{
"id": 51,
"name": "reason",
"kind": 32768,
"kindString": "Parameter",
"flags": {
"isExported": true
},
"type": {
"type": "intrinsic",
"name": "any"
}
}
],
"type": {
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
},
{
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
],
"name": "PromiseLike"
}
]
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 66,
"character": 18
}
]
}
},
{
"type": "intrinsic",
"name": "undefined"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
}
],
"type": {
"type": "reference",
"typeArguments": [
{
"type": "union",
"types": [
{
"type": "typeParameter",
"name": "TResult1",
"default": {
"type": "reference",
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
},
{
"type": "typeParameter",
"name": "TResult2",
"default": {
"type": "intrinsic",
"name": "never"
}
}
]
}
],
"name": "PromiseLike"
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 61,
"character": 6
}
]
}
],
"groups": [
{
"title": "Constructors",
"kind": 512,
"children": [37]
},
{
"title": "Properties",
"kind": 1024,
"children": [36, 31, 29, 35, 30]
},
{
"title": "Methods",
"kind": 2048,
"children": [40]
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 50,
"character": 38
}
],
"extendedBy": [
{
"type": "reference",
"id": 63,
"name": "PostgrestTransformBuilder"
},
{
"type": "reference",
"id": 306,
"name": "PostgrestQueryBuilder"
},
{
"type": "reference",
"id": 382,
"name": "PostgrestRpcBuilder"
}
],
"implementedTypes": [
{
"type": "reference",
"typeArguments": [
{
"type": "reference",
"id": 58,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponse"
}
],
"name": "PromiseLike"
}
]
},
{
"id": 2,
"name": "PostgrestResponseBase",
"kind": 256,
"kindString": "Interface",
"flags": {},
"comment": {
"shortText": "Response format",
"text": "{@link https://github.com/supabase/supabase-js/issues/32}\n"
},
"children": [
{
"id": 3,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
},
{
"id": 4,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [3, 4]
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 20,
"character": 31
}
],
"extendedBy": [
{
"type": "reference",
"id": 5,
"name": "PostgrestResponseSuccess"
},
{
"type": "reference",
"id": 13,
"name": "PostgrestResponseFailure"
},
{
"type": "reference",
"id": 20,
"name": "PostgrestSingleResponseSuccess"
}
]
},
{
"id": 13,
"name": "PostgrestResponseFailure",
"kind": 256,
"kindString": "Interface",
"flags": {},
"children": [
{
"id": 16,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 35,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "null"
}
},
{
"id": 17,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 36,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "null"
}
},
{
"id": 15,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 33,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "null"
}
},
{
"id": 14,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 32,
"character": 7
}
],
"type": {
"type": "reference",
"id": 52,
"name": "PostgrestError"
}
},
{
"id": 18,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
"id": 19,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [16, 17, 15, 14, 18, 19]
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 31,
"character": 34
}
],
"extendedTypes": [
{
"type": "reference",
"id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
"id": 5,
"name": "PostgrestResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"typeParameter": [
{
"id": 6,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"children": [
{
"id": 9,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 28,
"character": 6
}
],
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 10,
"name": "count",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 29,
"character": 7
}
],
"type": {
"type": "union",
"types": [
{
"type": "intrinsic",
"name": "number"
},
{
"type": "intrinsic",
"name": "null"
}
]
}
},
{
"id": 8,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 27,
"character": 6
}
],
"type": {
"type": "array",
"elementType": {
"type": "typeParameter",
"name": "T"
}
}
},
{
"id": 7,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 26,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "null"
}
},
{
"id": 11,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
"id": 12,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [9, 10, 8, 7, 11, 12]
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 25,
"character": 34
}
],
"extendedTypes": [
{
"type": "reference",
"id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
"id": 20,
"name": "PostgrestSingleResponseSuccess",
"kind": 256,
"kindString": "Interface",
"flags": {},
"typeParameter": [
{
"id": 21,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {}
}
],
"children": [
{
"id": 24,
"name": "body",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 44,
"character": 6
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 23,
"name": "data",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 42,
"character": 6
}
],
"type": {
"type": "typeParameter",
"name": "T"
}
},
{
"id": 22,
"name": "error",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 41,
"character": 7
}
],
"type": {
"type": "intrinsic",
"name": "null"
}
},
{
"id": 25,
"name": "status",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 21,
"character": 8
}
],
"type": {
"type": "intrinsic",
"name": "number"
},
"inheritedFrom": {
"type": "reference",
"id": 3,
"name": "PostgrestResponseBase.status"
}
},
{
"id": 26,
"name": "statusText",
"kind": 1024,
"kindString": "Property",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 22,
"character": 12
}
],
"type": {
"type": "intrinsic",
"name": "string"
},
"inheritedFrom": {
"type": "reference",
"id": 4,
"name": "PostgrestResponseBase.statusText"
}
}
],
"groups": [
{
"title": "Properties",
"kind": 1024,
"children": [24, 23, 22, 25, 26]
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 40,
"character": 40
}
],
"extendedTypes": [
{
"type": "reference",
"id": 2,
"name": "PostgrestResponseBase"
}
]
},
{
"id": 52,
"name": "PostgrestError",
"kind": 4194304,
"kindString": "Type alias",
"flags": {},
"comment": {
"shortText": "Error format",
"text": "{@link https://postgrest.org/en/stable/api.html?highlight=options#errors-and-http-status-codes}\n"
},
"sources": [
{
"fileName": "lib/types.ts",
"line": 8,
"character": 19
}
],
"type": {
"type": "reflection",
"declaration": {
"id": 53,
"name": "__type",
"kind": 65536,
"kindString": "Type literal",
"flags": {},
"children": [
{
"id": 57,
"name": "code",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 12,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 55,
"name": "details",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 10,
"character": 9
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 56,
"name": "hint",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 11,
"character": 6
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
},
{
"id": 54,
"name": "message",
"kind": 32,
"kindString": "Variable",
"flags": {},
"sources": [
{
"fileName": "lib/types.ts",
"line": 9,
"character": 9
}
],
"type": {
"type": "intrinsic",
"name": "string"
}
}
],
"groups": [
{
"title": "Variables",
"kind": 32,
"children": [57, 55, 56, 54]
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 8,
"character": 21
}
]
}
}
},
{
"id": 58,
"name": "PostgrestResponse",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 59,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 38,
"character": 29
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 5,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestResponseSuccess"
},
{
"type": "reference",
"id": 13,
"name": "PostgrestResponseFailure"
}
]
}
},
{
"id": 60,
"name": "PostgrestSingleResponse",
"kind": 4194304,
"kindString": "Type alias",
"flags": {
"isExported": true
},
"typeParameter": [
{
"id": 61,
"name": "T",
"kind": 131072,
"kindString": "Type parameter",
"flags": {
"isExported": true
}
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 46,
"character": 35
}
],
"type": {
"type": "union",
"types": [
{
"type": "reference",
"id": 20,
"typeArguments": [
{
"type": "typeParameter",
"name": "T"
}
],
"name": "PostgrestSingleResponseSuccess"
},
{
"type": "reference",
"id": 13,
"name": "PostgrestResponseFailure"
}
]
}
}
],
"groups": [
{
"title": "Classes",
"kind": 128,
"children": [27]
},
{
"title": "Interfaces",
"kind": 256,
"children": [2, 13, 5, 20]
},
{
"title": "Type aliases",
"kind": 4194304,
"children": [52, 58, 60]
}
],
"sources": [
{
"fileName": "lib/types.ts",
"line": 1,
"character": 0
}
]
}
],
"groups": [
{
"title": "Modules",
"kind": 1,
"children": [420, 453, 114, 305, 381, 62, 1]
}
]
}