@dpuse/dpuse-shared 1.0.134 → 1.0.136

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.
@@ -38,7 +38,7 @@ export interface PreviewConfig {
38
38
  valueDelimiterOtherCharSeq?: string | undefined;
39
39
  valueTrimMethodId?: ValueTrimMethodId | undefined;
40
40
  }
41
- export type DataFormatId = 'dpe' | 'dtv' | 'json' | 'jsonl' | 'markdown' | 'spss' | 'text' | 'xlsx' | 'xml' | 'unknown';
41
+ export type DataFormatId = 'arrow' | 'avro' | 'dpe' | 'dtv' | 'json' | 'jsonl' | 'markdown' | 'ods' | 'parquet' | 'sav' | 'sqlite' | 'text' | 'xlsm' | 'xlsx' | 'xml' | 'unknown';
42
42
  export type ParsingRecord = ParsingResult[];
43
43
  interface ParsingResult {
44
44
  value: string | null;
@@ -5,7 +5,7 @@ import { LocalisedConfig } from '../../../locale';
5
5
  import { ToolConfig } from '../tool';
6
6
  import { ConnectionDescriptionConfig, ConnectionNodeConfig, ObjectColumnConfig } from '../../connection';
7
7
  import { connectorActionNameSchema, connectorCategoryConfigSchema, connectorConfigSchema, connectorItemTypeConfigSchema, connectorItemTypeIdSchema, connectorUsageConfigSchema, connectorUsageIdSchema } from './connectorConfig.schema';
8
- import { InferenceRecord, InferenceSummary, ParsingRecord, PreviewConfig, ValueDelimiterId } from '../../dataView';
8
+ import { DataFormatId, InferenceRecord, InferenceSummary, ParsingRecord, PreviewConfig, ValueDelimiterId } from '../../dataView';
9
9
  export { connectorConfigSchema } from './connectorConfig.schema';
10
10
  export interface ConnectorInterface extends Component {
11
11
  abortController: AbortController | undefined;
@@ -100,6 +100,8 @@ export interface ListNodesResult {
100
100
  }
101
101
  export interface PreviewObjectOptions extends EngineConnectorActionOptions {
102
102
  chunkSize: number | undefined;
103
+ dataFormatId: DataFormatId | undefined;
104
+ encodingId: string | undefined;
103
105
  extension: string | undefined;
104
106
  mimeType: string | undefined;
105
107
  path: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dpuse/dpuse-shared",
3
- "version": "1.0.134",
3
+ "version": "1.0.136",
4
4
  "private": false,
5
5
  "description": "Common constants, types and utilities used across DPUse projects.",
6
6
  "license": "MIT",