@datapos/datapos-shared 0.3.532 → 0.3.534
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.
|
@@ -39,7 +39,7 @@ interface ConnectorInterface extends Component {
|
|
|
39
39
|
/**
|
|
40
40
|
* Find an object for a specified connection.
|
|
41
41
|
*/
|
|
42
|
-
findObject?(options:
|
|
42
|
+
findObject?(options: FindObjectOptions): Promise<FindObjectResult>;
|
|
43
43
|
/**
|
|
44
44
|
* Get a reader that can retrieve all records from an object for a specified connection.
|
|
45
45
|
*/
|
|
@@ -147,12 +147,16 @@ interface DropObjectOptions extends EngineOperationOptions {
|
|
|
147
147
|
path: string;
|
|
148
148
|
}
|
|
149
149
|
/**
|
|
150
|
-
* Find object
|
|
150
|
+
* Find object options and result.
|
|
151
151
|
*/
|
|
152
|
-
interface
|
|
153
|
-
|
|
152
|
+
interface FindObjectOptions extends EngineOperationOptions {
|
|
153
|
+
containerId: string | undefined;
|
|
154
154
|
nodeId: string;
|
|
155
155
|
}
|
|
156
|
+
interface FindObjectResult {
|
|
157
|
+
folderPath: string;
|
|
158
|
+
object: unknown;
|
|
159
|
+
}
|
|
156
160
|
/**
|
|
157
161
|
* Get readable stream options.
|
|
158
162
|
*/
|
|
@@ -266,4 +270,4 @@ declare const constructConnectorCategoryConfig: (id: string, localeId?: import('
|
|
|
266
270
|
export { connectorConfigSchema } from './connectorConfig.schema';
|
|
267
271
|
export { constructConnectorCategoryConfig };
|
|
268
272
|
export type { ConnectionConfig, ConnectionNodeConfig, ObjectColumnConfig } from './connection';
|
|
269
|
-
export type { AuditObjectContentOptions1, AuditObjectContentResult1, AuditObjectContentOptions, AuditObjectContentResult, ConnectorConfig, ConnectorConstructor, ConnectorInterface, ConnectorLocalisedConfig, ConnectorOperationName, ConnectorUsageId, CreateObjectOptions, DropObjectOptions,
|
|
273
|
+
export type { AuditObjectContentOptions1, AuditObjectContentResult1, AuditObjectContentOptions, AuditObjectContentResult, ConnectorConfig, ConnectorConstructor, ConnectorInterface, ConnectorLocalisedConfig, ConnectorOperationName, ConnectorUsageId, CreateObjectOptions, DropObjectOptions, FindObjectOptions, FindObjectResult, GetReadableStreamOptions, GetRecordOptions, GetRecordResult, ListNodesOptions, ListNodesResult, PreviewObjectOptions, RemoveRecordsOptions, RetrieveChunksOptions, RetrieveRecordsOptions, RetrieveRecordsSummary, UpsertRecordsOptions };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.534",
|
|
4
4
|
"description": "A library containing common constants, types and utilities used across all Data Positioning projects.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Jonathan Terrell <terrell.jm@gmail.com>",
|