appwrite-web-server-preview-isomorphic-chiragagg5k 0.0.0-rc.2

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 (89) hide show
  1. package/LICENSE +1 -0
  2. package/README.md +46 -0
  3. package/dist/cjs/package.json +3 -0
  4. package/dist/cjs/sdk.js +23912 -0
  5. package/dist/cjs/sdk.js.map +1 -0
  6. package/dist/esm/package.json +3 -0
  7. package/dist/esm/sdk.js +23884 -0
  8. package/dist/esm/sdk.js.map +1 -0
  9. package/dist/iife/sdk.js +27711 -0
  10. package/package.json +50 -0
  11. package/types/channel.d.ts +74 -0
  12. package/types/client.d.ts +345 -0
  13. package/types/enums/adapter.d.ts +4 -0
  14. package/types/enums/attribute-status.d.ts +7 -0
  15. package/types/enums/authentication-factor.d.ts +6 -0
  16. package/types/enums/authenticator-type.d.ts +3 -0
  17. package/types/enums/backup-services.d.ts +8 -0
  18. package/types/enums/browser-permission.d.ts +22 -0
  19. package/types/enums/browser.d.ts +16 -0
  20. package/types/enums/build-runtime.d.ts +94 -0
  21. package/types/enums/column-status.d.ts +7 -0
  22. package/types/enums/compression.d.ts +5 -0
  23. package/types/enums/credit-card.d.ts +19 -0
  24. package/types/enums/database-type.d.ts +6 -0
  25. package/types/enums/databases-index-type.d.ts +6 -0
  26. package/types/enums/deployment-download-type.d.ts +4 -0
  27. package/types/enums/deployment-status.d.ts +8 -0
  28. package/types/enums/email-template-locale.d.ts +133 -0
  29. package/types/enums/email-template-type.d.ts +9 -0
  30. package/types/enums/execution-method.d.ts +9 -0
  31. package/types/enums/execution-status.d.ts +7 -0
  32. package/types/enums/execution-trigger.d.ts +5 -0
  33. package/types/enums/flag.d.ts +197 -0
  34. package/types/enums/framework.d.ts +17 -0
  35. package/types/enums/health-antivirus-status.d.ts +5 -0
  36. package/types/enums/health-check-status.d.ts +4 -0
  37. package/types/enums/image-format.d.ts +9 -0
  38. package/types/enums/image-gravity.d.ts +11 -0
  39. package/types/enums/index-status.d.ts +7 -0
  40. package/types/enums/message-priority.d.ts +4 -0
  41. package/types/enums/message-status.d.ts +7 -0
  42. package/types/enums/messaging-provider-type.d.ts +5 -0
  43. package/types/enums/method-id.d.ts +9 -0
  44. package/types/enums/name.d.ts +15 -0
  45. package/types/enums/o-auth-provider.d.ts +45 -0
  46. package/types/enums/order-by.d.ts +4 -0
  47. package/types/enums/password-hash.d.ts +13 -0
  48. package/types/enums/platform-type.d.ts +7 -0
  49. package/types/enums/policy-id.d.ts +11 -0
  50. package/types/enums/protocol-id.d.ts +5 -0
  51. package/types/enums/relation-mutate.d.ts +5 -0
  52. package/types/enums/relationship-type.d.ts +6 -0
  53. package/types/enums/runtime.d.ts +94 -0
  54. package/types/enums/scopes.d.ts +89 -0
  55. package/types/enums/secure.d.ts +4 -0
  56. package/types/enums/service-id.d.ts +19 -0
  57. package/types/enums/smtp-encryption.d.ts +5 -0
  58. package/types/enums/tables-db-index-type.d.ts +6 -0
  59. package/types/enums/template-reference-type.d.ts +5 -0
  60. package/types/enums/theme.d.ts +4 -0
  61. package/types/enums/timezone.d.ts +421 -0
  62. package/types/enums/vcs-reference-type.d.ts +5 -0
  63. package/types/id.d.ts +20 -0
  64. package/types/index.d.ts +85 -0
  65. package/types/models.d.ts +6555 -0
  66. package/types/operator.d.ts +180 -0
  67. package/types/permission.d.ts +43 -0
  68. package/types/query.d.ts +442 -0
  69. package/types/role.d.ts +70 -0
  70. package/types/service.d.ts +11 -0
  71. package/types/services/account.d.ts +1016 -0
  72. package/types/services/activities.d.ts +51 -0
  73. package/types/services/avatars.d.ts +327 -0
  74. package/types/services/backups.d.ts +282 -0
  75. package/types/services/databases.d.ts +2297 -0
  76. package/types/services/functions.d.ts +755 -0
  77. package/types/services/graphql.d.ts +50 -0
  78. package/types/services/health.d.ts +482 -0
  79. package/types/services/locale.d.ts +71 -0
  80. package/types/services/messaging.d.ts +1996 -0
  81. package/types/services/project.d.ts +2342 -0
  82. package/types/services/realtime.d.ts +155 -0
  83. package/types/services/sites.d.ts +714 -0
  84. package/types/services/storage.d.ts +428 -0
  85. package/types/services/tables-db.d.ts +2242 -0
  86. package/types/services/teams.d.ts +348 -0
  87. package/types/services/tokens.d.ts +124 -0
  88. package/types/services/users.d.ts +1191 -0
  89. package/types/services/webhooks.d.ts +176 -0
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "appwrite-web-server-preview-isomorphic-chiragagg5k",
3
+ "homepage": "https://appwrite.io/support",
4
+ "description": "Repo short description goes here",
5
+ "version": "0.0.0-rc.2",
6
+ "license": "",
7
+ "main": "dist/cjs/sdk.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/esm/sdk.js",
11
+ "require": "./dist/cjs/sdk.js",
12
+ "types": "./types/index.d.ts"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "module": "dist/esm/sdk.js",
17
+ "types": "types/index.d.ts",
18
+ "files": [
19
+ "dist",
20
+ "types"
21
+ ],
22
+ "repository": {
23
+ "type": "git",
24
+ "url": ""
25
+ },
26
+ "scripts": {
27
+ "build": "npm run build:types && npm run build:libs",
28
+ "build:types": "tsc --declaration --emitDeclarationOnly --outDir types",
29
+ "build:libs": "rollup -c"
30
+ },
31
+ "engines": {
32
+ "node": ">=18.0.0"
33
+ },
34
+ "dependencies": {
35
+ "json-bigint": "1.0.0"
36
+ },
37
+ "devDependencies": {
38
+ "@rollup/plugin-commonjs": "29.0.2",
39
+ "@rollup/plugin-node-resolve": "16.0.3",
40
+ "@rollup/plugin-typescript": "12.3.0",
41
+ "@types/json-bigint": "1.0.4",
42
+ "playwright": "1.56.1",
43
+ "rollup": "4.60.1",
44
+ "serve-handler": "6.1.7",
45
+ "tslib": "2.8.1",
46
+ "typescript": "5.7.3"
47
+ },
48
+ "jsdelivr": "dist/iife/sdk.js",
49
+ "unpkg": "dist/iife/sdk.js"
50
+ }
@@ -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
+ 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 type ActionableChannel = Channel<Document> | Channel<Row> | Channel<File> | Channel<Execution> | Channel<Team> | Channel<Membership>;
73
+ export type ResolvedChannel = Channel<Resolved>;
74
+ export {};
@@ -0,0 +1,345 @@
1
+ import { Models } from './models';
2
+ import { Channel, ActionableChannel, ResolvedChannel } from './channel';
3
+ import { Query } from './query';
4
+ export declare const JSONbig: {
5
+ parse: (text: string) => any;
6
+ stringify: {
7
+ (value: any, replacer?: (this: any, key: string, value: any) => any, space?: string | number): string;
8
+ (value: any, replacer?: (number | string)[] | null, space?: string | number): string;
9
+ };
10
+ };
11
+ /**
12
+ * Payload type representing a key-value pair with string keys and any values.
13
+ */
14
+ type Payload = {
15
+ [key: string]: any;
16
+ };
17
+ /**
18
+ * Headers type representing a key-value pair with string keys and string values.
19
+ */
20
+ type Headers = {
21
+ [key: string]: string;
22
+ };
23
+ /**
24
+ * Realtime event response structure with generic payload type.
25
+ */
26
+ type RealtimeResponseEvent<T extends unknown> = {
27
+ /**
28
+ * List of event names associated with the response.
29
+ */
30
+ events: string[];
31
+ /**
32
+ * List of channel names associated with the response.
33
+ */
34
+ channels: string[];
35
+ /**
36
+ * Timestamp indicating the time of the event.
37
+ */
38
+ timestamp: string;
39
+ /**
40
+ * Payload containing event-specific data.
41
+ */
42
+ payload: T;
43
+ /**
44
+ * Subscription IDs this event matches (from backend, optional).
45
+ */
46
+ subscriptions?: string[];
47
+ };
48
+ /**
49
+ * Type representing upload progress information.
50
+ */
51
+ type UploadProgress = {
52
+ /**
53
+ * Identifier for the upload progress.
54
+ */
55
+ $id: string;
56
+ /**
57
+ * Current progress of the upload (in percentage).
58
+ */
59
+ progress: number;
60
+ /**
61
+ * Total size uploaded (in bytes) during the upload process.
62
+ */
63
+ sizeUploaded: number;
64
+ /**
65
+ * Total number of chunks that need to be uploaded.
66
+ */
67
+ chunksTotal: number;
68
+ /**
69
+ * Number of chunks that have been successfully uploaded.
70
+ */
71
+ chunksUploaded: number;
72
+ };
73
+ /**
74
+ * Exception thrown by the package
75
+ */
76
+ declare class AppwriteException extends Error {
77
+ /**
78
+ * The error code associated with the exception.
79
+ */
80
+ code: number;
81
+ /**
82
+ * The response string associated with the exception.
83
+ */
84
+ response: string;
85
+ /**
86
+ * Error type.
87
+ * See [Error Types](https://example.com/docs/response-codes#errorTypes) for more information.
88
+ */
89
+ type: string;
90
+ /**
91
+ * Initializes a Appwrite Exception.
92
+ *
93
+ * @param {string} message - The error message.
94
+ * @param {number} code - The error code. Default is 0.
95
+ * @param {string} type - The error type. Default is an empty string.
96
+ * @param {string} response - The response string. Default is an empty string.
97
+ */
98
+ constructor(message: string, code?: number, type?: string, response?: string);
99
+ }
100
+ /**
101
+ * Client that handles requests to Appwrite
102
+ */
103
+ type SDKPlatform = 'client' | 'server';
104
+ type ClientAuth = 'browser' | 'session' | 'devKey' | 'impersonation';
105
+ type ServerAuth = 'apiKey' | 'jwt' | 'cookie';
106
+ type Auth = ClientAuth | ServerAuth;
107
+ declare const clientAuthBrand: unique symbol;
108
+ type Prettify<T> = {
109
+ [K in keyof T]: T[K];
110
+ } & {};
111
+ type BaseClientParams = {
112
+ endpoint: string;
113
+ endpointRealtime?: string;
114
+ selfSigned?: boolean;
115
+ projectId: string;
116
+ locale?: string;
117
+ };
118
+ type ImpersonationTarget = {
119
+ userId: string;
120
+ email?: never;
121
+ phone?: never;
122
+ } | {
123
+ email: string;
124
+ userId?: never;
125
+ phone?: never;
126
+ } | {
127
+ phone: string;
128
+ userId?: never;
129
+ email?: never;
130
+ };
131
+ type LegacyClientSetter = Extract<keyof ClientRuntime<any>, `set${string}`>;
132
+ type ClientAuthBuilder = Extract<keyof ClientRuntime<any>, `with${string}`>;
133
+ type ClientInternalMethod = LegacyClientSetter | ClientAuthBuilder;
134
+ export type Client<TAuth extends Auth = 'browser'> = Omit<ClientRuntime<TAuth>, ClientInternalMethod>;
135
+ type LegacyClient<TAuth extends Auth = 'browser'> = Omit<ClientRuntime<TAuth>, ClientAuthBuilder>;
136
+ type ClientConstructor = {
137
+ new <TAuth extends Auth = 'browser'>(): LegacyClient<TAuth>;
138
+ fromBrowser(params: Prettify<BaseClientParams>): Client<'browser'>;
139
+ fromSession(params: Prettify<BaseClientParams & {
140
+ session: string;
141
+ }>): Client<'session'>;
142
+ fromAPIKey(params: Prettify<BaseClientParams & {
143
+ apiKey: string;
144
+ }>): Client<'apiKey'>;
145
+ fromCookie(params: Prettify<BaseClientParams & {
146
+ cookie: string;
147
+ }>): Client<'cookie'>;
148
+ fromJWT(params: Prettify<BaseClientParams & {
149
+ jwt: string;
150
+ }>): Client<'jwt'>;
151
+ fromDevKey(params: Prettify<BaseClientParams & {
152
+ devKey: string;
153
+ }>): Client<'devKey'>;
154
+ fromImpersonation(params: Prettify<BaseClientParams & {
155
+ session: string;
156
+ } & ImpersonationTarget>): Client<'impersonation'>;
157
+ };
158
+ declare class ClientRuntime<TAuth extends Auth = 'browser'> {
159
+ static CHUNK_SIZE: number;
160
+ readonly [clientAuthBrand]?: TAuth;
161
+ /**
162
+ * Holds configuration such as project.
163
+ */
164
+ config: {
165
+ endpoint: string;
166
+ endpointRealtime: string;
167
+ project: string;
168
+ key: string;
169
+ jwt: string;
170
+ locale: string;
171
+ session: string;
172
+ forwardeduseragent: string;
173
+ devkey: string;
174
+ cookie: string;
175
+ impersonateuserid: string;
176
+ impersonateuseremail: string;
177
+ impersonateuserphone: string;
178
+ selfSigned: boolean;
179
+ };
180
+ private sdkPlatform;
181
+ /**
182
+ * Custom headers for API requests.
183
+ */
184
+ headers: Headers;
185
+ static fromBrowser(params: Prettify<BaseClientParams>): Client<'browser'>;
186
+ static fromSession(params: Prettify<BaseClientParams & {
187
+ session: string;
188
+ }>): Client<'session'>;
189
+ static fromAPIKey(params: Prettify<BaseClientParams & {
190
+ apiKey: string;
191
+ }>): Client<'apiKey'>;
192
+ static fromCookie(params: Prettify<BaseClientParams & {
193
+ cookie: string;
194
+ }>): Client<'cookie'>;
195
+ static fromJWT(params: Prettify<BaseClientParams & {
196
+ jwt: string;
197
+ }>): Client<'jwt'>;
198
+ static fromDevKey(params: Prettify<BaseClientParams & {
199
+ devKey: string;
200
+ }>): Client<'devKey'>;
201
+ static fromImpersonation(params: Prettify<BaseClientParams & {
202
+ session: string;
203
+ } & ImpersonationTarget>): Client<'impersonation'>;
204
+ withJWT(jwt: string): this;
205
+ withForwardedUserAgent(forwardedUserAgent: string): this;
206
+ private applyBase;
207
+ /**
208
+ * Get Headers
209
+ *
210
+ * Returns a copy of the current request headers, including any
211
+ * authentication headers. Handle with care.
212
+ *
213
+ * @returns {Headers}
214
+ */
215
+ getHeaders(): Headers;
216
+ /**
217
+ * Set Endpoint
218
+ *
219
+ * Your project endpoint
220
+ *
221
+ * @param {string} endpoint
222
+ *
223
+ * @returns {this}
224
+ */
225
+ /**
226
+ * @deprecated Use `Client.fromBrowser`, `Client.fromSession`, `Client.fromAPIKey`, or another static factory instead.
227
+ */
228
+ setEndpoint(endpoint: string): this;
229
+ /**
230
+ * Set Realtime Endpoint
231
+ *
232
+ * @param {string} endpointRealtime
233
+ *
234
+ * @returns {this}
235
+ */
236
+ /**
237
+ * @deprecated Use the `endpointRealtime` field on a static factory params object instead.
238
+ */
239
+ setEndpointRealtime(endpointRealtime: string): this;
240
+ /**
241
+ * Set self-signed
242
+ *
243
+ * @param {boolean} selfSigned
244
+ *
245
+ * @returns {this}
246
+ */
247
+ /**
248
+ * @deprecated Use the `selfSigned` field on a static factory params object instead.
249
+ */
250
+ setSelfSigned(selfSigned: boolean): this;
251
+ /**
252
+ * @deprecated Use a static client factory or factory params object instead.
253
+ */
254
+ setProject(value: string): this;
255
+ /**
256
+ * @deprecated Use a static client factory or factory params object instead.
257
+ */
258
+ setKey(value: string): ClientRuntime<'apiKey'>;
259
+ /**
260
+ * @deprecated Use a static client factory or factory params object instead.
261
+ */
262
+ setJWT(value: string): ClientRuntime<'jwt'>;
263
+ /**
264
+ * @deprecated Use a static client factory or factory params object instead.
265
+ */
266
+ setLocale(value: string): this;
267
+ /**
268
+ * @deprecated Use a static client factory or factory params object instead.
269
+ */
270
+ setSession(value: string): ClientRuntime<'session'>;
271
+ /**
272
+ * @deprecated Use a static client factory or factory params object instead.
273
+ */
274
+ setForwardedUserAgent(value: string): this;
275
+ /**
276
+ * @deprecated Use a static client factory or factory params object instead.
277
+ */
278
+ setDevKey(value: string): ClientRuntime<'devKey'>;
279
+ /**
280
+ * @deprecated Use a static client factory or factory params object instead.
281
+ */
282
+ setCookie(value: string): ClientRuntime<'cookie'>;
283
+ /**
284
+ * @deprecated Use a static client factory or factory params object instead.
285
+ */
286
+ setImpersonateUserId(value: string): ClientRuntime<'impersonation'>;
287
+ /**
288
+ * @deprecated Use a static client factory or factory params object instead.
289
+ */
290
+ setImpersonateUserEmail(value: string): ClientRuntime<'impersonation'>;
291
+ /**
292
+ * @deprecated Use a static client factory or factory params object instead.
293
+ */
294
+ setImpersonateUserPhone(value: string): ClientRuntime<'impersonation'>;
295
+ private realtime;
296
+ /**
297
+ * Subscribes to Appwrite events and passes you the payload in realtime.
298
+ *
299
+ * @deprecated Use the Realtime service instead.
300
+ * @see Realtime
301
+ *
302
+ * @param {string|string[]|Channel<any>|ActionableChannel|ResolvedChannel|(Channel<any>|ActionableChannel|ResolvedChannel)[]} channels
303
+ * Channel to subscribe - pass a single channel as a string or Channel builder instance, or multiple with an array.
304
+ *
305
+ * Possible channels are:
306
+ * - account
307
+ * - collections
308
+ * - collections.[ID]
309
+ * - collections.[ID].documents
310
+ * - documents
311
+ * - documents.[ID]
312
+ * - files
313
+ * - files.[ID]
314
+ * - executions
315
+ * - executions.[ID]
316
+ * - functions.[ID]
317
+ * - teams
318
+ * - teams.[ID]
319
+ * - memberships
320
+ * - memberships.[ID]
321
+ *
322
+ * You can also use Channel builders:
323
+ * - Channel.database('db').collection('col').document('doc').create()
324
+ * - Channel.bucket('bucket').file('file').update()
325
+ * - Channel.function('func').execution('exec').delete()
326
+ * - Channel.team('team').create()
327
+ * - Channel.membership('membership').update()
328
+ * @param {(payload: RealtimeMessage) => void} callback Is called on every realtime update.
329
+ * @returns {() => void} Unsubscribes from events.
330
+ */
331
+ subscribe<T extends unknown>(channels: string | string[] | Channel<any> | ActionableChannel | ResolvedChannel | (Channel<any> | ActionableChannel | ResolvedChannel)[], callback: (payload: RealtimeResponseEvent<T>) => void, queries?: (string | Query)[]): () => void;
332
+ prepareRequest(method: string, url: URL, headers?: Headers, params?: Payload): {
333
+ uri: string;
334
+ options: RequestInit;
335
+ };
336
+ chunkedUpload(method: string, url: URL, headers: Headers | undefined, originalPayload: Payload | undefined, onProgress: (progress: UploadProgress) => void): Promise<any>;
337
+ ping(): Promise<string>;
338
+ call(method: string, url: URL, headers?: Headers, params?: Payload, responseType?: string): Promise<any>;
339
+ static flatten(data: Payload, prefix?: string): Payload;
340
+ }
341
+ declare const Client: ClientConstructor;
342
+ export { Client, AppwriteException };
343
+ export type { Models, SDKPlatform, ClientAuth, ServerAuth, Payload, RealtimeResponseEvent, UploadProgress };
344
+ export { Query } from './query';
345
+ export type { QueryTypes, QueryTypesList } from './query';
@@ -0,0 +1,4 @@
1
+ export declare enum Adapter {
2
+ Static = "static",
3
+ Ssr = "ssr"
4
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum AttributeStatus {
2
+ Available = "available",
3
+ Processing = "processing",
4
+ Deleting = "deleting",
5
+ Stuck = "stuck",
6
+ Failed = "failed"
7
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum AuthenticationFactor {
2
+ Email = "email",
3
+ Phone = "phone",
4
+ Totp = "totp",
5
+ Recoverycode = "recoverycode"
6
+ }
@@ -0,0 +1,3 @@
1
+ export declare enum AuthenticatorType {
2
+ Totp = "totp"
3
+ }
@@ -0,0 +1,8 @@
1
+ export declare enum BackupServices {
2
+ Databases = "databases",
3
+ Tablesdb = "tablesdb",
4
+ Documentsdb = "documentsdb",
5
+ Vectorsdb = "vectorsdb",
6
+ Functions = "functions",
7
+ Storage = "storage"
8
+ }
@@ -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,16 @@
1
+ export declare enum Browser {
2
+ AvantBrowser = "aa",
3
+ AndroidWebViewBeta = "an",
4
+ GoogleChrome = "ch",
5
+ GoogleChromeIOS = "ci",
6
+ GoogleChromeMobile = "cm",
7
+ Chromium = "cr",
8
+ MozillaFirefox = "ff",
9
+ Safari = "sf",
10
+ MobileSafari = "mf",
11
+ MicrosoftEdge = "ps",
12
+ MicrosoftEdgeIOS = "oi",
13
+ OperaMini = "om",
14
+ Opera = "op",
15
+ OperaNext = "on"
16
+ }
@@ -0,0 +1,94 @@
1
+ export declare enum BuildRuntime {
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
+ Dart311 = "dart-3.11",
54
+ Dotnet60 = "dotnet-6.0",
55
+ Dotnet70 = "dotnet-7.0",
56
+ Dotnet80 = "dotnet-8.0",
57
+ Dotnet10 = "dotnet-10",
58
+ Java80 = "java-8.0",
59
+ Java110 = "java-11.0",
60
+ Java170 = "java-17.0",
61
+ Java180 = "java-18.0",
62
+ Java210 = "java-21.0",
63
+ Java22 = "java-22",
64
+ Java25 = "java-25",
65
+ Swift55 = "swift-5.5",
66
+ Swift58 = "swift-5.8",
67
+ Swift59 = "swift-5.9",
68
+ Swift510 = "swift-5.10",
69
+ Swift62 = "swift-6.2",
70
+ Kotlin16 = "kotlin-1.6",
71
+ Kotlin18 = "kotlin-1.8",
72
+ Kotlin19 = "kotlin-1.9",
73
+ Kotlin20 = "kotlin-2.0",
74
+ Kotlin23 = "kotlin-2.3",
75
+ Cpp17 = "cpp-17",
76
+ Cpp20 = "cpp-20",
77
+ Bun10 = "bun-1.0",
78
+ Bun11 = "bun-1.1",
79
+ Bun12 = "bun-1.2",
80
+ Bun13 = "bun-1.3",
81
+ Go123 = "go-1.23",
82
+ Go124 = "go-1.24",
83
+ Go125 = "go-1.25",
84
+ Go126 = "go-1.26",
85
+ Rust183 = "rust-1.83",
86
+ Static1 = "static-1",
87
+ Flutter324 = "flutter-3.24",
88
+ Flutter327 = "flutter-3.27",
89
+ Flutter329 = "flutter-3.29",
90
+ Flutter332 = "flutter-3.32",
91
+ Flutter335 = "flutter-3.35",
92
+ Flutter338 = "flutter-3.38",
93
+ Flutter341 = "flutter-3.41"
94
+ }
@@ -0,0 +1,7 @@
1
+ export declare enum ColumnStatus {
2
+ Available = "available",
3
+ Processing = "processing",
4
+ Deleting = "deleting",
5
+ Stuck = "stuck",
6
+ Failed = "failed"
7
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum Compression {
2
+ None = "none",
3
+ Gzip = "gzip",
4
+ Zstd = "zstd"
5
+ }
@@ -0,0 +1,19 @@
1
+ export declare enum CreditCard {
2
+ AmericanExpress = "amex",
3
+ Argencard = "argencard",
4
+ Cabal = "cabal",
5
+ Cencosud = "cencosud",
6
+ DinersClub = "diners",
7
+ Discover = "discover",
8
+ Elo = "elo",
9
+ Hipercard = "hipercard",
10
+ JCB = "jcb",
11
+ Mastercard = "mastercard",
12
+ Naranja = "naranja",
13
+ TarjetaShopping = "targeta-shopping",
14
+ UnionPay = "unionpay",
15
+ Visa = "visa",
16
+ MIR = "mir",
17
+ Maestro = "maestro",
18
+ Rupay = "rupay"
19
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum DatabaseType {
2
+ Legacy = "legacy",
3
+ Tablesdb = "tablesdb",
4
+ Documentsdb = "documentsdb",
5
+ Vectorsdb = "vectorsdb"
6
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum DatabasesIndexType {
2
+ Key = "key",
3
+ Fulltext = "fulltext",
4
+ Unique = "unique",
5
+ Spatial = "spatial"
6
+ }