@appwrite.io/console 7.0.0 → 8.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/CHANGELOG.md +22 -6
- package/README.md +2 -2
- package/dist/cjs/sdk.js +211 -303
- package/dist/cjs/sdk.js.map +1 -1
- package/dist/esm/sdk.js +209 -297
- package/dist/esm/sdk.js.map +1 -1
- package/dist/iife/sdk.js +227 -306
- package/docs/examples/databases/create-index.md +2 -2
- package/docs/examples/domains/create-purchase.md +2 -1
- package/docs/examples/domains/create-transfer-in.md +2 -1
- package/docs/examples/domains/update-auto-renewal.md +16 -0
- package/docs/examples/project/create-variable.md +1 -0
- package/docs/examples/project/list-variables.md +4 -1
- package/docs/examples/project/update-variable.md +1 -1
- package/docs/examples/tablesdb/create-index.md +2 -2
- package/docs/examples/users/update-impersonator.md +16 -0
- package/package.json +7 -7
- package/rollup.config.js +2 -1
- package/src/client.ts +49 -1
- package/src/enums/appwrite-migration-resource.ts +2 -0
- package/src/enums/backup-services.ts +3 -0
- package/src/enums/build-runtime.ts +0 -86
- package/src/enums/database-type.ts +2 -0
- package/src/enums/databases-index-type.ts +6 -0
- package/src/enums/runtime.ts +0 -86
- package/src/enums/runtimes.ts +0 -86
- package/src/enums/scopes.ts +13 -2
- package/src/enums/{index-type.ts → tables-db-index-type.ts} +1 -1
- package/src/enums/template-reference-type.ts +1 -1
- package/src/enums/use-cases.ts +7 -2
- package/src/index.ts +2 -1
- package/src/models.ts +136 -90
- package/src/services/databases.ts +10 -10
- package/src/services/domains.ts +103 -26
- package/src/services/project.ts +76 -33
- package/src/services/tables-db.ts +10 -10
- package/src/services/users.ts +67 -2
- package/types/channel.d.ts +3 -3
- package/types/client.d.ts +37 -4
- package/types/enums/appwrite-migration-resource.d.ts +2 -0
- package/types/enums/backup-services.d.ts +3 -0
- package/types/enums/build-runtime.d.ts +1 -87
- package/types/enums/database-type.d.ts +3 -1
- package/types/enums/databases-index-type.d.ts +6 -0
- package/types/enums/runtime.d.ts +1 -87
- package/types/enums/runtimes.d.ts +1 -87
- package/types/enums/scopes.d.ts +14 -3
- package/types/enums/{index-type.d.ts → tables-db-index-type.d.ts} +1 -1
- package/types/enums/template-reference-type.d.ts +1 -1
- package/types/enums/use-cases.d.ts +7 -2
- package/types/index.d.ts +2 -1
- package/types/models.d.ts +136 -87
- package/types/operator.d.ts +3 -3
- package/types/query.d.ts +4 -4
- package/types/services/databases.d.ts +5 -5
- package/types/services/domains.d.ts +42 -14
- package/types/services/project.d.ts +37 -19
- package/types/services/realtime.d.ts +6 -6
- package/types/services/tables-db.d.ts +5 -5
- package/types/services/users.d.ts +26 -2
package/dist/esm/sdk.js
CHANGED
|
@@ -14,6 +14,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
14
14
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */
|
|
17
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
18
|
+
|
|
17
19
|
|
|
18
20
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
19
21
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
@@ -29,7 +31,12 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
|
29
31
|
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
30
32
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
31
33
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
32
|
-
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
37
|
+
var e = new Error(message);
|
|
38
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
39
|
+
};
|
|
33
40
|
|
|
34
41
|
const JSONbig$1 = JSONbigModule({ useNativeBigInt: true });
|
|
35
42
|
/**
|
|
@@ -557,6 +564,9 @@ class Client {
|
|
|
557
564
|
locale: '',
|
|
558
565
|
mode: '',
|
|
559
566
|
cookie: '',
|
|
567
|
+
impersonateuserid: '',
|
|
568
|
+
impersonateuseremail: '',
|
|
569
|
+
impersonateuserphone: '',
|
|
560
570
|
platform: '',
|
|
561
571
|
selfSigned: false,
|
|
562
572
|
session: undefined,
|
|
@@ -568,7 +578,7 @@ class Client {
|
|
|
568
578
|
'x-sdk-name': 'Console',
|
|
569
579
|
'x-sdk-platform': 'console',
|
|
570
580
|
'x-sdk-language': 'web',
|
|
571
|
-
'x-sdk-version': '
|
|
581
|
+
'x-sdk-version': '8.0.0',
|
|
572
582
|
'X-Appwrite-Response-Format': '1.9.0',
|
|
573
583
|
};
|
|
574
584
|
this.realtime = {
|
|
@@ -899,6 +909,48 @@ class Client {
|
|
|
899
909
|
this.config.cookie = value;
|
|
900
910
|
return this;
|
|
901
911
|
}
|
|
912
|
+
/**
|
|
913
|
+
* Set ImpersonateUserId
|
|
914
|
+
*
|
|
915
|
+
* Impersonate a user by ID on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
|
|
916
|
+
*
|
|
917
|
+
* @param value string
|
|
918
|
+
*
|
|
919
|
+
* @return {this}
|
|
920
|
+
*/
|
|
921
|
+
setImpersonateUserId(value) {
|
|
922
|
+
this.headers['X-Appwrite-Impersonate-User-Id'] = value;
|
|
923
|
+
this.config.impersonateuserid = value;
|
|
924
|
+
return this;
|
|
925
|
+
}
|
|
926
|
+
/**
|
|
927
|
+
* Set ImpersonateUserEmail
|
|
928
|
+
*
|
|
929
|
+
* Impersonate a user by email on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
|
|
930
|
+
*
|
|
931
|
+
* @param value string
|
|
932
|
+
*
|
|
933
|
+
* @return {this}
|
|
934
|
+
*/
|
|
935
|
+
setImpersonateUserEmail(value) {
|
|
936
|
+
this.headers['X-Appwrite-Impersonate-User-Email'] = value;
|
|
937
|
+
this.config.impersonateuseremail = value;
|
|
938
|
+
return this;
|
|
939
|
+
}
|
|
940
|
+
/**
|
|
941
|
+
* Set ImpersonateUserPhone
|
|
942
|
+
*
|
|
943
|
+
* Impersonate a user by phone on an already user-authenticated request. Requires the current request to be authenticated as a user with impersonator capability; X-Appwrite-Key alone is not sufficient. Impersonator users are intentionally granted users.read so they can discover a target before impersonation begins. Internal audit logs still attribute actions to the original impersonator and record the impersonated target only in internal audit payload data.
|
|
944
|
+
*
|
|
945
|
+
* @param value string
|
|
946
|
+
*
|
|
947
|
+
* @return {this}
|
|
948
|
+
*/
|
|
949
|
+
setImpersonateUserPhone(value) {
|
|
950
|
+
this.headers['X-Appwrite-Impersonate-User-Phone'] = value;
|
|
951
|
+
this.config.impersonateuserphone = value;
|
|
952
|
+
return this;
|
|
953
|
+
}
|
|
902
954
|
/**
|
|
903
955
|
* Set Platform
|
|
904
956
|
*
|
|
@@ -1026,9 +1078,9 @@ class Client {
|
|
|
1026
1078
|
}
|
|
1027
1079
|
return { uri: url.toString(), options };
|
|
1028
1080
|
}
|
|
1029
|
-
chunkedUpload(
|
|
1030
|
-
|
|
1031
|
-
|
|
1081
|
+
chunkedUpload(method_1, url_1) {
|
|
1082
|
+
return __awaiter(this, arguments, void 0, function* (method, url, headers = {}, originalPayload = {}, onProgress) {
|
|
1083
|
+
var _a;
|
|
1032
1084
|
const [fileParam, file] = (_a = Object.entries(originalPayload).find(([_, value]) => value instanceof File)) !== null && _a !== void 0 ? _a : [];
|
|
1033
1085
|
if (!file || !fileParam) {
|
|
1034
1086
|
throw new Error('File not found in payload');
|
|
@@ -1070,9 +1122,9 @@ class Client {
|
|
|
1070
1122
|
return this.call('GET', new URL(this.config.endpoint + '/ping'));
|
|
1071
1123
|
});
|
|
1072
1124
|
}
|
|
1073
|
-
call(
|
|
1074
|
-
|
|
1075
|
-
|
|
1125
|
+
call(method_1, url_1) {
|
|
1126
|
+
return __awaiter(this, arguments, void 0, function* (method, url, headers = {}, params = {}, responseType = 'json') {
|
|
1127
|
+
var _a, _b;
|
|
1076
1128
|
const { uri, options } = this.prepareRequest(method, url, headers, params);
|
|
1077
1129
|
let data = null;
|
|
1078
1130
|
const response = yield fetch(uri, options);
|
|
@@ -7782,7 +7834,8 @@ class Domains {
|
|
|
7782
7834
|
paymentMethodId: rest[6],
|
|
7783
7835
|
addressLine3: rest[7],
|
|
7784
7836
|
companyName: rest[8],
|
|
7785
|
-
periodYears: rest[9]
|
|
7837
|
+
periodYears: rest[9],
|
|
7838
|
+
autoRenewal: rest[10]
|
|
7786
7839
|
};
|
|
7787
7840
|
}
|
|
7788
7841
|
const domain = params.domain;
|
|
@@ -7796,6 +7849,7 @@ class Domains {
|
|
|
7796
7849
|
const addressLine3 = params.addressLine3;
|
|
7797
7850
|
const companyName = params.companyName;
|
|
7798
7851
|
const periodYears = params.periodYears;
|
|
7852
|
+
const autoRenewal = params.autoRenewal;
|
|
7799
7853
|
if (typeof domain === 'undefined') {
|
|
7800
7854
|
throw new AppwriteException('Missing required parameter: "domain"');
|
|
7801
7855
|
}
|
|
@@ -7852,6 +7906,9 @@ class Domains {
|
|
|
7852
7906
|
if (typeof periodYears !== 'undefined') {
|
|
7853
7907
|
payload['periodYears'] = periodYears;
|
|
7854
7908
|
}
|
|
7909
|
+
if (typeof autoRenewal !== 'undefined') {
|
|
7910
|
+
payload['autoRenewal'] = autoRenewal;
|
|
7911
|
+
}
|
|
7855
7912
|
if (typeof paymentMethodId !== 'undefined') {
|
|
7856
7913
|
payload['paymentMethodId'] = paymentMethodId;
|
|
7857
7914
|
}
|
|
@@ -7949,13 +8006,15 @@ class Domains {
|
|
|
7949
8006
|
domain: paramsOrFirst,
|
|
7950
8007
|
organizationId: rest[0],
|
|
7951
8008
|
authCode: rest[1],
|
|
7952
|
-
paymentMethodId: rest[2]
|
|
8009
|
+
paymentMethodId: rest[2],
|
|
8010
|
+
autoRenewal: rest[3]
|
|
7953
8011
|
};
|
|
7954
8012
|
}
|
|
7955
8013
|
const domain = params.domain;
|
|
7956
8014
|
const organizationId = params.organizationId;
|
|
7957
8015
|
const authCode = params.authCode;
|
|
7958
8016
|
const paymentMethodId = params.paymentMethodId;
|
|
8017
|
+
const autoRenewal = params.autoRenewal;
|
|
7959
8018
|
if (typeof domain === 'undefined') {
|
|
7960
8019
|
throw new AppwriteException('Missing required parameter: "domain"');
|
|
7961
8020
|
}
|
|
@@ -7979,6 +8038,9 @@ class Domains {
|
|
|
7979
8038
|
if (typeof authCode !== 'undefined') {
|
|
7980
8039
|
payload['authCode'] = authCode;
|
|
7981
8040
|
}
|
|
8041
|
+
if (typeof autoRenewal !== 'undefined') {
|
|
8042
|
+
payload['autoRenewal'] = autoRenewal;
|
|
8043
|
+
}
|
|
7982
8044
|
if (typeof paymentMethodId !== 'undefined') {
|
|
7983
8045
|
payload['paymentMethodId'] = paymentMethodId;
|
|
7984
8046
|
}
|
|
@@ -8093,6 +8155,36 @@ class Domains {
|
|
|
8093
8155
|
};
|
|
8094
8156
|
return this.client.call('delete', uri, apiHeaders, payload);
|
|
8095
8157
|
}
|
|
8158
|
+
updateAutoRenewal(paramsOrFirst, ...rest) {
|
|
8159
|
+
let params;
|
|
8160
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
8161
|
+
params = (paramsOrFirst || {});
|
|
8162
|
+
}
|
|
8163
|
+
else {
|
|
8164
|
+
params = {
|
|
8165
|
+
domainId: paramsOrFirst,
|
|
8166
|
+
autoRenewal: rest[0]
|
|
8167
|
+
};
|
|
8168
|
+
}
|
|
8169
|
+
const domainId = params.domainId;
|
|
8170
|
+
const autoRenewal = params.autoRenewal;
|
|
8171
|
+
if (typeof domainId === 'undefined') {
|
|
8172
|
+
throw new AppwriteException('Missing required parameter: "domainId"');
|
|
8173
|
+
}
|
|
8174
|
+
if (typeof autoRenewal === 'undefined') {
|
|
8175
|
+
throw new AppwriteException('Missing required parameter: "autoRenewal"');
|
|
8176
|
+
}
|
|
8177
|
+
const apiPath = '/domains/{domainId}/auto-renewal'.replace('{domainId}', domainId);
|
|
8178
|
+
const payload = {};
|
|
8179
|
+
if (typeof autoRenewal !== 'undefined') {
|
|
8180
|
+
payload['autoRenewal'] = autoRenewal;
|
|
8181
|
+
}
|
|
8182
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
8183
|
+
const apiHeaders = {
|
|
8184
|
+
'content-type': 'application/json',
|
|
8185
|
+
};
|
|
8186
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
8187
|
+
}
|
|
8096
8188
|
updateNameservers(paramsOrFirst) {
|
|
8097
8189
|
let params;
|
|
8098
8190
|
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
@@ -16328,15 +16420,27 @@ class Project {
|
|
|
16328
16420
|
const apiHeaders = {};
|
|
16329
16421
|
return this.client.call('get', uri, apiHeaders, payload);
|
|
16330
16422
|
}
|
|
16331
|
-
|
|
16332
|
-
|
|
16333
|
-
|
|
16334
|
-
|
|
16335
|
-
|
|
16336
|
-
|
|
16337
|
-
|
|
16423
|
+
listVariables(paramsOrFirst, ...rest) {
|
|
16424
|
+
let params;
|
|
16425
|
+
if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
16426
|
+
params = (paramsOrFirst || {});
|
|
16427
|
+
}
|
|
16428
|
+
else {
|
|
16429
|
+
params = {
|
|
16430
|
+
queries: paramsOrFirst,
|
|
16431
|
+
total: rest[0]
|
|
16432
|
+
};
|
|
16433
|
+
}
|
|
16434
|
+
const queries = params.queries;
|
|
16435
|
+
const total = params.total;
|
|
16338
16436
|
const apiPath = '/project/variables';
|
|
16339
16437
|
const payload = {};
|
|
16438
|
+
if (typeof queries !== 'undefined') {
|
|
16439
|
+
payload['queries'] = queries;
|
|
16440
|
+
}
|
|
16441
|
+
if (typeof total !== 'undefined') {
|
|
16442
|
+
payload['total'] = total;
|
|
16443
|
+
}
|
|
16340
16444
|
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
16341
16445
|
const apiHeaders = {};
|
|
16342
16446
|
return this.client.call('get', uri, apiHeaders, payload);
|
|
@@ -16348,14 +16452,19 @@ class Project {
|
|
|
16348
16452
|
}
|
|
16349
16453
|
else {
|
|
16350
16454
|
params = {
|
|
16351
|
-
|
|
16352
|
-
|
|
16353
|
-
|
|
16455
|
+
variableId: paramsOrFirst,
|
|
16456
|
+
key: rest[0],
|
|
16457
|
+
value: rest[1],
|
|
16458
|
+
secret: rest[2]
|
|
16354
16459
|
};
|
|
16355
16460
|
}
|
|
16461
|
+
const variableId = params.variableId;
|
|
16356
16462
|
const key = params.key;
|
|
16357
16463
|
const value = params.value;
|
|
16358
16464
|
const secret = params.secret;
|
|
16465
|
+
if (typeof variableId === 'undefined') {
|
|
16466
|
+
throw new AppwriteException('Missing required parameter: "variableId"');
|
|
16467
|
+
}
|
|
16359
16468
|
if (typeof key === 'undefined') {
|
|
16360
16469
|
throw new AppwriteException('Missing required parameter: "key"');
|
|
16361
16470
|
}
|
|
@@ -16364,6 +16473,9 @@ class Project {
|
|
|
16364
16473
|
}
|
|
16365
16474
|
const apiPath = '/project/variables';
|
|
16366
16475
|
const payload = {};
|
|
16476
|
+
if (typeof variableId !== 'undefined') {
|
|
16477
|
+
payload['variableId'] = variableId;
|
|
16478
|
+
}
|
|
16367
16479
|
if (typeof key !== 'undefined') {
|
|
16368
16480
|
payload['key'] = key;
|
|
16369
16481
|
}
|
|
@@ -16419,9 +16531,6 @@ class Project {
|
|
|
16419
16531
|
if (typeof variableId === 'undefined') {
|
|
16420
16532
|
throw new AppwriteException('Missing required parameter: "variableId"');
|
|
16421
16533
|
}
|
|
16422
|
-
if (typeof key === 'undefined') {
|
|
16423
|
-
throw new AppwriteException('Missing required parameter: "key"');
|
|
16424
|
-
}
|
|
16425
16534
|
const apiPath = '/project/variables/{variableId}'.replace('{variableId}', variableId);
|
|
16426
16535
|
const payload = {};
|
|
16427
16536
|
if (typeof key !== 'undefined') {
|
|
@@ -25145,6 +25254,36 @@ class Users {
|
|
|
25145
25254
|
};
|
|
25146
25255
|
return this.client.call('patch', uri, apiHeaders, payload);
|
|
25147
25256
|
}
|
|
25257
|
+
updateImpersonator(paramsOrFirst, ...rest) {
|
|
25258
|
+
let params;
|
|
25259
|
+
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
25260
|
+
params = (paramsOrFirst || {});
|
|
25261
|
+
}
|
|
25262
|
+
else {
|
|
25263
|
+
params = {
|
|
25264
|
+
userId: paramsOrFirst,
|
|
25265
|
+
impersonator: rest[0]
|
|
25266
|
+
};
|
|
25267
|
+
}
|
|
25268
|
+
const userId = params.userId;
|
|
25269
|
+
const impersonator = params.impersonator;
|
|
25270
|
+
if (typeof userId === 'undefined') {
|
|
25271
|
+
throw new AppwriteException('Missing required parameter: "userId"');
|
|
25272
|
+
}
|
|
25273
|
+
if (typeof impersonator === 'undefined') {
|
|
25274
|
+
throw new AppwriteException('Missing required parameter: "impersonator"');
|
|
25275
|
+
}
|
|
25276
|
+
const apiPath = '/users/{userId}/impersonator'.replace('{userId}', userId);
|
|
25277
|
+
const payload = {};
|
|
25278
|
+
if (typeof impersonator !== 'undefined') {
|
|
25279
|
+
payload['impersonator'] = impersonator;
|
|
25280
|
+
}
|
|
25281
|
+
const uri = new URL(this.client.config.endpoint + apiPath);
|
|
25282
|
+
const apiHeaders = {
|
|
25283
|
+
'content-type': 'application/json',
|
|
25284
|
+
};
|
|
25285
|
+
return this.client.call('patch', uri, apiHeaders, payload);
|
|
25286
|
+
}
|
|
25148
25287
|
createJWT(paramsOrFirst, ...rest) {
|
|
25149
25288
|
let params;
|
|
25150
25289
|
if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
|
|
@@ -26888,8 +27027,8 @@ class Realtime {
|
|
|
26888
27027
|
}
|
|
26889
27028
|
return String(channel);
|
|
26890
27029
|
}
|
|
26891
|
-
subscribe(
|
|
26892
|
-
return __awaiter(this,
|
|
27030
|
+
subscribe(channelsOrChannel_1, callback_1) {
|
|
27031
|
+
return __awaiter(this, arguments, void 0, function* (channelsOrChannel, callback, queries = []) {
|
|
26893
27032
|
const channelArray = Array.isArray(channelsOrChannel)
|
|
26894
27033
|
? channelsOrChannel
|
|
26895
27034
|
: [channelsOrChannel];
|
|
@@ -27209,7 +27348,7 @@ class ID {
|
|
|
27209
27348
|
*/
|
|
27210
27349
|
static unique(padding = 7) {
|
|
27211
27350
|
// Generate a unique ID with padding to have a longer ID
|
|
27212
|
-
const baseId = __classPrivateFieldGet(
|
|
27351
|
+
const baseId = __classPrivateFieldGet(_a, _a, "m", _ID_hexTimestamp).call(_a);
|
|
27213
27352
|
let randomPadding = '';
|
|
27214
27353
|
for (let i = 0; i < padding; i++) {
|
|
27215
27354
|
const randomHexDigit = Math.floor(Math.random() * 16).toString(16);
|
|
@@ -27603,11 +27742,12 @@ Operator.dateSetNow = () => new Operator("dateSetNow", []).toString();
|
|
|
27603
27742
|
|
|
27604
27743
|
var Scopes;
|
|
27605
27744
|
(function (Scopes) {
|
|
27745
|
+
Scopes["Account"] = "account";
|
|
27746
|
+
Scopes["TeamsRead"] = "teams.read";
|
|
27747
|
+
Scopes["TeamsWrite"] = "teams.write";
|
|
27606
27748
|
Scopes["SessionsWrite"] = "sessions.write";
|
|
27607
27749
|
Scopes["UsersRead"] = "users.read";
|
|
27608
27750
|
Scopes["UsersWrite"] = "users.write";
|
|
27609
|
-
Scopes["TeamsRead"] = "teams.read";
|
|
27610
|
-
Scopes["TeamsWrite"] = "teams.write";
|
|
27611
27751
|
Scopes["DatabasesRead"] = "databases.read";
|
|
27612
27752
|
Scopes["DatabasesWrite"] = "databases.write";
|
|
27613
27753
|
Scopes["CollectionsRead"] = "collections.read";
|
|
@@ -27662,6 +27802,8 @@ var Scopes;
|
|
|
27662
27802
|
Scopes["TokensWrite"] = "tokens.write";
|
|
27663
27803
|
Scopes["WebhooksRead"] = "webhooks.read";
|
|
27664
27804
|
Scopes["WebhooksWrite"] = "webhooks.write";
|
|
27805
|
+
Scopes["ProjectRead"] = "project.read";
|
|
27806
|
+
Scopes["ProjectWrite"] = "project.write";
|
|
27665
27807
|
Scopes["PoliciesWrite"] = "policies.write";
|
|
27666
27808
|
Scopes["PoliciesRead"] = "policies.read";
|
|
27667
27809
|
Scopes["ArchivesRead"] = "archives.read";
|
|
@@ -27671,6 +27813,14 @@ var Scopes;
|
|
|
27671
27813
|
Scopes["DomainsRead"] = "domains.read";
|
|
27672
27814
|
Scopes["DomainsWrite"] = "domains.write";
|
|
27673
27815
|
Scopes["EventsRead"] = "events.read";
|
|
27816
|
+
Scopes["PlatformsRead"] = "platforms.read";
|
|
27817
|
+
Scopes["PlatformsWrite"] = "platforms.write";
|
|
27818
|
+
Scopes["ProjectsRead"] = "projects.read";
|
|
27819
|
+
Scopes["ProjectsWrite"] = "projects.write";
|
|
27820
|
+
Scopes["KeysRead"] = "keys.read";
|
|
27821
|
+
Scopes["KeysWrite"] = "keys.write";
|
|
27822
|
+
Scopes["DevKeysRead"] = "devKeys.read";
|
|
27823
|
+
Scopes["DevKeysWrite"] = "devKeys.write";
|
|
27674
27824
|
})(Scopes || (Scopes = {}));
|
|
27675
27825
|
|
|
27676
27826
|
var AuthenticatorType;
|
|
@@ -28434,6 +28584,9 @@ var ImageFormat;
|
|
|
28434
28584
|
var BackupServices;
|
|
28435
28585
|
(function (BackupServices) {
|
|
28436
28586
|
BackupServices["Databases"] = "databases";
|
|
28587
|
+
BackupServices["Tablesdb"] = "tablesdb";
|
|
28588
|
+
BackupServices["Documentsdb"] = "documentsdb";
|
|
28589
|
+
BackupServices["Vectorsdb"] = "vectorsdb";
|
|
28437
28590
|
BackupServices["Functions"] = "functions";
|
|
28438
28591
|
BackupServices["Storage"] = "storage";
|
|
28439
28592
|
})(BackupServices || (BackupServices = {}));
|
|
@@ -28471,13 +28624,13 @@ var RelationMutate;
|
|
|
28471
28624
|
RelationMutate["SetNull"] = "setNull";
|
|
28472
28625
|
})(RelationMutate || (RelationMutate = {}));
|
|
28473
28626
|
|
|
28474
|
-
var
|
|
28475
|
-
(function (
|
|
28476
|
-
|
|
28477
|
-
|
|
28478
|
-
|
|
28479
|
-
|
|
28480
|
-
})(
|
|
28627
|
+
var DatabasesIndexType;
|
|
28628
|
+
(function (DatabasesIndexType) {
|
|
28629
|
+
DatabasesIndexType["Key"] = "key";
|
|
28630
|
+
DatabasesIndexType["Fulltext"] = "fulltext";
|
|
28631
|
+
DatabasesIndexType["Unique"] = "unique";
|
|
28632
|
+
DatabasesIndexType["Spatial"] = "spatial";
|
|
28633
|
+
})(DatabasesIndexType || (DatabasesIndexType = {}));
|
|
28481
28634
|
|
|
28482
28635
|
var OrderBy;
|
|
28483
28636
|
(function (OrderBy) {
|
|
@@ -28587,92 +28740,6 @@ var Runtime;
|
|
|
28587
28740
|
Runtime["Flutter332"] = "flutter-3.32";
|
|
28588
28741
|
Runtime["Flutter335"] = "flutter-3.35";
|
|
28589
28742
|
Runtime["Flutter338"] = "flutter-3.38";
|
|
28590
|
-
Runtime["Node145rc"] = "node-14.5-rc";
|
|
28591
|
-
Runtime["Node160rc"] = "node-16.0-rc";
|
|
28592
|
-
Runtime["Node180rc"] = "node-18.0-rc";
|
|
28593
|
-
Runtime["Node190rc"] = "node-19.0-rc";
|
|
28594
|
-
Runtime["Node200rc"] = "node-20.0-rc";
|
|
28595
|
-
Runtime["Node210rc"] = "node-21.0-rc";
|
|
28596
|
-
Runtime["Node22rc"] = "node-22-rc";
|
|
28597
|
-
Runtime["Node23rc"] = "node-23-rc";
|
|
28598
|
-
Runtime["Node24rc"] = "node-24-rc";
|
|
28599
|
-
Runtime["Node25rc"] = "node-25-rc";
|
|
28600
|
-
Runtime["Php80rc"] = "php-8.0-rc";
|
|
28601
|
-
Runtime["Php81rc"] = "php-8.1-rc";
|
|
28602
|
-
Runtime["Php82rc"] = "php-8.2-rc";
|
|
28603
|
-
Runtime["Php83rc"] = "php-8.3-rc";
|
|
28604
|
-
Runtime["Php84rc"] = "php-8.4-rc";
|
|
28605
|
-
Runtime["Ruby30rc"] = "ruby-3.0-rc";
|
|
28606
|
-
Runtime["Ruby31rc"] = "ruby-3.1-rc";
|
|
28607
|
-
Runtime["Ruby32rc"] = "ruby-3.2-rc";
|
|
28608
|
-
Runtime["Ruby33rc"] = "ruby-3.3-rc";
|
|
28609
|
-
Runtime["Ruby34rc"] = "ruby-3.4-rc";
|
|
28610
|
-
Runtime["Ruby40rc"] = "ruby-4.0-rc";
|
|
28611
|
-
Runtime["Python38rc"] = "python-3.8-rc";
|
|
28612
|
-
Runtime["Python39rc"] = "python-3.9-rc";
|
|
28613
|
-
Runtime["Python310rc"] = "python-3.10-rc";
|
|
28614
|
-
Runtime["Python311rc"] = "python-3.11-rc";
|
|
28615
|
-
Runtime["Python312rc"] = "python-3.12-rc";
|
|
28616
|
-
Runtime["Python313rc"] = "python-3.13-rc";
|
|
28617
|
-
Runtime["Python314rc"] = "python-3.14-rc";
|
|
28618
|
-
Runtime["Pythonml311rc"] = "python-ml-3.11-rc";
|
|
28619
|
-
Runtime["Pythonml312rc"] = "python-ml-3.12-rc";
|
|
28620
|
-
Runtime["Pythonml313rc"] = "python-ml-3.13-rc";
|
|
28621
|
-
Runtime["Deno140rc"] = "deno-1.40-rc";
|
|
28622
|
-
Runtime["Deno146rc"] = "deno-1.46-rc";
|
|
28623
|
-
Runtime["Deno20rc"] = "deno-2.0-rc";
|
|
28624
|
-
Runtime["Deno25rc"] = "deno-2.5-rc";
|
|
28625
|
-
Runtime["Deno26rc"] = "deno-2.6-rc";
|
|
28626
|
-
Runtime["Dart215rc"] = "dart-2.15-rc";
|
|
28627
|
-
Runtime["Dart216rc"] = "dart-2.16-rc";
|
|
28628
|
-
Runtime["Dart217rc"] = "dart-2.17-rc";
|
|
28629
|
-
Runtime["Dart218rc"] = "dart-2.18-rc";
|
|
28630
|
-
Runtime["Dart219rc"] = "dart-2.19-rc";
|
|
28631
|
-
Runtime["Dart30rc"] = "dart-3.0-rc";
|
|
28632
|
-
Runtime["Dart31rc"] = "dart-3.1-rc";
|
|
28633
|
-
Runtime["Dart33rc"] = "dart-3.3-rc";
|
|
28634
|
-
Runtime["Dart35rc"] = "dart-3.5-rc";
|
|
28635
|
-
Runtime["Dart38rc"] = "dart-3.8-rc";
|
|
28636
|
-
Runtime["Dart39rc"] = "dart-3.9-rc";
|
|
28637
|
-
Runtime["Dart310rc"] = "dart-3.10-rc";
|
|
28638
|
-
Runtime["Dotnet60rc"] = "dotnet-6.0-rc";
|
|
28639
|
-
Runtime["Dotnet70rc"] = "dotnet-7.0-rc";
|
|
28640
|
-
Runtime["Dotnet80rc"] = "dotnet-8.0-rc";
|
|
28641
|
-
Runtime["Dotnet10rc"] = "dotnet-10-rc";
|
|
28642
|
-
Runtime["Java80rc"] = "java-8.0-rc";
|
|
28643
|
-
Runtime["Java110rc"] = "java-11.0-rc";
|
|
28644
|
-
Runtime["Java170rc"] = "java-17.0-rc";
|
|
28645
|
-
Runtime["Java180rc"] = "java-18.0-rc";
|
|
28646
|
-
Runtime["Java210rc"] = "java-21.0-rc";
|
|
28647
|
-
Runtime["Java22rc"] = "java-22-rc";
|
|
28648
|
-
Runtime["Java25rc"] = "java-25-rc";
|
|
28649
|
-
Runtime["Swift55rc"] = "swift-5.5-rc";
|
|
28650
|
-
Runtime["Swift58rc"] = "swift-5.8-rc";
|
|
28651
|
-
Runtime["Swift59rc"] = "swift-5.9-rc";
|
|
28652
|
-
Runtime["Swift510rc"] = "swift-5.10-rc";
|
|
28653
|
-
Runtime["Swift62rc"] = "swift-6.2-rc";
|
|
28654
|
-
Runtime["Kotlin16rc"] = "kotlin-1.6-rc";
|
|
28655
|
-
Runtime["Kotlin18rc"] = "kotlin-1.8-rc";
|
|
28656
|
-
Runtime["Kotlin19rc"] = "kotlin-1.9-rc";
|
|
28657
|
-
Runtime["Kotlin20rc"] = "kotlin-2.0-rc";
|
|
28658
|
-
Runtime["Kotlin23rc"] = "kotlin-2.3-rc";
|
|
28659
|
-
Runtime["Cpp17rc"] = "cpp-17-rc";
|
|
28660
|
-
Runtime["Cpp20rc"] = "cpp-20-rc";
|
|
28661
|
-
Runtime["Bun10rc"] = "bun-1.0-rc";
|
|
28662
|
-
Runtime["Bun11rc"] = "bun-1.1-rc";
|
|
28663
|
-
Runtime["Bun12rc"] = "bun-1.2-rc";
|
|
28664
|
-
Runtime["Bun13rc"] = "bun-1.3-rc";
|
|
28665
|
-
Runtime["Go123rc"] = "go-1.23-rc";
|
|
28666
|
-
Runtime["Go124rc"] = "go-1.24-rc";
|
|
28667
|
-
Runtime["Go125rc"] = "go-1.25-rc";
|
|
28668
|
-
Runtime["Go126rc"] = "go-1.26-rc";
|
|
28669
|
-
Runtime["Static1rc"] = "static-1-rc";
|
|
28670
|
-
Runtime["Flutter324rc"] = "flutter-3.24-rc";
|
|
28671
|
-
Runtime["Flutter327rc"] = "flutter-3.27-rc";
|
|
28672
|
-
Runtime["Flutter329rc"] = "flutter-3.29-rc";
|
|
28673
|
-
Runtime["Flutter332rc"] = "flutter-3.32-rc";
|
|
28674
|
-
Runtime["Flutter335rc"] = "flutter-3.35-rc";
|
|
28675
|
-
Runtime["Flutter338rc"] = "flutter-3.38-rc";
|
|
28676
28743
|
})(Runtime || (Runtime = {}));
|
|
28677
28744
|
|
|
28678
28745
|
var Runtimes;
|
|
@@ -28763,111 +28830,30 @@ var Runtimes;
|
|
|
28763
28830
|
Runtimes["Flutter332"] = "flutter-3.32";
|
|
28764
28831
|
Runtimes["Flutter335"] = "flutter-3.35";
|
|
28765
28832
|
Runtimes["Flutter338"] = "flutter-3.38";
|
|
28766
|
-
Runtimes["Node145rc"] = "node-14.5-rc";
|
|
28767
|
-
Runtimes["Node160rc"] = "node-16.0-rc";
|
|
28768
|
-
Runtimes["Node180rc"] = "node-18.0-rc";
|
|
28769
|
-
Runtimes["Node190rc"] = "node-19.0-rc";
|
|
28770
|
-
Runtimes["Node200rc"] = "node-20.0-rc";
|
|
28771
|
-
Runtimes["Node210rc"] = "node-21.0-rc";
|
|
28772
|
-
Runtimes["Node22rc"] = "node-22-rc";
|
|
28773
|
-
Runtimes["Node23rc"] = "node-23-rc";
|
|
28774
|
-
Runtimes["Node24rc"] = "node-24-rc";
|
|
28775
|
-
Runtimes["Node25rc"] = "node-25-rc";
|
|
28776
|
-
Runtimes["Php80rc"] = "php-8.0-rc";
|
|
28777
|
-
Runtimes["Php81rc"] = "php-8.1-rc";
|
|
28778
|
-
Runtimes["Php82rc"] = "php-8.2-rc";
|
|
28779
|
-
Runtimes["Php83rc"] = "php-8.3-rc";
|
|
28780
|
-
Runtimes["Php84rc"] = "php-8.4-rc";
|
|
28781
|
-
Runtimes["Ruby30rc"] = "ruby-3.0-rc";
|
|
28782
|
-
Runtimes["Ruby31rc"] = "ruby-3.1-rc";
|
|
28783
|
-
Runtimes["Ruby32rc"] = "ruby-3.2-rc";
|
|
28784
|
-
Runtimes["Ruby33rc"] = "ruby-3.3-rc";
|
|
28785
|
-
Runtimes["Ruby34rc"] = "ruby-3.4-rc";
|
|
28786
|
-
Runtimes["Ruby40rc"] = "ruby-4.0-rc";
|
|
28787
|
-
Runtimes["Python38rc"] = "python-3.8-rc";
|
|
28788
|
-
Runtimes["Python39rc"] = "python-3.9-rc";
|
|
28789
|
-
Runtimes["Python310rc"] = "python-3.10-rc";
|
|
28790
|
-
Runtimes["Python311rc"] = "python-3.11-rc";
|
|
28791
|
-
Runtimes["Python312rc"] = "python-3.12-rc";
|
|
28792
|
-
Runtimes["Python313rc"] = "python-3.13-rc";
|
|
28793
|
-
Runtimes["Python314rc"] = "python-3.14-rc";
|
|
28794
|
-
Runtimes["Pythonml311rc"] = "python-ml-3.11-rc";
|
|
28795
|
-
Runtimes["Pythonml312rc"] = "python-ml-3.12-rc";
|
|
28796
|
-
Runtimes["Pythonml313rc"] = "python-ml-3.13-rc";
|
|
28797
|
-
Runtimes["Deno140rc"] = "deno-1.40-rc";
|
|
28798
|
-
Runtimes["Deno146rc"] = "deno-1.46-rc";
|
|
28799
|
-
Runtimes["Deno20rc"] = "deno-2.0-rc";
|
|
28800
|
-
Runtimes["Deno25rc"] = "deno-2.5-rc";
|
|
28801
|
-
Runtimes["Deno26rc"] = "deno-2.6-rc";
|
|
28802
|
-
Runtimes["Dart215rc"] = "dart-2.15-rc";
|
|
28803
|
-
Runtimes["Dart216rc"] = "dart-2.16-rc";
|
|
28804
|
-
Runtimes["Dart217rc"] = "dart-2.17-rc";
|
|
28805
|
-
Runtimes["Dart218rc"] = "dart-2.18-rc";
|
|
28806
|
-
Runtimes["Dart219rc"] = "dart-2.19-rc";
|
|
28807
|
-
Runtimes["Dart30rc"] = "dart-3.0-rc";
|
|
28808
|
-
Runtimes["Dart31rc"] = "dart-3.1-rc";
|
|
28809
|
-
Runtimes["Dart33rc"] = "dart-3.3-rc";
|
|
28810
|
-
Runtimes["Dart35rc"] = "dart-3.5-rc";
|
|
28811
|
-
Runtimes["Dart38rc"] = "dart-3.8-rc";
|
|
28812
|
-
Runtimes["Dart39rc"] = "dart-3.9-rc";
|
|
28813
|
-
Runtimes["Dart310rc"] = "dart-3.10-rc";
|
|
28814
|
-
Runtimes["Dotnet60rc"] = "dotnet-6.0-rc";
|
|
28815
|
-
Runtimes["Dotnet70rc"] = "dotnet-7.0-rc";
|
|
28816
|
-
Runtimes["Dotnet80rc"] = "dotnet-8.0-rc";
|
|
28817
|
-
Runtimes["Dotnet10rc"] = "dotnet-10-rc";
|
|
28818
|
-
Runtimes["Java80rc"] = "java-8.0-rc";
|
|
28819
|
-
Runtimes["Java110rc"] = "java-11.0-rc";
|
|
28820
|
-
Runtimes["Java170rc"] = "java-17.0-rc";
|
|
28821
|
-
Runtimes["Java180rc"] = "java-18.0-rc";
|
|
28822
|
-
Runtimes["Java210rc"] = "java-21.0-rc";
|
|
28823
|
-
Runtimes["Java22rc"] = "java-22-rc";
|
|
28824
|
-
Runtimes["Java25rc"] = "java-25-rc";
|
|
28825
|
-
Runtimes["Swift55rc"] = "swift-5.5-rc";
|
|
28826
|
-
Runtimes["Swift58rc"] = "swift-5.8-rc";
|
|
28827
|
-
Runtimes["Swift59rc"] = "swift-5.9-rc";
|
|
28828
|
-
Runtimes["Swift510rc"] = "swift-5.10-rc";
|
|
28829
|
-
Runtimes["Swift62rc"] = "swift-6.2-rc";
|
|
28830
|
-
Runtimes["Kotlin16rc"] = "kotlin-1.6-rc";
|
|
28831
|
-
Runtimes["Kotlin18rc"] = "kotlin-1.8-rc";
|
|
28832
|
-
Runtimes["Kotlin19rc"] = "kotlin-1.9-rc";
|
|
28833
|
-
Runtimes["Kotlin20rc"] = "kotlin-2.0-rc";
|
|
28834
|
-
Runtimes["Kotlin23rc"] = "kotlin-2.3-rc";
|
|
28835
|
-
Runtimes["Cpp17rc"] = "cpp-17-rc";
|
|
28836
|
-
Runtimes["Cpp20rc"] = "cpp-20-rc";
|
|
28837
|
-
Runtimes["Bun10rc"] = "bun-1.0-rc";
|
|
28838
|
-
Runtimes["Bun11rc"] = "bun-1.1-rc";
|
|
28839
|
-
Runtimes["Bun12rc"] = "bun-1.2-rc";
|
|
28840
|
-
Runtimes["Bun13rc"] = "bun-1.3-rc";
|
|
28841
|
-
Runtimes["Go123rc"] = "go-1.23-rc";
|
|
28842
|
-
Runtimes["Go124rc"] = "go-1.24-rc";
|
|
28843
|
-
Runtimes["Go125rc"] = "go-1.25-rc";
|
|
28844
|
-
Runtimes["Go126rc"] = "go-1.26-rc";
|
|
28845
|
-
Runtimes["Static1rc"] = "static-1-rc";
|
|
28846
|
-
Runtimes["Flutter324rc"] = "flutter-3.24-rc";
|
|
28847
|
-
Runtimes["Flutter327rc"] = "flutter-3.27-rc";
|
|
28848
|
-
Runtimes["Flutter329rc"] = "flutter-3.29-rc";
|
|
28849
|
-
Runtimes["Flutter332rc"] = "flutter-3.32-rc";
|
|
28850
|
-
Runtimes["Flutter335rc"] = "flutter-3.35-rc";
|
|
28851
|
-
Runtimes["Flutter338rc"] = "flutter-3.38-rc";
|
|
28852
28833
|
})(Runtimes || (Runtimes = {}));
|
|
28853
28834
|
|
|
28854
28835
|
var UseCases;
|
|
28855
28836
|
(function (UseCases) {
|
|
28856
|
-
UseCases["Portfolio"] = "portfolio";
|
|
28857
28837
|
UseCases["Starter"] = "starter";
|
|
28838
|
+
UseCases["Databases"] = "databases";
|
|
28839
|
+
UseCases["Ai"] = "ai";
|
|
28840
|
+
UseCases["Messaging"] = "messaging";
|
|
28841
|
+
UseCases["Utilities"] = "utilities";
|
|
28842
|
+
UseCases["Devtools"] = "dev-tools";
|
|
28843
|
+
UseCases["Auth"] = "auth";
|
|
28844
|
+
UseCases["Portfolio"] = "portfolio";
|
|
28858
28845
|
UseCases["Events"] = "events";
|
|
28859
28846
|
UseCases["Ecommerce"] = "ecommerce";
|
|
28860
28847
|
UseCases["Documentation"] = "documentation";
|
|
28861
28848
|
UseCases["Blog"] = "blog";
|
|
28862
|
-
UseCases["Ai"] = "ai";
|
|
28863
28849
|
UseCases["Forms"] = "forms";
|
|
28864
28850
|
UseCases["Dashboard"] = "dashboard";
|
|
28865
28851
|
})(UseCases || (UseCases = {}));
|
|
28866
28852
|
|
|
28867
28853
|
var TemplateReferenceType;
|
|
28868
28854
|
(function (TemplateReferenceType) {
|
|
28869
|
-
TemplateReferenceType["Branch"] = "branch";
|
|
28870
28855
|
TemplateReferenceType["Commit"] = "commit";
|
|
28856
|
+
TemplateReferenceType["Branch"] = "branch";
|
|
28871
28857
|
TemplateReferenceType["Tag"] = "tag";
|
|
28872
28858
|
})(TemplateReferenceType || (TemplateReferenceType = {}));
|
|
28873
28859
|
|
|
@@ -28938,6 +28924,8 @@ var AppwriteMigrationResource;
|
|
|
28938
28924
|
AppwriteMigrationResource["Document"] = "document";
|
|
28939
28925
|
AppwriteMigrationResource["Attribute"] = "attribute";
|
|
28940
28926
|
AppwriteMigrationResource["Collection"] = "collection";
|
|
28927
|
+
AppwriteMigrationResource["Documentsdb"] = "documentsdb";
|
|
28928
|
+
AppwriteMigrationResource["Vectorsdb"] = "vectorsdb";
|
|
28941
28929
|
AppwriteMigrationResource["Bucket"] = "bucket";
|
|
28942
28930
|
AppwriteMigrationResource["File"] = "file";
|
|
28943
28931
|
AppwriteMigrationResource["Function"] = "function";
|
|
@@ -29495,92 +29483,6 @@ var BuildRuntime;
|
|
|
29495
29483
|
BuildRuntime["Flutter332"] = "flutter-3.32";
|
|
29496
29484
|
BuildRuntime["Flutter335"] = "flutter-3.35";
|
|
29497
29485
|
BuildRuntime["Flutter338"] = "flutter-3.38";
|
|
29498
|
-
BuildRuntime["Node145rc"] = "node-14.5-rc";
|
|
29499
|
-
BuildRuntime["Node160rc"] = "node-16.0-rc";
|
|
29500
|
-
BuildRuntime["Node180rc"] = "node-18.0-rc";
|
|
29501
|
-
BuildRuntime["Node190rc"] = "node-19.0-rc";
|
|
29502
|
-
BuildRuntime["Node200rc"] = "node-20.0-rc";
|
|
29503
|
-
BuildRuntime["Node210rc"] = "node-21.0-rc";
|
|
29504
|
-
BuildRuntime["Node22rc"] = "node-22-rc";
|
|
29505
|
-
BuildRuntime["Node23rc"] = "node-23-rc";
|
|
29506
|
-
BuildRuntime["Node24rc"] = "node-24-rc";
|
|
29507
|
-
BuildRuntime["Node25rc"] = "node-25-rc";
|
|
29508
|
-
BuildRuntime["Php80rc"] = "php-8.0-rc";
|
|
29509
|
-
BuildRuntime["Php81rc"] = "php-8.1-rc";
|
|
29510
|
-
BuildRuntime["Php82rc"] = "php-8.2-rc";
|
|
29511
|
-
BuildRuntime["Php83rc"] = "php-8.3-rc";
|
|
29512
|
-
BuildRuntime["Php84rc"] = "php-8.4-rc";
|
|
29513
|
-
BuildRuntime["Ruby30rc"] = "ruby-3.0-rc";
|
|
29514
|
-
BuildRuntime["Ruby31rc"] = "ruby-3.1-rc";
|
|
29515
|
-
BuildRuntime["Ruby32rc"] = "ruby-3.2-rc";
|
|
29516
|
-
BuildRuntime["Ruby33rc"] = "ruby-3.3-rc";
|
|
29517
|
-
BuildRuntime["Ruby34rc"] = "ruby-3.4-rc";
|
|
29518
|
-
BuildRuntime["Ruby40rc"] = "ruby-4.0-rc";
|
|
29519
|
-
BuildRuntime["Python38rc"] = "python-3.8-rc";
|
|
29520
|
-
BuildRuntime["Python39rc"] = "python-3.9-rc";
|
|
29521
|
-
BuildRuntime["Python310rc"] = "python-3.10-rc";
|
|
29522
|
-
BuildRuntime["Python311rc"] = "python-3.11-rc";
|
|
29523
|
-
BuildRuntime["Python312rc"] = "python-3.12-rc";
|
|
29524
|
-
BuildRuntime["Python313rc"] = "python-3.13-rc";
|
|
29525
|
-
BuildRuntime["Python314rc"] = "python-3.14-rc";
|
|
29526
|
-
BuildRuntime["Pythonml311rc"] = "python-ml-3.11-rc";
|
|
29527
|
-
BuildRuntime["Pythonml312rc"] = "python-ml-3.12-rc";
|
|
29528
|
-
BuildRuntime["Pythonml313rc"] = "python-ml-3.13-rc";
|
|
29529
|
-
BuildRuntime["Deno140rc"] = "deno-1.40-rc";
|
|
29530
|
-
BuildRuntime["Deno146rc"] = "deno-1.46-rc";
|
|
29531
|
-
BuildRuntime["Deno20rc"] = "deno-2.0-rc";
|
|
29532
|
-
BuildRuntime["Deno25rc"] = "deno-2.5-rc";
|
|
29533
|
-
BuildRuntime["Deno26rc"] = "deno-2.6-rc";
|
|
29534
|
-
BuildRuntime["Dart215rc"] = "dart-2.15-rc";
|
|
29535
|
-
BuildRuntime["Dart216rc"] = "dart-2.16-rc";
|
|
29536
|
-
BuildRuntime["Dart217rc"] = "dart-2.17-rc";
|
|
29537
|
-
BuildRuntime["Dart218rc"] = "dart-2.18-rc";
|
|
29538
|
-
BuildRuntime["Dart219rc"] = "dart-2.19-rc";
|
|
29539
|
-
BuildRuntime["Dart30rc"] = "dart-3.0-rc";
|
|
29540
|
-
BuildRuntime["Dart31rc"] = "dart-3.1-rc";
|
|
29541
|
-
BuildRuntime["Dart33rc"] = "dart-3.3-rc";
|
|
29542
|
-
BuildRuntime["Dart35rc"] = "dart-3.5-rc";
|
|
29543
|
-
BuildRuntime["Dart38rc"] = "dart-3.8-rc";
|
|
29544
|
-
BuildRuntime["Dart39rc"] = "dart-3.9-rc";
|
|
29545
|
-
BuildRuntime["Dart310rc"] = "dart-3.10-rc";
|
|
29546
|
-
BuildRuntime["Dotnet60rc"] = "dotnet-6.0-rc";
|
|
29547
|
-
BuildRuntime["Dotnet70rc"] = "dotnet-7.0-rc";
|
|
29548
|
-
BuildRuntime["Dotnet80rc"] = "dotnet-8.0-rc";
|
|
29549
|
-
BuildRuntime["Dotnet10rc"] = "dotnet-10-rc";
|
|
29550
|
-
BuildRuntime["Java80rc"] = "java-8.0-rc";
|
|
29551
|
-
BuildRuntime["Java110rc"] = "java-11.0-rc";
|
|
29552
|
-
BuildRuntime["Java170rc"] = "java-17.0-rc";
|
|
29553
|
-
BuildRuntime["Java180rc"] = "java-18.0-rc";
|
|
29554
|
-
BuildRuntime["Java210rc"] = "java-21.0-rc";
|
|
29555
|
-
BuildRuntime["Java22rc"] = "java-22-rc";
|
|
29556
|
-
BuildRuntime["Java25rc"] = "java-25-rc";
|
|
29557
|
-
BuildRuntime["Swift55rc"] = "swift-5.5-rc";
|
|
29558
|
-
BuildRuntime["Swift58rc"] = "swift-5.8-rc";
|
|
29559
|
-
BuildRuntime["Swift59rc"] = "swift-5.9-rc";
|
|
29560
|
-
BuildRuntime["Swift510rc"] = "swift-5.10-rc";
|
|
29561
|
-
BuildRuntime["Swift62rc"] = "swift-6.2-rc";
|
|
29562
|
-
BuildRuntime["Kotlin16rc"] = "kotlin-1.6-rc";
|
|
29563
|
-
BuildRuntime["Kotlin18rc"] = "kotlin-1.8-rc";
|
|
29564
|
-
BuildRuntime["Kotlin19rc"] = "kotlin-1.9-rc";
|
|
29565
|
-
BuildRuntime["Kotlin20rc"] = "kotlin-2.0-rc";
|
|
29566
|
-
BuildRuntime["Kotlin23rc"] = "kotlin-2.3-rc";
|
|
29567
|
-
BuildRuntime["Cpp17rc"] = "cpp-17-rc";
|
|
29568
|
-
BuildRuntime["Cpp20rc"] = "cpp-20-rc";
|
|
29569
|
-
BuildRuntime["Bun10rc"] = "bun-1.0-rc";
|
|
29570
|
-
BuildRuntime["Bun11rc"] = "bun-1.1-rc";
|
|
29571
|
-
BuildRuntime["Bun12rc"] = "bun-1.2-rc";
|
|
29572
|
-
BuildRuntime["Bun13rc"] = "bun-1.3-rc";
|
|
29573
|
-
BuildRuntime["Go123rc"] = "go-1.23-rc";
|
|
29574
|
-
BuildRuntime["Go124rc"] = "go-1.24-rc";
|
|
29575
|
-
BuildRuntime["Go125rc"] = "go-1.25-rc";
|
|
29576
|
-
BuildRuntime["Go126rc"] = "go-1.26-rc";
|
|
29577
|
-
BuildRuntime["Static1rc"] = "static-1-rc";
|
|
29578
|
-
BuildRuntime["Flutter324rc"] = "flutter-3.24-rc";
|
|
29579
|
-
BuildRuntime["Flutter327rc"] = "flutter-3.27-rc";
|
|
29580
|
-
BuildRuntime["Flutter329rc"] = "flutter-3.29-rc";
|
|
29581
|
-
BuildRuntime["Flutter332rc"] = "flutter-3.32-rc";
|
|
29582
|
-
BuildRuntime["Flutter335rc"] = "flutter-3.35-rc";
|
|
29583
|
-
BuildRuntime["Flutter338rc"] = "flutter-3.38-rc";
|
|
29584
29486
|
})(BuildRuntime || (BuildRuntime = {}));
|
|
29585
29487
|
|
|
29586
29488
|
var Adapter;
|
|
@@ -29628,6 +29530,14 @@ var ImageGravity;
|
|
|
29628
29530
|
ImageGravity["Bottomright"] = "bottom-right";
|
|
29629
29531
|
})(ImageGravity || (ImageGravity = {}));
|
|
29630
29532
|
|
|
29533
|
+
var TablesDBIndexType;
|
|
29534
|
+
(function (TablesDBIndexType) {
|
|
29535
|
+
TablesDBIndexType["Key"] = "key";
|
|
29536
|
+
TablesDBIndexType["Fulltext"] = "fulltext";
|
|
29537
|
+
TablesDBIndexType["Unique"] = "unique";
|
|
29538
|
+
TablesDBIndexType["Spatial"] = "spatial";
|
|
29539
|
+
})(TablesDBIndexType || (TablesDBIndexType = {}));
|
|
29540
|
+
|
|
29631
29541
|
var PasswordHash;
|
|
29632
29542
|
(function (PasswordHash) {
|
|
29633
29543
|
PasswordHash["Sha1"] = "sha1";
|
|
@@ -29660,6 +29570,8 @@ var DatabaseType;
|
|
|
29660
29570
|
(function (DatabaseType) {
|
|
29661
29571
|
DatabaseType["Legacy"] = "legacy";
|
|
29662
29572
|
DatabaseType["Tablesdb"] = "tablesdb";
|
|
29573
|
+
DatabaseType["Documentsdb"] = "documentsdb";
|
|
29574
|
+
DatabaseType["Vectorsdb"] = "vectorsdb";
|
|
29663
29575
|
})(DatabaseType || (DatabaseType = {}));
|
|
29664
29576
|
|
|
29665
29577
|
var AttributeStatus;
|
|
@@ -29778,5 +29690,5 @@ var DomainPurchaseStatus;
|
|
|
29778
29690
|
DomainPurchaseStatus["Cancelled"] = "cancelled";
|
|
29779
29691
|
})(DomainPurchaseStatus || (DomainPurchaseStatus = {}));
|
|
29780
29692
|
|
|
29781
|
-
export { Account, Activities, Adapter, Api, ApiService, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DeploymentDownloadType, DeploymentStatus, DomainPurchaseStatus, DomainTransferStatusEnum, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, FirebaseMigrationResource, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus,
|
|
29693
|
+
export { Account, Activities, Adapter, Api, ApiService, AppwriteException, AppwriteMigrationResource, Assistant, AttributeStatus, AuthMethod, AuthenticationFactor, AuthenticatorType, Avatars, BackupServices, Backups, BillingPlanGroup, Browser, BrowserPermission, BuildRuntime, Channel, Client, ColumnStatus, Compression, Condition, Console, ConsoleResourceType, CreditCard, DatabaseType, Databases, DatabasesIndexType, DeploymentDownloadType, DeploymentStatus, DomainPurchaseStatus, DomainTransferStatusEnum, Domains, EmailTemplateLocale, EmailTemplateType, ExecutionMethod, ExecutionStatus, ExecutionTrigger, FilterType, FirebaseMigrationResource, Flag, Framework, Frameworks, Functions, Graphql, Health, HealthAntivirusStatus, HealthCheckStatus, ID, ImageFormat, ImageGravity, IndexStatus, Locale, MessagePriority, MessageStatus, Messaging, MessagingProviderType, Migrations, NHostMigrationResource, Name, OAuthProvider, Operator, OrderBy, Organizations, PasswordHash, Permission, Platform, PlatformType, Project, ProjectUsageRange, Projects, Proxy, ProxyResourceType, ProxyRuleDeploymentResourceType, ProxyRuleStatus, Query, Realtime, Region, RegistrationType, RelationMutate, RelationshipType, ResourceType, Role, Runtime, Runtimes, SMTPSecure, Scopes, Sites, SmsTemplateLocale, SmsTemplateType, SmtpEncryption, Status, StatusCode, Storage, SupabaseMigrationResource, TablesDB, TablesDBIndexType, Teams, TemplateReferenceType, Theme, Timezone, Tokens, UsageRange, UseCases, Users, VCSDetectionType, VCSReferenceType, Vcs, Webhooks };
|
|
29782
29694
|
//# sourceMappingURL=sdk.js.map
|