@xapi-js/core 1.1.1 → 1.2.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/README.md +11 -28
- package/dist/index.cjs +764 -747
- package/dist/index.d.cts +237 -233
- package/dist/index.d.ts +237 -233
- package/dist/index.js +724 -695
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
//#region src/types.d.ts
|
|
1
2
|
/**
|
|
2
3
|
* Represents the possible data types for X-API values.
|
|
3
4
|
*/
|
|
@@ -6,10 +7,10 @@ type XapiValueType = string | number | Uint8Array | Date | undefined;
|
|
|
6
7
|
* Represents a column within a row of an X-API dataset.
|
|
7
8
|
*/
|
|
8
9
|
interface Col {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/** The ID of the column. */
|
|
11
|
+
id: string;
|
|
12
|
+
/** The value of the column. */
|
|
13
|
+
value?: XapiValueType;
|
|
13
14
|
}
|
|
14
15
|
/**
|
|
15
16
|
* Defines the possible types of rows in an X-API dataset (e.g., "insert", "update", "delete").
|
|
@@ -23,19 +24,19 @@ type RowType = (typeof rowType)[number];
|
|
|
23
24
|
* Represents a row in an X-API dataset.
|
|
24
25
|
*/
|
|
25
26
|
interface Row {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
/** An array of columns in the row. */
|
|
28
|
+
cols: Col[];
|
|
29
|
+
/** An optional array of original columns for update/delete operations. */
|
|
30
|
+
orgRow?: Col[];
|
|
31
|
+
/** The type of operation for the row (e.g., "insert", "update", "delete"). */
|
|
32
|
+
type?: RowType;
|
|
32
33
|
}
|
|
33
34
|
/**
|
|
34
35
|
* Represents a collection of rows in an X-API dataset.
|
|
35
36
|
*/
|
|
36
37
|
interface Rows {
|
|
37
|
-
|
|
38
|
-
|
|
38
|
+
/** An array of rows. */
|
|
39
|
+
rows: Row[];
|
|
39
40
|
}
|
|
40
41
|
/**
|
|
41
42
|
* Defines the possible data types for columns in an X-API dataset.
|
|
@@ -49,269 +50,271 @@ type ColumnType = (typeof columnType)[number];
|
|
|
49
50
|
* Represents a column definition in an X-API dataset.
|
|
50
51
|
*/
|
|
51
52
|
interface Column {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
/** The ID of the column. */
|
|
54
|
+
id: string;
|
|
55
|
+
/** The size of the column. */
|
|
56
|
+
size: number;
|
|
57
|
+
/** The data type of the column. */
|
|
58
|
+
type: ColumnType;
|
|
58
59
|
}
|
|
59
60
|
/**
|
|
60
61
|
* Represents a constant column definition, extending a regular column with a default value.
|
|
61
62
|
*/
|
|
62
63
|
type ConstColumn = Column & {
|
|
63
|
-
|
|
64
|
+
value: XapiValueType;
|
|
64
65
|
};
|
|
65
66
|
/**
|
|
66
67
|
* Represents the column information section of an X-API dataset.
|
|
67
68
|
*/
|
|
68
69
|
interface ColumnInfo {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
/** Optional array of constant column definitions. */
|
|
71
|
+
constCols?: ConstColumn[];
|
|
72
|
+
/** Optional array of regular column definitions. */
|
|
73
|
+
cols?: Column[];
|
|
73
74
|
}
|
|
74
75
|
/**
|
|
75
76
|
* Represents a parameter in an X-API request/response.
|
|
76
77
|
*/
|
|
77
78
|
interface Parameter {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
/** The ID of the parameter. */
|
|
80
|
+
id: string;
|
|
81
|
+
/** The data type of the parameter. */
|
|
82
|
+
type?: ColumnType;
|
|
83
|
+
/** The value of the parameter. */
|
|
84
|
+
value?: XapiValueType;
|
|
84
85
|
}
|
|
85
86
|
/**
|
|
86
87
|
* Represents a collection of parameters in an X-API request/response.
|
|
87
88
|
*/
|
|
88
89
|
interface XapiParameters {
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
/** An array of parameters. */
|
|
91
|
+
params: Parameter[];
|
|
91
92
|
}
|
|
92
93
|
/**
|
|
93
94
|
* Defines the XML namespace and version for X-API.
|
|
94
95
|
*/
|
|
95
96
|
interface XapiVersion {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
/** The XML namespace URI. */
|
|
98
|
+
xmlns: string;
|
|
99
|
+
/** The version string. */
|
|
100
|
+
version: string;
|
|
100
101
|
}
|
|
101
102
|
/**
|
|
102
103
|
* Xplatform version definition for X-API XML.
|
|
103
104
|
*/
|
|
104
105
|
declare const XplatformVersion: {
|
|
105
|
-
|
|
106
|
-
|
|
106
|
+
readonly xmlns: "http://www.tobesoft.com/platform/Dataset";
|
|
107
|
+
readonly version: "4000";
|
|
107
108
|
};
|
|
108
109
|
/**
|
|
109
110
|
* Nexacro version definition for X-API XML.
|
|
110
111
|
*/
|
|
111
112
|
declare const NexaVersion: {
|
|
112
|
-
|
|
113
|
-
|
|
113
|
+
readonly xmlns: "http://www.nexacroplatform.com/platform/dataset";
|
|
114
|
+
readonly version: "4000";
|
|
114
115
|
};
|
|
115
116
|
/**
|
|
116
117
|
* Options for X-API processing.
|
|
117
118
|
*/
|
|
118
119
|
interface XapiOptions {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
/** The X-API version to use (e.g., XplatformVersion or NexaVersion). */
|
|
121
|
+
xapiVersion?: typeof XplatformVersion | typeof NexaVersion;
|
|
122
|
+
/** Whether to parse values to their specific types (true) or keep them as strings (false). */
|
|
123
|
+
parseToTypes?: boolean;
|
|
123
124
|
}
|
|
124
125
|
/**
|
|
125
126
|
* Custom error class for column type related issues.
|
|
126
127
|
*/
|
|
127
128
|
declare class ColumnTypeError extends Error {
|
|
128
|
-
|
|
129
|
+
constructor(message: string);
|
|
129
130
|
}
|
|
130
131
|
declare class InvalidXmlError extends Error {
|
|
131
|
-
|
|
132
|
+
constructor(message: string);
|
|
132
133
|
}
|
|
133
|
-
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region src/xapi-data.d.ts
|
|
134
136
|
/**
|
|
135
137
|
* Represents the root of an X-API XML structure, containing datasets and parameters.
|
|
136
138
|
*/
|
|
137
139
|
declare class XapiRoot {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
140
|
+
/** An array of datasets within the X-API root. */
|
|
141
|
+
datasets: Dataset[];
|
|
142
|
+
/** Parameters associated with the X-API root. */
|
|
143
|
+
parameters: XapiParameters;
|
|
144
|
+
/**
|
|
145
|
+
* Creates an instance of XapiRoot.
|
|
146
|
+
* @param datasets - Initial array of datasets.
|
|
147
|
+
* @param parameters - Initial parameters.
|
|
148
|
+
*/
|
|
149
|
+
constructor(datasets?: Dataset[], parameters?: XapiParameters);
|
|
150
|
+
/**
|
|
151
|
+
* Adds a dataset to the X-API root.
|
|
152
|
+
* @param dataset - The dataset to add.
|
|
153
|
+
*/
|
|
154
|
+
addDataset(dataset: Dataset): void;
|
|
155
|
+
/**
|
|
156
|
+
* Retrieves a dataset by its ID.
|
|
157
|
+
* @param id - The ID of the dataset to retrieve.
|
|
158
|
+
* @returns The Dataset object, or undefined if not found.
|
|
159
|
+
*/
|
|
160
|
+
getDataset(id: string): Dataset | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Adds a parameter to the X-API root.
|
|
163
|
+
* @param parameter - The parameter to add.
|
|
164
|
+
*/
|
|
165
|
+
addParameter(parameter: Parameter): void;
|
|
166
|
+
/**
|
|
167
|
+
* Retrieves a parameter by its ID.
|
|
168
|
+
* @param id - The ID of the parameter to retrieve.
|
|
169
|
+
* @returns The Parameter object, or undefined if not found.
|
|
170
|
+
*/
|
|
171
|
+
getParameter(id: string): Parameter | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Sets all parameters for the X-API root.
|
|
174
|
+
* @param parameters - The XapiParameters object to set.
|
|
175
|
+
*/
|
|
176
|
+
setParameters(parameters: XapiParameters): void;
|
|
177
|
+
/**
|
|
178
|
+
* Sets the value of a specific parameter, or adds it if it doesn't exist.
|
|
179
|
+
* @param id - The ID of the parameter.
|
|
180
|
+
* @param value - The value to set for the parameter.
|
|
181
|
+
*/
|
|
182
|
+
setParameter(id: string, value: XapiValueType): void;
|
|
183
|
+
/**
|
|
184
|
+
* Returns the number of parameters.
|
|
185
|
+
* @returns The count of parameters.
|
|
186
|
+
*/
|
|
187
|
+
parameterSize(): number;
|
|
188
|
+
/**
|
|
189
|
+
* Returns the number of datasets.
|
|
190
|
+
* @returns The count of datasets.
|
|
191
|
+
*/
|
|
192
|
+
datasetSize(): number;
|
|
193
|
+
/**
|
|
194
|
+
* Iterates over the parameters.
|
|
195
|
+
* @returns An IterableIterator for parameters.
|
|
196
|
+
*/
|
|
197
|
+
iterParameters(): IterableIterator<Parameter>;
|
|
198
|
+
/**
|
|
199
|
+
* Iterates over the datasets.
|
|
200
|
+
* @returns An IterableIterator for datasets.
|
|
201
|
+
*/
|
|
202
|
+
iterDatasets(): IterableIterator<Dataset>;
|
|
201
203
|
}
|
|
202
204
|
/**
|
|
203
205
|
* Represents a dataset within an X-API XML structure.
|
|
204
206
|
*/
|
|
205
207
|
declare class Dataset {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
208
|
+
/** The ID of the dataset. */
|
|
209
|
+
id: string;
|
|
210
|
+
private constColumns;
|
|
211
|
+
private columns;
|
|
212
|
+
/** An array of rows in the dataset. */
|
|
213
|
+
rows: Row[];
|
|
214
|
+
private _columnIndexMap;
|
|
215
|
+
/**
|
|
216
|
+
* Creates an instance of Dataset.
|
|
217
|
+
* @param id - The ID of the dataset.
|
|
218
|
+
* @param constColumns - Initial array of constant columns.
|
|
219
|
+
* @param columns - Initial array of columns.
|
|
220
|
+
* @param rows - Initial array of rows.
|
|
221
|
+
*/
|
|
222
|
+
constructor(id: string, constColumns?: ConstColumn[], columns?: Column[], rows?: Row[]);
|
|
223
|
+
/**
|
|
224
|
+
* Adds a column definition to the dataset.
|
|
225
|
+
* @param column - The column definition to add.
|
|
226
|
+
*/
|
|
227
|
+
addColumn(column: Column): void;
|
|
228
|
+
/**
|
|
229
|
+
* Adds a constant column definition to the dataset.
|
|
230
|
+
* @param column - The constant column definition to add.
|
|
231
|
+
*/
|
|
232
|
+
addConstColumn(column: ConstColumn): void;
|
|
233
|
+
/**
|
|
234
|
+
* Creates a new empty row and adds it to the dataset.
|
|
235
|
+
* @returns The index of the newly created row.
|
|
236
|
+
*/
|
|
237
|
+
newRow(): number;
|
|
238
|
+
/**
|
|
239
|
+
* Adds an existing row to the dataset.
|
|
240
|
+
* @param row - The row to add.
|
|
241
|
+
*/
|
|
242
|
+
addRow(row: Row): void;
|
|
243
|
+
/**
|
|
244
|
+
* Retrieves the index of a column by its ID.
|
|
245
|
+
* @param columnId - The ID of the column.
|
|
246
|
+
* @returns The index of the column, or undefined if not found.
|
|
247
|
+
*/
|
|
248
|
+
getColumnIndex(columnId: string): number | undefined;
|
|
249
|
+
/**
|
|
250
|
+
* Retrieves the column definition by its ID.
|
|
251
|
+
* @param columnId - The ID of the column.
|
|
252
|
+
* @returns The Column object, or undefined if not found.
|
|
253
|
+
*/
|
|
254
|
+
getColumnInfo(columnId: string): Column | undefined;
|
|
255
|
+
/**
|
|
256
|
+
* Retrieves the constant column definition by its ID.
|
|
257
|
+
* @param columnId - The ID of the constant column.
|
|
258
|
+
* @returns The ConstColumn object, or undefined if not found.
|
|
259
|
+
*/
|
|
260
|
+
getConstColumnInfo(columnId: string): ConstColumn | undefined;
|
|
261
|
+
/**
|
|
262
|
+
* Retrieves the value of a column in a specific row.
|
|
263
|
+
* @param rowIdx - The index of the row.
|
|
264
|
+
* @param columnId - The ID of the column.
|
|
265
|
+
* @returns The value of the column, or undefined if the row or column is not found.
|
|
266
|
+
* @throws {Error} if the column ID is not found in the dataset.
|
|
267
|
+
*/
|
|
268
|
+
getColumn(rowIdx: number, columnId: string): XapiValueType | undefined;
|
|
269
|
+
/**
|
|
270
|
+
* Retrieves the original value of a column in a specific row (for OrgRow).
|
|
271
|
+
* @param rowIdx - The index of the row.
|
|
272
|
+
* @param columnId - The ID of the column.
|
|
273
|
+
* @returns The original value of the column, or undefined if the row or column is not found.
|
|
274
|
+
* @throws {Error} if the column ID is not found in the dataset.
|
|
275
|
+
*/
|
|
276
|
+
getOrgColumn(rowIdx: number, columnId: string): XapiValueType | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* Sets the value of a column in a specific row.
|
|
279
|
+
* @param rowIdx - The index of the row.
|
|
280
|
+
* @param columnId - The ID of the column.
|
|
281
|
+
* @param value - The value to set.
|
|
282
|
+
* @throws {Error} if the row index is out of bounds or the column ID is not found.
|
|
283
|
+
*/
|
|
284
|
+
setColumn(rowIdx: number, columnId: string, value: XapiValueType): void;
|
|
285
|
+
/**
|
|
286
|
+
* Iterates over the constant column definitions.
|
|
287
|
+
* @returns An IterableIterator for constant columns.
|
|
288
|
+
*/
|
|
289
|
+
iterConstColumns(): IterableIterator<ConstColumn>;
|
|
290
|
+
/**
|
|
291
|
+
* Iterates over the column definitions.
|
|
292
|
+
* @returns An IterableIterator for columns.
|
|
293
|
+
*/
|
|
294
|
+
iterColumns(): IterableIterator<Column>;
|
|
295
|
+
/**
|
|
296
|
+
* Iterates over the rows in the dataset.
|
|
297
|
+
* @returns An IterableIterator for rows.
|
|
298
|
+
*/
|
|
299
|
+
iterRows(): IterableIterator<Row>;
|
|
300
|
+
/**
|
|
301
|
+
* Returns the number of column definitions.
|
|
302
|
+
* @returns The count of columns.
|
|
303
|
+
*/
|
|
304
|
+
columnSize(): number;
|
|
305
|
+
/**
|
|
306
|
+
* Returns the number of constant column definitions.
|
|
307
|
+
* @returns The count of constant columns.
|
|
308
|
+
*/
|
|
309
|
+
constColumnSize(): number;
|
|
310
|
+
/**
|
|
311
|
+
* Returns the number of rows in the dataset.
|
|
312
|
+
* @returns The count of rows.
|
|
313
|
+
*/
|
|
314
|
+
rowSize(): number;
|
|
313
315
|
}
|
|
314
|
-
|
|
316
|
+
//#endregion
|
|
317
|
+
//#region src/handler.d.ts
|
|
315
318
|
/**
|
|
316
319
|
* Initializes the X-API handler with the provided options.
|
|
317
320
|
* @param options - The options to initialize the X-API handler.
|
|
@@ -324,25 +327,25 @@ declare function initXapi(options: XapiOptions): void;
|
|
|
324
327
|
* @returns A Promise that resolves to an XapiRoot object.
|
|
325
328
|
*/
|
|
326
329
|
declare function parse(xml: string): XapiRoot;
|
|
327
|
-
declare function
|
|
328
|
-
|
|
329
|
-
|
|
330
|
+
declare function write(root: XapiRoot): string;
|
|
331
|
+
//#endregion
|
|
332
|
+
//#region src/utils.d.ts
|
|
330
333
|
declare function arrayBufferToString(buffer: ArrayBuffer): string;
|
|
331
334
|
/**
|
|
332
335
|
* Creates an array of entities for parsing XML, including control characters.
|
|
333
336
|
* @returns An array of objects, each with an `entity` (e.g., "") and its `value` (e.g., "\x01").
|
|
334
337
|
*/
|
|
335
338
|
declare function makeParseEntities(): {
|
|
336
|
-
|
|
337
|
-
|
|
339
|
+
entity: string;
|
|
340
|
+
value: string;
|
|
338
341
|
}[];
|
|
339
342
|
/**
|
|
340
343
|
* Creates an array of entities for writing XML, including control characters.
|
|
341
344
|
* @returns An array of objects, each with an `entity` (e.g., "") and its `value` (e.g., "\x01").
|
|
342
345
|
*/
|
|
343
346
|
declare function makeWriterEntities(): {
|
|
344
|
-
|
|
345
|
-
|
|
347
|
+
entity: string;
|
|
348
|
+
value: string;
|
|
346
349
|
}[];
|
|
347
350
|
/**
|
|
348
351
|
* Converts a Base64 string to a Uint8Array.
|
|
@@ -374,13 +377,13 @@ declare function dateToString(date: Date, type: Extract<ColumnType, "DATE" | "DA
|
|
|
374
377
|
* A WritableStream that collects all written Uint8Array chunks and provides them as a single string.
|
|
375
378
|
*/
|
|
376
379
|
declare class StringWritableStream extends WritableStream<Uint8Array> {
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
380
|
+
private result;
|
|
381
|
+
constructor();
|
|
382
|
+
/**
|
|
383
|
+
* Returns the collected string result.
|
|
384
|
+
* @returns The concatenated string from all written chunks.
|
|
385
|
+
*/
|
|
386
|
+
getResult(): string;
|
|
384
387
|
}
|
|
385
388
|
/**
|
|
386
389
|
* Converts a string to a ReadableStream of Uint8Array.
|
|
@@ -404,5 +407,6 @@ declare function convertToColumnType(value: XapiValueType, type: ColumnType): Xa
|
|
|
404
407
|
*/
|
|
405
408
|
declare function convertToString(value: XapiValueType, type: ColumnType): string;
|
|
406
409
|
declare function _unescapeXml(str?: string): string | undefined;
|
|
407
|
-
|
|
408
|
-
|
|
410
|
+
declare function isXapiRoot(value: unknown): value is XapiRoot;
|
|
411
|
+
//#endregion
|
|
412
|
+
export { Col, Column, ColumnInfo, ColumnType, ColumnTypeError, ConstColumn, Dataset, InvalidXmlError, NexaVersion, Parameter, Row, RowType, Rows, StringWritableStream, XapiOptions, XapiParameters, XapiRoot, XapiValueType, XapiVersion, XplatformVersion, _unescapeXml, arrayBufferToString, base64ToUint8Array, columnType, convertToColumnType, convertToString, dateToString, initXapi, isXapiRoot, makeParseEntities, makeWriterEntities, parse, rowType, stringToDate, stringToReadableStream, uint8ArrayToBase64, write };
|