@appwrite.io/console 12.1.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cjs/sdk.js +495 -154
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +496 -155
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +496 -155
- package/package.json +1 -1
- package/types/enums/{method-id.d.ts → auth-method.d.ts} +1 -1
- package/types/enums/o-auth-2-google-prompt.d.ts +5 -0
- package/types/enums/o-auth-provider.d.ts +3 -1
- package/types/enums/on-duplicate.d.ts +5 -0
- package/types/enums/{policy-id.d.ts → project-policy.d.ts} +1 -1
- package/types/enums/prompt.d.ts +5 -0
- package/types/enums/proxy-rule-status.d.ts +2 -3
- package/types/enums/scopes.d.ts +2 -2
- package/types/index.d.ts +5 -2
- package/types/models.d.ts +112 -9
- package/types/services/databases.d.ts +86 -0
- package/types/services/functions.d.ts +13 -4
- package/types/services/migrations.d.ts +13 -3
- package/types/services/project.d.ts +108 -88
- package/types/services/proxy.d.ts +21 -8
- package/types/services/sites.d.ts +13 -4
- package/types/services/tables-db.d.ts +84 -0
- package/types/services/vcs.d.ts +9 -3
|
@@ -442,6 +442,90 @@ export declare class TablesDB {
|
|
|
442
442
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
443
443
|
*/
|
|
444
444
|
listColumns(databaseId: string, tableId: string, queries?: string[], total?: boolean): Promise<Models.ColumnList>;
|
|
445
|
+
/**
|
|
446
|
+
* Create a bigint column. Optionally, minimum and maximum values can be provided.
|
|
447
|
+
*
|
|
448
|
+
*
|
|
449
|
+
* @param {string} params.databaseId - Database ID.
|
|
450
|
+
* @param {string} params.tableId - Table ID.
|
|
451
|
+
* @param {string} params.key - Column Key.
|
|
452
|
+
* @param {boolean} params.required - Is column required?
|
|
453
|
+
* @param {number | bigint} params.min - Minimum value
|
|
454
|
+
* @param {number | bigint} params.max - Maximum value
|
|
455
|
+
* @param {number | bigint} params.xdefault - Default value. Cannot be set when column is required.
|
|
456
|
+
* @param {boolean} params.array - Is column an array?
|
|
457
|
+
* @throws {AppwriteException}
|
|
458
|
+
* @returns {Promise<Models.ColumnBigint>}
|
|
459
|
+
*/
|
|
460
|
+
createBigIntColumn(params: {
|
|
461
|
+
databaseId: string;
|
|
462
|
+
tableId: string;
|
|
463
|
+
key: string;
|
|
464
|
+
required: boolean;
|
|
465
|
+
min?: number | bigint;
|
|
466
|
+
max?: number | bigint;
|
|
467
|
+
xdefault?: number | bigint;
|
|
468
|
+
array?: boolean;
|
|
469
|
+
}): Promise<Models.ColumnBigint>;
|
|
470
|
+
/**
|
|
471
|
+
* Create a bigint column. Optionally, minimum and maximum values can be provided.
|
|
472
|
+
*
|
|
473
|
+
*
|
|
474
|
+
* @param {string} databaseId - Database ID.
|
|
475
|
+
* @param {string} tableId - Table ID.
|
|
476
|
+
* @param {string} key - Column Key.
|
|
477
|
+
* @param {boolean} required - Is column required?
|
|
478
|
+
* @param {number | bigint} min - Minimum value
|
|
479
|
+
* @param {number | bigint} max - Maximum value
|
|
480
|
+
* @param {number | bigint} xdefault - Default value. Cannot be set when column is required.
|
|
481
|
+
* @param {boolean} array - Is column an array?
|
|
482
|
+
* @throws {AppwriteException}
|
|
483
|
+
* @returns {Promise<Models.ColumnBigint>}
|
|
484
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
485
|
+
*/
|
|
486
|
+
createBigIntColumn(databaseId: string, tableId: string, key: string, required: boolean, min?: number | bigint, max?: number | bigint, xdefault?: number | bigint, array?: boolean): Promise<Models.ColumnBigint>;
|
|
487
|
+
/**
|
|
488
|
+
* Update a bigint column. Changing the `default` value will not update already existing rows.
|
|
489
|
+
*
|
|
490
|
+
*
|
|
491
|
+
* @param {string} params.databaseId - Database ID.
|
|
492
|
+
* @param {string} params.tableId - Table ID.
|
|
493
|
+
* @param {string} params.key - Column Key.
|
|
494
|
+
* @param {boolean} params.required - Is column required?
|
|
495
|
+
* @param {number | bigint} params.xdefault - Default value. Cannot be set when column is required.
|
|
496
|
+
* @param {number | bigint} params.min - Minimum value
|
|
497
|
+
* @param {number | bigint} params.max - Maximum value
|
|
498
|
+
* @param {string} params.newKey - New Column Key.
|
|
499
|
+
* @throws {AppwriteException}
|
|
500
|
+
* @returns {Promise<Models.ColumnBigint>}
|
|
501
|
+
*/
|
|
502
|
+
updateBigIntColumn(params: {
|
|
503
|
+
databaseId: string;
|
|
504
|
+
tableId: string;
|
|
505
|
+
key: string;
|
|
506
|
+
required: boolean;
|
|
507
|
+
xdefault?: number | bigint;
|
|
508
|
+
min?: number | bigint;
|
|
509
|
+
max?: number | bigint;
|
|
510
|
+
newKey?: string;
|
|
511
|
+
}): Promise<Models.ColumnBigint>;
|
|
512
|
+
/**
|
|
513
|
+
* Update a bigint column. Changing the `default` value will not update already existing rows.
|
|
514
|
+
*
|
|
515
|
+
*
|
|
516
|
+
* @param {string} databaseId - Database ID.
|
|
517
|
+
* @param {string} tableId - Table ID.
|
|
518
|
+
* @param {string} key - Column Key.
|
|
519
|
+
* @param {boolean} required - Is column required?
|
|
520
|
+
* @param {number | bigint} xdefault - Default value. Cannot be set when column is required.
|
|
521
|
+
* @param {number | bigint} min - Minimum value
|
|
522
|
+
* @param {number | bigint} max - Maximum value
|
|
523
|
+
* @param {string} newKey - New Column Key.
|
|
524
|
+
* @throws {AppwriteException}
|
|
525
|
+
* @returns {Promise<Models.ColumnBigint>}
|
|
526
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
527
|
+
*/
|
|
528
|
+
updateBigIntColumn(databaseId: string, tableId: string, key: string, required: boolean, xdefault?: number | bigint, min?: number | bigint, max?: number | bigint, newKey?: string): Promise<Models.ColumnBigint>;
|
|
445
529
|
/**
|
|
446
530
|
* Create a boolean column.
|
|
447
531
|
*
|
package/types/services/vcs.d.ts
CHANGED
|
@@ -108,29 +108,35 @@ export declare class Vcs {
|
|
|
108
108
|
*/
|
|
109
109
|
getRepository(installationId: string, providerRepositoryId: string): Promise<Models.ProviderRepository>;
|
|
110
110
|
/**
|
|
111
|
-
* Get a list of
|
|
111
|
+
* Get a list of branches from a GitHub repository in your installation. This endpoint supports filtering by a search term and pagination using query strings such as `Query.limit()`, `Query.offset()`, `Query.cursorAfter()`, and `Query.cursorBefore()`. It returns branch names along with the total number of matches. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.
|
|
112
112
|
*
|
|
113
113
|
*
|
|
114
114
|
* @param {string} params.installationId - Installation Id
|
|
115
115
|
* @param {string} params.providerRepositoryId - Repository Id
|
|
116
|
+
* @param {string} params.search - Search term to filter your list results. Max length: 256 chars.
|
|
117
|
+
* @param {string[]} params.queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit, offset, cursorAfter, and cursorBefore
|
|
116
118
|
* @throws {AppwriteException}
|
|
117
119
|
* @returns {Promise<Models.BranchList>}
|
|
118
120
|
*/
|
|
119
121
|
listRepositoryBranches(params: {
|
|
120
122
|
installationId: string;
|
|
121
123
|
providerRepositoryId: string;
|
|
124
|
+
search?: string;
|
|
125
|
+
queries?: string[];
|
|
122
126
|
}): Promise<Models.BranchList>;
|
|
123
127
|
/**
|
|
124
|
-
* Get a list of
|
|
128
|
+
* Get a list of branches from a GitHub repository in your installation. This endpoint supports filtering by a search term and pagination using query strings such as `Query.limit()`, `Query.offset()`, `Query.cursorAfter()`, and `Query.cursorBefore()`. It returns branch names along with the total number of matches. The GitHub installation must be properly configured and have access to the requested repository for this endpoint to work.
|
|
125
129
|
*
|
|
126
130
|
*
|
|
127
131
|
* @param {string} installationId - Installation Id
|
|
128
132
|
* @param {string} providerRepositoryId - Repository Id
|
|
133
|
+
* @param {string} search - Search term to filter your list results. Max length: 256 chars.
|
|
134
|
+
* @param {string[]} queries - Array of query strings generated using the Query class provided by the SDK. [Learn more about queries](https://appwrite.io/docs/queries). Only supported methods are limit, offset, cursorAfter, and cursorBefore
|
|
129
135
|
* @throws {AppwriteException}
|
|
130
136
|
* @returns {Promise<Models.BranchList>}
|
|
131
137
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
132
138
|
*/
|
|
133
|
-
listRepositoryBranches(installationId: string, providerRepositoryId: string): Promise<Models.BranchList>;
|
|
139
|
+
listRepositoryBranches(installationId: string, providerRepositoryId: string, search?: string, queries?: string[]): Promise<Models.BranchList>;
|
|
134
140
|
/**
|
|
135
141
|
* Get a list of files and directories from a GitHub repository connected to your project. This endpoint returns the contents of a specified repository path, including file names, sizes, and whether each item is a file or directory. The GitHub installation must be properly configured and the repository must be accessible through your installation for this endpoint to work.
|
|
136
142
|
*
|