@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.
Files changed (60) hide show
  1. package/CHANGELOG.md +22 -6
  2. package/README.md +2 -2
  3. package/dist/cjs/sdk.js +211 -303
  4. package/dist/cjs/sdk.js.map +1 -1
  5. package/dist/esm/sdk.js +209 -297
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +227 -306
  8. package/docs/examples/databases/create-index.md +2 -2
  9. package/docs/examples/domains/create-purchase.md +2 -1
  10. package/docs/examples/domains/create-transfer-in.md +2 -1
  11. package/docs/examples/domains/update-auto-renewal.md +16 -0
  12. package/docs/examples/project/create-variable.md +1 -0
  13. package/docs/examples/project/list-variables.md +4 -1
  14. package/docs/examples/project/update-variable.md +1 -1
  15. package/docs/examples/tablesdb/create-index.md +2 -2
  16. package/docs/examples/users/update-impersonator.md +16 -0
  17. package/package.json +7 -7
  18. package/rollup.config.js +2 -1
  19. package/src/client.ts +49 -1
  20. package/src/enums/appwrite-migration-resource.ts +2 -0
  21. package/src/enums/backup-services.ts +3 -0
  22. package/src/enums/build-runtime.ts +0 -86
  23. package/src/enums/database-type.ts +2 -0
  24. package/src/enums/databases-index-type.ts +6 -0
  25. package/src/enums/runtime.ts +0 -86
  26. package/src/enums/runtimes.ts +0 -86
  27. package/src/enums/scopes.ts +13 -2
  28. package/src/enums/{index-type.ts → tables-db-index-type.ts} +1 -1
  29. package/src/enums/template-reference-type.ts +1 -1
  30. package/src/enums/use-cases.ts +7 -2
  31. package/src/index.ts +2 -1
  32. package/src/models.ts +136 -90
  33. package/src/services/databases.ts +10 -10
  34. package/src/services/domains.ts +103 -26
  35. package/src/services/project.ts +76 -33
  36. package/src/services/tables-db.ts +10 -10
  37. package/src/services/users.ts +67 -2
  38. package/types/channel.d.ts +3 -3
  39. package/types/client.d.ts +37 -4
  40. package/types/enums/appwrite-migration-resource.d.ts +2 -0
  41. package/types/enums/backup-services.d.ts +3 -0
  42. package/types/enums/build-runtime.d.ts +1 -87
  43. package/types/enums/database-type.d.ts +3 -1
  44. package/types/enums/databases-index-type.d.ts +6 -0
  45. package/types/enums/runtime.d.ts +1 -87
  46. package/types/enums/runtimes.d.ts +1 -87
  47. package/types/enums/scopes.d.ts +14 -3
  48. package/types/enums/{index-type.d.ts → tables-db-index-type.d.ts} +1 -1
  49. package/types/enums/template-reference-type.d.ts +1 -1
  50. package/types/enums/use-cases.d.ts +7 -2
  51. package/types/index.d.ts +2 -1
  52. package/types/models.d.ts +136 -87
  53. package/types/operator.d.ts +3 -3
  54. package/types/query.d.ts +4 -4
  55. package/types/services/databases.d.ts +5 -5
  56. package/types/services/domains.d.ts +42 -14
  57. package/types/services/project.d.ts +37 -19
  58. package/types/services/realtime.d.ts +6 -6
  59. package/types/services/tables-db.d.ts +5 -5
  60. package/types/services/users.d.ts +26 -2
package/dist/cjs/sdk.js CHANGED
@@ -2,10 +2,6 @@
2
2
 
3
3
  var JSONbigModule = require('json-bigint');
4
4
 
5
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
-
7
- var JSONbigModule__default = /*#__PURE__*/_interopDefaultLegacy(JSONbigModule);
8
-
9
5
  /******************************************************************************
10
6
  Copyright (c) Microsoft Corporation.
11
7
 
@@ -20,6 +16,8 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
16
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
17
  PERFORMANCE OF THIS SOFTWARE.
22
18
  ***************************************************************************** */
19
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
20
+
23
21
 
24
22
  function __awaiter(thisArg, _arguments, P, generator) {
25
23
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -35,9 +33,14 @@ function __classPrivateFieldGet(receiver, state, kind, f) {
35
33
  if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
36
34
  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");
37
35
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
38
- }
36
+ }
37
+
38
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
39
+ var e = new Error(message);
40
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
41
+ };
39
42
 
40
- const JSONbig$1 = JSONbigModule__default["default"]({ useNativeBigInt: true });
43
+ const JSONbig$1 = JSONbigModule({ useNativeBigInt: true });
41
44
  /**
42
45
  * Helper class to generate query strings.
43
46
  */
@@ -490,8 +493,8 @@ Query.touches = (attribute, values) => new Query("touches", attribute, [values])
490
493
  */
491
494
  Query.notTouches = (attribute, values) => new Query("notTouches", attribute, [values]).toString();
492
495
 
493
- const JSONbigParser = JSONbigModule__default["default"]({ storeAsString: false });
494
- const JSONbigSerializer = JSONbigModule__default["default"]({ useNativeBigInt: true });
496
+ const JSONbigParser = JSONbigModule({ storeAsString: false });
497
+ const JSONbigSerializer = JSONbigModule({ useNativeBigInt: true });
495
498
  const MAX_SAFE = BigInt(Number.MAX_SAFE_INTEGER);
496
499
  const MIN_SAFE = BigInt(Number.MIN_SAFE_INTEGER);
497
500
  const MAX_INT64 = BigInt('9223372036854775807');
