@promptbook/markdown-utils 0.92.0-11 → 0.92.0-12
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.
- package/esm/index.es.js +221 -199
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/browser.index.d.ts +2 -0
- package/esm/typings/src/_packages/core.index.d.ts +6 -4
- package/esm/typings/src/_packages/types.index.d.ts +2 -2
- package/esm/typings/src/execution/PipelineExecutorResult.d.ts +3 -1
- package/esm/typings/src/execution/createPipelineExecutor/computeCosineSimilarity.d.ts +13 -0
- package/esm/typings/src/execution/utils/checkExpectations.d.ts +1 -1
- package/esm/typings/src/formats/_common/{FormatDefinition.d.ts → FormatParser.d.ts} +3 -3
- package/esm/typings/src/formats/_common/{FormatSubvalueDefinition.d.ts → FormatSubvalueParser.d.ts} +1 -1
- package/esm/typings/src/formats/csv/CsvFormatParser.d.ts +17 -0
- package/esm/typings/src/formats/index.d.ts +2 -2
- package/esm/typings/src/formats/json/{JsonFormatDefinition.d.ts → JsonFormatParser.d.ts} +6 -6
- package/esm/typings/src/formats/text/{TextFormatDefinition.d.ts → TextFormatParser.d.ts} +7 -7
- package/esm/typings/src/formats/xml/XmlFormatParser.d.ts +19 -0
- package/esm/typings/src/postprocessing/utils/extractJsonBlock.d.ts +1 -1
- package/esm/typings/src/storage/local-storage/getIndexedDbStorage.d.ts +10 -0
- package/esm/typings/src/storage/local-storage/utils/makePromptbookStorageFromIndexedDb.d.ts +7 -0
- package/esm/typings/src/utils/expectation-counters/index.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +221 -199
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/formats/csv/CsvFormatDefinition.d.ts +0 -17
- package/esm/typings/src/formats/xml/XmlFormatDefinition.d.ts +0 -19
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
2
|
-
import type { FormatDefinition } from '../_common/FormatDefinition';
|
|
3
|
-
import type { CsvSettings } from './CsvSettings';
|
|
4
|
-
/**
|
|
5
|
-
* Definition for CSV spreadsheet
|
|
6
|
-
*
|
|
7
|
-
* @public exported from `@promptbook/core`
|
|
8
|
-
* <- TODO: [🏢] Export from package `@promptbook/csv`
|
|
9
|
-
*/
|
|
10
|
-
export declare const CsvFormatDefinition: FormatDefinition<string, string, CsvSettings, TODO_any>;
|
|
11
|
-
/**
|
|
12
|
-
* TODO: [🍓] In `CsvFormatDefinition` implement simple `isValid`
|
|
13
|
-
* TODO: [🍓] In `CsvFormatDefinition` implement partial `canBeValid`
|
|
14
|
-
* TODO: [🍓] In `CsvFormatDefinition` implement `heal
|
|
15
|
-
* TODO: [🍓] In `CsvFormatDefinition` implement `subvalueDefinitions`
|
|
16
|
-
* TODO: [🏢] Allow to expect something inside CSV objects and other formats
|
|
17
|
-
*/
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { TODO_any } from '../../utils/organization/TODO_any';
|
|
2
|
-
import type { FormatDefinition } from '../_common/FormatDefinition';
|
|
3
|
-
/**
|
|
4
|
-
* Definition for XML format
|
|
5
|
-
*
|
|
6
|
-
* @private still in development [🏢]
|
|
7
|
-
*/
|
|
8
|
-
export declare const XmlFormatDefinition: FormatDefinition<string, string, TODO_any, TODO_any>;
|
|
9
|
-
/**
|
|
10
|
-
* TODO: [🧠] Maybe propper instance of object
|
|
11
|
-
* TODO: [0] Make string_serialized_xml
|
|
12
|
-
* TODO: [1] Make type for XML Settings and Schema
|
|
13
|
-
* TODO: [🧠] What to use for validating XMLs - XSD,...
|
|
14
|
-
* TODO: [🍓] In `XmlFormatDefinition` implement simple `isValid`
|
|
15
|
-
* TODO: [🍓] In `XmlFormatDefinition` implement partial `canBeValid`
|
|
16
|
-
* TODO: [🍓] In `XmlFormatDefinition` implement `heal
|
|
17
|
-
* TODO: [🍓] In `XmlFormatDefinition` implement `subvalueDefinitions`
|
|
18
|
-
* TODO: [🏢] Allow to expect something inside XML and other formats
|
|
19
|
-
*/
|