@promptbook/types 0.69.0-12 → 0.69.0-14

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.
@@ -47,6 +47,7 @@ import { isPassingExpectations } from '../execution/utils/checkExpectations';
47
47
  import { usageToHuman } from '../execution/utils/usageToHuman';
48
48
  import { usageToWorktime } from '../execution/utils/usageToWorktime';
49
49
  import { CsvFormatDefinition } from '../formats/csv/CsvFormatDefinition';
50
+ import { MANDATORY_CSV_SETTINGS } from '../formats/csv/CsvSettings';
50
51
  import { TextFormatDefinition } from '../formats/text/TextFormatDefinition';
51
52
  import { CallbackInterfaceTools } from '../knowledge/dialogs/callback/CallbackInterfaceTools';
52
53
  import type { CallbackInterfaceToolsOptions } from '../knowledge/dialogs/callback/CallbackInterfaceToolsOptions';
@@ -123,6 +124,7 @@ export { isPassingExpectations };
123
124
  export { usageToHuman };
124
125
  export { usageToWorktime };
125
126
  export { CsvFormatDefinition };
127
+ export { MANDATORY_CSV_SETTINGS };
126
128
  export { TextFormatDefinition };
127
129
  export { CallbackInterfaceTools };
128
130
  export type { CallbackInterfaceToolsOptions };
@@ -1,5 +1,13 @@
1
- import type { ParseConfig, UnparseConfig } from "papaparse";
1
+ import type { ParseConfig, UnparseConfig } from 'papaparse';
2
2
  /**
3
3
  * @@@
4
4
  */
5
- export type CsvSettings = ParseConfig & UnparseConfig;
5
+ export type CsvSettings = Pick<ParseConfig & UnparseConfig, 'delimiter' | 'quoteChar' | 'newline' | 'skipEmptyLines'>;
6
+ /**
7
+ * @@@
8
+ *
9
+ * @public exported from `@promptbook/core`
10
+ */
11
+ export declare const MANDATORY_CSV_SETTINGS: Readonly<{
12
+ readonly header: true;
13
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/types",
3
- "version": "0.69.0-12",
3
+ "version": "0.69.0-14",
4
4
  "description": "Supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -45,6 +45,6 @@
45
45
  ],
46
46
  "typings": "./esm/typings/src/_packages/types.index.d.ts",
47
47
  "peerDependencies": {
48
- "@promptbook/core": "0.69.0-12"
48
+ "@promptbook/core": "0.69.0-14"
49
49
  }
50
50
  }