@datapos/datapos-shared 0.3.400 → 0.3.401
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.
|
@@ -26,7 +26,7 @@ interface ConnectorInterface extends Component {
|
|
|
26
26
|
createObject?(connector: ConnectorInterface, settings: CreateSettings): Promise<void>;
|
|
27
27
|
describeConnection?(connector: ConnectorInterface, settings: DescribeSettings): Promise<DescribeResult>;
|
|
28
28
|
dropObject?(connector: ConnectorInterface, settings: DropSettings): Promise<void>;
|
|
29
|
-
findObject?(connector: ConnectorInterface, settings:
|
|
29
|
+
findObject?(connector: ConnectorInterface, settings: FindObjectFolderPathSettings): Promise<string | null>;
|
|
30
30
|
getReadableStream?(connector: ConnectorInterface, settings: GetReadableStreamSettings): Promise<ReadableStream<Uint8Array<ArrayBuffer>>>;
|
|
31
31
|
getRecord?(connector: ConnectorInterface, settings: GetRecordSettings): Promise<GetRecordResult>;
|
|
32
32
|
listNodes?(connector: ConnectorInterface, settings: ListSettings): Promise<ListResult>;
|
|
@@ -42,8 +42,8 @@ interface ConnectorOperationSettings {
|
|
|
42
42
|
appCheckToken?: string;
|
|
43
43
|
sessionAccessToken?: string;
|
|
44
44
|
}
|
|
45
|
-
/** Get find object settings. */
|
|
46
|
-
interface
|
|
45
|
+
/** Get find object folder path settings. */
|
|
46
|
+
interface FindObjectFolderPathSettings extends ConnectorOperationSettings {
|
|
47
47
|
containerName: string | undefined;
|
|
48
48
|
itemId: string;
|
|
49
49
|
}
|
|
@@ -144,5 +144,5 @@ declare const getConnectorCategory: (id: string, localeId?: import('../../index'
|
|
|
144
144
|
export { getConnectorCategory };
|
|
145
145
|
export type { ConnectionColumnConfig, ConnectionConfig, ConnectionNodeConfig, Encoding, UsageTypeId } from './connection';
|
|
146
146
|
export type { ConnectorConfig, ConnectorInterface, ConnectorLocalisedConfig, ConnectorOperationSettings };
|
|
147
|
-
export type { CreateSettings, DropSettings,
|
|
147
|
+
export type { CreateSettings, DropSettings, FindObjectFolderPathSettings, GetReadableStreamSettings, GetRecordResult, GetRecordSettings, ListResult, ListSettings, PreviewResult, PreviewSettings, RemoveSettings, RetrieveChunksResult, RetrieveChunksSettings, RetrieveChunksSummary, RetrieveRecordsResult, RetrieveRecordsSettings, RetrieveRecordsSummary, UpsertSettings };
|
|
148
148
|
export { connectorConfigSchema } from './connectorConfig.schema';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datapos/datapos-shared",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.401",
|
|
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>",
|