appbuild-oceanbase-console 1.12.2 → 1.13.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 (53) hide show
  1. package/dist/cjs/package.json +3 -0
  2. package/dist/cjs/sdk.js +3837 -1017
  3. package/dist/cjs/sdk.js.map +1 -1
  4. package/dist/esm/package.json +3 -0
  5. package/dist/esm/sdk.js +3831 -1018
  6. package/dist/esm/sdk.js.map +1 -1
  7. package/dist/iife/sdk.js +10131 -3554
  8. package/package.json +7 -2
  9. package/types/channel.d.ts +74 -0
  10. package/types/client.d.ts +84 -16
  11. package/types/enums/appwrite-migration-resource.d.ts +25 -0
  12. package/types/enums/backup-services.d.ts +5 -0
  13. package/types/enums/billing-plan-group.d.ts +5 -0
  14. package/types/enums/browser-permission.d.ts +22 -0
  15. package/types/enums/domain-purchase-status.d.ts +6 -0
  16. package/types/enums/domain-transfer-status-enum.d.ts +10 -0
  17. package/types/enums/filter-type.d.ts +4 -0
  18. package/types/enums/firebase-migration-resource.d.ts +12 -0
  19. package/types/enums/frameworks.d.ts +17 -0
  20. package/types/enums/n-host-migration-resource.d.ts +13 -0
  21. package/types/enums/order-by.d.ts +4 -0
  22. package/types/enums/registration-type.d.ts +6 -0
  23. package/types/enums/resource-type.d.ts +6 -0
  24. package/types/enums/runtimes.d.ts +180 -0
  25. package/types/enums/scopes.d.ts +70 -0
  26. package/types/enums/supabase-migration-resource.d.ts +13 -0
  27. package/types/enums/template-reference-type.d.ts +5 -0
  28. package/types/enums/use-cases.d.ts +11 -0
  29. package/types/enums/vcs-reference-type.d.ts +5 -0
  30. package/types/index.d.ts +119 -96
  31. package/types/migrations.d.ts +10 -9
  32. package/types/models.d.ts +1270 -136
  33. package/types/query.d.ts +60 -8
  34. package/types/services/account.d.ts +162 -39
  35. package/types/services/activities.d.ts +46 -0
  36. package/types/services/avatars.d.ts +9 -8
  37. package/types/services/backups.d.ts +13 -12
  38. package/types/services/console.d.ts +41 -3
  39. package/types/services/databases.d.ts +384 -68
  40. package/types/services/domains.d.ts +223 -0
  41. package/types/services/functions.d.ts +46 -31
  42. package/types/services/health.d.ts +49 -6
  43. package/types/services/messaging.d.ts +2 -2
  44. package/types/services/organizations.d.ts +203 -36
  45. package/types/services/projects.d.ts +151 -210
  46. package/types/services/realtime.d.ts +26 -10
  47. package/types/services/sites.d.ts +49 -29
  48. package/types/services/storage.d.ts +12 -12
  49. package/types/services/tables-db.d.ts +352 -34
  50. package/types/services/teams.d.ts +4 -4
  51. package/types/services/users.d.ts +26 -2
  52. package/types/services/vcs.d.ts +4 -1
  53. package/types/services/webhooks.d.ts +165 -0
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "appbuild-oceanbase-console",
3
3
  "homepage": "https://appwrite.io/support",
4
4
  "description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5
- "version": "1.12.2",
5
+ "version": "1.13.0",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "dist/cjs/sdk.js",
8
8
  "exports": {
@@ -33,9 +33,14 @@
33
33
  "build:types": "tsc --declaration --emitDeclarationOnly --outDir types",
34
34
  "build:libs": "rollup -c"
35
35
  },