@@ -563,6 +566,9 @@ class Client {
563
566
  locale: '',
564
567
  mode: '',
565
568
  cookie: '',
569
+ impersonateuserid: '',
570
+ impersonateuseremail: '',
571
+ impersonateuserphone: '',
566
572
  platform: '',
567
573
  selfSigned: false,
568
574
  session: undefined,
@@ -574,7 +580,7 @@ class Client {
574
580
  'x-sdk-name': 'Console',
575
581
  'x-sdk-platform': 'console',
576
582
  'x-sdk-language': 'web',
577
- 'x-sdk-version': '7.0.0',
583
+ 'x-sdk-version': '8.0.0',
578
584
  'X-Appwrite-Response-Format': '1.9.0',
579
585
  };
580
586
  this.realtime = {
@@ -905,6 +911,48 @@ class Client {
905
911
  this.config.cookie = value;
906
912
  return this;
907
913
  }
914
+ /**
915
+ * Set ImpersonateUserId
916
+ *
917
+ * 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.
918
+ *
919
+ * @param value string
920
+ *
921
+ * @return {this}
922
+ */
923
+ setImpersonateUserId(value) {
924
+ this.headers['X-Appwrite-Impersonate-User-Id'] = value;
925
+ this.config.impersonateuserid = value;
926
+ return this;
927
+ }
928
+ /**
929
+ * Set ImpersonateUserEmail
930
+ *
931
+ * 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.
932
+ *
933
+ * @param value string
934
+ *
935
+ * @return {this}
936
+ */
937
+ setImpersonateUserEmail(value) {
938
+ this.headers['X-Appwrite-Impersonate-User-Email'] = value;
939
+ this.config.impersonateuseremail = value;
940
+ return this;
941
+ }
942
+ /**
943
+ * Set ImpersonateUserPhone
944
+ *
945
+ * 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.
946
+ *
947
+ * @param value string
948
+ *
949
+ * @return {this}
950
+ */
951
+ setImpersonateUserPhone(value) {
952
+ this.headers['X-Appwrite-Impersonate-User-Phone'] = value;
953
+ this.config.impersonateuserphone = value;
954
+ return this;
955
+ }
908
956
  /**
909
957
  * Set Platform
910
958
  *
@@ -1032,9 +1080,9 @@ class Client {
1032
1080
  }
1033
1081
  return { uri: url.toString(), options };
1034
1082
  }
1035
- chunkedUpload(method, url, headers = {}, originalPayload = {}, onProgress) {
1036
- var _a;
1037
- return __awaiter(this, void 0, void 0, function* () {
1083
+ chunkedUpload(method_1, url_1) {
1084
+ return __awaiter(this, arguments, void 0, function* (method, url, headers = {}, originalPayload = {}, onProgress) {
1085
+ var _a;
1038
1086
  const [fileParam, file] = (_a = Object.entries(originalPayload).find(([_, value]) => value instanceof File)) !== null && _a !== void 0 ? _a : [];
1039
1087
  if (!file || !fileParam) {
1040
1088
  throw new Error('File not found in payload');
@@ -1076,9 +1124,9 @@ class Client {
1076
1124
  return this.call('GET', new URL(this.config.endpoint + '/ping'));
1077
1125
  });
1078
1126
  }
1079
- call(method, url, headers = {}, params = {}, responseType = 'json') {
1080
- var _a, _b;
1081
- return __awaiter(this, void 0, void 0, function* () {
1127
+ call(method_1, url_1) {
1128
+ return __awaiter(this, arguments, void 0, function* (method, url, headers = {}, params = {}, responseType = 'json') {
1129
+ var _a, _b;
1082
1130
  const { uri, options } = this.prepareRequest(method, url, headers, params);
1083
1131
  let data = null;
1084
1132
  const response = yield fetch(uri, options);
@@ -7788,7 +7836,8 @@ class Domains {
7788
7836
  paymentMethodId: rest[6],
7789
7837
  addressLine3: rest[7],
7790
7838
  companyName: rest[8],
7791
- periodYears: rest[9]
7839
+ periodYears: rest[9],
7840
+ autoRenewal: rest[10]
7792
7841
  };
7793
7842
  }
7794
7843
  const domain = params.domain;
@@ -7802,6 +7851,7 @@ class Domains {
7802
7851
  const addressLine3 = params.addressLine3;
7803
7852
  const companyName = params.companyName;
7804
7853
  const periodYears = params.periodYears;
7854
+ const autoRenewal = params.autoRenewal;
7805
7855
  if (typeof domain === 'undefined') {
7806
7856
  throw new AppwriteException('Missing required parameter: "domain"');
7807
7857
  }
@@ -7858,6 +7908,9 @@ class Domains {
7858
7908
  if (typeof periodYears !== 'undefined') {
7859
7909
  payload['periodYears'] = periodYears;
7860
7910
  }
7911
+ if (typeof autoRenewal !== 'undefined') {
7912
+ payload['autoRenewal'] = autoRenewal;
7913
+ }
7861
7914
  if (typeof paymentMethodId !== 'undefined') {
7862
7915
  payload['paymentMethodId'] = paymentMethodId;
7863
7916
  }
@@ -7955,13 +8008,15 @@ class Domains {
7955
8008
  domain: paramsOrFirst,
7956
8009
  organizationId: rest[0],
7957
8010
  authCode: rest[1],
7958
- paymentMethodId: rest[2]
8011
+ paymentMethodId: rest[2],
8012
+ autoRenewal: rest[3]
7959
8013
  };
7960
8014
  }
7961
8015
  const domain = params.domain;
7962
8016
  const organizationId = params.organizationId;
7963
8017
  const authCode = params.authCode;
7964
8018
  const paymentMethodId = params.paymentMethodId;
8019
+ const autoRenewal = params.autoRenewal;
7965
8020
  if (typeof domain === 'undefined') {
7966
8021
  throw new AppwriteException('Missing required parameter: "domain"');
7967
8022
  }
@@ -7985,6 +8040,9 @@ class Domains {
7985
8040
  if (typeof authCode !== 'undefined') {
7986
8041
  payload['authCode'] = authCode;
7987
8042
  }
8043
+ if (typeof autoRenewal !== 'undefined') {
8044
+ payload['autoRenewal'] = autoRenewal;
8045
+ }
7988
8046
  if (typeof paymentMethodId !== 'undefined') {
7989
8047
  payload['paymentMethodId'] = paymentMethodId;
7990
8048
  }
@@ -8099,6 +8157,36 @@ class Domains {
8099
8157
  };
8100
8158
  return this.client.call('delete', uri, apiHeaders, payload);
8101
8159
  }
8160
+ updateAutoRenewal(paramsOrFirst, ...rest) {
8161
+ let params;
8162
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
8163
+ params = (paramsOrFirst || {});
8164
+ }
8165
+ else {
8166
+ params = {
8167
+ domainId: paramsOrFirst,
8168
+ autoRenewal: rest[0]
8169
+ };
8170
+ }
8171
+ const domainId = params.domainId;
8172
+ const autoRenewal = params.autoRenewal;
8173
+ if (typeof domainId === 'undefined') {
8174
+ throw new AppwriteException('Missing required parameter: "domainId"');
8175
+ }
8176
+ if (typeof autoRenewal === 'undefined') {
8177
+ throw new AppwriteException('Missing required parameter: "autoRenewal"');
8178
+ }
8179
+ const apiPath = '/domains/{domainId}/auto-renewal'.replace('{domainId}', domainId);
8180
+ const payload = {};
8181
+ if (typeof autoRenewal !== 'undefined') {
8182
+ payload['autoRenewal'] = autoRenewal;
8183
+ }
8184
+ const uri = new URL(this.client.config.endpoint + apiPath);
8185
+ const apiHeaders = {
8186
+ 'content-type': 'application/json',
8187
+ };
8188
+ return this.client.call('patch', uri, apiHeaders, payload);
8189
+ }
8102
8190
  updateNameservers(paramsOrFirst) {
8103
8191
  let params;
8104
8192
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -16334,15 +16422,27 @@ class Project {
16334
16422
  const apiHeaders = {};
16335
16423
  return this.client.call('get', uri, apiHeaders, payload);
16336
16424
  }
16337
- /**
16338
- * Get a list of all project variables. These variables will be accessible in all Appwrite Functions at runtime.
16339
- *
16340
- * @throws {AppwriteException}
16341
- * @returns {Promise<Models.VariableList>}
16342
- */
16343
- listVariables() {
16425
+ listVariables(paramsOrFirst, ...rest) {
16426
+ let params;
16427
+ if (!paramsOrFirst || (paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
16428
+ params = (paramsOrFirst || {});
16429
+ }
16430
+ else {
16431
+ params = {
16432
+ queries: paramsOrFirst,
16433
+ total: rest[0]
16434
+ };
16435
+ }
16436
+ const queries = params.queries;
16437
+ const total = params.total;
16344
16438
  const apiPath = '/project/variables';
16345
16439
  const payload = {};
16440
+ if (typeof queries !== 'undefined') {
16441
+ payload['queries'] = queries;
16442
+ }
16443
+ if (typeof total !== 'undefined') {
16444
+ payload['total'] = total;
16445
+ }
16346
16446
  const uri = new URL(this.client.config.endpoint + apiPath);
16347
16447
  const apiHeaders = {};
16348
16448
  return this.client.call('get', uri, apiHeaders, payload);
@@ -16354,14 +16454,19 @@ class Project {
16354
16454
  }
16355
16455
  else {
16356
16456
  params = {
16357
- key: paramsOrFirst,
16358
- value: rest[0],
16359
- secret: rest[1]
16457
+ variableId: paramsOrFirst,
16458
+ key: rest[0],
16459
+ value: rest[1],
16460
+ secret: rest[2]
16360
16461
  };
16361
16462
  }
16463
+ const variableId = params.variableId;
16362
16464
  const key = params.key;
16363
16465
  const value = params.value;
16364
16466
  const secret = params.secret;
16467
+ if (typeof variableId === 'undefined') {
16468
+ throw new AppwriteException('Missing required parameter: "variableId"');
16469
+ }
16365
16470
  if (typeof key === 'undefined') {
16366
16471
  throw new AppwriteException('Missing required parameter: "key"');
16367
16472
  }
@@ -16370,6 +16475,9 @@ class Project {
16370
16475
  }
16371
16476
  const apiPath = '/project/variables';
16372
16477
  const payload = {};
16478
+ if (typeof variableId !== 'undefined') {
16479
+ payload['variableId'] = variableId;
16480
+ }
16373
16481
  if (typeof key !== 'undefined') {
16374
16482
  payload['key'] = key;
16375
16483
  }
@@ -16425,9 +16533,6 @@ class Project {
16425
16533
  if (typeof variableId === 'undefined') {
16426
16534
  throw new AppwriteException('Missing required parameter: "variableId"');
16427
16535
  }
16428
- if (typeof key === 'undefined') {
16429
- throw new AppwriteException('Missing required parameter: "key"');
16430
- }
16431
16536
  const apiPath = '/project/variables/{variableId}'.replace('{variableId}', variableId);
16432
16537
  const payload = {};
16433
16538
  if (typeof key !== 'undefined') {
@@ -25151,6 +25256,36 @@ class Users {
25151
25256
  };
25152
25257
  return this.client.call('patch', uri, apiHeaders, payload);
25153
25258
  }
25259
+ updateImpersonator(paramsOrFirst, ...rest) {
25260
+ let params;
25261
+ if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
25262
+ params = (paramsOrFirst || {});
25263
+ }
25264
+ else {
25265
+ params = {
25266
+ userId: paramsOrFirst,
25267
+ impersonator: rest[0]
25268
+ };
25269
+ }
25270
+ const userId = params.userId;
25271
+ const impersonator = params.impersonator;
25272
+ if (typeof userId === 'undefined') {
25273
+ throw new AppwriteException('Missing required parameter: "userId"');
25274
+ }
25275
+ if (typeof impersonator === 'undefined') {
25276
+ throw new AppwriteException('Missing required parameter: "impersonator"');
25277
+ }
25278
+ const apiPath = '/users/{userId}/impersonator'.replace('{userId}', userId);
25279
+ const payload = {};
25280
+ if (typeof impersonator !== 'undefined') {
25281
+ payload['impersonator'] = impersonator;
25282
+ }
25283
+ const uri = new URL(this.client.config.endpoint + apiPath);
25284
+ const apiHeaders = {
25285
+ 'content-type': 'application/json',
25286
+ };
25287
+ return this.client.call('patch', uri, apiHeaders, payload);
25288
+ }
25154
25289
  createJWT(paramsOrFirst, ...rest) {
25155
25290
  let params;
25156
25291
  if ((paramsOrFirst && typeof paramsOrFirst === 'object' && !Array.isArray(paramsOrFirst))) {
@@ -26894,8 +27029,8 @@ class Realtime {
26894
27029
  }
26895
27030
  return String(channel);
26896
27031
  }
26897
- subscribe(channelsOrChannel, callback, queries = []) {
26898
- return __awaiter(this, void 0, void 0, function* () {
27032
+ subscribe(channelsOrChannel_1, callback_1) {
27033
+ return __awaiter(this, arguments, void 0, function* (channelsOrChannel, callback, queries = []) {
26899
27034
  const channelArray = Array.isArray(channelsOrChannel)
26900
27035
  ? channelsOrChannel
26901
27036
  : [channelsOrChannel];
@@ -27215,7 +27350,7 @@ class ID {
27215
27350
  */
27216
27351
  static unique(padding = 7) {
27217
27352
  // Generate a unique ID with padding to have a longer ID
27218
- const baseId = __classPrivateFieldGet(ID, _a, "m", _ID_hexTimestamp).call(ID);
27353
+ const baseId = __classPrivateFieldGet(_a, _a, "m", _ID_hexTimestamp).call(_a);
27219
27354
  let randomPadding = '';
27220
27355
  for (let i = 0; i < padding; i++) {
27221
27356
  const randomHexDigit = Math.floor(Math.random() * 16).toString(16);
@@ -27609,11 +27744,12 @@ Operator.dateSetNow = () => new Operator("dateSetNow", []).toString();
27609
27744
 
27610
27745
  exports.Scopes = void 0;
27611
27746
  (function (Scopes) {
27747
+ Scopes["Account"] = "account";
27748
+ Scopes["TeamsRead"] = "teams.read";
27749
+ Scopes["TeamsWrite"] = "teams.write";
27612
27750
  Scopes["SessionsWrite"] = "sessions.write";
27613
27751
  Scopes["UsersRead"] = "users.read";
27614
27752
  Scopes["UsersWrite"] = "users.write";
27615
- Scopes["TeamsRead"] = "teams.read";
27616
- Scopes["TeamsWrite"] = "teams.write";
27617
27753
  Scopes["DatabasesRead"] = "databases.read";
27618
27754
  Scopes["DatabasesWrite"] = "databases.write";
27619
27755
  Scopes["CollectionsRead"] = "collections.read";
@@ -27668,6 +27804,8 @@ exports.Scopes = void 0;
27668
27804
  Scopes["TokensWrite"] = "tokens.write";
27669
27805
  Scopes["WebhooksRead"] = "webhooks.read";
27670
27806
  Scopes["WebhooksWrite"] = "webhooks.write";
27807
+ Scopes["ProjectRead"] = "project.read";
27808
+ Scopes["ProjectWrite"] = "project.write";
27671
27809
  Scopes["PoliciesWrite"] = "policies.write";
27672
27810
  Scopes["PoliciesRead"] = "policies.read";
27673
27811
  Scopes["ArchivesRead"] = "archives.read";
@@ -27677,6 +27815,14 @@ exports.Scopes = void 0;
27677
27815
  Scopes["DomainsRead"] = "domains.read";
27678
27816
  Scopes["DomainsWrite"] = "domains.write";
27679
27817
  Scopes["EventsRead"] = "events.read";
27818
+ Scopes["PlatformsRead"] = "platforms.read";
27819
+ Scopes["PlatformsWrite"] = "platforms.write";
27820
+ Scopes["ProjectsRead"] = "projects.read";
27821
+ Scopes["ProjectsWrite"] = "projects.write";
27822
+ Scopes["KeysRead"] = "keys.read";
27823
+ Scopes["KeysWrite"] = "keys.write";
27824
+ Scopes["DevKeysRead"] = "devKeys.read";
27825
+ Scopes["DevKeysWrite"] = "devKeys.write";
27680
27826
  })(exports.Scopes || (exports.Scopes = {}));
27681
27827
 
27682
27828
  exports.AuthenticatorType = void 0;
@@ -28440,6 +28586,9 @@ exports.ImageFormat = void 0;
28440
28586
  exports.BackupServices = void 0;
28441
28587
  (function (BackupServices) {
28442
28588
  BackupServices["Databases"] = "databases";
28589
+ BackupServices["Tablesdb"] = "tablesdb";
28590
+ BackupServices["Documentsdb"] = "documentsdb";
28591
+ BackupServices["Vectorsdb"] = "vectorsdb";
28443
28592
  BackupServices["Functions"] = "functions";
28444
28593
  BackupServices["Storage"] = "storage";
28445
28594
  })(exports.BackupServices || (exports.BackupServices = {}));
@@ -28477,13 +28626,13 @@ exports.RelationMutate = void 0;
28477
28626
  RelationMutate["SetNull"] = "setNull";
28478
28627
  })(exports.RelationMutate || (exports.RelationMutate = {}));
28479
28628
 
28480
- exports.IndexType = void 0;
28481
- (function (IndexType) {
28482
- IndexType["Key"] = "key";
28483
- IndexType["Fulltext"] = "fulltext";
28484
- IndexType["Unique"] = "unique";
28485
- IndexType["Spatial"] = "spatial";
28486
- })(exports.IndexType || (exports.IndexType = {}));
28629
+ exports.DatabasesIndexType = void 0;
28630
+ (function (DatabasesIndexType) {
28631
+ DatabasesIndexType["Key"] = "key";
28632
+ DatabasesIndexType["Fulltext"] = "fulltext";
28633
+ DatabasesIndexType["Unique"] = "unique";
28634
+ DatabasesIndexType["Spatial"] = "spatial";
28635
+ })(exports.DatabasesIndexType || (exports.DatabasesIndexType = {}));
28487
28636
 
28488
28637
  exports.OrderBy = void 0;
28489
28638
  (function (OrderBy) {
@@ -28593,92 +28742,6 @@ exports.Runtime = void 0;
28593
28742
  Runtime["Flutter332"] = "flutter-3.32";
28594
28743
  Runtime["Flutter335"] = "flutter-3.35";
28595
28744
  Runtime["Flutter338"] = "flutter-3.38";
28596
- Runtime["Node145rc"] = "node-14.5-rc";
28597
- Runtime["Node160rc"] = "node-16.0-rc";
28598
- Runtime["Node180rc"] = "node-18.0-rc";
28599
- Runtime["Node190rc"] = "node-19.0-rc";
28600
- Runtime["Node200rc"] = "node-20.0-rc";
28601
- Runtime["Node210rc"] = "node-21.0-rc";
28602
- Runtime["Node22rc"] = "node-22-rc";
28603
- Runtime["Node23rc"] = "node-23-rc";
28604
- Runtime["Node24rc"] = "node-24-rc";
28605
- Runtime["Node25rc"] = "node-25-rc";
28606
- Runtime["Php80rc"] = "php-8.0-rc";
28607
- Runtime["Php81rc"] = "php-8.1-rc";
28608
- Runtime["Php82rc"] = "php-8.2-rc";
28609
- Runtime["Php83rc"] = "php-8.3-rc";
28610
- Runtime["Php84rc"] = "php-8.4-rc";
28611
- Runtime["Ruby30rc"] = "ruby-3.0-rc";
28612
- Runtime["Ruby31rc"] = "ruby-3.1-rc";
28613
- Runtime["Ruby32rc"] = "ruby-3.2-rc";
28614
- Runtime["Ruby33rc"] = "ruby-3.3-rc";
28615
- Runtime["Ruby34rc"] = "ruby-3.4-rc";
28616
- Runtime["Ruby40rc"] = "ruby-4.0-rc";
28617
- Runtime["Python38rc"] = "python-3.8-rc";
28618
- Runtime["Python39rc"] = "python-3.9-rc";
28619
- Runtime["Python310rc"] = "python-3.10-rc";
28620
- Runtime["Python311rc"] = "python-3.11-rc";
28621
- Runtime["Python312rc"] = "python-3.12-rc";
28622
- Runtime["Python313rc"] = "python-3.13-rc";
28623
- Runtime["Python314rc"] = "python-3.14-rc";
28624
- Runtime["Pythonml311rc"] = "python-ml-3.11-rc";
28625
- Runtime["Pythonml312rc"] = "python-ml-3.12-rc";
28626
- Runtime["Pythonml313rc"] = "python-ml-3.13-rc";
28627
- Runtime["Deno140rc"] = "deno-1.40-rc";
28628
- Runtime["Deno146rc"] = "deno-1.46-rc";
28629
- Runtime["Deno20rc"] = "deno-2.0-rc";
28630
- Runtime["Deno25rc"] = "deno-2.5-rc";
28631
- Runtime["Deno26rc"] = "deno-2.6-rc";
28632
- Runtime["Dart215rc"] = "dart-2.15-rc";
28633
- Runtime["Dart216rc"] = "dart-2.16-rc";
28634
- Runtime["Dart217rc"] = "dart-2.17-rc";
28635
- Runtime["Dart218rc"] = "dart-2.18-rc";
28636
- Runtime["Dart219rc"] = "dart-2.19-rc";
28637
- Runtime["Dart30rc"] = "dart-3.0-rc";
28638
- Runtime["Dart31rc"] = "dart-3.1-rc";
28639
- Runtime["Dart33rc"] = "dart-3.3-rc";
28640
- Runtime["Dart35rc"] = "dart-3.5-rc";
28641
- Runtime["Dart38rc"] = "dart-3.8-rc";
28642
- Runtime["Dart39rc"] = "dart-3.9-rc";
28643
- Runtime["Dart310rc"] = "dart-3.10-rc";
28644
- Runtime["Dotnet60rc"] = "dotnet-6.0-rc";
28645
- Runtime["Dotnet70rc"] = "dotnet-7.0-rc";
28646
- Runtime["Dotnet80rc"] = "dotnet-8.0-rc";
28647
- Runtime["Dotnet10rc"] = "dotnet-10-rc";
28648
- Runtime["Java80rc"] = "java-8.0-rc";
28649
- Runtime["Java110rc"] = "java-11.0-rc";
28650
- Runtime["Java170rc"] = "java-17.0-rc";
28651
- Runtime["Java180rc"] = "java-18.0-rc";
28652
- Runtime["Java210rc"] = "java-21.0-rc";
28653
- Runtime["Java22rc"] = "java-22-rc";
28654
- Runtime["Java25rc"] = "java-25-rc";
28655
- Runtime["Swift55rc"] = "swift-5.5-rc";
28656
- Runtime["Swift58rc"] = "swift-5.8-rc";
28657
- Runtime["Swift59rc"] = "swift-5.9-rc";
28658
- Runtime["Swift510rc"] = "swift-5.10-rc";
28659
- Runtime["Swift62rc"] = "swift-6.2-rc";
28660
- Runtime["Kotlin16rc"] = "kotlin-1.6-rc";
28661
- Runtime["Kotlin18rc"] = "kotlin-1.8-rc";
28662
- Runtime["Kotlin19rc"] = "kotlin-1.9-rc";
28663
- Runtime["Kotlin20rc"] = "kotlin-2.0-rc";
28664
- Runtime["Kotlin23rc"] = "kotlin-2.3-rc";
28665
- Runtime["Cpp17rc"] = "cpp-17-rc";
28666
- Runtime["Cpp20rc"] = "cpp-20-rc";
28667
- Runtime["Bun10rc"] = "bun-1.0-rc";
28668
- Runtime["Bun11rc"] = "bun-1.1-rc";
28669
- Runtime["Bun12rc"] = "bun-1.2-rc";
28670
- Runtime["Bun13rc"] = "bun-1.3-rc";
28671
- Runtime["Go123rc"] = "go-1.23-rc";
28672
- Runtime["Go124rc"] = "go-1.24-rc";
28673
- Runtime["Go125rc"] = "go-1.25-rc";
28674
- Runtime["Go126rc"] = "go-1.26-rc";
28675
- Runtime["Static1rc"] = "static-1-rc";
28676
- Runtime["Flutter324rc"] = "flutter-3.24-rc";
28677
- Runtime["Flutter327rc"] = "flutter-3.27-rc";
28678
- Runtime["Flutter329rc"] = "flutter-3.29-rc";
28679
- Runtime["Flutter332rc"] = "flutter-3.32-rc";
28680
- Runtime["Flutter335rc"] = "flutter-3.35-rc";
28681
- Runtime["Flutter338rc"] = "flutter-3.38-rc";
28682
28745
  })(exports.Runtime || (exports.Runtime = {}));
28683
28746
 
28684
28747
  exports.Runtimes = void 0;
@@ -28769,111 +28832,30 @@ exports.Runtimes = void 0;
28769
28832
  Runtimes["Flutter332"] = "flutter-3.32";
28770
28833
  Runtimes["Flutter335"] = "flutter-3.35";
28771
28834
  Runtimes["Flutter338"] = "flutter-3.38";
28772
- Runtimes["Node145rc"] = "node-14.5-rc";
28773
- Runtimes["Node160rc"] = "node-16.0-rc";
28774
- Runtimes["Node180rc"] = "node-18.0-rc";
28775
- Runtimes["Node190rc"] = "node-19.0-rc";
28776
- Runtimes["Node200rc"] = "node-20.0-rc";
28777
- Runtimes["Node210rc"] = "node-21.0-rc";
28778
- Runtimes["Node22rc"] = "node-22-rc";
28779
- Runtimes["Node23rc"] = "node-23-rc";
28780
- Runtimes["Node24rc"] = "node-24-rc";
28781
- Runtimes["Node25rc"] = "node-25-rc";
28782
- Runtimes["Php80rc"] = "php-8.0-rc";
28783
- Runtimes["Php81rc"] = "php-8.1-rc";
28784
- Runtimes["Php82rc"] = "php-8.2-rc";
28785
- Runtimes["Php83rc"] = "php-8.3-rc";
28786
- Runtimes["Php84rc"] = "php-8.4-rc";
28787
- Runtimes["Ruby30rc"] = "ruby-3.0-rc";
28788
- Runtimes["Ruby31rc"] = "ruby-3.1-rc";
28789
- Runtimes["Ruby32rc"] = "ruby-3.2-rc";
28790
- Runtimes["Ruby33rc"] = "ruby-3.3-rc";
28791
- Runtimes["Ruby34rc"] = "ruby-3.4-rc";
28792
- Runtimes["Ruby40rc"] = "ruby-4.0-rc";
28793
- Runtimes["Python38rc"] = "python-3.8-rc";
28794
- Runtimes["Python39rc"] = "python-3.9-rc";
28795
- Runtimes["Python310rc"] = "python-3.10-rc";
28796
- Runtimes["Python311rc"] = "python-3.11-rc";
28797
- Runtimes["Python312rc"] = "python-3.12-rc";
28798
- Runtimes["Python313rc"] = "python-3.13-rc";
28799
- Runtimes["Python314rc"] = "python-3.14-rc";
28800
- Runtimes["Pythonml311rc"] = "python-ml-3.11-rc";
28801
- Runtimes["Pythonml312rc"] = "python-ml-3.12-rc";
28802
- Runtimes["Pythonml313rc"] = "python-ml-3.13-rc";
28803
- Runtimes["Deno140rc"] = "deno-1.40-rc";
28804
- Runtimes["Deno146rc"] = "deno-1.46-rc";
28805
- Runtimes["Deno20rc"] = "deno-2.0-rc";
28806
- Runtimes["Deno25rc"] = "deno-2.5-rc";
28807
- Runtimes["Deno26rc"] = "deno-2.6-rc";
28808
- Runtimes["Dart215rc"] = "dart-2.15-rc";
28809
- Runtimes["Dart216rc"] = "dart-2.16-rc";
28810
- Runtimes["Dart217rc"] = "dart-2.17-rc";
28811
- Runtimes["Dart218rc"] = "dart-2.18-rc";
28812
- Runtimes["Dart219rc"] = "dart-2.19-rc";
28813
- Runtimes["Dart30rc"] = "dart-3.0-rc";
28814
- Runtimes["Dart31rc"] = "dart-3.1-rc";
28815
- Runtimes["Dart33rc"] = "dart-3.3-rc";
28816
- Runtimes["Dart35rc"] = "dart-3.5-rc";
28817
- Runtimes["Dart38rc"] = "dart-3.8-rc";
28818
- Runtimes["Dart39rc"] = "dart-3.9-rc";
28819
- Runtimes["Dart310rc"] = "dart-3.10-rc";
28820
- Runtimes["Dotnet60rc"] = "dotnet-6.0-rc";
28821
- Runtimes["Dotnet70rc"] = "dotnet-7.0-rc";
28822
- Runtimes["Dotnet80rc"] = "dotnet-8.0-rc";
28823
- Runtimes["Dotnet10rc"] = "dotnet-10-rc";
28824
- Runtimes["Java80rc"] = "java-8.0-rc";
28825
- Runtimes["Java110rc"] = "java-11.0-rc";
28826
- Runtimes["Java170rc"] = "java-17.0-rc";
28827
- Runtimes["Java180rc"] = "java-18.0-rc";
28828
- Runtimes["Java210rc"] = "java-21.0-rc";
28829
- Runtimes["Java22rc"] = "java-22-rc";
28830
- Runtimes["Java25rc"] = "java-25-rc";
28831
- Runtimes["Swift55rc"] = "swift-5.5-rc";
28832
- Runtimes["Swift58rc"] = "swift-5.8-rc";
28833
- Runtimes["Swift59rc"] = "swift-5.9-rc";
28834
- Runtimes["Swift510rc"] = "swift-5.10-rc";
28835
- Runtimes["Swift62rc"] = "swift-6.2-rc";
28836
- Runtimes["Kotlin16rc"] = "kotlin-1.6-rc";
28837
- Runtimes["Kotlin18rc"] = "kotlin-1.8-rc";
28838
- Runtimes["Kotlin19rc"] = "kotlin-1.9-rc";
28839
- Runtimes["Kotlin20rc"] = "kotlin-2.0-rc";
28840
- Runtimes["Kotlin23rc"] = "kotlin-2.3-rc";
28841
- Runtimes["Cpp17rc"] = "cpp-17-rc";
28842
- Runtimes["Cpp20rc"] = "cpp-20-rc";
28843
- Runtimes["Bun10rc"] = "bun-1.0-rc";
28844
- Runtimes["Bun11rc"] = "bun-1.1-rc";
28845
- Runtimes["Bun12rc"] = "bun-1.2-rc";
28846
- Runtimes["Bun13rc"] = "bun-1.3-rc";
28847
- Runtimes["Go123rc"] = "go-1.23-rc";
28848
- Runtimes["Go124rc"] = "go-1.24-rc";
28849
- Runtimes["Go125rc"] = "go-1.25-rc";
28850
- Runtimes["Go126rc"] = "go-1.26-rc";
28851
- Runtimes["Static1rc"] = "static-1-rc";
28852
- Runtimes["Flutter324rc"] = "flutter-3.24-rc";
28853
- Runtimes["Flutter327rc"] = "flutter-3.27-rc";
28854
- Runtimes["Flutter329rc"] = "flutter-3.29-rc";
28855
- Runtimes["Flutter332rc"] = "flutter-3.32-rc";
28856
- Runtimes["Flutter335rc"] = "flutter-3.35-rc";
28857
- Runtimes["Flutter338rc"] = "flutter-3.38-rc";
28858
28835
  })(exports.Runtimes || (exports.Runtimes = {}));
28859
28836
 
28860
28837
  exports.UseCases = void 0;
28861
28838
  (function (UseCases) {
28862
- UseCases["Portfolio"] = "portfolio";
28863
28839
  UseCases["Starter"] = "starter";
28840
+ UseCases["Databases"] = "databases";
28841
+ UseCases["Ai"] = "ai";
28842
+ UseCases["Messaging"] = "messaging";
28843
+ UseCases["Utilities"] = "utilities";
28844
+ UseCases["Devtools"] = "dev-tools";
28845
+ UseCases["Auth"] = "auth";
28846
+ UseCases["Portfolio"] = "portfolio";
28864
28847
  UseCases["Events"] = "events";
28865
28848
  UseCases["Ecommerce"] = "ecommerce";
28866
28849
  UseCases["Documentation"] = "documentation";
28867
28850
  UseCases["Blog"] = "blog";
28868
- UseCases["Ai"] = "ai";
28869
28851
  UseCases["Forms"] = "forms";
28870
28852
  UseCases["Dashboard"] = "dashboard";
28871
28853
  })(exports.UseCases || (exports.UseCases = {}));
28872
28854
 
28873
28855
  exports.TemplateReferenceType = void 0;
28874
28856
  (function (TemplateReferenceType) {
28875
- TemplateReferenceType["Branch"] = "branch";
28876
28857
  TemplateReferenceType["Commit"] = "commit";
28858
+ TemplateReferenceType["Branch"] = "branch";
28877
28859
  TemplateReferenceType["Tag"] = "tag";
28878
28860
  })(exports.TemplateReferenceType || (exports.TemplateReferenceType = {}));
28879
28861
 
@@ -28944,6 +28926,8 @@ exports.AppwriteMigrationResource = void 0;
28944
28926
  AppwriteMigrationResource["Document"] = "document";
28945
28927
  AppwriteMigrationResource["Attribute"] = "attribute";
28946
28928
  AppwriteMigrationResource["Collection"] = "collection";
28929
+ AppwriteMigrationResource["Documentsdb"] = "documentsdb";
28930
+ AppwriteMigrationResource["Vectorsdb"] = "vectorsdb";
28947
28931
  AppwriteMigrationResource["Bucket"] = "bucket";
28948
28932
  AppwriteMigrationResource["File"] = "file";
28949
28933
  AppwriteMigrationResource["Function"] = "function";
@@ -29501,92 +29485,6 @@ exports.BuildRuntime = void 0;
29501
29485
  BuildRuntime["Flutter332"] = "flutter-3.32";
29502
29486
  BuildRuntime["Flutter335"] = "flutter-3.35";
29503
29487
  BuildRuntime["Flutter338"] = "flutter-3.38";
29504
- BuildRuntime["Node145rc"] = "node-14.5-rc";
29505
- BuildRuntime["Node160rc"] = "node-16.0-rc";
29506
- BuildRuntime["Node180rc"] = "node-18.0-rc";
29507
- BuildRuntime["Node190rc"] = "node-19.0-rc";
29508
- BuildRuntime["Node200rc"] = "node-20.0-rc";
29509
- BuildRuntime["Node210rc"] = "node-21.0-rc";
29510
- BuildRuntime["Node22rc"] = "node-22-rc";
29511
- BuildRuntime["Node23rc"] = "node-23-rc";
29512
- BuildRuntime["Node24rc"] = "node-24-rc";
29513
- BuildRuntime["Node25rc"] = "node-25-rc";
29514
- BuildRuntime["Php80rc"] = "php-8.0-rc";
29515
- BuildRuntime["Php81rc"] = "php-8.1-rc";
29516
- BuildRuntime["Php82rc"] = "php-8.2-rc";
29517
- BuildRuntime["Php83rc"] = "php-8.3-rc";
29518
- BuildRuntime["Php84rc"] = "php-8.4-rc";
29519
- BuildRuntime["Ruby30rc"] = "ruby-3.0-rc";
29520
- BuildRuntime["Ruby31rc"] = "ruby-3.1-rc";
29521
- BuildRuntime["Ruby32rc"] = "ruby-3.2-rc";
29522
- BuildRuntime["Ruby33rc"] = "ruby-3.3-rc";
29523
- BuildRuntime["Ruby34rc"] = "ruby-3.4-rc";
29524
- BuildRuntime["Ruby40rc"] = "ruby-4.0-rc";
29525
- BuildRuntime["Python38rc"] = "python-3.8-rc";
29526
- BuildRuntime["Python39rc"] = "python-3.9-rc";
29527
- BuildRuntime["Python310rc"] = "python-3.10-rc";
29528
- BuildRuntime["Python311rc"] = "python-3.11-rc";
29529
- BuildRuntime["Python312rc"] = "python-3.12-rc";
29530
- BuildRuntime["Python313rc"] = "python-3.13-rc";
29531
- BuildRuntime["Python314rc"] = "python-3.14-rc";
29532
- BuildRuntime["Pythonml311rc"] = "python-ml-3.11-rc";
29533
- BuildRuntime["Pythonml312rc"] = "python-ml-3.12-rc";
29534
- BuildRuntime["Pythonml313rc"] = "python-ml-3.13-rc";
29535
- BuildRuntime["Deno140rc"] = "deno-1.40-rc";
29536
- BuildRuntime["Deno146rc"] = "deno-1.46-rc";
29537
- BuildRuntime["Deno20rc"] = "deno-2.0-rc";
29538
- BuildRuntime["Deno25rc"] = "deno-2.5-rc";
29539
- BuildRuntime["Deno26rc"] = "deno-2.6-rc";
29540
- BuildRuntime["Dart215rc"] = "dart-2.15-rc";
29541
- BuildRuntime["Dart216rc"] = "dart-2.16-rc";
29542
- BuildRuntime["Dart217rc"] = "dart-2.17-rc";
29543
- BuildRuntime["Dart218rc"] = "dart-2.18-rc";
29544
- BuildRuntime["Dart219rc"] = "dart-2.19-rc";
29545
- BuildRuntime["Dart30rc"] = "dart-3.0-rc";
29546
- BuildRuntime["Dart31rc"] = "dart-3.1-rc";
29547
- BuildRuntime["Dart33rc"] = "dart-3.3-rc";
29548
- BuildRuntime["Dart35rc"] = "dart-3.5-rc";
29549
- BuildRuntime["Dart38rc"] = "dart-3.8-rc";
29550
- BuildRuntime["Dart39rc"] = "dart-3.9-rc";
29551
- BuildRuntime["Dart310rc"] = "dart-3.10-rc";
29552
- BuildRuntime["Dotnet60rc"] = "dotnet-6.0-rc";
29553
- BuildRuntime["Dotnet70rc"] = "dotnet-7.0-rc";
29554
- BuildRuntime["Dotnet80rc"] = "dotnet-8.0-rc";
29555
- BuildRuntime["Dotnet10rc"] = "dotnet-10-rc";
29556
- BuildRuntime["Java80rc"] = "java-8.0-rc";
29557
- BuildRuntime["Java110rc"] = "java-11.0-rc";
29558
- BuildRuntime["Java170rc"] = "java-17.0-rc";
29559
- BuildRuntime["Java180rc"] = "java-18.0-rc";
29560
- BuildRuntime["Java210rc"] = "java-21.0-rc";
29561
- BuildRuntime["Java22rc"] = "java-22-rc";
29562
- BuildRuntime["Java25rc"] = "java-25-rc";
29563
- BuildRuntime["Swift55rc"] = "swift-5.5-rc";
29564
- BuildRuntime["Swift58rc"] = "swift-5.8-rc";
29565
- BuildRuntime["Swift59rc"] = "swift-5.9-rc";
29566
- BuildRuntime["Swift510rc"] = "swift-5.10-rc";
29567
- BuildRuntime["Swift62rc"] = "swift-6.2-rc";
29568
- BuildRuntime["Kotlin16rc"] = "kotlin-1.6-rc";
29569
- BuildRuntime["Kotlin18rc"] = "kotlin-1.8-rc";
29570
- BuildRuntime["Kotlin19rc"] = "kotlin-1.9-rc";
29571
- BuildRuntime["Kotlin20rc"] = "kotlin-2.0-rc";
29572
- BuildRuntime["Kotlin23rc"] = "kotlin-2.3-rc";
29573
- BuildRuntime["Cpp17rc"] = "cpp-17-rc";
29574
- BuildRuntime["Cpp20rc"] = "cpp-20-rc";
29575
- BuildRuntime["Bun10rc"] = "bun-1.0-rc";
29576
- BuildRuntime["Bun11rc"] = "bun-1.1-rc";
29577
- BuildRuntime["Bun12rc"] = "bun-1.2-rc";
29578
- BuildRuntime["Bun13rc"] = "bun-1.3-rc";
29579
- BuildRuntime["Go123rc"] = "go-1.23-rc";
29580
- BuildRuntime["Go124rc"] = "go-1.24-rc";
29581
- BuildRuntime["Go125rc"] = "go-1.25-rc";
29582
- BuildRuntime["Go126rc"] = "go-1.26-rc";
29583
- BuildRuntime["Static1rc"] = "static-1-rc";
29584
- BuildRuntime["Flutter324rc"] = "flutter-3.24-rc";
29585
- BuildRuntime["Flutter327rc"] = "flutter-3.27-rc";
29586
- BuildRuntime["Flutter329rc"] = "flutter-3.29-rc";
29587
- BuildRuntime["Flutter332rc"] = "flutter-3.32-rc";
29588
- BuildRuntime["Flutter335rc"] = "flutter-3.35-rc";
29589
- BuildRuntime["Flutter338rc"] = "flutter-3.38-rc";
29590
29488
  })(exports.BuildRuntime || (exports.BuildRuntime = {}));
29591
29489
 
29592
29490
  exports.Adapter = void 0;
@@ -29634,6 +29532,14 @@ exports.ImageGravity = void 0;
29634
29532
  ImageGravity["Bottomright"] = "bottom-right";
29635
29533
  })(exports.ImageGravity || (exports.ImageGravity = {}));
29636
29534
 
29535
+ exports.TablesDBIndexType = void 0;
29536
+ (function (TablesDBIndexType) {
29537
+ TablesDBIndexType["Key"] = "key";
29538
+ TablesDBIndexType["Fulltext"] = "fulltext";
29539
+ TablesDBIndexType["Unique"] = "unique";
29540
+ TablesDBIndexType["Spatial"] = "spatial";
29541
+ })(exports.TablesDBIndexType || (exports.TablesDBIndexType = {}));
29542
+
29637
29543
  exports.PasswordHash = void 0;
29638
29544
  (function (PasswordHash) {
29639
29545
  PasswordHash["Sha1"] = "sha1";
@@ -29666,6 +29572,8 @@ exports.DatabaseType = void 0;
29666
29572
  (function (DatabaseType) {
29667
29573
  DatabaseType["Legacy"] = "legacy";
29668
29574
  DatabaseType["Tablesdb"] = "tablesdb";
29575
+ DatabaseType["Documentsdb"] = "documentsdb";
29576
+ DatabaseType["Vectorsdb"] = "vectorsdb";
29669
29577
  })(exports.DatabaseType || (exports.DatabaseType = {}));
29670
29578
 
29671
29579
  exports.AttributeStatus = void 0;