@elaraai/east-node-io 0.0.1-beta.16 → 0.0.1-beta.17
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/dist/compression/gzip.d.ts +1 -1
- package/dist/compression/index.d.ts +16 -16
- package/dist/compression/tar.d.ts +2 -2
- package/dist/compression/types.d.ts +10 -10
- package/dist/compression/zip.d.ts +3 -3
- package/dist/format/index.d.ts +77 -77
- package/dist/format/types.d.ts +53 -53
- package/dist/format/xlsx.d.ts +20 -20
- package/dist/format/xml.d.ts +54 -54
- package/dist/nosql/index.d.ts +20 -20
- package/dist/nosql/mongodb.d.ts +5 -5
- package/dist/nosql/redis.d.ts +5 -5
- package/dist/nosql/types.d.ts +10 -10
- package/dist/sql/index.d.ts +214 -214
- package/dist/sql/mysql.d.ts +30 -30
- package/dist/sql/postgres.d.ts +30 -30
- package/dist/sql/sqlite.d.ts +26 -26
- package/dist/sql/types.d.ts +54 -54
- package/dist/storage/index.d.ts +61 -61
- package/dist/storage/s3.d.ts +43 -43
- package/dist/storage/types.d.ts +18 -18
- package/dist/transfer/ftp.d.ts +10 -10
- package/dist/transfer/index.d.ts +40 -40
- package/dist/transfer/sftp.d.ts +10 -10
- package/dist/transfer/types.d.ts +15 -15
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/sql/index.d.ts
CHANGED
|
@@ -88,9 +88,9 @@ export declare const SQL: {
|
|
|
88
88
|
* ```
|
|
89
89
|
*/
|
|
90
90
|
readonly connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
91
|
-
path: import("./types.js").StringType;
|
|
92
|
-
readOnly: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
93
|
-
memory: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
91
|
+
readonly path: import("./types.js").StringType;
|
|
92
|
+
readonly readOnly: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
93
|
+
readonly memory: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
94
94
|
}>], import("./types.js").StringType>;
|
|
95
95
|
/**
|
|
96
96
|
* Executes a SQL query with parameters.
|
|
@@ -120,34 +120,34 @@ export declare const SQL: {
|
|
|
120
120
|
* ```
|
|
121
121
|
*/
|
|
122
122
|
readonly query: import("@elaraai/east").AsyncPlatformDefinition<[import("./types.js").StringType, import("./types.js").StringType, import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
123
|
-
Null: import("@elaraai/east").NullType;
|
|
124
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
125
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
126
|
-
Float: import("@elaraai/east").FloatType;
|
|
127
|
-
String: import("./types.js").StringType;
|
|
128
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
129
|
-
Blob: import("@elaraai/east").BlobType;
|
|
123
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
124
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
125
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
126
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
127
|
+
readonly String: import("./types.js").StringType;
|
|
128
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
129
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
130
130
|
}>>], import("@elaraai/east").VariantType<{
|
|
131
|
-
select: import("@elaraai/east").StructType<{
|
|
132
|
-
rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
133
|
-
Null: import("@elaraai/east").NullType;
|
|
134
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
135
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
136
|
-
Float: import("@elaraai/east").FloatType;
|
|
137
|
-
String: import("./types.js").StringType;
|
|
138
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
139
|
-
Blob: import("@elaraai/east").BlobType;
|
|
131
|
+
readonly select: import("@elaraai/east").StructType<{
|
|
132
|
+
readonly rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
133
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
134
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
135
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
136
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
137
|
+
readonly String: import("./types.js").StringType;
|
|
138
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
139
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
140
140
|
}>>>;
|
|
141
141
|
}>;
|
|
142
|
-
insert: import("@elaraai/east").StructType<{
|
|
143
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
144
|
-
lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
142
|
+
readonly insert: import("@elaraai/east").StructType<{
|
|
143
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
144
|
+
readonly lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
145
145
|
}>;
|
|
146
|
-
update: import("@elaraai/east").StructType<{
|
|
147
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
146
|
+
readonly update: import("@elaraai/east").StructType<{
|
|
147
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
148
148
|
}>;
|
|
149
|
-
delete: import("@elaraai/east").StructType<{
|
|
150
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
149
|
+
readonly delete: import("@elaraai/east").StructType<{
|
|
150
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
151
151
|
}>;
|
|
152
152
|
}>>;
|
|
153
153
|
/**
|
|
@@ -211,70 +211,70 @@ export declare const SQL: {
|
|
|
211
211
|
* SQLite connection configuration type.
|
|
212
212
|
*/
|
|
213
213
|
readonly Config: import("@elaraai/east").StructType<{
|
|
214
|
-
path: import("./types.js").StringType;
|
|
215
|
-
readOnly: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
216
|
-
memory: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
214
|
+
readonly path: import("./types.js").StringType;
|
|
215
|
+
readonly readOnly: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
216
|
+
readonly memory: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
217
217
|
}>;
|
|
218
218
|
/**
|
|
219
219
|
* SQL query parameter value type.
|
|
220
220
|
*/
|
|
221
221
|
readonly Parameter: import("@elaraai/east").VariantType<{
|
|
222
|
-
Null: import("@elaraai/east").NullType;
|
|
223
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
224
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
225
|
-
Float: import("@elaraai/east").FloatType;
|
|
226
|
-
String: import("./types.js").StringType;
|
|
227
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
228
|
-
Blob: import("@elaraai/east").BlobType;
|
|
222
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
223
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
224
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
225
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
226
|
+
readonly String: import("./types.js").StringType;
|
|
227
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
228
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
229
229
|
}>;
|
|
230
230
|
/**
|
|
231
231
|
* Array of SQL query parameters.
|
|
232
232
|
*/
|
|
233
233
|
readonly Parameters: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
234
|
-
Null: import("@elaraai/east").NullType;
|
|
235
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
236
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
237
|
-
Float: import("@elaraai/east").FloatType;
|
|
238
|
-
String: import("./types.js").StringType;
|
|
239
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
240
|
-
Blob: import("@elaraai/east").BlobType;
|
|
234
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
235
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
236
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
237
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
238
|
+
readonly String: import("./types.js").StringType;
|
|
239
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
240
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
241
241
|
}>>;
|
|
242
242
|
/**
|
|
243
243
|
* SQL query result row type.
|
|
244
244
|
*/
|
|
245
245
|
readonly Row: import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
246
|
-
Null: import("@elaraai/east").NullType;
|
|
247
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
248
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
249
|
-
Float: import("@elaraai/east").FloatType;
|
|
250
|
-
String: import("./types.js").StringType;
|
|
251
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
252
|
-
Blob: import("@elaraai/east").BlobType;
|
|
246
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
247
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
248
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
249
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
250
|
+
readonly String: import("./types.js").StringType;
|
|
251
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
252
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
253
253
|
}>>;
|
|
254
254
|
/**
|
|
255
255
|
* SQL query execution result type.
|
|
256
256
|
*/
|
|
257
257
|
readonly Result: import("@elaraai/east").VariantType<{
|
|
258
|
-
select: import("@elaraai/east").StructType<{
|
|
259
|
-
rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
260
|
-
Null: import("@elaraai/east").NullType;
|
|
261
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
262
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
263
|
-
Float: import("@elaraai/east").FloatType;
|
|
264
|
-
String: import("./types.js").StringType;
|
|
265
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
266
|
-
Blob: import("@elaraai/east").BlobType;
|
|
258
|
+
readonly select: import("@elaraai/east").StructType<{
|
|
259
|
+
readonly rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
260
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
261
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
262
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
263
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
264
|
+
readonly String: import("./types.js").StringType;
|
|
265
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
266
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
267
267
|
}>>>;
|
|
268
268
|
}>;
|
|
269
|
-
insert: import("@elaraai/east").StructType<{
|
|
270
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
271
|
-
lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
269
|
+
readonly insert: import("@elaraai/east").StructType<{
|
|
270
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
271
|
+
readonly lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
272
272
|
}>;
|
|
273
|
-
update: import("@elaraai/east").StructType<{
|
|
274
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
273
|
+
readonly update: import("@elaraai/east").StructType<{
|
|
274
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
275
275
|
}>;
|
|
276
|
-
delete: import("@elaraai/east").StructType<{
|
|
277
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
276
|
+
readonly delete: import("@elaraai/east").StructType<{
|
|
277
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
278
278
|
}>;
|
|
279
279
|
}>;
|
|
280
280
|
};
|
|
@@ -319,13 +319,13 @@ export declare const SQL: {
|
|
|
319
319
|
* ```
|
|
320
320
|
*/
|
|
321
321
|
readonly connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
322
|
-
host: import("./types.js").StringType;
|
|
323
|
-
port: import("@elaraai/east").IntegerType;
|
|
324
|
-
database: import("./types.js").StringType;
|
|
325
|
-
user: import("./types.js").StringType;
|
|
326
|
-
password: import("./types.js").StringType;
|
|
327
|
-
ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
328
|
-
maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
322
|
+
readonly host: import("./types.js").StringType;
|
|
323
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
324
|
+
readonly database: import("./types.js").StringType;
|
|
325
|
+
readonly user: import("./types.js").StringType;
|
|
326
|
+
readonly password: import("./types.js").StringType;
|
|
327
|
+
readonly ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
328
|
+
readonly maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
329
329
|
}>], import("./types.js").StringType>;
|
|
330
330
|
/**
|
|
331
331
|
* Executes a SQL query with parameters.
|
|
@@ -359,34 +359,34 @@ export declare const SQL: {
|
|
|
359
359
|
* ```
|
|
360
360
|
*/
|
|
361
361
|
readonly query: import("@elaraai/east").AsyncPlatformDefinition<[import("./types.js").StringType, import("./types.js").StringType, import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
362
|
-
Null: import("@elaraai/east").NullType;
|
|
363
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
364
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
365
|
-
Float: import("@elaraai/east").FloatType;
|
|
366
|
-
String: import("./types.js").StringType;
|
|
367
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
368
|
-
Blob: import("@elaraai/east").BlobType;
|
|
362
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
363
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
364
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
365
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
366
|
+
readonly String: import("./types.js").StringType;
|
|
367
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
368
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
369
369
|
}>>], import("@elaraai/east").VariantType<{
|
|
370
|
-
select: import("@elaraai/east").StructType<{
|
|
371
|
-
rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
372
|
-
Null: import("@elaraai/east").NullType;
|
|
373
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
374
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
375
|
-
Float: import("@elaraai/east").FloatType;
|
|
376
|
-
String: import("./types.js").StringType;
|
|
377
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
378
|
-
Blob: import("@elaraai/east").BlobType;
|
|
370
|
+
readonly select: import("@elaraai/east").StructType<{
|
|
371
|
+
readonly rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
372
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
373
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
374
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
375
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
376
|
+
readonly String: import("./types.js").StringType;
|
|
377
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
378
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
379
379
|
}>>>;
|
|
380
380
|
}>;
|
|
381
|
-
insert: import("@elaraai/east").StructType<{
|
|
382
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
383
|
-
lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
381
|
+
readonly insert: import("@elaraai/east").StructType<{
|
|
382
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
383
|
+
readonly lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
384
384
|
}>;
|
|
385
|
-
update: import("@elaraai/east").StructType<{
|
|
386
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
385
|
+
readonly update: import("@elaraai/east").StructType<{
|
|
386
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
387
387
|
}>;
|
|
388
|
-
delete: import("@elaraai/east").StructType<{
|
|
389
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
388
|
+
readonly delete: import("@elaraai/east").StructType<{
|
|
389
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
390
390
|
}>;
|
|
391
391
|
}>>;
|
|
392
392
|
/**
|
|
@@ -454,74 +454,74 @@ export declare const SQL: {
|
|
|
454
454
|
* PostgreSQL connection configuration type.
|
|
455
455
|
*/
|
|
456
456
|
readonly Config: import("@elaraai/east").StructType<{
|
|
457
|
-
host: import("./types.js").StringType;
|
|
458
|
-
port: import("@elaraai/east").IntegerType;
|
|
459
|
-
database: import("./types.js").StringType;
|
|
460
|
-
user: import("./types.js").StringType;
|
|
461
|
-
password: import("./types.js").StringType;
|
|
462
|
-
ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
463
|
-
maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
457
|
+
readonly host: import("./types.js").StringType;
|
|
458
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
459
|
+
readonly database: import("./types.js").StringType;
|
|
460
|
+
readonly user: import("./types.js").StringType;
|
|
461
|
+
readonly password: import("./types.js").StringType;
|
|
462
|
+
readonly ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
463
|
+
readonly maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
464
464
|
}>;
|
|
465
465
|
/**
|
|
466
466
|
* SQL query parameter value type.
|
|
467
467
|
*/
|
|
468
468
|
readonly Parameter: import("@elaraai/east").VariantType<{
|
|
469
|
-
Null: import("@elaraai/east").NullType;
|
|
470
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
471
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
472
|
-
Float: import("@elaraai/east").FloatType;
|
|
473
|
-
String: import("./types.js").StringType;
|
|
474
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
475
|
-
Blob: import("@elaraai/east").BlobType;
|
|
469
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
470
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
471
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
472
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
473
|
+
readonly String: import("./types.js").StringType;
|
|
474
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
475
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
476
476
|
}>;
|
|
477
477
|
/**
|
|
478
478
|
* Array of SQL query parameters.
|
|
479
479
|
*/
|
|
480
480
|
readonly Parameters: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
481
|
-
Null: import("@elaraai/east").NullType;
|
|
482
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
483
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
484
|
-
Float: import("@elaraai/east").FloatType;
|
|
485
|
-
String: import("./types.js").StringType;
|
|
486
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
487
|
-
Blob: import("@elaraai/east").BlobType;
|
|
481
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
482
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
483
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
484
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
485
|
+
readonly String: import("./types.js").StringType;
|
|
486
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
487
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
488
488
|
}>>;
|
|
489
489
|
/**
|
|
490
490
|
* SQL query result row type.
|
|
491
491
|
*/
|
|
492
492
|
readonly Row: import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
493
|
-
Null: import("@elaraai/east").NullType;
|
|
494
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
495
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
496
|
-
Float: import("@elaraai/east").FloatType;
|
|
497
|
-
String: import("./types.js").StringType;
|
|
498
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
499
|
-
Blob: import("@elaraai/east").BlobType;
|
|
493
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
494
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
495
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
496
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
497
|
+
readonly String: import("./types.js").StringType;
|
|
498
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
499
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
500
500
|
}>>;
|
|
501
501
|
/**
|
|
502
502
|
* SQL query execution result type.
|
|
503
503
|
*/
|
|
504
504
|
readonly Result: import("@elaraai/east").VariantType<{
|
|
505
|
-
select: import("@elaraai/east").StructType<{
|
|
506
|
-
rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
507
|
-
Null: import("@elaraai/east").NullType;
|
|
508
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
509
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
510
|
-
Float: import("@elaraai/east").FloatType;
|
|
511
|
-
String: import("./types.js").StringType;
|
|
512
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
513
|
-
Blob: import("@elaraai/east").BlobType;
|
|
505
|
+
readonly select: import("@elaraai/east").StructType<{
|
|
506
|
+
readonly rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
507
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
508
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
509
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
510
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
511
|
+
readonly String: import("./types.js").StringType;
|
|
512
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
513
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
514
514
|
}>>>;
|
|
515
515
|
}>;
|
|
516
|
-
insert: import("@elaraai/east").StructType<{
|
|
517
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
518
|
-
lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
516
|
+
readonly insert: import("@elaraai/east").StructType<{
|
|
517
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
518
|
+
readonly lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
519
519
|
}>;
|
|
520
|
-
update: import("@elaraai/east").StructType<{
|
|
521
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
520
|
+
readonly update: import("@elaraai/east").StructType<{
|
|
521
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
522
522
|
}>;
|
|
523
|
-
delete: import("@elaraai/east").StructType<{
|
|
524
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
523
|
+
readonly delete: import("@elaraai/east").StructType<{
|
|
524
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
525
525
|
}>;
|
|
526
526
|
}>;
|
|
527
527
|
};
|
|
@@ -566,13 +566,13 @@ export declare const SQL: {
|
|
|
566
566
|
* ```
|
|
567
567
|
*/
|
|
568
568
|
readonly connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
569
|
-
host: import("./types.js").StringType;
|
|
570
|
-
port: import("@elaraai/east").IntegerType;
|
|
571
|
-
database: import("./types.js").StringType;
|
|
572
|
-
user: import("./types.js").StringType;
|
|
573
|
-
password: import("./types.js").StringType;
|
|
574
|
-
ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
575
|
-
maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
569
|
+
readonly host: import("./types.js").StringType;
|
|
570
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
571
|
+
readonly database: import("./types.js").StringType;
|
|
572
|
+
readonly user: import("./types.js").StringType;
|
|
573
|
+
readonly password: import("./types.js").StringType;
|
|
574
|
+
readonly ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
575
|
+
readonly maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
576
576
|
}>], import("./types.js").StringType>;
|
|
577
577
|
/**
|
|
578
578
|
* Executes a SQL query with parameters.
|
|
@@ -606,34 +606,34 @@ export declare const SQL: {
|
|
|
606
606
|
* ```
|
|
607
607
|
*/
|
|
608
608
|
readonly query: import("@elaraai/east").AsyncPlatformDefinition<[import("./types.js").StringType, import("./types.js").StringType, import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
609
|
-
Null: import("@elaraai/east").NullType;
|
|
610
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
611
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
612
|
-
Float: import("@elaraai/east").FloatType;
|
|
613
|
-
String: import("./types.js").StringType;
|
|
614
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
615
|
-
Blob: import("@elaraai/east").BlobType;
|
|
609
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
610
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
611
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
612
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
613
|
+
readonly String: import("./types.js").StringType;
|
|
614
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
615
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
616
616
|
}>>], import("@elaraai/east").VariantType<{
|
|
617
|
-
select: import("@elaraai/east").StructType<{
|
|
618
|
-
rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
619
|
-
Null: import("@elaraai/east").NullType;
|
|
620
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
621
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
622
|
-
Float: import("@elaraai/east").FloatType;
|
|
623
|
-
String: import("./types.js").StringType;
|
|
624
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
625
|
-
Blob: import("@elaraai/east").BlobType;
|
|
617
|
+
readonly select: import("@elaraai/east").StructType<{
|
|
618
|
+
readonly rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
619
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
620
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
621
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
622
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
623
|
+
readonly String: import("./types.js").StringType;
|
|
624
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
625
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
626
626
|
}>>>;
|
|
627
627
|
}>;
|
|
628
|
-
insert: import("@elaraai/east").StructType<{
|
|
629
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
630
|
-
lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
628
|
+
readonly insert: import("@elaraai/east").StructType<{
|
|
629
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
630
|
+
readonly lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
631
631
|
}>;
|
|
632
|
-
update: import("@elaraai/east").StructType<{
|
|
633
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
632
|
+
readonly update: import("@elaraai/east").StructType<{
|
|
633
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
634
634
|
}>;
|
|
635
|
-
delete: import("@elaraai/east").StructType<{
|
|
636
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
635
|
+
readonly delete: import("@elaraai/east").StructType<{
|
|
636
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
637
637
|
}>;
|
|
638
638
|
}>>;
|
|
639
639
|
/**
|
|
@@ -701,74 +701,74 @@ export declare const SQL: {
|
|
|
701
701
|
* MySQL connection configuration type.
|
|
702
702
|
*/
|
|
703
703
|
readonly Config: import("@elaraai/east").StructType<{
|
|
704
|
-
host: import("./types.js").StringType;
|
|
705
|
-
port: import("@elaraai/east").IntegerType;
|
|
706
|
-
database: import("./types.js").StringType;
|
|
707
|
-
user: import("./types.js").StringType;
|
|
708
|
-
password: import("./types.js").StringType;
|
|
709
|
-
ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
710
|
-
maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
704
|
+
readonly host: import("./types.js").StringType;
|
|
705
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
706
|
+
readonly database: import("./types.js").StringType;
|
|
707
|
+
readonly user: import("./types.js").StringType;
|
|
708
|
+
readonly password: import("./types.js").StringType;
|
|
709
|
+
readonly ssl: import("@elaraai/east").OptionType<import("@elaraai/east").BooleanType>;
|
|
710
|
+
readonly maxConnections: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
711
711
|
}>;
|
|
712
712
|
/**
|
|
713
713
|
* SQL query parameter value type.
|
|
714
714
|
*/
|
|
715
715
|
readonly Parameter: import("@elaraai/east").VariantType<{
|
|
716
|
-
Null: import("@elaraai/east").NullType;
|
|
717
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
718
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
719
|
-
Float: import("@elaraai/east").FloatType;
|
|
720
|
-
String: import("./types.js").StringType;
|
|
721
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
722
|
-
Blob: import("@elaraai/east").BlobType;
|
|
716
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
717
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
718
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
719
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
720
|
+
readonly String: import("./types.js").StringType;
|
|
721
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
722
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
723
723
|
}>;
|
|
724
724
|
/**
|
|
725
725
|
* Array of SQL query parameters.
|
|
726
726
|
*/
|
|
727
727
|
readonly Parameters: import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
728
|
-
Null: import("@elaraai/east").NullType;
|
|
729
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
730
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
731
|
-
Float: import("@elaraai/east").FloatType;
|
|
732
|
-
String: import("./types.js").StringType;
|
|
733
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
734
|
-
Blob: import("@elaraai/east").BlobType;
|
|
728
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
729
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
730
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
731
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
732
|
+
readonly String: import("./types.js").StringType;
|
|
733
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
734
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
735
735
|
}>>;
|
|
736
736
|
/**
|
|
737
737
|
* SQL query result row type.
|
|
738
738
|
*/
|
|
739
739
|
readonly Row: import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
740
|
-
Null: import("@elaraai/east").NullType;
|
|
741
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
742
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
743
|
-
Float: import("@elaraai/east").FloatType;
|
|
744
|
-
String: import("./types.js").StringType;
|
|
745
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
746
|
-
Blob: import("@elaraai/east").BlobType;
|
|
740
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
741
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
742
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
743
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
744
|
+
readonly String: import("./types.js").StringType;
|
|
745
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
746
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
747
747
|
}>>;
|
|
748
748
|
/**
|
|
749
749
|
* SQL query execution result type.
|
|
750
750
|
*/
|
|
751
751
|
readonly Result: import("@elaraai/east").VariantType<{
|
|
752
|
-
select: import("@elaraai/east").StructType<{
|
|
753
|
-
rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
754
|
-
Null: import("@elaraai/east").NullType;
|
|
755
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
756
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
757
|
-
Float: import("@elaraai/east").FloatType;
|
|
758
|
-
String: import("./types.js").StringType;
|
|
759
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
760
|
-
Blob: import("@elaraai/east").BlobType;
|
|
752
|
+
readonly select: import("@elaraai/east").StructType<{
|
|
753
|
+
readonly rows: import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("./types.js").StringType, import("@elaraai/east").VariantType<{
|
|
754
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
755
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
756
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
757
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
758
|
+
readonly String: import("./types.js").StringType;
|
|
759
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
760
|
+
readonly Blob: import("@elaraai/east").BlobType;
|
|
761
761
|
}>>>;
|
|
762
762
|
}>;
|
|
763
|
-
insert: import("@elaraai/east").StructType<{
|
|
764
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
765
|
-
lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
763
|
+
readonly insert: import("@elaraai/east").StructType<{
|
|
764
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
765
|
+
readonly lastInsertId: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
766
766
|
}>;
|
|
767
|
-
update: import("@elaraai/east").StructType<{
|
|
768
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
767
|
+
readonly update: import("@elaraai/east").StructType<{
|
|
768
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
769
769
|
}>;
|
|
770
|
-
delete: import("@elaraai/east").StructType<{
|
|
771
|
-
rowsAffected: import("@elaraai/east").IntegerType;
|
|
770
|
+
readonly delete: import("@elaraai/east").StructType<{
|
|
771
|
+
readonly rowsAffected: import("@elaraai/east").IntegerType;
|
|
772
772
|
}>;
|
|
773
773
|
}>;
|
|
774
774
|
};
|