mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
feat: Added description for every method
This commit is contained in:
1 parent
45a92d4ae2
commit
fecd78c5c1
7 files changed
+7958
-6524
No files matched your search
+3929
-3262
File diff suppressed because it is too large.
Load diff
@@ -174,6 +174,8 @@ pages:
|
||||
If you are using Flutter, you can sign up with OAuth providers using the [`signInWithProvider()`](/docs/reference/dart/auth-signinwithprovider) method available on `supabase-flutter`.
|
||||
|
||||
auth.signIn():
|
||||
description: |
|
||||
Log in an existing user, or login via a third-party provider.
|
||||
notes: |
|
||||
- A user can sign up via email, phone number.
|
||||
- If you provide `email` without a `password`, the user will be sent a magic link.
|
||||
@@ -210,6 +212,8 @@ pages:
|
||||
final error = res.error;
|
||||
```
|
||||
auth.signInWithProvider():
|
||||
description: |
|
||||
Signs the user in using thrid party OAuth providers.
|
||||
notes: |
|
||||
- `auth.signInWithProvider()` is only available on `supabase-flutter`
|
||||
- It will open the browser to the relevant login page.
|
||||
@@ -252,6 +256,8 @@ pages:
|
||||
const oAuthToken = session.provider_token // use to access provider API
|
||||
```
|
||||
auth.signOut():
|
||||
description: |
|
||||
Signs out the current user, if there is a logged in user.
|
||||
examples:
|
||||
- name: Sign out
|
||||
isSpotlight: true
|
||||
@@ -263,6 +269,8 @@ pages:
|
||||
```
|
||||
|
||||
auth.session():
|
||||
description: |
|
||||
Returns the session data, if there is an active session.
|
||||
examples:
|
||||
- name: Get the session data
|
||||
isSpotlight: true
|
||||
@@ -272,6 +280,8 @@ pages:
|
||||
```
|
||||
|
||||
auth.user():
|
||||
description: |
|
||||
Returns the user data, if there is a logged in user.
|
||||
examples:
|
||||
- name: Get the logged in user
|
||||
isSpotlight: true
|
||||
@@ -281,6 +291,8 @@ pages:
|
||||
```
|
||||
|
||||
auth.update():
|
||||
description: |
|
||||
Updates user data, if there is a logged in user.
|
||||
notes: |
|
||||
It's generally better to store user data in a table inside your public schema (i.e. `public.users`).
|
||||
Use the `update()` method if you have data which rarely changes or is specific only to the logged in user.
|
||||
@@ -297,6 +309,8 @@ pages:
|
||||
```
|
||||
|
||||
auth.onAuthStateChange():
|
||||
description: |
|
||||
Receive a notification every time an auth event happens.
|
||||
examples:
|
||||
- name: Listen to auth changes
|
||||
isSpotlight: true
|
||||
@@ -309,6 +323,8 @@ pages:
|
||||
```
|
||||
|
||||
Reset Password (Email):
|
||||
description: |
|
||||
Sends a reset request to an email address.
|
||||
notes: |
|
||||
Sends a reset request to an email address.
|
||||
|
||||
@@ -350,6 +366,8 @@ pages:
|
||||
final error = res.error;
|
||||
```
|
||||
select():
|
||||
description: |
|
||||
Performs vertical filtering with SELECT.
|
||||
title: 'Fetch data: select()'
|
||||
notes: |
|
||||
- By default, Supabase projects will return a maximum of 1,000 rows. This setting can be changed Project API Settings. It's recommended that you keep it low to limit the payload size of accidental or malicious requests. You can use `range()` queries to paginate through your data.
|
||||
@@ -454,6 +472,8 @@ pages:
|
||||
```
|
||||
|
||||
insert():
|
||||
description: |
|
||||
Performs an INSERT into the table.
|
||||
title: 'Create data: insert()'
|
||||
notes: |
|
||||
- By default, every time you run `insert()`, the client library will make a `select` to return the full record.
|
||||
@@ -482,6 +502,8 @@ pages:
|
||||
```
|
||||
|
||||
update():
|
||||
description: |
|
||||
Performs an UPDATE on the table.
|
||||
title: 'Modify data: update()'
|
||||
notes: |
|
||||
TODO update the link to dart
|
||||
@@ -518,6 +540,8 @@ pages:
|
||||
```
|
||||
|
||||
upsert():
|
||||
description: |
|
||||
Performs an UPSERT into the table.
|
||||
title: 'Upsert data: upsert()'
|
||||
notes: |
|
||||
- Primary keys should to be included in the data payload in order for an update to work correctly.
|
||||
@@ -561,6 +585,8 @@ pages:
|
||||
```
|
||||
|
||||
delete():
|
||||
description: |
|
||||
Performs a DELETE on the table.
|
||||
title: 'Delete data: delete()'
|
||||
notes: |
|
||||
TODO update link to dart
|
||||
@@ -613,6 +639,8 @@ pages:
|
||||
```
|
||||
|
||||
subscribe():
|
||||
description: |
|
||||
Subscribe to realtime changes in your databse.
|
||||
title: 'on().subscribe()'
|
||||
notes: |
|
||||
- Realtime is disabled by default for new Projects for better database performance and security. You can turn it on by [managing replication](/docs/guides/api#managing-realtime).
|
||||
@@ -704,6 +732,8 @@ pages:
|
||||
```
|
||||
|
||||
removeSubscription():
|
||||
description: |
|
||||
Removes an active subscription and returns the number of open connections.
|
||||
title: 'removeSubscription()'
|
||||
notes: |
|
||||
- Removing subscriptions is a great way to maintain the performance of your project's database. Supabase will automatically handle cleanup 30 seconds after a user is disconnected, but unused subscriptions may cause degradation as more users are simultaneously subscribed.
|
||||
@@ -716,6 +746,8 @@ pages:
|
||||
```
|
||||
|
||||
getSubscriptions():
|
||||
description: |
|
||||
Returns an array of all your subscriptions.
|
||||
title: 'getSubscriptions()'
|
||||
examples:
|
||||
- name: Get all subscriptions
|
||||
@@ -726,6 +758,8 @@ pages:
|
||||
```
|
||||
|
||||
stream():
|
||||
description: |
|
||||
Notifies of data at the queried table.
|
||||
title: 'stream()'
|
||||
notes: |
|
||||
- `stream()` will emit the initial data as well as any further change on the database as `Stream` of `List<Map<String, dynamic>>` by combining Postgrest and Realtime.
|
||||
@@ -772,6 +806,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.listBuckets():
|
||||
description: |
|
||||
Retrieves the details of all Storage buckets within an existing product.
|
||||
title: 'listBuckets()'
|
||||
$ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.listBuckets'
|
||||
notes: |
|
||||
@@ -789,6 +825,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.getBucket():
|
||||
description: |
|
||||
Retrieves the details of an existing Storage bucket.
|
||||
title: 'getBucket()'
|
||||
$ref: '@supabase/storage-js."lib/StorageBucketApi".StorageBucketApi.getBucket'
|
||||
notes: |
|
||||
@@ -806,6 +844,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.createBucket():
|
||||
description: |
|
||||
Creates a new Storage bucket
|
||||
title: 'createBucket()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -822,6 +862,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.emptyBucket():
|
||||
description: |
|
||||
Removes all objects inside a single bucket.
|
||||
title: 'emptyBucket()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -837,6 +879,8 @@ pages:
|
||||
.emptyBucket('avatars');
|
||||
```
|
||||
storage.updateBucket():
|
||||
description: |
|
||||
Updates a new Storage bucket
|
||||
title: 'updateBucket()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -853,6 +897,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.deleteBucket():
|
||||
description: |
|
||||
Deletes an existing bucket. A bucket can't be deleted with existing objects inside it. You must first `empty()` the bucket.
|
||||
title: 'deleteBucket()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -869,6 +915,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.upload():
|
||||
description: |
|
||||
Uploads a file to an existing bucket.
|
||||
title: 'from.upload()'
|
||||
$ref: '@supabase/storage-js."lib/StorageFileApi".StorageFileApi.upload'
|
||||
notes: |
|
||||
@@ -891,6 +939,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.update():
|
||||
description: |
|
||||
Replaces an existing file at the specified path with a new one.
|
||||
title: 'from.update()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -912,6 +962,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.move():
|
||||
description: |
|
||||
Moves an existing file, optionally renaming it at the same time.
|
||||
title: 'from.move()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -929,6 +981,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.createSignedUrl():
|
||||
description: |
|
||||
Create signed url to download file without requiring permissions. This URL can be valid for a set number of seconds.
|
||||
title: 'from.createSignedUrl()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -948,6 +1002,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.getPublicUrl():
|
||||
description: |
|
||||
Retrieve URLs for assets in public buckets
|
||||
title: 'from.getPublicUrl()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -967,6 +1023,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.download():
|
||||
description: |
|
||||
Downloads a file.
|
||||
title: 'from.download()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -984,6 +1042,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.remove():
|
||||
description: |
|
||||
Deletes files within the same bucket
|
||||
title: 'from.remove()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -1001,6 +1061,8 @@ pages:
|
||||
```
|
||||
|
||||
storage.from.list():
|
||||
description: |
|
||||
Lists all the files within a bucket.
|
||||
title: 'from.list()'
|
||||
notes: |
|
||||
- Policy permissions required:
|
||||
@@ -1023,6 +1085,8 @@ pages:
|
||||
If a Stored Procedure returns a table response, you can also apply modifiers to the `rpc()` function.
|
||||
|
||||
limit():
|
||||
description: |
|
||||
Limits the result with the specified count.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1046,6 +1110,8 @@ pages:
|
||||
```
|
||||
|
||||
order():
|
||||
description: |
|
||||
Orders the result with the specified column.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1069,6 +1135,8 @@ pages:
|
||||
```
|
||||
|
||||
range():
|
||||
description: |
|
||||
Limits the result to rows within the specified range, inclusive.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1082,6 +1150,8 @@ pages:
|
||||
```
|
||||
|
||||
single():
|
||||
description: |
|
||||
Retrieves only one row from the result. Result must be one row (e.g. using limit), otherwise this will result in an error.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1132,6 +1202,8 @@ pages:
|
||||
```
|
||||
|
||||
.filter():
|
||||
description: |
|
||||
Finds all rows whose `column` satisfies the filter.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1181,6 +1253,8 @@ pages:
|
||||
```
|
||||
|
||||
.or():
|
||||
description: |
|
||||
Finds all rows satisfying at least one of the filters.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1214,6 +1288,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.not():
|
||||
description: |
|
||||
Finds all rows which doesn't satisfy the filter.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1254,6 +1330,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.match():
|
||||
description: |
|
||||
Finds all rows whose columns match the specified `query` object.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1294,6 +1372,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.eq():
|
||||
description: |
|
||||
Finds all rows whose value on the stated `column` exactly matches the specified `value`.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1334,6 +1414,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.neq():
|
||||
description: |
|
||||
Finds all rows whose value on the stated `column` doesn't match the specified `value`.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1374,6 +1456,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.gt():
|
||||
description: |
|
||||
Finds all rows whose value on the stated `column` is greater than the specified `value`.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1414,6 +1498,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.gte():
|
||||
description: |
|
||||
Finds all rows whose value on the stated `column` is greater than or equal to the specified `value`.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1454,6 +1540,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.lt():
|
||||
description: |
|
||||
Finds all rows whose value on the stated `column` is less than the specified `value`.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1495,6 +1583,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.lte():
|
||||
description: |
|
||||
Finds all rows whose value on the stated `column` is less than or equal to the specified `value`.
|
||||
$ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.lte'
|
||||
examples:
|
||||
- name: With `select()`
|
||||
@@ -1537,6 +1627,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.like():
|
||||
description: |
|
||||
Finds all rows whose value in the stated `column` matches the supplied `pattern` (case sensitive).
|
||||
$ref: '@supabase/postgrest-js."lib/PostgrestFilterBuilder".PostgrestFilterBuilder.like'
|
||||
examples:
|
||||
- name: With `select()`
|
||||
@@ -1579,6 +1671,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.ilike():
|
||||
description: |
|
||||
Finds all rows whose value in the stated `column` matches the supplied `pattern` (case insensitive).
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1620,6 +1714,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.is_():
|
||||
description: |
|
||||
A check for exact equality (null, true, false), finds all rows whose value on the stated `column` exactly match the specified `value`.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -1661,6 +1757,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.in_():
|
||||
description: |
|
||||
Finds all rows whose value on the stated `column` is found on the specified `values`.
|
||||
examples:
|
||||
- name: With `select()`
|
||||
isSpotlight: true
|
||||
@@ -2031,6 +2129,8 @@ pages:
|
||||
# ```
|
||||
|
||||
.textSearch():
|
||||
description: |
|
||||
Finds all rows whose tsvector value on the stated `column` matches to_tsquery(query).
|
||||
examples:
|
||||
- name: Text search
|
||||
dart: |
|
||||
|
||||
+847
-742
File diff suppressed because it is too large.
Load diff
+198
-65
@@ -6,7 +6,7 @@
|
||||
"originalName": "",
|
||||
"children": [
|
||||
{
|
||||
"id": 443,
|
||||
"id": 448,
|
||||
"name": "\"PostgrestClient\"",
|
||||
"kind": 1,
|
||||
"kindString": "Module",
|
||||
@@ -16,7 +16,7 @@
|
||||
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/PostgrestClient.ts",
|
||||
"children": [
|
||||
{
|
||||
"id": 444,
|
||||
"id": 449,
|
||||
"name": "PostgrestClient",
|
||||
"kind": 128,
|
||||
"kindString": "Class",
|
||||
@@ -25,7 +25,7 @@
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": 451,
|
||||
"id": 456,
|
||||
"name": "constructor",
|
||||
"kind": 512,
|
||||
"kindString": "Constructor",
|
||||
@@ -37,7 +37,7 @@
|
||||
},
|
||||
"signatures": [
|
||||
{
|
||||
"id": 452,
|
||||
"id": 457,
|
||||
"name": "new PostgrestClient",
|
||||
"kind": 16384,
|
||||
"kindString": "Constructor signature",
|
||||
@@ -49,7 +49,7 @@
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": 453,
|
||||
"id": 458,
|
||||
"name": "url",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -65,7 +65,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 454,
|
||||
"id": 459,
|
||||
"name": "__namedParameters",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -76,7 +76,7 @@
|
||||
"type": {
|
||||
"type": "reflection",
|
||||
"declaration": {
|
||||
"id": 455,
|
||||
"id": 460,
|
||||
"name": "__type",
|
||||
"kind": 65536,
|
||||
"kindString": "Type literal",
|
||||
@@ -85,7 +85,7 @@
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": 456,
|
||||
"id": 461,
|
||||
"name": "headers",
|
||||
"kind": 32,
|
||||
"kindString": "Variable",
|
||||
@@ -98,14 +98,14 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 19,
|
||||
"line": 20,
|
||||
"character": 13
|
||||
}
|
||||
],
|
||||
"type": {
|
||||
"type": "reflection",
|
||||
"declaration": {
|
||||
"id": 457,
|
||||
"id": 462,
|
||||
"name": "__type",
|
||||
"kind": 65536,
|
||||
"kindString": "Type literal",
|
||||
@@ -114,7 +114,7 @@
|
||||
},
|
||||
"indexSignature": [
|
||||
{
|
||||
"id": 458,
|
||||
"id": 463,
|
||||
"name": "__index",
|
||||
"kind": 8192,
|
||||
"kindString": "Index signature",
|
||||
@@ -123,7 +123,7 @@
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": 459,
|
||||
"id": 464,
|
||||
"name": "key",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -146,7 +146,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 460,
|
||||
"id": 465,
|
||||
"name": "schema",
|
||||
"kind": 32,
|
||||
"kindString": "Variable",
|
||||
@@ -159,7 +159,7 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 19,
|
||||
"line": 20,
|
||||
"character": 26
|
||||
}
|
||||
],
|
||||
@@ -183,15 +183,15 @@
|
||||
"title": "Variables",
|
||||
"kind": 32,
|
||||
"children": [
|
||||
456,
|
||||
460
|
||||
461,
|
||||
465
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 18,
|
||||
"line": 19,
|
||||
"character": 16
|
||||
}
|
||||
]
|
||||
@@ -202,7 +202,7 @@
|
||||
],
|
||||
"type": {
|
||||
"type": "reference",
|
||||
"id": 444,
|
||||
"id": 449,
|
||||
"name": "PostgrestClient"
|
||||
}
|
||||
}
|
||||
@@ -210,13 +210,13 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 8,
|
||||
"line": 9,
|
||||
"character": 17
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 446,
|
||||
"id": 451,
|
||||
"name": "headers",
|
||||
"kind": 1024,
|
||||
"kindString": "Property",
|
||||
@@ -226,14 +226,14 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 7,
|
||||
"line": 8,
|
||||
"character": 9
|
||||
}
|
||||
],
|
||||
"type": {
|
||||
"type": "reflection",
|
||||
"declaration": {
|
||||
"id": 447,
|
||||
"id": 452,
|
||||
"name": "__type",
|
||||
"kind": 65536,
|
||||
"kindString": "Type literal",
|
||||
@@ -242,7 +242,7 @@
|
||||
},
|
||||
"indexSignature": [
|
||||
{
|
||||
"id": 448,
|
||||
"id": 453,
|
||||
"name": "__index",
|
||||
"kind": 8192,
|
||||
"kindString": "Index signature",
|
||||
@@ -251,7 +251,7 @@
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": 449,
|
||||
"id": 454,
|
||||
"name": "key",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -273,7 +273,7 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 7,
|
||||
"line": 8,
|
||||
"character": 10
|
||||
}
|
||||
]
|
||||
@@ -281,7 +281,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 450,
|
||||
"id": 455,
|
||||
"name": "schema",
|
||||
"kind": 1024,
|
||||
"kindString": "Property",
|
||||
@@ -292,7 +292,7 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 8,
|
||||
"line": 9,
|
||||
"character": 8
|
||||
}
|
||||
],
|
||||
@@ -311,7 +311,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 445,
|
||||
"id": 450,
|
||||
"name": "url",
|
||||
"kind": 1024,
|
||||
"kindString": "Property",
|
||||
@@ -321,7 +321,7 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 6,
|
||||
"line": 7,
|
||||
"character": 5
|
||||
}
|
||||
],
|
||||
@@ -331,7 +331,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 461,
|
||||
"id": 466,
|
||||
"name": "auth",
|
||||
"kind": 2048,
|
||||
"kindString": "Method",
|
||||
@@ -340,7 +340,7 @@
|
||||
},
|
||||
"signatures": [
|
||||
{
|
||||
"id": 462,
|
||||
"id": 467,
|
||||
"name": "auth",
|
||||
"kind": 4096,
|
||||
"kindString": "Call signature",
|
||||
@@ -352,7 +352,7 @@
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"id": 463,
|
||||
"id": 468,
|
||||
"name": "token",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -377,13 +377,13 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 31,
|
||||
"line": 32,
|
||||
"character": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 464,
|
||||
"id": 469,
|
||||
"name": "from",
|
||||
"kind": 2048,
|
||||
"kindString": "Method",
|
||||
@@ -392,7 +392,7 @@
|
||||
},
|
||||
"signatures": [
|
||||
{
|
||||
"id": 465,
|
||||
"id": 470,
|
||||
"name": "from",
|
||||
"kind": 4096,
|
||||
"kindString": "Call signature",
|
||||
@@ -404,7 +404,7 @@
|
||||
},
|
||||
"typeParameter": [
|
||||
{
|
||||
"id": 466,
|
||||
"id": 471,
|
||||
"name": "T",
|
||||
"kind": 131072,
|
||||
"kindString": "Type parameter",
|
||||
@@ -415,7 +415,7 @@
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"id": 467,
|
||||
"id": 472,
|
||||
"name": "table",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -451,13 +451,13 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 41,
|
||||
"line": 42,
|
||||
"character": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 468,
|
||||
"id": 473,
|
||||
"name": "rpc",
|
||||
"kind": 2048,
|
||||
"kindString": "Method",
|
||||
@@ -466,7 +466,7 @@
|
||||
},
|
||||
"signatures": [
|
||||
{
|
||||
"id": 469,
|
||||
"id": 474,
|
||||
"name": "rpc",
|
||||
"kind": 4096,
|
||||
"kindString": "Call signature",
|
||||
@@ -474,11 +474,11 @@
|
||||
"isExported": true
|
||||
},
|
||||
"comment": {
|
||||
"shortText": "Perform a stored procedure call."
|
||||
"shortText": "Perform a function call."
|
||||
},
|
||||
"typeParameter": [
|
||||
{
|
||||
"id": 470,
|
||||
"id": 475,
|
||||
"name": "T",
|
||||
"kind": 131072,
|
||||
"kindString": "Type parameter",
|
||||
@@ -489,7 +489,7 @@
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"id": 471,
|
||||
"id": 476,
|
||||
"name": "fn",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -505,7 +505,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 472,
|
||||
"id": 477,
|
||||
"name": "params",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -531,7 +531,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": 473,
|
||||
"id": 478,
|
||||
"name": "__namedParameters",
|
||||
"kind": 32768,
|
||||
"kindString": "Parameter",
|
||||
@@ -542,7 +542,7 @@
|
||||
"type": {
|
||||
"type": "reflection",
|
||||
"declaration": {
|
||||
"id": 474,
|
||||
"id": 479,
|
||||
"name": "__type",
|
||||
"kind": 65536,
|
||||
"kindString": "Type literal",
|
||||
@@ -551,7 +551,7 @@
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": 475,
|
||||
"id": 480,
|
||||
"name": "count",
|
||||
"kind": 32,
|
||||
"kindString": "Variable",
|
||||
@@ -564,7 +564,7 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 57,
|
||||
"line": 58,
|
||||
"character": 11
|
||||
}
|
||||
],
|
||||
@@ -597,14 +597,14 @@
|
||||
"title": "Variables",
|
||||
"kind": 32,
|
||||
"children": [
|
||||
475
|
||||
480
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 55,
|
||||
"line": 56,
|
||||
"character": 20
|
||||
}
|
||||
]
|
||||
@@ -633,7 +633,7 @@
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 53,
|
||||
"line": 54,
|
||||
"character": 5
|
||||
}
|
||||
]
|
||||
@@ -644,32 +644,32 @@
|
||||
"title": "Constructors",
|
||||
"kind": 512,
|
||||
"children": [
|
||||
451
|
||||
456
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Properties",
|
||||
"kind": 1024,
|
||||
"children": [
|
||||
446,
|
||||
450,
|
||||
445
|
||||
451,
|
||||
455,
|
||||
450
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "Methods",
|
||||
"kind": 2048,
|
||||
"children": [
|
||||
461,
|
||||
464,
|
||||
468
|
||||
466,
|
||||
469,
|
||||
473
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "PostgrestClient.ts",
|
||||
"line": 5,
|
||||
"line": 6,
|
||||
"character": 36
|
||||
}
|
||||
]
|
||||
@@ -680,7 +680,7 @@
|
||||
"title": "Classes",
|
||||
"kind": 128,
|
||||
"children": [
|
||||
444
|
||||
449
|
||||
]
|
||||
}
|
||||
],
|
||||
@@ -693,7 +693,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 476,
|
||||
"id": 481,
|
||||
"name": "\"index\"",
|
||||
"kind": 1,
|
||||
"kindString": "Module",
|
||||
@@ -7891,7 +7891,7 @@
|
||||
"isExported": true
|
||||
},
|
||||
"comment": {
|
||||
"shortText": "Perform a stored procedure call."
|
||||
"shortText": "Perform a function call."
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
@@ -9922,6 +9922,87 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 445,
|
||||
"name": "\"lib/constants\"",
|
||||
"kind": 1,
|
||||
"kindString": "Module",
|
||||
"flags": {
|
||||
"isExported": true
|
||||
},
|
||||
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/constants.ts",
|
||||
"children": [
|
||||
{
|
||||
"id": 446,
|
||||
"name": "DEFAULT_HEADERS",
|
||||
"kind": 2097152,
|
||||
"kindString": "Object literal",
|
||||
"flags": {
|
||||
"isExported": true,
|
||||
"isConst": true
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"id": 447,
|
||||
"name": "X-Client-Info",
|
||||
"kind": 32,
|
||||
"kindString": "Variable",
|
||||
"flags": {
|
||||
"isExported": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "lib/constants.ts",
|
||||
"line": 2,
|
||||
"character": 48
|
||||
}
|
||||
],
|
||||
"type": {
|
||||
"type": "intrinsic",
|
||||
"name": "string"
|
||||
},
|
||||
"defaultValue": "`postgrest-js/${version}`"
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"title": "Variables",
|
||||
"kind": 32,
|
||||
"children": [
|
||||
447
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "lib/constants.ts",
|
||||
"line": 2,
|
||||
"character": 28
|
||||
}
|
||||
],
|
||||
"type": {
|
||||
"type": "intrinsic",
|
||||
"name": "object"
|
||||
}
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"title": "Object literals",
|
||||
"kind": 2097152,
|
||||
"children": [
|
||||
446
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "lib/constants.ts",
|
||||
"line": 1,
|
||||
"character": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 1,
|
||||
"name": "\"lib/types\"",
|
||||
@@ -11531,6 +11612,56 @@
|
||||
"character": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 443,
|
||||
"name": "\"lib/version\"",
|
||||
"kind": 1,
|
||||
"kindString": "Module",
|
||||
"flags": {
|
||||
"isExported": true
|
||||
},
|
||||
"originalName": "/home/runner/work/postgrest-js/postgrest-js/src/lib/version.ts",
|
||||
"children": [
|
||||
{
|
||||
"id": 444,
|
||||
"name": "version",
|
||||
"kind": 32,
|
||||
"kindString": "Variable",
|
||||
"flags": {
|
||||
"isExported": true,
|
||||
"isConst": true
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "lib/version.ts",
|
||||
"line": 2,
|
||||
"character": 20
|
||||
}
|
||||
],
|
||||
"type": {
|
||||
"type": "stringLiteral",
|
||||
"value": "0.0.0-automated"
|
||||
},
|
||||
"defaultValue": "\"0.0.0-automated\""
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
{
|
||||
"title": "Variables",
|
||||
"kind": 32,
|
||||
"children": [
|
||||
444
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"fileName": "lib/version.ts",
|
||||
"line": 1,
|
||||
"character": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"groups": [
|
||||
@@ -11538,13 +11669,15 @@
|
||||
"title": "Modules",
|
||||
"kind": 1,
|
||||
"children": [
|
||||
443,
|
||||
476,
|
||||
448,
|
||||
481,
|
||||
126,
|
||||
321,
|
||||
401,
|
||||
67,
|
||||
1
|
||||
445,
|
||||
1,
|
||||
443
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
+1386
-1274
File diff suppressed because it is too large.
Load diff
+748
-604
File diff suppressed because it is too large.
Load diff
+750
-577
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user