@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/format/xlsx.d.ts
CHANGED
|
@@ -62,15 +62,15 @@ import type { PlatformFunction } from "@elaraai/east/internal";
|
|
|
62
62
|
* - Formulas are evaluated and their results are returned
|
|
63
63
|
*/
|
|
64
64
|
export declare const xlsx_read: import("@elaraai/east").PlatformDefinition<[BlobType, import("@elaraai/east").StructType<{
|
|
65
|
-
sheetName: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
65
|
+
readonly sheetName: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
66
66
|
}>], import("@elaraai/east").ArrayType<import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
67
|
-
Null: import("@elaraai/east").NullType;
|
|
68
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
69
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
70
|
-
Float: import("@elaraai/east").FloatType;
|
|
71
|
-
String: import("@elaraai/east").StringType;
|
|
72
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
73
|
-
Blob: BlobType;
|
|
67
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
68
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
69
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
70
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
71
|
+
readonly String: import("@elaraai/east").StringType;
|
|
72
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
73
|
+
readonly Blob: BlobType;
|
|
74
74
|
}>>>>;
|
|
75
75
|
/**
|
|
76
76
|
* Writes a 2D array of cell values to an XLSX file.
|
|
@@ -122,15 +122,15 @@ export declare const xlsx_read: import("@elaraai/east").PlatformDefinition<[Blob
|
|
|
122
122
|
* - All rows should ideally have the same number of columns
|
|
123
123
|
*/
|
|
124
124
|
export declare const xlsx_write: import("@elaraai/east").PlatformDefinition<[import("@elaraai/east").ArrayType<import("@elaraai/east").ArrayType<import("@elaraai/east").VariantType<{
|
|
125
|
-
Null: import("@elaraai/east").NullType;
|
|
126
|
-
Boolean: import("@elaraai/east").BooleanType;
|
|
127
|
-
Integer: import("@elaraai/east").IntegerType;
|
|
128
|
-
Float: import("@elaraai/east").FloatType;
|
|
129
|
-
String: import("@elaraai/east").StringType;
|
|
130
|
-
DateTime: import("@elaraai/east").DateTimeType;
|
|
131
|
-
Blob: BlobType;
|
|
125
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
126
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
127
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
128
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
129
|
+
readonly String: import("@elaraai/east").StringType;
|
|
130
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
131
|
+
readonly Blob: BlobType;
|
|
132
132
|
}>>>, import("@elaraai/east").StructType<{
|
|
133
|
-
sheetName: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
133
|
+
readonly sheetName: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
134
134
|
}>], BlobType>;
|
|
135
135
|
/**
|
|
136
136
|
* Gets metadata about an XLSX file without reading all data.
|
|
@@ -162,10 +162,10 @@ export declare const xlsx_write: import("@elaraai/east").PlatformDefinition<[imp
|
|
|
162
162
|
* ```
|
|
163
163
|
*/
|
|
164
164
|
export declare const xlsx_info: import("@elaraai/east").PlatformDefinition<[BlobType], import("@elaraai/east").StructType<{
|
|
165
|
-
sheets: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
|
|
166
|
-
name: import("@elaraai/east").StringType;
|
|
167
|
-
rowCount: import("@elaraai/east").IntegerType;
|
|
168
|
-
columnCount: import("@elaraai/east").IntegerType;
|
|
165
|
+
readonly sheets: import("@elaraai/east").ArrayType<import("@elaraai/east").StructType<{
|
|
166
|
+
readonly name: import("@elaraai/east").StringType;
|
|
167
|
+
readonly rowCount: import("@elaraai/east").IntegerType;
|
|
168
|
+
readonly columnCount: import("@elaraai/east").IntegerType;
|
|
169
169
|
}>>;
|
|
170
170
|
}>>;
|
|
171
171
|
/**
|
package/dist/format/xml.d.ts
CHANGED
|
@@ -11,23 +11,23 @@ import type { PlatformFunction } from "@elaraai/east/internal";
|
|
|
11
11
|
* This recursive structure allows representing arbitrary XML trees.
|
|
12
12
|
*/
|
|
13
13
|
export declare const XmlNode: RecursiveType<StructType<{
|
|
14
|
-
tag: StringType;
|
|
15
|
-
attributes: DictType<StringType, StringType>;
|
|
16
|
-
children: ArrayType<VariantType<{
|
|
17
|
-
TEXT: StringType;
|
|
18
|
-
ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
14
|
+
readonly tag: StringType;
|
|
15
|
+
readonly attributes: DictType<StringType, StringType>;
|
|
16
|
+
readonly children: ArrayType<VariantType<{
|
|
17
|
+
readonly TEXT: StringType;
|
|
18
|
+
readonly ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
19
19
|
}>>;
|
|
20
20
|
}>>;
|
|
21
21
|
export type XmlNodeValue = ValueTypeOf<typeof XmlNode>;
|
|
22
22
|
export declare const XmlParseConfig: StructType<{
|
|
23
|
-
preserveWhitespace: BooleanType;
|
|
24
|
-
decodeEntities: BooleanType;
|
|
23
|
+
readonly preserveWhitespace: BooleanType;
|
|
24
|
+
readonly decodeEntities: BooleanType;
|
|
25
25
|
}>;
|
|
26
26
|
export declare const XmlSerializeConfig: StructType<{
|
|
27
|
-
indent: OptionType<StringType>;
|
|
28
|
-
includeXmlDeclaration: BooleanType;
|
|
29
|
-
encodeEntities: BooleanType;
|
|
30
|
-
selfClosingTags: BooleanType;
|
|
27
|
+
readonly indent: OptionType<StringType>;
|
|
28
|
+
readonly includeXmlDeclaration: BooleanType;
|
|
29
|
+
readonly encodeEntities: BooleanType;
|
|
30
|
+
readonly selfClosingTags: BooleanType;
|
|
31
31
|
}>;
|
|
32
32
|
/**
|
|
33
33
|
* Parses XML data from a binary blob into a recursive tree structure.
|
|
@@ -85,14 +85,14 @@ export declare const XmlSerializeConfig: StructType<{
|
|
|
85
85
|
* - Tracks line and column numbers for precise error reporting
|
|
86
86
|
*/
|
|
87
87
|
export declare const xml_parse: import("@elaraai/east").PlatformDefinition<[BlobType, StructType<{
|
|
88
|
-
preserveWhitespace: BooleanType;
|
|
89
|
-
decodeEntities: BooleanType;
|
|
88
|
+
readonly preserveWhitespace: BooleanType;
|
|
89
|
+
readonly decodeEntities: BooleanType;
|
|
90
90
|
}>], RecursiveType<StructType<{
|
|
91
|
-
tag: StringType;
|
|
92
|
-
attributes: DictType<StringType, StringType>;
|
|
93
|
-
children: ArrayType<VariantType<{
|
|
94
|
-
TEXT: StringType;
|
|
95
|
-
ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
91
|
+
readonly tag: StringType;
|
|
92
|
+
readonly attributes: DictType<StringType, StringType>;
|
|
93
|
+
readonly children: ArrayType<VariantType<{
|
|
94
|
+
readonly TEXT: StringType;
|
|
95
|
+
readonly ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
96
96
|
}>>;
|
|
97
97
|
}>>>;
|
|
98
98
|
/**
|
|
@@ -137,17 +137,17 @@ export declare const xml_parse: import("@elaraai/east").PlatformDefinition<[Blob
|
|
|
137
137
|
* - XML declaration includes `version="1.0"` and `encoding="UTF-8"` when enabled
|
|
138
138
|
*/
|
|
139
139
|
export declare const xml_serialize: import("@elaraai/east").PlatformDefinition<[RecursiveType<StructType<{
|
|
140
|
-
tag: StringType;
|
|
141
|
-
attributes: DictType<StringType, StringType>;
|
|
142
|
-
children: ArrayType<VariantType<{
|
|
143
|
-
TEXT: StringType;
|
|
144
|
-
ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
140
|
+
readonly tag: StringType;
|
|
141
|
+
readonly attributes: DictType<StringType, StringType>;
|
|
142
|
+
readonly children: ArrayType<VariantType<{
|
|
143
|
+
readonly TEXT: StringType;
|
|
144
|
+
readonly ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
145
145
|
}>>;
|
|
146
146
|
}>>, StructType<{
|
|
147
|
-
indent: OptionType<StringType>;
|
|
148
|
-
includeXmlDeclaration: BooleanType;
|
|
149
|
-
encodeEntities: BooleanType;
|
|
150
|
-
selfClosingTags: BooleanType;
|
|
147
|
+
readonly indent: OptionType<StringType>;
|
|
148
|
+
readonly includeXmlDeclaration: BooleanType;
|
|
149
|
+
readonly encodeEntities: BooleanType;
|
|
150
|
+
readonly selfClosingTags: BooleanType;
|
|
151
151
|
}>], BlobType>;
|
|
152
152
|
/**
|
|
153
153
|
* Node.js implementation of XML platform functions.
|
|
@@ -208,14 +208,14 @@ export declare const XML: {
|
|
|
208
208
|
* ```
|
|
209
209
|
*/
|
|
210
210
|
readonly parse: import("@elaraai/east").PlatformDefinition<[BlobType, StructType<{
|
|
211
|
-
preserveWhitespace: BooleanType;
|
|
212
|
-
decodeEntities: BooleanType;
|
|
211
|
+
readonly preserveWhitespace: BooleanType;
|
|
212
|
+
readonly decodeEntities: BooleanType;
|
|
213
213
|
}>], RecursiveType<StructType<{
|
|
214
|
-
tag: StringType;
|
|
215
|
-
attributes: DictType<StringType, StringType>;
|
|
216
|
-
children: ArrayType<VariantType<{
|
|
217
|
-
TEXT: StringType;
|
|
218
|
-
ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
214
|
+
readonly tag: StringType;
|
|
215
|
+
readonly attributes: DictType<StringType, StringType>;
|
|
216
|
+
readonly children: ArrayType<VariantType<{
|
|
217
|
+
readonly TEXT: StringType;
|
|
218
|
+
readonly ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
219
219
|
}>>;
|
|
220
220
|
}>>>;
|
|
221
221
|
/**
|
|
@@ -247,17 +247,17 @@ export declare const XML: {
|
|
|
247
247
|
* ```
|
|
248
248
|
*/
|
|
249
249
|
readonly serialize: import("@elaraai/east").PlatformDefinition<[RecursiveType<StructType<{
|
|
250
|
-
tag: StringType;
|
|
251
|
-
attributes: DictType<StringType, StringType>;
|
|
252
|
-
children: ArrayType<VariantType<{
|
|
253
|
-
TEXT: StringType;
|
|
254
|
-
ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
250
|
+
readonly tag: StringType;
|
|
251
|
+
readonly attributes: DictType<StringType, StringType>;
|
|
252
|
+
readonly children: ArrayType<VariantType<{
|
|
253
|
+
readonly TEXT: StringType;
|
|
254
|
+
readonly ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
255
255
|
}>>;
|
|
256
256
|
}>>, StructType<{
|
|
257
|
-
indent: OptionType<StringType>;
|
|
258
|
-
includeXmlDeclaration: BooleanType;
|
|
259
|
-
encodeEntities: BooleanType;
|
|
260
|
-
selfClosingTags: BooleanType;
|
|
257
|
+
readonly indent: OptionType<StringType>;
|
|
258
|
+
readonly includeXmlDeclaration: BooleanType;
|
|
259
|
+
readonly encodeEntities: BooleanType;
|
|
260
|
+
readonly selfClosingTags: BooleanType;
|
|
261
261
|
}>], BlobType>;
|
|
262
262
|
/**
|
|
263
263
|
* Node.js implementation of XML platform functions.
|
|
@@ -273,27 +273,27 @@ export declare const XML: {
|
|
|
273
273
|
* XML parsing configuration type.
|
|
274
274
|
*/
|
|
275
275
|
readonly ParseConfig: StructType<{
|
|
276
|
-
preserveWhitespace: BooleanType;
|
|
277
|
-
decodeEntities: BooleanType;
|
|
276
|
+
readonly preserveWhitespace: BooleanType;
|
|
277
|
+
readonly decodeEntities: BooleanType;
|
|
278
278
|
}>;
|
|
279
279
|
/**
|
|
280
280
|
* XML serialization configuration type.
|
|
281
281
|
*/
|
|
282
282
|
readonly SerializeConfig: StructType<{
|
|
283
|
-
indent: OptionType<StringType>;
|
|
284
|
-
includeXmlDeclaration: BooleanType;
|
|
285
|
-
encodeEntities: BooleanType;
|
|
286
|
-
selfClosingTags: BooleanType;
|
|
283
|
+
readonly indent: OptionType<StringType>;
|
|
284
|
+
readonly includeXmlDeclaration: BooleanType;
|
|
285
|
+
readonly encodeEntities: BooleanType;
|
|
286
|
+
readonly selfClosingTags: BooleanType;
|
|
287
287
|
}>;
|
|
288
288
|
/**
|
|
289
289
|
* XML node recursive type (element with tag, attributes, and children).
|
|
290
290
|
*/
|
|
291
291
|
readonly Node: RecursiveType<StructType<{
|
|
292
|
-
tag: StringType;
|
|
293
|
-
attributes: DictType<StringType, StringType>;
|
|
294
|
-
children: ArrayType<VariantType<{
|
|
295
|
-
TEXT: StringType;
|
|
296
|
-
ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
292
|
+
readonly tag: StringType;
|
|
293
|
+
readonly attributes: DictType<StringType, StringType>;
|
|
294
|
+
readonly children: ArrayType<VariantType<{
|
|
295
|
+
readonly TEXT: StringType;
|
|
296
|
+
readonly ELEMENT: import("@elaraai/east").RecursiveTypeMarker;
|
|
297
297
|
}>>;
|
|
298
298
|
}>>;
|
|
299
299
|
};
|
package/dist/nosql/index.d.ts
CHANGED
|
@@ -81,11 +81,11 @@ export declare const NoSQL: {
|
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
83
|
readonly connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
84
|
-
host: import("@elaraai/east").StringType;
|
|
85
|
-
port: import("@elaraai/east").IntegerType;
|
|
86
|
-
password: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
87
|
-
db: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
88
|
-
keyPrefix: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
84
|
+
readonly host: import("@elaraai/east").StringType;
|
|
85
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
86
|
+
readonly password: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
87
|
+
readonly db: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
88
|
+
readonly keyPrefix: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
89
89
|
}>], import("@elaraai/east").StringType>;
|
|
90
90
|
/**
|
|
91
91
|
* Gets a value by key from Redis.
|
|
@@ -257,11 +257,11 @@ export declare const NoSQL: {
|
|
|
257
257
|
* Redis connection configuration type.
|
|
258
258
|
*/
|
|
259
259
|
readonly Config: import("@elaraai/east").StructType<{
|
|
260
|
-
host: import("@elaraai/east").StringType;
|
|
261
|
-
port: import("@elaraai/east").IntegerType;
|
|
262
|
-
password: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
263
|
-
db: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
264
|
-
keyPrefix: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
260
|
+
readonly host: import("@elaraai/east").StringType;
|
|
261
|
+
readonly port: import("@elaraai/east").IntegerType;
|
|
262
|
+
readonly password: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
263
|
+
readonly db: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
264
|
+
readonly keyPrefix: import("@elaraai/east").OptionType<import("@elaraai/east").StringType>;
|
|
265
265
|
}>;
|
|
266
266
|
};
|
|
267
267
|
};
|
|
@@ -299,9 +299,9 @@ export declare const NoSQL: {
|
|
|
299
299
|
* ```
|
|
300
300
|
*/
|
|
301
301
|
readonly connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
302
|
-
uri: import("@elaraai/east").StringType;
|
|
303
|
-
database: import("@elaraai/east").StringType;
|
|
304
|
-
collection: import("@elaraai/east").StringType;
|
|
302
|
+
readonly uri: import("@elaraai/east").StringType;
|
|
303
|
+
readonly database: import("@elaraai/east").StringType;
|
|
304
|
+
readonly collection: import("@elaraai/east").StringType;
|
|
305
305
|
}>], import("@elaraai/east").StringType>;
|
|
306
306
|
/**
|
|
307
307
|
* Finds a single document in MongoDB.
|
|
@@ -356,8 +356,8 @@ export declare const NoSQL: {
|
|
|
356
356
|
* ```
|
|
357
357
|
*/
|
|
358
358
|
readonly findMany: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StringType, import("@elaraai/east").DictType<import("@elaraai/east").StringType, import("@elaraai/east").RecursiveType<import("@elaraai/east").EastType>>, import("@elaraai/east").StructType<{
|
|
359
|
-
limit: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
360
|
-
skip: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
359
|
+
readonly limit: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
360
|
+
readonly skip: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
361
361
|
}>], import("@elaraai/east").ArrayType<import("@elaraai/east").DictType<import("@elaraai/east").StringType, import("@elaraai/east").RecursiveType<import("@elaraai/east").EastType>>>>;
|
|
362
362
|
/**
|
|
363
363
|
* Inserts a document into MongoDB.
|
|
@@ -478,9 +478,9 @@ export declare const NoSQL: {
|
|
|
478
478
|
* MongoDB connection configuration type.
|
|
479
479
|
*/
|
|
480
480
|
readonly Config: import("@elaraai/east").StructType<{
|
|
481
|
-
uri: import("@elaraai/east").StringType;
|
|
482
|
-
database: import("@elaraai/east").StringType;
|
|
483
|
-
collection: import("@elaraai/east").StringType;
|
|
481
|
+
readonly uri: import("@elaraai/east").StringType;
|
|
482
|
+
readonly database: import("@elaraai/east").StringType;
|
|
483
|
+
readonly collection: import("@elaraai/east").StringType;
|
|
484
484
|
}>;
|
|
485
485
|
/**
|
|
486
486
|
* BSON value type (recursive type for MongoDB values).
|
|
@@ -494,8 +494,8 @@ export declare const NoSQL: {
|
|
|
494
494
|
* MongoDB find operation options type.
|
|
495
495
|
*/
|
|
496
496
|
readonly FindOptions: import("@elaraai/east").StructType<{
|
|
497
|
-
limit: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
498
|
-
skip: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
497
|
+
readonly limit: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
498
|
+
readonly skip: import("@elaraai/east").OptionType<import("@elaraai/east").IntegerType>;
|
|
499
499
|
}>;
|
|
500
500
|
};
|
|
501
501
|
};
|
package/dist/nosql/mongodb.d.ts
CHANGED
|
@@ -50,9 +50,9 @@ export declare const BsonDocumentType: DictType<StringType, import("@elaraai/eas
|
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
52
|
export declare const mongodb_connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
53
|
-
uri: StringType;
|
|
54
|
-
database: StringType;
|
|
55
|
-
collection: StringType;
|
|
53
|
+
readonly uri: StringType;
|
|
54
|
+
readonly database: StringType;
|
|
55
|
+
readonly collection: StringType;
|
|
56
56
|
}>], StringType>;
|
|
57
57
|
/**
|
|
58
58
|
* Finds a single document in MongoDB.
|
|
@@ -126,8 +126,8 @@ export declare const mongodb_find_one: import("@elaraai/east").AsyncPlatformDefi
|
|
|
126
126
|
* ```
|
|
127
127
|
*/
|
|
128
128
|
export declare const mongodb_find_many: import("@elaraai/east").AsyncPlatformDefinition<[StringType, DictType<StringType, import("@elaraai/east").RecursiveType<import("@elaraai/east").EastType>>, import("@elaraai/east").StructType<{
|
|
129
|
-
limit: OptionType<IntegerType>;
|
|
130
|
-
skip: OptionType<IntegerType>;
|
|
129
|
+
readonly limit: OptionType<IntegerType>;
|
|
130
|
+
readonly skip: OptionType<IntegerType>;
|
|
131
131
|
}>], ArrayType<DictType<StringType, import("@elaraai/east").RecursiveType<import("@elaraai/east").EastType>>>>;
|
|
132
132
|
/**
|
|
133
133
|
* Inserts a document into MongoDB.
|
package/dist/nosql/redis.d.ts
CHANGED
|
@@ -46,11 +46,11 @@ import type { PlatformFunction } from "@elaraai/east/internal";
|
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
48
|
export declare const redis_connect: import("@elaraai/east").AsyncPlatformDefinition<[import("@elaraai/east").StructType<{
|
|
49
|
-
host: StringType;
|
|
50
|
-
port: IntegerType;
|
|
51
|
-
password: OptionType<StringType>;
|
|
52
|
-
db: OptionType<IntegerType>;
|
|
53
|
-
keyPrefix: OptionType<StringType>;
|
|
49
|
+
readonly host: StringType;
|
|
50
|
+
readonly port: IntegerType;
|
|
51
|
+
readonly password: OptionType<StringType>;
|
|
52
|
+
readonly db: OptionType<IntegerType>;
|
|
53
|
+
readonly keyPrefix: OptionType<StringType>;
|
|
54
54
|
}>], StringType>;
|
|
55
55
|
/**
|
|
56
56
|
* Gets a value by key from Redis.
|
package/dist/nosql/types.d.ts
CHANGED
|
@@ -17,15 +17,15 @@ import { StructType, OptionType, StringType, IntegerType, RecursiveType } from "
|
|
|
17
17
|
*/
|
|
18
18
|
export declare const RedisConfigType: StructType<{
|
|
19
19
|
/** Redis server hostname or IP address */
|
|
20
|
-
host: StringType;
|
|
20
|
+
readonly host: StringType;
|
|
21
21
|
/** Redis server port (typically 6379) */
|
|
22
|
-
port: IntegerType;
|
|
22
|
+
readonly port: IntegerType;
|
|
23
23
|
/** Password for authentication (optional) */
|
|
24
|
-
password: OptionType<StringType>;
|
|
24
|
+
readonly password: OptionType<StringType>;
|
|
25
25
|
/** Database index (0-15, optional, defaults to 0) */
|
|
26
|
-
db: OptionType<IntegerType>;
|
|
26
|
+
readonly db: OptionType<IntegerType>;
|
|
27
27
|
/** Key prefix for all operations (optional) */
|
|
28
|
-
keyPrefix: OptionType<StringType>;
|
|
28
|
+
readonly keyPrefix: OptionType<StringType>;
|
|
29
29
|
}>;
|
|
30
30
|
/**
|
|
31
31
|
* MongoDB connection configuration.
|
|
@@ -34,11 +34,11 @@ export declare const RedisConfigType: StructType<{
|
|
|
34
34
|
*/
|
|
35
35
|
export declare const MongoConfigType: StructType<{
|
|
36
36
|
/** MongoDB connection URI */
|
|
37
|
-
uri: StringType;
|
|
37
|
+
readonly uri: StringType;
|
|
38
38
|
/** Database name */
|
|
39
|
-
database: StringType;
|
|
39
|
+
readonly database: StringType;
|
|
40
40
|
/** Collection name */
|
|
41
|
-
collection: StringType;
|
|
41
|
+
readonly collection: StringType;
|
|
42
42
|
}>;
|
|
43
43
|
/**
|
|
44
44
|
* BSON-compatible value type (recursive).
|
|
@@ -54,9 +54,9 @@ export declare const BsonValueType: ReturnType<typeof RecursiveType>;
|
|
|
54
54
|
*/
|
|
55
55
|
export declare const MongoFindOptionsType: StructType<{
|
|
56
56
|
/** Maximum number of documents to return (optional) */
|
|
57
|
-
limit: OptionType<IntegerType>;
|
|
57
|
+
readonly limit: OptionType<IntegerType>;
|
|
58
58
|
/** Number of documents to skip (optional) */
|
|
59
|
-
skip: OptionType<IntegerType>;
|
|
59
|
+
readonly skip: OptionType<IntegerType>;
|
|
60
60
|
}>;
|
|
61
61
|
/**
|
|
62
62
|
* Opaque connection handle type.
|