From 7fab30aa4d4805c197d2c75a15a72097158dadca Mon Sep 17 00:00:00 2001 From: Inian Date: Tue, 8 Jun 2021 13:46:28 +0800 Subject: [PATCH] docs: add docs for new storage api methods documents updateBucket and getPublicUrl --- web/sidebar_spec_supabase.js | 2 +- web/spec/postgrest.json | 21594 +++++++++++++++++---------------- web/spec/supabase.yml | 42 +- 3 files changed, 10953 insertions(+), 10685 deletions(-) diff --git a/web/sidebar_spec_supabase.js b/web/sidebar_spec_supabase.js index a3e2e2f5e07..518a7692e4c 100644 --- a/web/sidebar_spec_supabase.js +++ b/web/sidebar_spec_supabase.js @@ -27,7 +27,7 @@ module.exports = { { type: 'category', label: 'Storage', - items: ['reference/javascript/storage-createbucket', 'reference/javascript/storage-getbucket', 'reference/javascript/storage-listbuckets', 'reference/javascript/storage-deletebucket', 'reference/javascript/storage-emptybucket', 'reference/javascript/storage-from-upload', 'reference/javascript/storage-from-download', 'reference/javascript/storage-from-list', 'reference/javascript/storage-from-update', 'reference/javascript/storage-from-move', 'reference/javascript/storage-from-remove', 'reference/javascript/storage-from-createsignedurl'], + items: ['reference/javascript/storage-createbucket', 'reference/javascript/storage-getbucket', 'reference/javascript/storage-listbuckets', 'reference/javascript/storage-updatebucket', 'reference/javascript/storage-deletebucket', 'reference/javascript/storage-emptybucket', 'reference/javascript/storage-from-upload', 'reference/javascript/storage-from-download', 'reference/javascript/storage-from-list', 'reference/javascript/storage-from-update', 'reference/javascript/storage-from-move', 'reference/javascript/storage-from-remove', 'reference/javascript/storage-from-createsignedurl', 'reference/javascript/storage-from-getpublicurl'], collapsed: true, }, { diff --git a/web/spec/postgrest.json b/web/spec/postgrest.json index 84493481e65..7fa2203ddba 100644 --- a/web/spec/postgrest.json +++ b/web/spec/postgrest.json @@ -1,10682 +1,10914 @@ { - "id": 0, - "name": "@supabase/postgrest-js", - "kind": 0, - "flags": {}, - "originalName": "", - "children": [ - { - "id": 424, - "name": "\"PostgrestClient\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", - "children": [ - { - "id": 425, - "name": "PostgrestClient", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 432, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "signatures": [ - { - "id": 433, - "name": "new PostgrestClient", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Creates a PostgREST client." - }, - "parameters": [ - { - "id": 434, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "URL of the PostgREST endpoint." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 435, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 436, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 437, - "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": 438, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 439, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 440, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 441, - "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": [437, 441] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 18, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 425, - "name": "PostgrestClient" - } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 8, - "character": 17 - } - ] - }, - { - "id": 427, - "name": "headers", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 7, - "character": 9 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 428, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 429, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 430, - "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": 431, - "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": 426, - "name": "url", - "kind": 1024, - "kindString": "Property", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 6, - "character": 5 - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 442, - "name": "auth", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 443, - "name": "auth", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Authenticates the request with JWT." - }, - "parameters": [ - { - "id": 444, - "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": 445, - "name": "from", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 446, - "name": "from", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a table operation." - }, - "typeParameter": [ - { - "id": 447, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 448, - "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": 310, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T", - "default": { - "type": "intrinsic", - "name": "any" - } - } - ], - "name": "PostgrestQueryBuilder" - } - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 41, - "character": 6 - } - ] - }, - { - "id": 449, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 450, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a stored procedure call." - }, - "typeParameter": [ - { - "id": 451, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 452, - "name": "fn", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The function name to call." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 453, - "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": 454, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 455, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 456, - "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": [456] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 55, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 117, - "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": [432] - }, - { - "title": "Properties", - "kind": 1024, - "children": [427, 431, 426] - }, - { - "title": "Methods", - "kind": 2048, - "children": [442, 445, 449] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 5, - "character": 36 - } - ] - } - ], - "groups": [ - { - "title": "Classes", - "kind": 128, - "children": [425] - } - ], - "sources": [ - { - "fileName": "PostgrestClient.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 457, - "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": 116, - "name": "\"lib/PostgrestFilterBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts", - "children": [ - { - "id": 117, - "name": "PostgrestFilterBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 118, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 293, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 294, - "name": "new PostgrestFilterBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 295, - "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": 117, - "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": 204, - "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": 200, - "name": "rangeAdjacent" - }, - "defaultValue": "this.rangeAdjacent" - }, - { - "id": 292, - "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": 179, - "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": 175, - "name": "containedBy" - }, - "defaultValue": "this.containedBy" - }, - { - "id": 174, - "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": 170, - "name": "contains" - }, - "defaultValue": "this.contains" - }, - { - "id": 287, - "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": 288, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 289, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 290, - "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": 285, - "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": 194, - "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": 190, - "name": "rangeGte" - }, - "defaultValue": "this.rangeGte" - }, - { - "id": 199, - "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": 195, - "name": "rangeLte" - }, - "defaultValue": "this.rangeLte" - }, - { - "id": 209, - "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": 205, - "name": "overlaps" - }, - "defaultValue": "this.overlaps" - }, - { - "id": 291, - "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": 184, - "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": 180, - "name": "rangeLt" - }, - "defaultValue": "this.rangeLt" - }, - { - "id": 189, - "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": 185, - "name": "rangeGt" - }, - "defaultValue": "this.rangeGt" - }, - { - "id": 286, - "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": 175, - "name": "containedBy", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 176, - "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": 177, - "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": 178, - "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": 170, - "name": "contains", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 171, - "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": 172, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 173, - "name": "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": 283, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 284, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "intrinsic", - "name": "this" - }, - "inheritedFrom": { - "type": "reference", - "id": 91, - "name": "PostgrestTransformBuilder.csv" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 100, - "character": 6 - } - ], - "inheritedFrom": { - "type": "reference", - "id": 91, - "name": "PostgrestTransformBuilder.csv" - } - }, - { - "id": 130, - "name": "eq", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 131, - "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": 132, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 133, - "name": "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": 246, - "name": "filter", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 247, - "name": "filter", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose `column` satisfies the filter." - }, - "parameters": [ - { - "id": 248, - "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": 249, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The operator to filter with." - }, - "type": { - "type": "reference", - "id": 308, - "name": "FilterOperator" - } - }, - { - "id": 250, - "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": 218, - "name": "fts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 219, - "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": 220, - "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": 221, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 222, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 223, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 224, - "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": [224] - } - ], - "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": 138, - "name": "gt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 139, - "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": 140, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 141, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "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": 142, - "name": "gte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 143, - "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": 144, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 145, - "name": "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": 158, - "name": "ilike", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 159, - "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": 160, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 161, - "name": "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": 166, - "name": "in", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 167, - "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": 168, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 169, - "name": "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": 162, - "name": "is", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 163, - "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": 164, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 165, - "name": "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": 154, - "name": "like", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 155, - "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": 156, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 157, - "name": "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": 268, - "name": "limit", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 269, - "name": "limit", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result with the specified `count`." - }, - "parameters": [ - { - "id": 270, - "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": 271, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 272, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 273, - "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": [273] - } - ], - "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": 146, - "name": "lt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 147, - "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": 148, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 149, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "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": 150, - "name": "lte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 151, - "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": 152, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 153, - "name": "value", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The value to filter with.\n" - }, - "type": { - "type": "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": 251, - "name": "match", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 252, - "name": "match", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows whose columns match the specified `query` object." - }, - "parameters": [ - { - "id": 253, - "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": 254, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 255, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 256, - "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": 134, - "name": "neq", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 135, - "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": 136, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 137, - "name": "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": 119, - "name": "not", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 120, - "name": "not", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows which doesn't satisfy the filter." - }, - "parameters": [ - { - "id": 121, - "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": 122, - "name": "operator", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The operator to filter with." - }, - "type": { - "type": "reference", - "id": 308, - "name": "FilterOperator" - } - }, - { - "id": 123, - "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": 124, - "name": "or", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 125, - "name": "or", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Finds all rows satisfying at least one of the filters." - }, - "parameters": [ - { - "id": 126, - "name": "filters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The filters to use, separated by commas." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 127, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 128, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 129, - "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": [129] - } - ], - "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": 260, - "name": "order", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 261, - "name": "order", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Orders the result with the specified `column`." - }, - "parameters": [ - { - "id": 262, - "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": 263, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 264, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 265, - "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": 267, - "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": 266, - "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": [265, 267, 266] - } - ], - "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": 205, - "name": "overlaps", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 206, - "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": 207, - "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": 208, - "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": 232, - "name": "phfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 233, - "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": 234, - "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": 235, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 236, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 237, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 238, - "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": [238] - } - ], - "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": 225, - "name": "plfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 226, - "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": 227, - "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": 228, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 229, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 230, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 231, - "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": [231] - } - ], - "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": 274, - "name": "range", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 275, - "name": "range", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Limits the result to rows within the specified range, inclusive." - }, - "parameters": [ - { - "id": 276, - "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": 277, - "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": 278, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 279, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 280, - "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": [280] - } - ], - "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": 200, - "name": "rangeAdjacent", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 201, - "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": 202, - "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": 203, - "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": 185, - "name": "rangeGt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 186, - "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": 187, - "name": "column", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The column to filter on." - }, - "type": { - "type": "typeOperator", - "operator": "keyof", - "target": { - "type": "typeParameter", - "name": "T" - } - } - }, - { - "id": 188, - "name": "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": 190, - "name": "rangeGte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 191, - "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": 192, - "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": 193, - "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": 180, - "name": "rangeLt", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 181, - "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": 182, - "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": 183, - "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": 195, - "name": "rangeLte", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 196, - "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": 197, - "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": 198, - "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": 257, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 258, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 259, - "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": 281, - "name": "single", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 282, - "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": 210, - "name": "textSearch", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 211, - "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": 212, - "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": 213, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 214, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 215, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 216, - "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": 217, - "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": [216, 217] - } - ], - "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": 296, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 297, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 298, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 299, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 300, - "name": "onfulfilled", - "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": "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": 304, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 305, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 306, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 307, - "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": 239, - "name": "wfts", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 240, - "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": 241, - "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": 242, - "name": "query", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "comment": { - "text": "The Postgres tsquery string to filter with." - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 243, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__2", - "type": { - "type": "reflection", - "declaration": { - "id": 244, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 245, - "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": [245] - } - ], - "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": [293] - }, - { - "title": "Properties", - "kind": 1024, - "children": [204, 292, 179, 174, 287, 285, 194, 199, 209, 291, 184, 189, 286] - }, - { - "title": "Methods", - "kind": 2048, - "children": [ - 175, 170, 283, 130, 246, 218, 138, 142, 158, 166, 162, 154, 268, 146, 150, 251, 134, - 119, 124, 260, 205, 232, 225, 274, 200, 185, 190, 180, 195, 257, 281, 210, 296, 239 - ] - } - ], - "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": 308, - "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": [117] - }, - { - "title": "Type aliases", - "kind": 4194304, - "children": [308] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestFilterBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 309, - "name": "\"lib/PostgrestQueryBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts", - "children": [ - { - "id": 310, - "name": "PostgrestQueryBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 311, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 312, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 313, - "name": "new PostgrestQueryBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 314, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 315, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 316, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 317, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 7, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 318, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 319, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 320, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 321, - "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": [317, 321] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 6, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 310, - "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": 372, - "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": 367, - "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": 368, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 369, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 370, - "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": 365, - "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": 371, - "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": 366, - "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": 359, - "name": "delete", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 360, - "name": "delete", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs a DELETE on the table." - }, - "parameters": [ - { - "id": 361, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__0", - "type": { - "type": "reflection", - "declaration": { - "id": 362, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 364, - "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": 363, - "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": [364, 363] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 189, - "character": 9 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 117, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 189, - "character": 8 - } - ] - }, - { - "id": 329, - "name": "insert", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 330, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an INSERT into the table." - }, - "parameters": [ - { - "id": 331, - "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": 332, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 333, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 335, - "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": 334, - "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": [335, 334] - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 117, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - }, - { - "id": 336, - "name": "insert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "tags": [ - { - "tag": "deprecated", - "text": "Use `upsert()` instead.\n" - } - ] - }, - "parameters": [ - { - "id": 337, - "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": 338, - "name": "options", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "reflection", - "declaration": { - "id": 339, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 343, - "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": 341, - "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": 342, - "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": 340, - "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": [343, 341, 342, 340] - } - ] - } - } - ] - } - } - ], - "type": { - "type": "reference", - "id": 117, - "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": 322, - "name": "select", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 323, - "name": "select", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs vertical filtering with SELECT." - }, - "parameters": [ - { - "id": 324, - "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": 325, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 326, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 328, - "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": 327, - "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": [328, 327] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 23, - "character": 18 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 117, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 22, - "character": 8 - } - ] - }, - { - "id": 373, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 374, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 375, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 376, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 377, - "name": "onfulfilled", - "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": "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": 381, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 382, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 383, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 384, - "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": 352, - "name": "update", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 353, - "name": "update", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an UPDATE on the table." - }, - "parameters": [ - { - "id": 354, - "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": 355, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 356, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 358, - "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": 357, - "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": [358, 357] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 164, - "character": 23 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 117, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 163, - "character": 8 - } - ] - }, - { - "id": 344, - "name": "upsert", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 345, - "name": "upsert", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Performs an UPSERT into the table." - }, - "parameters": [ - { - "id": 346, - "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": 347, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 348, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 351, - "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": 349, - "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": 350, - "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": [351, 349, 350] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 130, - "character": 38 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 117, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 129, - "character": 8 - } - ] - } - ], - "groups": [ - { - "title": "Constructors", - "kind": 512, - "children": [312] - }, - { - "title": "Properties", - "kind": 1024, - "children": [372, 367, 365, 371, 366] - }, - { - "title": "Methods", - "kind": 2048, - "children": [359, 329, 322, 373, 352, 344] - } - ], - "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": [310] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestQueryBuilder.ts", - "line": 1, - "character": 0 - } - ] - }, - { - "id": 385, - "name": "\"lib/PostgrestRpcBuilder\"", - "kind": 1, - "kindString": "Module", - "flags": { - "isExported": true - }, - "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts", - "children": [ - { - "id": 386, - "name": "PostgrestRpcBuilder", - "kind": 128, - "kindString": "Class", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 387, - "name": "T", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "children": [ - { - "id": 388, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 389, - "name": "new PostgrestRpcBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 390, - "name": "url", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - }, - { - "id": 391, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 392, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 393, - "name": "headers", - "kind": 32, - "kindString": "Variable", - "flags": { - "isExported": true - }, - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 7, - "character": 13 - } - ], - "type": { - "type": "reflection", - "declaration": { - "id": 394, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 395, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 396, - "name": "key", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "type": { - "type": "intrinsic", - "name": "string" - } - } - ], - "type": { - "type": "intrinsic", - "name": "string" - } - } - ] - } - } - }, - { - "id": 397, - "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": [393, 397] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 6, - "character": 16 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 386, - "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": 411, - "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": 406, - "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": 407, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 408, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 409, - "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": 404, - "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": 410, - "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": 405, - "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": 398, - "name": "rpc", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 399, - "name": "rpc", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Perform a stored procedure call." - }, - "parameters": [ - { - "id": 400, - "name": "params", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "intrinsic", - "name": "undefined" - }, - { - "type": "intrinsic", - "name": "object" - } - ] - } - }, - { - "id": 401, - "name": "__namedParameters", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true - }, - "originalName": "__1", - "type": { - "type": "reflection", - "declaration": { - "id": 402, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "children": [ - { - "id": 403, - "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": [403] - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 19, - "character": 20 - } - ] - } - }, - "defaultValue": "{}" - } - ], - "type": { - "type": "reference", - "id": 117, - "typeArguments": [ - { - "type": "typeParameter", - "name": "T" - } - ], - "name": "PostgrestFilterBuilder" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestRpcBuilder.ts", - "line": 18, - "character": 5 - } - ] - }, - { - "id": 412, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 413, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 414, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 415, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 416, - "name": "onfulfilled", - "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": "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": 420, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 421, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 422, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 423, - "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": [388] - }, - { - "title": "Properties", - "kind": 1024, - "children": [411, 406, 404, 410, 405] - }, - { - "title": "Methods", - "kind": 2048, - "children": [398, 412] - } - ], - "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": [386] - } - ], - "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": 101, - "name": "constructor", - "kind": 512, - "kindString": "Constructor", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 102, - "name": "new PostgrestTransformBuilder", - "kind": 16384, - "kindString": "Constructor signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 103, - "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": 100, - "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": 95, - "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": 96, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "indexSignature": [ - { - "id": 97, - "name": "__index", - "kind": 8192, - "kindString": "Index signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 98, - "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": 93, - "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": 99, - "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": 94, - "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": 91, - "name": "csv", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 92, - "name": "csv", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "comment": { - "shortText": "Set the response type to CSV." - }, - "type": { - "type": "intrinsic", - "name": "this" - } - } - ], - "sources": [ - { - "fileName": "lib/PostgrestTransformBuilder.ts", - "line": 100, - "character": 6 - } - ] - }, - { - "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": 104, - "name": "then", - "kind": 2048, - "kindString": "Method", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 105, - "name": "then", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "typeParameter": [ - { - "id": 106, - "name": "TResult1", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - }, - { - "id": 107, - "name": "TResult2", - "kind": 131072, - "kindString": "Type parameter", - "flags": { - "isExported": true - } - } - ], - "parameters": [ - { - "id": 108, - "name": "onfulfilled", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 109, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 110, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 111, - "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": 112, - "name": "onrejected", - "kind": 32768, - "kindString": "Parameter", - "flags": { - "isExported": true, - "isOptional": true - }, - "type": { - "type": "union", - "types": [ - { - "type": "reflection", - "declaration": { - "id": 113, - "name": "__type", - "kind": 65536, - "kindString": "Type literal", - "flags": { - "isExported": true - }, - "signatures": [ - { - "id": 114, - "name": "__call", - "kind": 4096, - "kindString": "Call signature", - "flags": { - "isExported": true - }, - "parameters": [ - { - "id": 115, - "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": [101] - }, - { - "title": "Properties", - "kind": 1024, - "children": [100, 95, 93, 99, 94] - }, - { - "title": "Methods", - "kind": 2048, - "children": [91, 76, 68, 82, 65, 89, 104] - } - ], - "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": 117, - "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": 310, - "name": "PostgrestQueryBuilder" - }, - { - "type": "reference", - "id": 386, - "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": [424, 457, 116, 309, 385, 62, 1] - } - ] -} + "id": 0, + "name": "@supabase/postgrest-js", + "kind": 0, + "flags": {}, + "originalName": "", + "children": [ + { + "id": 424, + "name": "\"PostgrestClient\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts", + "children": [ + { + "id": 425, + "name": "PostgrestClient", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 432, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Creates a PostgREST client." + }, + "signatures": [ + { + "id": 433, + "name": "new PostgrestClient", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Creates a PostgREST client." + }, + "parameters": [ + { + "id": 434, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "URL of the PostgREST endpoint." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 435, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 436, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 437, + "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": 438, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 439, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 440, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 441, + "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": [ + 437, + 441 + ] + } + ], + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 18, + "character": 16 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 425, + "name": "PostgrestClient" + } + } + ], + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 8, + "character": 17 + } + ] + }, + { + "id": 427, + "name": "headers", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 7, + "character": 9 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 428, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 429, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 430, + "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": 431, + "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": 426, + "name": "url", + "kind": 1024, + "kindString": "Property", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 6, + "character": 5 + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 442, + "name": "auth", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 443, + "name": "auth", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Authenticates the request with JWT." + }, + "parameters": [ + { + "id": 444, + "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": 445, + "name": "from", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 446, + "name": "from", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Perform a table operation." + }, + "typeParameter": [ + { + "id": 447, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 448, + "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": 310, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T", + "default": { + "type": "intrinsic", + "name": "any" + } + } + ], + "name": "PostgrestQueryBuilder" + } + } + ], + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 41, + "character": 6 + } + ] + }, + { + "id": 449, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 450, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Perform a stored procedure call." + }, + "typeParameter": [ + { + "id": 451, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 452, + "name": "fn", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The function name to call." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 453, + "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": 454, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 455, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 456, + "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": [ + 456 + ] + } + ], + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 55, + "character": 20 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 117, + "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": [ + 432 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 427, + 431, + 426 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 442, + 445, + 449 + ] + } + ], + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 5, + "character": 36 + } + ] + } + ], + "groups": [ + { + "title": "Classes", + "kind": 128, + "children": [ + 425 + ] + } + ], + "sources": [ + { + "fileName": "PostgrestClient.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 457, + "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": 116, + "name": "\"lib/PostgrestFilterBuilder\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestFilterBuilder.ts", + "children": [ + { + "id": 117, + "name": "PostgrestFilterBuilder", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 118, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "children": [ + { + "id": 293, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 294, + "name": "new PostgrestFilterBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 295, + "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": 117, + "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": 204, + "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": 200, + "name": "rangeAdjacent" + }, + "defaultValue": "this.rangeAdjacent" + }, + { + "id": 292, + "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": 179, + "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": 175, + "name": "containedBy" + }, + "defaultValue": "this.containedBy" + }, + { + "id": 174, + "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": 170, + "name": "contains" + }, + "defaultValue": "this.contains" + }, + { + "id": 287, + "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": 288, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 289, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 290, + "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": 285, + "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": 194, + "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": 190, + "name": "rangeGte" + }, + "defaultValue": "this.rangeGte" + }, + { + "id": 199, + "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": 195, + "name": "rangeLte" + }, + "defaultValue": "this.rangeLte" + }, + { + "id": 209, + "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": 205, + "name": "overlaps" + }, + "defaultValue": "this.overlaps" + }, + { + "id": 291, + "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": 184, + "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": 180, + "name": "rangeLt" + }, + "defaultValue": "this.rangeLt" + }, + { + "id": 189, + "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": 185, + "name": "rangeGt" + }, + "defaultValue": "this.rangeGt" + }, + { + "id": 286, + "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": 175, + "name": "containedBy", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 176, + "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": 177, + "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": 178, + "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": 170, + "name": "contains", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 171, + "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": 172, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 173, + "name": "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": 283, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 284, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Set the response type to CSV." + }, + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "id": 91, + "name": "PostgrestTransformBuilder.csv" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestTransformBuilder.ts", + "line": 100, + "character": 6 + } + ], + "inheritedFrom": { + "type": "reference", + "id": 91, + "name": "PostgrestTransformBuilder.csv" + } + }, + { + "id": 130, + "name": "eq", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 131, + "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": 132, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 133, + "name": "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": 246, + "name": "filter", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 247, + "name": "filter", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose `column` satisfies the filter." + }, + "parameters": [ + { + "id": 248, + "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": 249, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The operator to filter with." + }, + "type": { + "type": "reference", + "id": 308, + "name": "FilterOperator" + } + }, + { + "id": 250, + "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": 218, + "name": "fts", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 219, + "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": 220, + "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": 221, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The Postgres tsquery string to filter with." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 222, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 223, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 224, + "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": [ + 224 + ] + } + ], + "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": 138, + "name": "gt", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 139, + "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": 140, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 141, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The value to filter with.\n" + }, + "type": { + "type": "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": 142, + "name": "gte", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 143, + "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": 144, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 145, + "name": "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": 158, + "name": "ilike", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 159, + "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": 160, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 161, + "name": "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": 166, + "name": "in", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 167, + "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": 168, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 169, + "name": "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": 162, + "name": "is", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 163, + "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": 164, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 165, + "name": "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": 154, + "name": "like", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 155, + "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": 156, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 157, + "name": "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": 268, + "name": "limit", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 269, + "name": "limit", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Limits the result with the specified `count`." + }, + "parameters": [ + { + "id": 270, + "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": 271, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 272, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 273, + "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": [ + 273 + ] + } + ], + "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": 146, + "name": "lt", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 147, + "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": 148, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 149, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The value to filter with.\n" + }, + "type": { + "type": "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": 150, + "name": "lte", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 151, + "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": 152, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 153, + "name": "value", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The value to filter with.\n" + }, + "type": { + "type": "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": 251, + "name": "match", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 252, + "name": "match", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows whose columns match the specified `query` object." + }, + "parameters": [ + { + "id": 253, + "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": 254, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 255, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 256, + "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": 134, + "name": "neq", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 135, + "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": 136, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 137, + "name": "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": 119, + "name": "not", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 120, + "name": "not", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows which doesn't satisfy the filter." + }, + "parameters": [ + { + "id": 121, + "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": 122, + "name": "operator", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The operator to filter with." + }, + "type": { + "type": "reference", + "id": 308, + "name": "FilterOperator" + } + }, + { + "id": 123, + "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": 124, + "name": "or", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 125, + "name": "or", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Finds all rows satisfying at least one of the filters." + }, + "parameters": [ + { + "id": 126, + "name": "filters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The filters to use, separated by commas." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 127, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 128, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 129, + "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": [ + 129 + ] + } + ], + "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": 260, + "name": "order", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 261, + "name": "order", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Orders the result with the specified `column`." + }, + "parameters": [ + { + "id": 262, + "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": 263, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 264, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 265, + "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": 267, + "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": 266, + "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": [ + 265, + 267, + 266 + ] + } + ], + "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": 205, + "name": "overlaps", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 206, + "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": 207, + "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": 208, + "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": 232, + "name": "phfts", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 233, + "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": 234, + "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": 235, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The Postgres tsquery string to filter with." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 236, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 237, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 238, + "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": [ + 238 + ] + } + ], + "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": 225, + "name": "plfts", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 226, + "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": 227, + "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": 228, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The Postgres tsquery string to filter with." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 229, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 230, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 231, + "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": [ + 231 + ] + } + ], + "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": 274, + "name": "range", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 275, + "name": "range", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Limits the result to rows within the specified range, inclusive." + }, + "parameters": [ + { + "id": 276, + "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": 277, + "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": 278, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 279, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 280, + "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": [ + 280 + ] + } + ], + "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": 200, + "name": "rangeAdjacent", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 201, + "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": 202, + "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": 203, + "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": 185, + "name": "rangeGt", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 186, + "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": 187, + "name": "column", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The column to filter on." + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "typeParameter", + "name": "T" + } + } + }, + { + "id": 188, + "name": "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": 190, + "name": "rangeGte", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 191, + "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": 192, + "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": 193, + "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": 180, + "name": "rangeLt", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 181, + "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": 182, + "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": 183, + "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": 195, + "name": "rangeLte", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 196, + "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": 197, + "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": 198, + "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": 257, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 258, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "parameters": [ + { + "id": 259, + "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": 281, + "name": "single", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 282, + "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": 210, + "name": "textSearch", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 211, + "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": 212, + "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": 213, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The Postgres tsquery string to filter with." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 214, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 215, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 216, + "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": 217, + "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": [ + 216, + 217 + ] + } + ], + "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": 296, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 297, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 298, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + }, + { + "id": 299, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 300, + "name": "onfulfilled", + "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": "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": 304, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 305, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 306, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 307, + "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": 239, + "name": "wfts", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 240, + "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": 241, + "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": 242, + "name": "query", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "comment": { + "text": "The Postgres tsquery string to filter with." + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 243, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__2", + "type": { + "type": "reflection", + "declaration": { + "id": 244, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 245, + "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": [ + 245 + ] + } + ], + "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": [ + 293 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 204, + 292, + 179, + 174, + 287, + 285, + 194, + 199, + 209, + 291, + 184, + 189, + 286 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 175, + 170, + 283, + 130, + 246, + 218, + 138, + 142, + 158, + 166, + 162, + 154, + 268, + 146, + 150, + 251, + 134, + 119, + 124, + 260, + 205, + 232, + 225, + 274, + 200, + 185, + 190, + 180, + 195, + 257, + 281, + 210, + 296, + 239 + ] + } + ], + "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": 308, + "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": [ + 117 + ] + }, + { + "title": "Type aliases", + "kind": 4194304, + "children": [ + 308 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestFilterBuilder.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 309, + "name": "\"lib/PostgrestQueryBuilder\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestQueryBuilder.ts", + "children": [ + { + "id": 310, + "name": "PostgrestQueryBuilder", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 311, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "children": [ + { + "id": 312, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 313, + "name": "new PostgrestQueryBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 314, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 315, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 316, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 317, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 7, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 318, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 319, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 320, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 321, + "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": [ + 317, + 321 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 6, + "character": 16 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 310, + "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": 372, + "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": 367, + "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": 368, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 369, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 370, + "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": 365, + "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": 371, + "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": 366, + "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": 359, + "name": "delete", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 360, + "name": "delete", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Performs a DELETE on the table." + }, + "parameters": [ + { + "id": 361, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__0", + "type": { + "type": "reflection", + "declaration": { + "id": 362, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 364, + "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": 363, + "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": [ + 364, + 363 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 189, + "character": 9 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 117, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "PostgrestFilterBuilder" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 189, + "character": 8 + } + ] + }, + { + "id": 329, + "name": "insert", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 330, + "name": "insert", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Performs an INSERT into the table." + }, + "parameters": [ + { + "id": 331, + "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": 332, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 333, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 335, + "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": 334, + "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": [ + 335, + 334 + ] + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 117, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "PostgrestFilterBuilder" + } + }, + { + "id": 336, + "name": "insert", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "tags": [ + { + "tag": "deprecated", + "text": "Use `upsert()` instead.\n" + } + ] + }, + "parameters": [ + { + "id": 337, + "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": 338, + "name": "options", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reflection", + "declaration": { + "id": 339, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 343, + "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": 341, + "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": 342, + "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": 340, + "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": [ + 343, + 341, + 342, + 340 + ] + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "id": 117, + "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": 322, + "name": "select", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 323, + "name": "select", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Performs vertical filtering with SELECT." + }, + "parameters": [ + { + "id": 324, + "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": 325, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 326, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 328, + "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": 327, + "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": [ + 328, + 327 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 23, + "character": 18 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 117, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "PostgrestFilterBuilder" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 22, + "character": 8 + } + ] + }, + { + "id": 373, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 374, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 375, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + }, + { + "id": 376, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 377, + "name": "onfulfilled", + "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": "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": 381, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 382, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 383, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 384, + "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": 352, + "name": "update", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 353, + "name": "update", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Performs an UPDATE on the table." + }, + "parameters": [ + { + "id": 354, + "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": 355, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 356, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 358, + "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": 357, + "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": [ + 358, + 357 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 164, + "character": 23 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 117, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "PostgrestFilterBuilder" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 163, + "character": 8 + } + ] + }, + { + "id": 344, + "name": "upsert", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 345, + "name": "upsert", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Performs an UPSERT into the table." + }, + "parameters": [ + { + "id": 346, + "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": 347, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 348, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 351, + "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": 349, + "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": 350, + "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": [ + 351, + 349, + 350 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 130, + "character": 38 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 117, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "PostgrestFilterBuilder" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 129, + "character": 8 + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "kind": 512, + "children": [ + 312 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 372, + 367, + 365, + 371, + 366 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 359, + 329, + 322, + 373, + 352, + 344 + ] + } + ], + "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": [ + 310 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestQueryBuilder.ts", + "line": 1, + "character": 0 + } + ] + }, + { + "id": 385, + "name": "\"lib/PostgrestRpcBuilder\"", + "kind": 1, + "kindString": "Module", + "flags": { + "isExported": true + }, + "originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/PostgrestRpcBuilder.ts", + "children": [ + { + "id": 386, + "name": "PostgrestRpcBuilder", + "kind": 128, + "kindString": "Class", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 387, + "name": "T", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "children": [ + { + "id": 388, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 389, + "name": "new PostgrestRpcBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 390, + "name": "url", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 391, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 392, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 393, + "name": "headers", + "kind": 32, + "kindString": "Variable", + "flags": { + "isExported": true + }, + "sources": [ + { + "fileName": "lib/PostgrestRpcBuilder.ts", + "line": 7, + "character": 13 + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 394, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 395, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 396, + "name": "key", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 397, + "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": [ + 393, + 397 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestRpcBuilder.ts", + "line": 6, + "character": 16 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 386, + "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": 411, + "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": 406, + "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": 407, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 408, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 409, + "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": 404, + "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": 410, + "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": 405, + "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": 398, + "name": "rpc", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 399, + "name": "rpc", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Perform a stored procedure call." + }, + "parameters": [ + { + "id": 400, + "name": "params", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "object" + } + ] + } + }, + { + "id": 401, + "name": "__namedParameters", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true + }, + "originalName": "__1", + "type": { + "type": "reflection", + "declaration": { + "id": 402, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "children": [ + { + "id": 403, + "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": [ + 403 + ] + } + ], + "sources": [ + { + "fileName": "lib/PostgrestRpcBuilder.ts", + "line": 19, + "character": 20 + } + ] + } + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "id": 117, + "typeArguments": [ + { + "type": "typeParameter", + "name": "T" + } + ], + "name": "PostgrestFilterBuilder" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestRpcBuilder.ts", + "line": 18, + "character": 5 + } + ] + }, + { + "id": 412, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 413, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 414, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + }, + { + "id": 415, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 416, + "name": "onfulfilled", + "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": "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": 420, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 421, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 422, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 423, + "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": [ + 388 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 411, + 406, + 404, + 410, + 405 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 398, + 412 + ] + } + ], + "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": [ + 386 + ] + } + ], + "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": 101, + "name": "constructor", + "kind": 512, + "kindString": "Constructor", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 102, + "name": "new PostgrestTransformBuilder", + "kind": 16384, + "kindString": "Constructor signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 103, + "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": 100, + "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": 95, + "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": 96, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "indexSignature": [ + { + "id": 97, + "name": "__index", + "kind": 8192, + "kindString": "Index signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 98, + "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": 93, + "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": 99, + "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": 94, + "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": 91, + "name": "csv", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 92, + "name": "csv", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "comment": { + "shortText": "Set the response type to CSV." + }, + "type": { + "type": "intrinsic", + "name": "this" + } + } + ], + "sources": [ + { + "fileName": "lib/PostgrestTransformBuilder.ts", + "line": 100, + "character": 6 + } + ] + }, + { + "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": 104, + "name": "then", + "kind": 2048, + "kindString": "Method", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 105, + "name": "then", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "typeParameter": [ + { + "id": 106, + "name": "TResult1", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + }, + { + "id": 107, + "name": "TResult2", + "kind": 131072, + "kindString": "Type parameter", + "flags": { + "isExported": true + } + } + ], + "parameters": [ + { + "id": 108, + "name": "onfulfilled", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 109, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 110, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 111, + "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": 112, + "name": "onrejected", + "kind": 32768, + "kindString": "Parameter", + "flags": { + "isExported": true, + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 113, + "name": "__type", + "kind": 65536, + "kindString": "Type literal", + "flags": { + "isExported": true + }, + "signatures": [ + { + "id": 114, + "name": "__call", + "kind": 4096, + "kindString": "Call signature", + "flags": { + "isExported": true + }, + "parameters": [ + { + "id": 115, + "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": [ + 101 + ] + }, + { + "title": "Properties", + "kind": 1024, + "children": [ + 100, + 95, + 93, + 99, + 94 + ] + }, + { + "title": "Methods", + "kind": 2048, + "children": [ + 91, + 76, + 68, + 82, + 65, + 89, + 104 + ] + } + ], + "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": 117, + "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": 310, + "name": "PostgrestQueryBuilder" + }, + { + "type": "reference", + "id": 386, + "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": [ + 424, + 457, + 116, + 309, + 385, + 62, + 1 + ] + } + ] +} \ No newline at end of file diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml index c35e208a34f..f3b329032a7 100644 --- a/web/spec/supabase.yml +++ b/web/spec/supabase.yml @@ -58,6 +58,7 @@ info: - storage.createBucket() - storage.getBucket() - storage.listBuckets() + - storage.updateBucket() - storage.deleteBucket() - storage.emptyBucket() - storage.from.upload() @@ -67,6 +68,7 @@ info: - storage.from.move() - storage.from.remove() - storage.from.createSignedUrl() + - storage.from.getPublicUrl() - name: 'Modifiers' items: - Using Modifiers @@ -964,6 +966,22 @@ pages: .storage .emptyBucket('avatars') ``` + storage.updateBucket(): + title: 'updateBucket()' + $ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.updateBucket' + notes: | + - Policy permissions required: + - `buckets` permissions: `update` + - `objects` permissions: none + examples: + - name: Update bucket + isSpotlight: true + js: | + ```js + const { data, error } = await supabase + .storage + .updateBucket('avatars', { public: false }) + ``` storage.deleteBucket(): title: 'deleteBucket()' @@ -1056,6 +1074,24 @@ pages: .createSignedUrl('avatar1.png', 60) ``` + storage.from.getPublicUrl(): + title: 'from.getPublicUrl()' + $ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.getPublicUrl' + notes: | + - Policy permissions required: + - `buckets` permissions: none + - `objects` permissions: none + examples: + - name: Returns the URL for an asset in a public bucket + isSpotlight: true + js: | + ```js + const { publicURL, error } = supabase + .storage + .from('public-bucket') + .getPublicUrl('avatar1.png') + ``` + storage.from.download(): title: 'from.download()' $ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.download' @@ -1191,11 +1227,11 @@ pages: Filters can be used on `select()`, `update()`, and `delete()` queries. If a Stored Procedure returns a table response, you can also apply filters. - + ### Applying Filters You must apply your filters to the end of your query. For example: - + ```js const { data, error } = await supabase .from('cities') @@ -1207,7 +1243,7 @@ pages: .eq('name', 'The Shire') // Incorrect .select('name, country_id') ``` - + ### Chaining Filters can be chained together to produce advanced queries. For example: