@appwrite.io/console 8.0.0 → 8.1.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/.github/workflows/publish.yml +1 -1
- package/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/dist/cjs/sdk.js +12 -1
- package/package.json +1 -1
- package/src/client.ts +13 -1
- package/src/models.ts +122 -0
- package/src/services/vcs.ts +10 -10
- package/dist/cjs/sdk.js.map +0 -1
- package/dist/esm/sdk.js +0 -29694
- package/dist/esm/sdk.js.map +0 -1
- package/dist/iife/sdk.js +0 -33504
- package/types/channel.d.ts +0 -74
- package/types/client.d.ts +0 -293
- package/types/enums/adapter.d.ts +0 -4
- package/types/enums/api-service.d.ts +0 -15
- package/types/enums/api.d.ts +0 -5
- package/types/enums/appwrite-migration-resource.d.ts +0 -27
- package/types/enums/attribute-status.d.ts +0 -7
- package/types/enums/auth-method.d.ts +0 -9
- package/types/enums/authentication-factor.d.ts +0 -6
- package/types/enums/authenticator-type.d.ts +0 -3
- package/types/enums/backup-services.d.ts +0 -8
- package/types/enums/billing-plan-group.d.ts +0 -5
- package/types/enums/browser-permission.d.ts +0 -22
- package/types/enums/browser.d.ts +0 -16
- package/types/enums/build-runtime.d.ts +0 -88
- package/types/enums/column-status.d.ts +0 -7
- package/types/enums/compression.d.ts +0 -5
- package/types/enums/console-resource-type.d.ts +0 -3
- package/types/enums/credit-card.d.ts +0 -19
- package/types/enums/database-type.d.ts +0 -6
- package/types/enums/databases-index-type.d.ts +0 -6
- package/types/enums/deployment-download-type.d.ts +0 -4
- package/types/enums/deployment-status.d.ts +0 -8
- package/types/enums/domain-purchase-status.d.ts +0 -6
- package/types/enums/domain-transfer-status-enum.d.ts +0 -10
- package/types/enums/email-template-locale.d.ts +0 -133
- package/types/enums/email-template-type.d.ts +0 -9
- package/types/enums/execution-method.d.ts +0 -9
- package/types/enums/execution-status.d.ts +0 -7
- package/types/enums/execution-trigger.d.ts +0 -5
- package/types/enums/filter-type.d.ts +0 -4
- package/types/enums/firebase-migration-resource.d.ts +0 -12
- package/types/enums/flag.d.ts +0 -197
- package/types/enums/framework.d.ts +0 -17
- package/types/enums/frameworks.d.ts +0 -17
- package/types/enums/health-antivirus-status.d.ts +0 -5
- package/types/enums/health-check-status.d.ts +0 -4
- package/types/enums/image-format.d.ts +0 -9
- package/types/enums/image-gravity.d.ts +0 -11
- package/types/enums/index-status.d.ts +0 -7
- package/types/enums/message-priority.d.ts +0 -4
- package/types/enums/message-status.d.ts +0 -7
- package/types/enums/messaging-provider-type.d.ts +0 -5
- package/types/enums/n-host-migration-resource.d.ts +0 -13
- package/types/enums/name.d.ts +0 -15
- package/types/enums/o-auth-provider.d.ts +0 -41
- package/types/enums/order-by.d.ts +0 -4
- package/types/enums/password-hash.d.ts +0 -13
- package/types/enums/platform-type.d.ts +0 -17
- package/types/enums/platform.d.ts +0 -4
- package/types/enums/project-usage-range.d.ts +0 -4
- package/types/enums/proxy-resource-type.d.ts +0 -4
- package/types/enums/proxy-rule-deployment-resource-type.d.ts +0 -4
- package/types/enums/proxy-rule-status.d.ts +0 -6
- package/types/enums/region.d.ts +0 -8
- package/types/enums/registration-type.d.ts +0 -6
- package/types/enums/relation-mutate.d.ts +0 -5
- package/types/enums/relationship-type.d.ts +0 -6
- package/types/enums/resource-type.d.ts +0 -6
- package/types/enums/runtime.d.ts +0 -88
- package/types/enums/runtimes.d.ts +0 -88
- package/types/enums/scopes.d.ts +0 -81
- package/types/enums/sms-template-locale.d.ts +0 -133
- package/types/enums/sms-template-type.d.ts +0 -6
- package/types/enums/smtp-encryption.d.ts +0 -5
- package/types/enums/smtp-secure.d.ts +0 -4
- package/types/enums/status-code.d.ts +0 -6
- package/types/enums/status.d.ts +0 -3
- package/types/enums/supabase-migration-resource.d.ts +0 -13
- package/types/enums/tables-db-index-type.d.ts +0 -6
- package/types/enums/template-reference-type.d.ts +0 -5
- package/types/enums/theme.d.ts +0 -4
- package/types/enums/timezone.d.ts +0 -421
- package/types/enums/usage-range.d.ts +0 -5
- package/types/enums/use-cases.d.ts +0 -16
- package/types/enums/vcs-detection-type.d.ts +0 -4
- package/types/enums/vcs-reference-type.d.ts +0 -5
- package/types/id.d.ts +0 -20
- package/types/index.d.ts +0 -118
- package/types/models.d.ts +0 -9120
- package/types/operator.d.ts +0 -180
- package/types/permission.d.ts +0 -43
- package/types/query.d.ts +0 -442
- package/types/role.d.ts +0 -70
- package/types/service.d.ts +0 -11
- package/types/services/account.d.ts +0 -1536
- package/types/services/activities.d.ts +0 -46
- package/types/services/assistant.d.ts +0 -24
- package/types/services/avatars.d.ts +0 -320
- package/types/services/backups.d.ts +0 -277
- package/types/services/console.d.ts +0 -248
- package/types/services/databases.d.ts +0 -2435
- package/types/services/domains.d.ts +0 -1527
- package/types/services/functions.d.ts +0 -842
- package/types/services/graphql.d.ts +0 -43
- package/types/services/health.d.ts +0 -475
- package/types/services/locale.d.ts +0 -64
- package/types/services/messaging.d.ts +0 -1989
- package/types/services/migrations.d.ts +0 -417
- package/types/services/organizations.d.ts +0 -1009
- package/types/services/project.d.ts +0 -148
- package/types/services/projects.d.ts +0 -1626
- package/types/services/proxy.d.ts +0 -190
- package/types/services/realtime.d.ts +0 -134
- package/types/services/sites.d.ts +0 -800
- package/types/services/storage.d.ts +0 -467
- package/types/services/tables-db.d.ts +0 -2352
- package/types/services/teams.d.ts +0 -366
- package/types/services/tokens.d.ts +0 -119
- package/types/services/users.d.ts +0 -1208
- package/types/services/vcs.d.ts +0 -252
- package/types/services/webhooks.d.ts +0 -165
package/types/channel.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
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 {};
|
package/types/client.d.ts
DELETED
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
import { Models } from './models';
|
|
2
|
-
import { Channel, ActionableChannel, ResolvedChannel } from './channel';
|
|
3
|
-
import { Query } from './query';
|
|
4
|
-
/**
|
|
5
|
-
* Payload type representing a key-value pair with string keys and any values.
|
|
6
|
-
*/
|
|
7
|
-
type Payload = {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Headers type representing a key-value pair with string keys and string values.
|
|
12
|
-
*/
|
|
13
|
-
type Headers = {
|
|
14
|
-
[key: string]: string;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Realtime event response structure with generic payload type.
|
|
18
|
-
*/
|
|
19
|
-
type RealtimeResponseEvent<T extends unknown> = {
|
|
20
|
-
/**
|
|
21
|
-
* List of event names associated with the response.
|
|
22
|
-
*/
|
|
23
|
-
events: string[];
|
|
24
|
-
/**
|
|
25
|
-
* List of channel names associated with the response.
|
|
26
|
-
*/
|
|
27
|
-
channels: string[];
|
|
28
|
-
/**
|
|
29
|
-
* Timestamp indicating the time of the event.
|
|
30
|
-
*/
|
|
31
|
-
timestamp: string;
|
|
32
|
-
/**
|
|
33
|
-
* Payload containing event-specific data.
|
|
34
|
-
*/
|
|
35
|
-
payload: T;
|
|
36
|
-
/**
|
|
37
|
-
* Subscription IDs this event matches (from backend, optional).
|
|
38
|
-
*/
|
|
39
|
-
subscriptions?: string[];
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Type representing upload progress information.
|
|
43
|
-
*/
|
|
44
|
-
type UploadProgress = {
|
|
45
|
-
/**
|
|
46
|
-
* Identifier for the upload progress.
|
|
47
|
-
*/
|
|
48
|
-
$id: string;
|
|
49
|
-
/**
|
|
50
|
-
* Current progress of the upload (in percentage).
|
|
51
|
-
*/
|
|
52
|
-
progress: number;
|
|
53
|
-
/**
|
|
54
|
-
* Total size uploaded (in bytes) during the upload process.
|
|
55
|
-
*/
|
|
56
|
-
sizeUploaded: number;
|
|
57
|
-
/**
|
|
58
|
-
* Total number of chunks that need to be uploaded.
|
|
59
|
-
*/
|
|
60
|
-
chunksTotal: number;
|
|
61
|
-
/**
|
|
62
|
-
* Number of chunks that have been successfully uploaded.
|
|
63
|
-
*/
|
|
64
|
-
chunksUploaded: number;
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Exception thrown by the package
|
|
68
|
-
*/
|
|
69
|
-
declare class AppwriteException extends Error {
|
|
70
|
-
/**
|
|
71
|
-
* The error code associated with the exception.
|
|
72
|
-
*/
|
|
73
|
-
code: number;
|
|
74
|
-
/**
|
|
75
|
-
* The response string associated with the exception.
|
|
76
|
-
*/
|
|
77
|
-
response: string;
|
|
78
|
-
/**
|
|
79
|
-
* Error type.
|
|
80
|
-
* See [Error Types](https://appwrite.io/docs/response-codes#errorTypes) for more information.
|
|
81
|
-
*/
|
|
82
|
-
type: string;
|
|
83
|
-
/**
|
|
84
|
-
* Initializes a Appwrite Exception.
|
|
85
|
-
*
|
|
86
|
-
* @param {string} message - The error message.
|
|
87
|
-
* @param {number} code - The error code. Default is 0.
|
|
88
|
-
* @param {string} type - The error type. Default is an empty string.
|
|
89
|
-
* @param {string} response - The response string. Default is an empty string.
|
|
90
|
-
*/
|
|
91
|
-
constructor(message: string, code?: number, type?: string, response?: string);
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Client that handles requests to Appwrite
|
|
95
|
-
*/
|
|
96
|
-
declare class Client {
|
|
97
|
-
static CHUNK_SIZE: number;
|
|
98
|
-
/**
|
|
99
|
-
* Holds configuration such as project.
|
|
100
|
-
*/
|
|
101
|
-
config: {
|
|
102
|
-
endpoint: string;
|
|
103
|
-
endpointRealtime: string;
|
|
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;
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* Custom headers for API requests.
|
|
119
|
-
*/
|
|
120
|
-
headers: Headers;
|
|
121
|
-
/**
|
|
122
|
-
* Set Endpoint
|
|
123
|
-
*
|
|
124
|
-
* Your project endpoint
|
|
125
|
-
*
|
|
126
|
-
* @param {string} endpoint
|
|
127
|
-
*
|
|
128
|
-
* @returns {this}
|
|
129
|
-
*/
|
|
130
|
-
setEndpoint(endpoint: string): this;
|
|
131
|
-
/**
|
|
132
|
-
* Set Realtime Endpoint
|
|
133
|
-
*
|
|
134
|
-
* @param {string} endpointRealtime
|
|
135
|
-
*
|
|
136
|
-
* @returns {this}
|
|
137
|
-
*/
|
|
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;
|
|
147
|
-
/**
|
|
148
|
-
* Set Project
|
|
149
|
-
*
|
|
150
|
-
* Your project ID
|
|
151
|
-
*
|
|
152
|
-
* @param value string
|
|
153
|
-
*
|
|
154
|
-
* @return {this}
|
|
155
|
-
*/
|
|
156
|
-
setProject(value: string): this;
|
|
157
|
-
/**
|
|
158
|
-
* Set Key
|
|
159
|
-
*
|
|
160
|
-
* Your secret API key
|
|
161
|
-
*
|
|
162
|
-
* @param value string
|
|
163
|
-
*
|
|
164
|
-
* @return {this}
|
|
165
|
-
*/
|
|
166
|
-
setKey(value: string): this;
|
|
167
|
-
/**
|
|
168
|
-
* Set JWT
|
|
169
|
-
*
|
|
170
|
-
* Your secret JSON Web Token
|
|
171
|
-
*
|
|
172
|
-
* @param value string
|
|
173
|
-
*
|
|
174
|
-
* @return {this}
|
|
175
|
-
*/
|
|
176
|
-
setJWT(value: string): this;
|
|
177
|
-
/**
|
|
178
|
-
* Set Locale
|
|
179
|
-
*
|
|
180
|
-
* @param value string
|
|
181
|
-
*
|
|
182
|
-
* @return {this}
|
|
183
|
-
*/
|
|
184
|
-
setLocale(value: string): this;
|
|
185
|
-
/**
|
|
186
|
-
* Set Mode
|
|
187
|
-
*
|
|
188
|
-
* @param value string
|
|
189
|
-
*
|
|
190
|
-
* @return {this}
|
|
191
|
-
*/
|
|
192
|
-
setMode(value: string): this;
|
|
193
|
-
/**
|
|
194
|
-
* Set Cookie
|
|
195
|
-
*
|
|
196
|
-
* The user cookie to authenticate with
|
|
197
|
-
*
|
|
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}
|
|
221
|
-
*/
|
|
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;
|
|
243
|
-
private realtime;
|
|
244
|
-
/**
|
|
245
|
-
* Subscribes to Appwrite events and passes you the payload in realtime.
|
|
246
|
-
*
|
|
247
|
-
* @deprecated Use the Realtime service instead.
|
|
248
|
-
* @see Realtime
|
|
249
|
-
*
|
|
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.
|
|
252
|
-
*
|
|
253
|
-
* Possible channels are:
|
|
254
|
-
* - account
|
|
255
|
-
* - collections
|
|
256
|
-
* - collections.[ID]
|
|
257
|
-
* - collections.[ID].documents
|
|
258
|
-
* - documents
|
|
259
|
-
* - documents.[ID]
|
|
260
|
-
* - files
|
|
261
|
-
* - files.[ID]
|
|
262
|
-
* - executions
|
|
263
|
-
* - executions.[ID]
|
|
264
|
-
* - functions.[ID]
|
|
265
|
-
* - teams
|
|
266
|
-
* - teams.[ID]
|
|
267
|
-
* - memberships
|
|
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()
|
|
276
|
-
* @param {(payload: RealtimeMessage) => void} callback Is called on every realtime update.
|
|
277
|
-
* @returns {() => void} Unsubscribes from events.
|
|
278
|
-
*/
|
|
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;
|
|
280
|
-
prepareRequest(method: string, url: URL, headers?: Headers, params?: Payload): {
|
|
281
|
-
uri: string;
|
|
282
|
-
options: RequestInit;
|
|
283
|
-
};
|
|
284
|
-
chunkedUpload(method: string, url: URL, headers: Headers | undefined, originalPayload: Payload | undefined, onProgress: (progress: UploadProgress) => void): Promise<any>;
|
|
285
|
-
ping(): Promise<string>;
|
|
286
|
-
call(method: string, url: URL, headers?: Headers, params?: Payload, responseType?: string): Promise<any>;
|
|
287
|
-
static flatten(data: Payload, prefix?: string): Payload;
|
|
288
|
-
}
|
|
289
|
-
export { Client, AppwriteException };
|
|
290
|
-
export { Query } from './query';
|
|
291
|
-
export type { Models, Payload, UploadProgress };
|
|
292
|
-
export type { RealtimeResponseEvent };
|
|
293
|
-
export type { QueryTypes, QueryTypesList } from './query';
|
package/types/enums/adapter.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum ApiService {
|
|
2
|
-
Account = "account",
|
|
3
|
-
Avatars = "avatars",
|
|
4
|
-
Databases = "databases",
|
|
5
|
-
Tablesdb = "tablesdb",
|
|
6
|
-
Locale = "locale",
|
|
7
|
-
Health = "health",
|
|
8
|
-
Storage = "storage",
|
|
9
|
-
Teams = "teams",
|
|
10
|
-
Users = "users",
|
|
11
|
-
Sites = "sites",
|
|
12
|
-
Functions = "functions",
|
|
13
|
-
Graphql = "graphql",
|
|
14
|
-
Messaging = "messaging"
|
|
15
|
-
}
|
package/types/enums/api.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
Documentsdb = "documentsdb",
|
|
14
|
-
Vectorsdb = "vectorsdb",
|
|
15
|
-
Bucket = "bucket",
|
|
16
|
-
File = "file",
|
|
17
|
-
Function = "function",
|
|
18
|
-
Deployment = "deployment",
|
|
19
|
-
Environmentvariable = "environment-variable",
|
|
20
|
-
Provider = "provider",
|
|
21
|
-
Topic = "topic",
|
|
22
|
-
Subscriber = "subscriber",
|
|
23
|
-
Message = "message",
|
|
24
|
-
Site = "site",
|
|
25
|
-
Sitedeployment = "site-deployment",
|
|
26
|
-
Sitevariable = "site-variable"
|
|
27
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
}
|
package/types/enums/browser.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
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
|
-
Deno140 = "deno-1.40",
|
|
34
|
-
Deno146 = "deno-1.46",
|
|
35
|
-
Deno20 = "deno-2.0",
|
|
36
|
-
Deno25 = "deno-2.5",
|
|
37
|
-
Deno26 = "deno-2.6",
|
|
38
|
-
Dart215 = "dart-2.15",
|
|
39
|
-
Dart216 = "dart-2.16",
|
|
40
|
-
Dart217 = "dart-2.17",
|
|
41
|
-
Dart218 = "dart-2.18",
|
|
42
|
-
Dart219 = "dart-2.19",
|
|
43
|
-
Dart30 = "dart-3.0",
|
|
44
|
-
Dart31 = "dart-3.1",
|
|
45
|
-
Dart33 = "dart-3.3",
|
|
46
|
-
Dart35 = "dart-3.5",
|
|
47
|
-
Dart38 = "dart-3.8",
|
|
48
|
-
Dart39 = "dart-3.9",
|
|
49
|
-
Dart310 = "dart-3.10",
|
|
50
|
-
Dotnet60 = "dotnet-6.0",
|
|
51
|
-
Dotnet70 = "dotnet-7.0",
|
|
52
|
-
Dotnet80 = "dotnet-8.0",
|
|
53
|
-
Dotnet10 = "dotnet-10",
|
|
54
|
-
Java80 = "java-8.0",
|
|
55
|
-
Java110 = "java-11.0",
|
|
56
|
-
Java170 = "java-17.0",
|
|
57
|
-
Java180 = "java-18.0",
|
|
58
|
-
Java210 = "java-21.0",
|
|
59
|
-
Java22 = "java-22",
|
|
60
|
-
Java25 = "java-25",
|
|
61
|
-
Swift55 = "swift-5.5",
|
|
62
|
-
Swift58 = "swift-5.8",
|
|
63
|
-
Swift59 = "swift-5.9",
|
|
64
|
-
Swift510 = "swift-5.10",
|
|
65
|
-
Swift62 = "swift-6.2",
|
|
66
|
-
Kotlin16 = "kotlin-1.6",
|
|
67
|
-
Kotlin18 = "kotlin-1.8",
|
|
68
|
-
Kotlin19 = "kotlin-1.9",
|
|
69
|
-
Kotlin20 = "kotlin-2.0",
|
|
70
|
-
Kotlin23 = "kotlin-2.3",
|
|
71
|
-
Cpp17 = "cpp-17",
|
|
72
|
-
Cpp20 = "cpp-20",
|
|
73
|
-
Bun10 = "bun-1.0",
|
|
74
|
-
Bun11 = "bun-1.1",
|
|
75
|
-
Bun12 = "bun-1.2",
|
|
76
|
-
Bun13 = "bun-1.3",
|
|
77
|
-
Go123 = "go-1.23",
|
|
78
|
-
Go124 = "go-1.24",
|
|
79
|
-
Go125 = "go-1.25",
|
|
80
|
-
Go126 = "go-1.26",
|
|
81
|
-
Static1 = "static-1",
|
|
82
|
-
Flutter324 = "flutter-3.24",
|
|
83
|
-
Flutter327 = "flutter-3.27",
|
|
84
|
-
Flutter329 = "flutter-3.29",
|
|
85
|
-
Flutter332 = "flutter-3.32",
|
|
86
|
-
Flutter335 = "flutter-3.35",
|
|
87
|
-
Flutter338 = "flutter-3.38"
|
|
88
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|