@datapos/datapos-shared 0.3.408 → 0.3.410

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.
@@ -33,9 +33,9 @@ interface ConnectorInterface extends Component {
33
33
  getRecord?(connector: ConnectorInterface, options: GetRecordOptions): Promise<GetRecordResult>;
34
34
  listNodes?(connector: ConnectorInterface, options: ListNodesOptions): Promise<ListNodesResult>;
35
35
  previewObject?(connector: ConnectorInterface, options: PreviewObjectOptions): Promise<PreviewObjectResult>;
36
- removeRecords?(connector: ConnectorInterface, options: RemoveOptions, chunk: (records: (string[] | Record<string, unknown>)[]) => void, complete: (result: RetrieveChunksSummary) => void): Promise<void>;
36
+ removeRecords?(connector: ConnectorInterface, options: RemoveOptions): Promise<void>;
37
37
  retrieveChunks?(connector: ConnectorInterface, options: RetrieveChunksOptions, chunk: (records: (string[] | Record<string, unknown>)[]) => void, complete: (result: RetrieveChunksSummary) => void): Promise<void>;
38
- retrieveRecords?(connector: ConnectorInterface, options: RetrieveRecordsOptions): Promise<void>;
38
+ retrieveRecords?(connector: ConnectorInterface, options: RetrieveRecordsOptions, chunk: (records: (string[] | Record<string, unknown>)[]) => void, complete: (result: RetrieveChunksSummary) => void): Promise<void>;
39
39
  upsertRecords?(connector: ConnectorInterface, options: UpsertOptions): Promise<void>;
40
40
  }
41
41
  /** Connector operation options. */
@@ -83,8 +83,6 @@ interface RetrieveRecordsOptions extends ConnectorOperationOptions {
83
83
  encodingId: string;
84
84
  path: string;
85
85
  valueDelimiterId: ValueDelimiterId;
86
- chunk: (records: (string[] | Record<string, unknown>)[]) => void;
87
- complete: (result: RetrieveRecordsSummary) => void;
88
86
  }
89
87
  interface RetrieveRecordsSummary {
90
88
  byteCount: number;
@@ -122,8 +120,6 @@ interface RetrieveChunksOptions extends ConnectorOperationOptions {
122
120
  encodingId: string;
123
121
  path: string;
124
122
  valueDelimiterId: ValueDelimiterId;
125
- chunk: (records: (string[] | Record<string, unknown>)[]) => void;
126
- complete: (result: RetrieveChunksSummary) => void;
127
123
  }
128
124
  interface RetrieveChunksSummary {
129
125
  byteCount: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.408",
3
+ "version": "0.3.410",
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>",