36
+ "dependencies": {
37
+ "json-bigint": "1.0.0"
38
+ },
36
39
  "devDependencies": {
40
+ "@rollup/plugin-commonjs": "22.0.0",
41
+ "@rollup/plugin-node-resolve": "13.3.0",
37
42
  "@rollup/plugin-typescript": "8.3.2",
38
- "appwrite": "^21.5.0",
43
+ "@types/json-bigint": "1.0.4",
39
44
  "rollup": "2.79.2",
40
45
  "serve-handler": "6.1.0",
41
46
  "tslib": "2.4.0",
@@ -0,0 +1,74 @@
1
+ interface Database {
2
+ _db: any;
3
+ }
4
+ interface Collection {
5
+ _coll: any;
6
+ }
7
+ interface Document {
8
+ _doc: any;
9
+ }
10
+ interface TablesDB {
11
+ _tdb: any;
12
+ }
13
+ interface Table {
14
+ _tbl: any;
15
+ }
16
+ interface Row {
17
+ _row: any;
18
+ }
19
+ interface Bucket {
20
+ _bkt: any;
21
+ }
22
+ interface File {
23
+ _file: any;
24
+ }
25
+ interface Func {
26
+ _fn: any;
27
+ }
28
+ interface Execution {
29
+ _exec: any;
30
+ }
31
+ interface Team {
32
+ _team: any;
33
+ }
34
+ interface Membership {
35
+ _mem: any;
36
+ }
37
+ interface Resolved {
38
+ _res: any;
39
+ }
40
+ declare type Actionable = Document | Row | File | Team | Membership;
41
+ export declare class Channel<T> {
42
+ private readonly segments;
43
+ _type: T;
44
+ private constructor();
45
+ private next;
46
+ private resolve;
47
+ toString(): string;
48
+ collection(this: Channel<Database>, id: string): Channel<Collection>;
49
+ document(this: Channel<Collection>, id?: string): Channel<Document>;
50
+ table(this: Channel<TablesDB>, id: string): Channel<Table>;
51
+ row(this: Channel<Table>, id?: string): Channel<Row>;
52
+ file(this: Channel<Bucket>, id?: string): Channel<File>;
53
+ create(this: Channel<Actionable>): Channel<Resolved>;
54
+ upsert(this: Channel<Document | Row>): Channel<Resolved>;
55
+ update(this: Channel<Actionable>): Channel<Resolved>;
56
+ delete(this: Channel<Actionable>): Channel<Resolved>;
57
+ static database(id: string): Channel<Database>;
58
+ static execution(id: string): Channel<Execution>;
59
+ static tablesdb(id: string): Channel<TablesDB>;
60
+ static bucket(id: string): Channel<Bucket>;
61
+ static function(id: string): Channel<Func>;
62
+ static team(id: string): Channel<Team>;
63
+ static membership(id: string): Channel<Membership>;
64
+ static account(): string;
65
+ static documents(): string;
66
+ static rows(): string;
67
+ static files(): string;
68
+ static executions(): string;
69
+ static teams(): string;
70
+ static memberships(): string;
71
+ }
72
+ export declare type ActionableChannel = Channel<Document> | Channel<Row> | Channel<File> | Channel<Execution> | Channel<Team> | Channel<Membership>;
73
+ export declare type ResolvedChannel = Channel<Resolved>;
74
+ export {};
package/types/client.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import { Models } from './models';
2
+ import { Channel, ActionableChannel, ResolvedChannel } from './channel';
3
+ import { Query } from './query';
2
4
  /**
3
5
  * Payload type representing a key-value pair with string keys and any values.
4
6
  */
@@ -26,11 +28,15 @@ declare type RealtimeResponseEvent<T extends unknown> = {
26
28
  /**
27
29
  * Timestamp indicating the time of the event.
28
30
  */
29
- timestamp: number;
31
+ timestamp: string;
30
32
  /**
31
33
  * Payload containing event-specific data.
32
34
  */
33
35
  payload: T;
36
+ /**
37
+ * Subscription IDs this event matches (from backend, optional).
38
+ */
39
+ subscriptions?: string[];
34
40
  };
35
41
  /**
36
42
  * Type representing upload progress information.
@@ -95,16 +101,23 @@ declare class Client {
95
101
  config: {
96
102
  endpoint: string;
97
103
  endpointRealtime: string;
98
- [key: string]: string | undefined;
104
+ project: string;
105
+ key: string;
106
+ jwt: string;
107
+ locale: string;
108
+ mode: string;
109
+ cookie: string;
110
+ impersonateuserid: string;
111
+ impersonateuseremail: string;
112
+ impersonateuserphone: string;
113
+ platform: string;
114
+ selfSigned: boolean;
115
+ session?: string;
99
116
  };
100
117
  /**
101
118
  * Custom headers for API requests.
102
119
  */
103
120
  headers: Headers;
104
- /**
105
- * Session refresh handler for automatic re-login on 401 errors.
106
- */
107
- private sessionRefreshHandler?;
108
121
  /**
109
122
  * Set Endpoint
110
123
  *
@@ -123,6 +136,14 @@ declare class Client {
123
136
  * @returns {this}
124
137
  */
125
138
  setEndpointRealtime(endpointRealtime: string): this;
139
+ /**
140
+ * Set self-signed
141
+ *
142
+ * @param {boolean} selfSigned
143
+ *
144
+ * @returns {this}
145
+ */
146
+ setSelfSigned(selfSigned: boolean): this;
126
147
  /**
127
148
  * Set Project
128
149
  *
@@ -170,15 +191,55 @@ declare class Client {
170
191
  */
171
192
  setMode(value: string): this;
172
193
  /**
173
- * Set Session Refresh Handler
194
+ * Set Cookie
174
195
  *
175
- * Set a callback function that will be called when a 401 error is detected.
176
- * This allows automatic re-login when session expires.
196
+ * The user cookie to authenticate with
177
197
  *
178
- * @param handler Function that returns a Promise to refresh the session
179
- * @returns {this}
198
+ * @param value string
199
+ *
200
+ * @return {this}
201
+ */
202
+ setCookie(value: string): this;
203
+ /**
204
+ * Set ImpersonateUserId
205
+ *
206
+ * 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.
207
+ *
208
+ * @param value string
209
+ *
210
+ * @return {this}
211
+ */
212
+ setImpersonateUserId(value: string): this;
213
+ /**
214
+ * Set ImpersonateUserEmail
215
+ *
216
+ * 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.
217
+ *
218
+ * @param value string
219
+ *
220
+ * @return {this}
180
221
  */
181
- setSessionRefreshHandler(handler: () => Promise<void>): this;
222
+ setImpersonateUserEmail(value: string): this;
223
+ /**
224
+ * Set ImpersonateUserPhone
225
+ *
226
+ * 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.
227
+ *
228
+ * @param value string
229
+ *
230
+ * @return {this}
231
+ */
232
+ setImpersonateUserPhone(value: string): this;
233
+ /**
234
+ * Set Platform
235
+ *
236
+ * The platform type (Appwrite or Imagine)
237
+ *
238
+ * @param value string
239
+ *
240
+ * @return {this}
241
+ */
242
+ setPlatform(value: string): this;
182
243
  private realtime;
183
244
  /**
184
245
  * Subscribes to Appwrite events and passes you the payload in realtime.
@@ -186,8 +247,8 @@ declare class Client {
186
247
  * @deprecated Use the Realtime service instead.
187
248
  * @see Realtime
188
249
  *
189
- * @param {string|string[]} channels
190
- * Channel to subscribe - pass a single channel as a string or multiple with an array of strings.
250
+ * @param {string|string[]|Channel<any>|ActionableChannel|ResolvedChannel|(Channel<any>|ActionableChannel|ResolvedChannel)[]} channels
251
+ * Channel to subscribe - pass a single channel as a string or Channel builder instance, or multiple with an array.
191
252
  *
192
253
  * Possible channels are:
193
254
  * - account
@@ -205,17 +266,24 @@ declare class Client {
205
266
  * - teams.[ID]
206
267
  * - memberships
207
268
  * - memberships.[ID]
269
+ *
270
+ * You can also use Channel builders:
271
+ * - Channel.database('db').collection('col').document('doc').create()
272
+ * - Channel.bucket('bucket').file('file').update()
273
+ * - Channel.function('func').execution('exec').delete()
274
+ * - Channel.team('team').create()
275
+ * - Channel.membership('membership').update()
208
276
  * @param {(payload: RealtimeMessage) => void} callback Is called on every realtime update.
209
277
  * @returns {() => void} Unsubscribes from events.
210
278
  */
211
- subscribe<T extends unknown>(channels: string | string[], callback: (payload: RealtimeResponseEvent<T>) => void): () => void;
279
+ subscribe<T extends unknown>(channels: string | string[] | Channel<any> | ActionableChannel | ResolvedChannel | (Channel<any> | ActionableChannel | ResolvedChannel)[], callback: (payload: RealtimeResponseEvent<T>) => void, queries?: (string | Query)[]): () => void;
212
280
  prepareRequest(method: string, url: URL, headers?: Headers, params?: Payload): {
213
281
  uri: string;
214
282
  options: RequestInit;
215
283
  };
216
284
  chunkedUpload(method: string, url: URL, headers: Headers | undefined, originalPayload: Payload | undefined, onProgress: (progress: UploadProgress) => void): Promise<any>;
217
285
  ping(): Promise<string>;
218
- call(method: string, url: URL, headers?: Headers, params?: Payload, responseType?: string, retryOn401?: boolean): Promise<any>;
286
+ call(method: string, url: URL, headers?: Headers, params?: Payload, responseType?: string): Promise<any>;
219
287
  static flatten(data: Payload, prefix?: string): Payload;
220
288
  }
221
289
  export { Client, AppwriteException };
@@ -0,0 +1,25 @@
1
+ export declare enum AppwriteMigrationResource {
2
+ User = "user",
3
+ Team = "team",
4
+ Membership = "membership",
5
+ Database = "database",
6
+ Table = "table",
7
+ Column = "column",
8
+ Index = "index",
9
+ Row = "row",
10
+ Document = "document",
11
+ Attribute = "attribute",
12
+ Collection = "collection",
13
+ Bucket = "bucket",
14
+ File = "file",
15
+ Function = "function",
16
+ Deployment = "deployment",
17
+ Environmentvariable = "environment-variable",
18
+ Provider = "provider",
19
+ Topic = "topic",
20
+ Subscriber = "subscriber",
21
+ Message = "message",
22
+ Site = "site",
23
+ Sitedeployment = "site-deployment",
24
+ Sitevariable = "site-variable"
25
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum BackupServices {
2
+ Databases = "databases",
3
+ Functions = "functions",
4
+ Storage = "storage"
5
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum BillingPlanGroup {
2
+ Starter = "starter",
3
+ Pro = "pro",
4
+ Scale = "scale"
5
+ }
@@ -0,0 +1,22 @@
1
+ export declare enum BrowserPermission {
2
+ Geolocation = "geolocation",
3
+ Camera = "camera",
4
+ Microphone = "microphone",
5
+ Notifications = "notifications",
6
+ Midi = "midi",
7
+ Push = "push",
8
+ Clipboardread = "clipboard-read",
9
+ Clipboardwrite = "clipboard-write",
10
+ Paymenthandler = "payment-handler",
11
+ Usb = "usb",
12
+ Bluetooth = "bluetooth",
13
+ Accelerometer = "accelerometer",
14
+ Gyroscope = "gyroscope",
15
+ Magnetometer = "magnetometer",
16
+ Ambientlightsensor = "ambient-light-sensor",
17
+ Backgroundsync = "background-sync",
18
+ Persistentstorage = "persistent-storage",
19
+ Screenwakelock = "screen-wake-lock",
20
+ Webshare = "web-share",
21
+ Xrspatialtracking = "xr-spatial-tracking"
22
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum DomainPurchaseStatus {
2
+ Pending = "pending",
3
+ Succeeded = "succeeded",
4
+ Failed = "failed",
5
+ Cancelled = "cancelled"
6
+ }
@@ -0,0 +1,10 @@
1
+ export declare enum DomainTransferStatusEnum {
2
+ Transferrable = "transferrable",
3
+ NotTransferrable = "not_transferrable",
4
+ PendingOwner = "pending_owner",
5
+ PendingAdmin = "pending_admin",
6
+ PendingRegistry = "pending_registry",
7
+ Completed = "completed",
8
+ Cancelled = "cancelled",
9
+ ServiceUnavailable = "service_unavailable"
10
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum FilterType {
2
+ Premium = "premium",
3
+ Suggestion = "suggestion"
4
+ }
@@ -0,0 +1,12 @@
1
+ export declare enum FirebaseMigrationResource {
2
+ User = "user",
3
+ Database = "database",
4
+ Table = "table",
5
+ Column = "column",
6
+ Row = "row",
7
+ Document = "document",
8
+ Attribute = "attribute",
9
+ Collection = "collection",
10
+ Bucket = "bucket",
11
+ File = "file"
12
+ }
@@ -0,0 +1,17 @@
1
+ export declare enum Frameworks {
2
+ Analog = "analog",
3
+ Angular = "angular",
4
+ Nextjs = "nextjs",
5
+ React = "react",
6
+ Nuxt = "nuxt",
7
+ Vue = "vue",
8
+ Sveltekit = "sveltekit",
9
+ Astro = "astro",
10
+ Tanstackstart = "tanstack-start",
11
+ Remix = "remix",
12
+ Lynx = "lynx",
13
+ Flutter = "flutter",
14
+ Reactnative = "react-native",
15
+ Vite = "vite",
16
+ Other = "other"
17
+ }
@@ -0,0 +1,13 @@
1
+ export declare enum NHostMigrationResource {
2
+ User = "user",
3
+ Database = "database",
4
+ Table = "table",
5
+ Column = "column",
6
+ Index = "index",
7
+ Row = "row",
8
+ Document = "document",
9
+ Attribute = "attribute",
10
+ Collection = "collection",
11
+ Bucket = "bucket",
12
+ File = "file"
13
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum OrderBy {
2
+ Asc = "asc",
3
+ Desc = "desc"
4
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum RegistrationType {
2
+ New = "new",
3
+ Transfer = "transfer",
4
+ Renewal = "renewal",
5
+ Trade = "trade"
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum ResourceType {
2
+ Function = "function",
3
+ Execution = "execution",
4
+ Message = "message",
5
+ Backup = "backup"
6
+ }
@@ -0,0 +1,180 @@
1
+ export declare enum Runtimes {
2
+ Node145 = "node-14.5",
3
+ Node160 = "node-16.0",
4
+ Node180 = "node-18.0",
5
+ Node190 = "node-19.0",
6
+ Node200 = "node-20.0",
7
+ Node210 = "node-21.0",
8
+ Node22 = "node-22",
9
+ Node23 = "node-23",
10
+ Node24 = "node-24",
11
+ Node25 = "node-25",
12
+ Php80 = "php-8.0",
13
+ Php81 = "php-8.1",
14
+ Php82 = "php-8.2",
15
+ Php83 = "php-8.3",
16
+ Php84 = "php-8.4",
17
+ Ruby30 = "ruby-3.0",
18
+ Ruby31 = "ruby-3.1",
19
+ Ruby32 = "ruby-3.2",
20
+ Ruby33 = "ruby-3.3",
21
+ Ruby34 = "ruby-3.4",
22
+ Ruby40 = "ruby-4.0",
23
+ Python38 = "python-3.8",
24
+ Python39 = "python-3.9",
25
+ Python310 = "python-3.10",
26
+ Python311 = "python-3.11",
27
+ Python312 = "python-3.12",
28
+ Python313 = "python-3.13",
29
+ Python314 = "python-3.14",
30
+ Pythonml311 = "python-ml-3.11",
31
+ Pythonml312 = "python-ml-3.12",
32
+ Pythonml313 = "python-ml-3.13",
33
+ Deno121 = "deno-1.21",
34
+ Deno124 = "deno-1.24",
35
+ Deno135 = "deno-1.35",
36
+ Deno140 = "deno-1.40",
37
+ Deno146 = "deno-1.46",
38
+ Deno20 = "deno-2.0",
39
+ Deno25 = "deno-2.5",
40
+ Deno26 = "deno-2.6",
41
+ Dart215 = "dart-2.15",
42
+ Dart216 = "dart-2.16",
43
+ Dart217 = "dart-2.17",
44
+ Dart218 = "dart-2.18",
45
+ Dart219 = "dart-2.19",
46
+ Dart30 = "dart-3.0",
47
+ Dart31 = "dart-3.1",
48
+ Dart33 = "dart-3.3",
49
+ Dart35 = "dart-3.5",
50
+ Dart38 = "dart-3.8",
51
+ Dart39 = "dart-3.9",
52
+ Dart310 = "dart-3.10",
53
+ Dotnet60 = "dotnet-6.0",
54
+ Dotnet70 = "dotnet-7.0",
55
+ Dotnet80 = "dotnet-8.0",
56
+ Dotnet10 = "dotnet-10",
57
+ Java80 = "java-8.0",
58
+ Java110 = "java-11.0",
59
+ Java170 = "java-17.0",
60
+ Java180 = "java-18.0",
61
+ Java210 = "java-21.0",
62
+ Java22 = "java-22",
63
+ Java25 = "java-25",
64
+ Swift55 = "swift-5.5",
65
+ Swift58 = "swift-5.8",
66
+ Swift59 = "swift-5.9",
67
+ Swift510 = "swift-5.10",
68
+ Swift62 = "swift-6.2",
69
+ Kotlin16 = "kotlin-1.6",
70
+ Kotlin18 = "kotlin-1.8",
71
+ Kotlin19 = "kotlin-1.9",
72
+ Kotlin20 = "kotlin-2.0",
73
+ Kotlin23 = "kotlin-2.3",
74
+ Cpp17 = "cpp-17",
75
+ Cpp20 = "cpp-20",
76
+ Bun10 = "bun-1.0",
77
+ Bun11 = "bun-1.1",
78
+ Bun12 = "bun-1.2",
79
+ Bun13 = "bun-1.3",
80
+ Go123 = "go-1.23",
81
+ Go124 = "go-1.24",
82
+ Go125 = "go-1.25",
83
+ Go126 = "go-1.26",
84
+ Static1 = "static-1",
85
+ Flutter324 = "flutter-3.24",
86
+ Flutter327 = "flutter-3.27",
87
+ Flutter329 = "flutter-3.29",
88
+ Flutter332 = "flutter-3.32",
89
+ Flutter335 = "flutter-3.35",
90
+ Flutter338 = "flutter-3.38",
91
+ Node145rc = "node-14.5-rc",
92
+ Node160rc = "node-16.0-rc",
93
+ Node180rc = "node-18.0-rc",
94
+ Node190rc = "node-19.0-rc",
95
+ Node200rc = "node-20.0-rc",
96
+ Node210rc = "node-21.0-rc",
97
+ Node22rc = "node-22-rc",
98
+ Node23rc = "node-23-rc",
99
+ Node24rc = "node-24-rc",
100
+ Node25rc = "node-25-rc",
101
+ Php80rc = "php-8.0-rc",
102
+ Php81rc = "php-8.1-rc",
103
+ Php82rc = "php-8.2-rc",
104
+ Php83rc = "php-8.3-rc",
105
+ Php84rc = "php-8.4-rc",
106
+ Ruby30rc = "ruby-3.0-rc",
107
+ Ruby31rc = "ruby-3.1-rc",
108
+ Ruby32rc = "ruby-3.2-rc",
109
+ Ruby33rc = "ruby-3.3-rc",
110
+ Ruby34rc = "ruby-3.4-rc",
111
+ Ruby40rc = "ruby-4.0-rc",
112
+ Python38rc = "python-3.8-rc",
113
+ Python39rc = "python-3.9-rc",
114
+ Python310rc = "python-3.10-rc",
115
+ Python311rc = "python-3.11-rc",
116
+ Python312rc = "python-3.12-rc",
117
+ Python313rc = "python-3.13-rc",
118
+ Python314rc = "python-3.14-rc",
119
+ Pythonml311rc = "python-ml-3.11-rc",
120
+ Pythonml312rc = "python-ml-3.12-rc",
121
+ Pythonml313rc = "python-ml-3.13-rc",
122
+ Deno121rc = "deno-1.21-rc",
123
+ Deno124rc = "deno-1.24-rc",
124
+ Deno135rc = "deno-1.35-rc",
125
+ Deno140rc = "deno-1.40-rc",
126
+ Deno146rc = "deno-1.46-rc",
127
+ Deno20rc = "deno-2.0-rc",
128
+ Deno25rc = "deno-2.5-rc",
129
+ Deno26rc = "deno-2.6-rc",
130
+ Dart215rc = "dart-2.15-rc",
131
+ Dart216rc = "dart-2.16-rc",
132
+ Dart217rc = "dart-2.17-rc",
133
+ Dart218rc = "dart-2.18-rc",
134
+ Dart219rc = "dart-2.19-rc",
135
+ Dart30rc = "dart-3.0-rc",
136
+ Dart31rc = "dart-3.1-rc",
137
+ Dart33rc = "dart-3.3-rc",
138
+ Dart35rc = "dart-3.5-rc",
139
+ Dart38rc = "dart-3.8-rc",
140
+ Dart39rc = "dart-3.9-rc",
141
+ Dart310rc = "dart-3.10-rc",
142
+ Dotnet60rc = "dotnet-6.0-rc",
143
+ Dotnet70rc = "dotnet-7.0-rc",
144
+ Dotnet80rc = "dotnet-8.0-rc",
145
+ Dotnet10rc = "dotnet-10-rc",
146
+ Java80rc = "java-8.0-rc",
147
+ Java110rc = "java-11.0-rc",
148
+ Java170rc = "java-17.0-rc",
149
+ Java180rc = "java-18.0-rc",
150
+ Java210rc = "java-21.0-rc",
151
+ Java22rc = "java-22-rc",
152
+ Java25rc = "java-25-rc",
153
+ Swift55rc = "swift-5.5-rc",
154
+ Swift58rc = "swift-5.8-rc",
155
+ Swift59rc = "swift-5.9-rc",
156
+ Swift510rc = "swift-5.10-rc",
157
+ Swift62rc = "swift-6.2-rc",
158
+ Kotlin16rc = "kotlin-1.6-rc",
159
+ Kotlin18rc = "kotlin-1.8-rc",
160
+ Kotlin19rc = "kotlin-1.9-rc",
161
+ Kotlin20rc = "kotlin-2.0-rc",
162
+ Kotlin23rc = "kotlin-2.3-rc",
163
+ Cpp17rc = "cpp-17-rc",
164
+ Cpp20rc = "cpp-20-rc",
165
+ Bun10rc = "bun-1.0-rc",
166
+ Bun11rc = "bun-1.1-rc",
167
+ Bun12rc = "bun-1.2-rc",
168
+ Bun13rc = "bun-1.3-rc",
169
+ Go123rc = "go-1.23-rc",
170
+ Go124rc = "go-1.24-rc",
171
+ Go125rc = "go-1.25-rc",
172
+ Go126rc = "go-1.26-rc",
173
+ Static1rc = "static-1-rc",
174
+ Flutter324rc = "flutter-3.24-rc",
175
+ Flutter327rc = "flutter-3.27-rc",
176
+ Flutter329rc = "flutter-3.29-rc",
177
+ Flutter332rc = "flutter-3.32-rc",
178
+ Flutter335rc = "flutter-3.35-rc",
179
+ Flutter338rc = "flutter-3.38-rc"
180
+ }
@@ -0,0 +1,70 @@
1
+ export declare enum Scopes {
2
+ SessionsWrite = "sessions.write",
3
+ UsersRead = "users.read",
4
+ UsersWrite = "users.write",
5
+ TeamsRead = "teams.read",
6
+ TeamsWrite = "teams.write",
7
+ DatabasesRead = "databases.read",
8
+ DatabasesWrite = "databases.write",
9
+ CollectionsRead = "collections.read",
10
+ CollectionsWrite = "collections.write",
11
+ TablesRead = "tables.read",
12
+ TablesWrite = "tables.write",
13
+ AttributesRead = "attributes.read",
14
+ AttributesWrite = "attributes.write",
15
+ ColumnsRead = "columns.read",
16
+ ColumnsWrite = "columns.write",
17
+ IndexesRead = "indexes.read",
18
+ IndexesWrite = "indexes.write",
19
+ DocumentsRead = "documents.read",
20
+ DocumentsWrite = "documents.write",
21
+ RowsRead = "rows.read",
22
+ RowsWrite = "rows.write",
23
+ FilesRead = "files.read",
24
+ FilesWrite = "files.write",
25
+ BucketsRead = "buckets.read",
26
+ BucketsWrite = "buckets.write",
27
+ FunctionsRead = "functions.read",
28
+ FunctionsWrite = "functions.write",
29
+ SitesRead = "sites.read",
30
+ SitesWrite = "sites.write",
31
+ LogRead = "log.read",
32
+ LogWrite = "log.write",
33
+ ExecutionRead = "execution.read",
34
+ ExecutionWrite = "execution.write",
35
+ LocaleRead = "locale.read",
36
+ AvatarsRead = "avatars.read",
37
+ HealthRead = "health.read",
38
+ ProvidersRead = "providers.read",
39
+ ProvidersWrite = "providers.write",
40
+ MessagesRead = "messages.read",
41
+ MessagesWrite = "messages.write",
42
+ TopicsRead = "topics.read",
43
+ TopicsWrite = "topics.write",
44
+ SubscribersRead = "subscribers.read",
45
+ SubscribersWrite = "subscribers.write",
46
+ TargetsRead = "targets.read",
47
+ TargetsWrite = "targets.write",
48
+ RulesRead = "rules.read",
49
+ RulesWrite = "rules.write",
50
+ SchedulesRead = "schedules.read",
51
+ SchedulesWrite = "schedules.write",
52
+ MigrationsRead = "migrations.read",
53
+ MigrationsWrite = "migrations.write",
54
+ VcsRead = "vcs.read",
55
+ VcsWrite = "vcs.write",
56
+ AssistantRead = "assistant.read",
57
+ TokensRead = "tokens.read",
58
+ TokensWrite = "tokens.write",
59
+ WebhooksRead = "webhooks.read",
60
+ WebhooksWrite = "webhooks.write",
61
+ PoliciesWrite = "policies.write",
62
+ PoliciesRead = "policies.read",
63
+ ArchivesRead = "archives.read",
64
+ ArchivesWrite = "archives.write",
65
+ RestorationsRead = "restorations.read",
66
+ RestorationsWrite = "restorations.write",
67
+ DomainsRead = "domains.read",
68
+ DomainsWrite = "domains.write",
69
+ EventsRead = "events.read"
70
+ }