@promptbook/markdown-utils 0.75.0-1 → 0.75.0-2
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/README.md +1 -0
- package/esm/index.es.js +233 -218
- package/esm/index.es.js.map +1 -1
- package/esm/typings/promptbook-collection/index.d.ts +6 -6
- package/esm/typings/src/_packages/core.index.d.ts +22 -20
- package/esm/typings/src/_packages/types.index.d.ts +58 -50
- package/esm/typings/src/_packages/utils.index.d.ts +2 -2
- package/esm/typings/src/cli/cli-commands/about.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/hello.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/make.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/run.d.ts +1 -0
- package/esm/typings/src/cli/cli-commands/test-command.d.ts +1 -0
- package/esm/typings/src/cli/main.d.ts +1 -0
- package/esm/typings/src/collection/PipelineCollection.d.ts +1 -1
- package/esm/typings/src/collection/SimplePipelineCollection.d.ts +1 -1
- package/esm/typings/src/collection/collectionToJson.d.ts +1 -1
- package/esm/typings/src/collection/constructors/createCollectionFromJson.d.ts +1 -1
- package/esm/typings/src/collection/constructors/createCollectionFromPromise.d.ts +1 -1
- package/esm/typings/src/commands/EXPECT/ExpectCommand.d.ts +2 -2
- package/esm/typings/src/commands/EXPECT/expectCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/FOREACH/foreachCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/FORMAT/formatCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/JOKER/jokerCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/POSTPROCESS/postprocessCommandParser.d.ts +2 -2
- package/esm/typings/src/commands/SECTION/SectionCommand.d.ts +11 -0
- package/esm/typings/src/commands/SECTION/SectionType.d.ts +13 -0
- package/esm/typings/src/commands/{TEMPLATE/templateCommandParser.d.ts → SECTION/sectionCommandParser.d.ts} +6 -6
- package/esm/typings/src/commands/_common/types/Command.d.ts +1 -1
- package/esm/typings/src/commands/_common/types/CommandParser.d.ts +17 -17
- package/esm/typings/src/commands/_common/types/CommandUsagePlaces.d.ts +1 -1
- package/esm/typings/src/commands/index.d.ts +4 -1
- package/esm/typings/src/config.d.ts +2 -1
- package/esm/typings/src/conversion/pipelineJsonToString.d.ts +2 -2
- package/esm/typings/src/conversion/pipelineStringToJson.d.ts +2 -2
- package/esm/typings/src/conversion/pipelineStringToJsonSync.d.ts +3 -3
- package/esm/typings/src/conversion/prettify/prettifyPipelineString.d.ts +1 -1
- package/esm/typings/src/conversion/prettify/renderPipelineMermaidOptions.d.ts +3 -3
- package/esm/typings/src/conversion/utils/{extractParameterNamesFromTemplate.d.ts → extractParameterNamesFromTask.d.ts} +2 -2
- package/esm/typings/src/conversion/utils/renameParameter.d.ts +1 -1
- package/esm/typings/src/conversion/validation/_importPipeline.d.ts +3 -2
- package/esm/typings/src/conversion/validation/validatePipeline.d.ts +1 -1
- package/esm/typings/src/errors/index.d.ts +3 -0
- package/esm/typings/src/execution/PipelineExecutorResult.d.ts +2 -2
- package/esm/typings/src/execution/PromptResultUsage.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/{$OngoingTemplateResult.d.ts → $OngoingTaskResult.d.ts} +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/00-CreatePipelineExecutorOptions.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/10-executePipeline.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/{20-executeTemplate.d.ts → 20-executeTask.d.ts} +7 -7
- package/esm/typings/src/execution/createPipelineExecutor/40-executeAttempts.d.ts +5 -5
- package/esm/typings/src/execution/createPipelineExecutor/filterJustOutputParameters.d.ts +1 -1
- package/esm/typings/src/execution/createPipelineExecutor/{getContextForTemplate.d.ts → getContextForTask.d.ts} +2 -2
- package/esm/typings/src/execution/createPipelineExecutor/{getExamplesForTemplate.d.ts → getExamplesForTask.d.ts} +2 -2
- package/esm/typings/src/execution/createPipelineExecutor/getKnowledgeForTask.d.ts +27 -0
- package/esm/typings/src/execution/createPipelineExecutor/getReservedParametersForTask.d.ts +30 -0
- package/esm/typings/src/{types → execution}/execution-report/ExecutionPromptReportJson.d.ts +2 -2
- package/esm/typings/src/{types → execution}/execution-report/ExecutionReportJson.d.ts +4 -4
- package/esm/typings/src/{types → execution}/execution-report/ExecutionReportStringOptions.d.ts +1 -1
- package/esm/typings/src/execution/utils/checkExpectations.d.ts +1 -1
- package/esm/typings/src/execution/utils/usage-constants.d.ts +3 -0
- package/esm/typings/src/formats/index.d.ts +3 -0
- package/esm/typings/src/formfactors/_common/AbstractFormfactorDefinition.d.ts +4 -1
- package/esm/typings/src/formfactors/_common/FormfactorDefinition.d.ts +3 -0
- package/esm/typings/src/formfactors/{chat/ChatFormfactorDefinition.d.ts → chatbot/ChatbotFormfactorDefinition.d.ts} +2 -2
- package/esm/typings/src/formfactors/generic/GenericFormfactorDefinition.d.ts +1 -1
- package/esm/typings/src/formfactors/index.d.ts +15 -4
- package/esm/typings/src/formfactors/matcher/MatcherFormfactorDefinition.d.ts +14 -0
- package/esm/typings/src/formfactors/sheets/SheetsFormfactorDefinition.d.ts +1 -1
- package/esm/typings/src/formfactors/translator/TranslatorFormfactorDefinition.d.ts +1 -1
- package/esm/typings/src/llm-providers/anthropic-claude/anthropic-claude-models.d.ts +1 -0
- package/esm/typings/src/llm-providers/anthropic-claude/register-configuration.d.ts +3 -0
- package/esm/typings/src/llm-providers/anthropic-claude/register-constructor.d.ts +1 -0
- package/esm/typings/src/llm-providers/azure-openai/register-configuration.d.ts +3 -0
- package/esm/typings/src/llm-providers/azure-openai/register-constructor.d.ts +1 -0
- package/esm/typings/src/llm-providers/mocked/$fakeTextToExpectations.d.ts +1 -1
- package/esm/typings/src/llm-providers/openai/openai-models.d.ts +1 -0
- package/esm/typings/src/llm-providers/openai/register-configuration.d.ts +3 -0
- package/esm/typings/src/llm-providers/openai/register-constructor.d.ts +1 -0
- package/esm/typings/src/personas/preparePersona.d.ts +1 -1
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/PipelineInterface.d.ts +3 -0
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/constants.d.ts +5 -0
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/getPipelineInterface.d.ts +3 -1
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/isPipelineImplementingInterface.d.ts +5 -1
- package/esm/typings/src/pipeline/{pipeline-interface → PipelineInterface}/isPipelineInterfacesEqual.d.ts +2 -0
- package/esm/typings/src/pipeline/PipelineJson/DialogTaskJson.d.ts +13 -0
- package/esm/typings/src/{types → pipeline}/PipelineJson/Expectations.d.ts +2 -2
- package/esm/typings/src/{types → pipeline}/PipelineJson/KnowledgePieceJson.d.ts +7 -6
- package/esm/typings/src/{types → pipeline}/PipelineJson/KnowledgeSourceJson.d.ts +3 -3
- package/esm/typings/src/pipeline/PipelineJson/ParameterJson.d.ts +96 -0
- package/esm/typings/src/{types → pipeline}/PipelineJson/PersonaJson.d.ts +4 -4
- package/esm/typings/src/{types → pipeline}/PipelineJson/PipelineJson.d.ts +10 -10
- package/esm/typings/src/{types → pipeline}/PipelineJson/PreparationJson.d.ts +1 -1
- package/esm/typings/src/{types/PipelineJson/PromptTemplateJson.d.ts → pipeline/PipelineJson/PromptTaskJson.d.ts} +8 -8
- package/esm/typings/src/pipeline/PipelineJson/ScriptTaskJson.d.ts +20 -0
- package/esm/typings/src/pipeline/PipelineJson/SimpleTaskJson.d.ts +13 -0
- package/esm/typings/src/pipeline/PipelineJson/TaskJson.d.ts +11 -0
- package/esm/typings/src/{types/PipelineJson/TemplateJsonCommon.d.ts → pipeline/PipelineJson/TaskJsonCommon.d.ts} +13 -13
- package/esm/typings/src/{types → pipeline}/PipelineString.d.ts +1 -1
- package/esm/typings/src/prepare/isPipelinePrepared.d.ts +2 -2
- package/esm/typings/src/prepare/preparePipeline.d.ts +1 -1
- package/esm/typings/src/prepare/{prepareTemplates.d.ts → prepareTasks.d.ts} +7 -7
- package/esm/typings/src/prepare/unpreparePipeline.d.ts +1 -1
- package/esm/typings/src/scrapers/_common/Scraper.d.ts +1 -1
- package/esm/typings/src/scrapers/_common/prepareKnowledgePieces.d.ts +2 -2
- package/esm/typings/src/scrapers/_common/utils/makeKnowledgeSourceHandler.d.ts +1 -1
- package/esm/typings/src/scrapers/document/DocumentScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/document/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/document/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/document-legacy/LegacyDocumentScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/document-legacy/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/document-legacy/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/markdown/MarkdownScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/markdown/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/markdown/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/pdf/PdfScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/pdf/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/pdf/register-metadata.d.ts +3 -0
- package/esm/typings/src/scrapers/website/WebsiteScraper.d.ts +1 -1
- package/esm/typings/src/scrapers/website/register-constructor.d.ts +1 -0
- package/esm/typings/src/scrapers/website/register-metadata.d.ts +3 -0
- package/esm/typings/src/scripting/javascript/postprocessing-functions.d.ts +1 -0
- package/esm/typings/src/types/Prompt.d.ts +1 -1
- package/esm/typings/src/types/TaskProgress.d.ts +2 -2
- package/esm/typings/src/types/typeAliasEmoji.d.ts +3 -0
- package/esm/typings/src/types/typeAliases.d.ts +1 -0
- package/esm/typings/src/utils/emojis.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/constants.d.ts +1 -0
- package/esm/typings/src/utils/expectation-counters/countCharacters.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countLines.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countPages.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countParagraphs.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countSentences.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/countWords.d.ts +1 -1
- package/esm/typings/src/utils/expectation-counters/index.d.ts +3 -2
- package/esm/typings/src/utils/normalization/normalize-to-kebab-case.d.ts +3 -0
- package/esm/typings/src/utils/parameters/extractParameterNames.d.ts +2 -2
- package/esm/typings/src/utils/serialization/clonePipeline.d.ts +1 -1
- package/esm/typings/src/version.d.ts +2 -1
- package/package.json +4 -3
- package/umd/index.umd.js +233 -218
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/commands/TEMPLATE/TemplateCommand.d.ts +0 -11
- package/esm/typings/src/commands/TEMPLATE/TemplateTypes.d.ts +0 -15
- package/esm/typings/src/execution/createPipelineExecutor/getKnowledgeForTemplate.d.ts +0 -27
- package/esm/typings/src/execution/createPipelineExecutor/getReservedParametersForTemplate.d.ts +0 -30
- package/esm/typings/src/types/PipelineJson/DialogTemplateJson.d.ts +0 -13
- package/esm/typings/src/types/PipelineJson/ParameterJson.d.ts +0 -39
- package/esm/typings/src/types/PipelineJson/ScriptTemplateJson.d.ts +0 -20
- package/esm/typings/src/types/PipelineJson/SimpleTemplateJson.d.ts +0 -13
- package/esm/typings/src/types/PipelineJson/TemplateJson.d.ts +0 -11
- /package/esm/typings/src/commands/{TEMPLATE/templateCommand.test.d.ts → SECTION/sectionCommand.test.d.ts} +0 -0
- /package/esm/typings/src/conversion/utils/{extractParameterNamesFromTemplate.test.d.ts → extractParameterNamesFromTask.test.d.ts} +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/ExecutionReportString.d.ts +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/countWorkingDuration.d.ts +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/countWorkingDuration.test.d.ts +0 -0
- /package/esm/typings/src/{types → execution}/execution-report/executionReportJsonToString.d.ts +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { TemplateType } from './TemplateTypes';
|
|
2
|
-
/**
|
|
3
|
-
* Parsed TEMPLATE command
|
|
4
|
-
*
|
|
5
|
-
* @see ./templateCommandParser.ts for more details
|
|
6
|
-
* @private within the commands folder
|
|
7
|
-
*/
|
|
8
|
-
export type TemplateCommand = {
|
|
9
|
-
readonly type: 'TEMPLATE';
|
|
10
|
-
readonly templateType: TemplateType;
|
|
11
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { TupleToUnion } from 'type-fest';
|
|
2
|
-
/**
|
|
3
|
-
* Template type describes the way how the template is templated
|
|
4
|
-
*
|
|
5
|
-
* @see https://github.com/webgptorg/promptbook#template-type
|
|
6
|
-
* @public exported from `@promptbook/core`
|
|
7
|
-
*/
|
|
8
|
-
export type TemplateType = TupleToUnion<typeof TemplateTypes>;
|
|
9
|
-
/**
|
|
10
|
-
* Template type describes the way how the template is templated
|
|
11
|
-
*
|
|
12
|
-
* @see https://github.com/webgptorg/promptbook#template-type
|
|
13
|
-
* @public exported from `@promptbook/core`
|
|
14
|
-
*/
|
|
15
|
-
export declare const TemplateTypes: readonly ["PROMPT_TEMPLATE", "SIMPLE_TEMPLATE", "SCRIPT_TEMPLATE", "DIALOG_TEMPLATE", "EXAMPLE", "KNOWLEDGE", "INSTRUMENT", "ACTION"];
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { ReadonlyDeep } from 'type-fest';
|
|
2
|
-
import type { PipelineJson } from '../../types/PipelineJson/PipelineJson';
|
|
3
|
-
import type { TemplateJson } from '../../types/PipelineJson/TemplateJson';
|
|
4
|
-
import type { string_markdown } from '../../types/typeAliases';
|
|
5
|
-
import type { string_parameter_value } from '../../types/typeAliases';
|
|
6
|
-
/**
|
|
7
|
-
* @@@
|
|
8
|
-
*
|
|
9
|
-
* @private internal type of `getKnowledgeForTemplate`
|
|
10
|
-
*/
|
|
11
|
-
type GetKnowledgeForTemplateOptions = {
|
|
12
|
-
/**
|
|
13
|
-
* @@@
|
|
14
|
-
*/
|
|
15
|
-
readonly preparedPipeline: ReadonlyDeep<PipelineJson>;
|
|
16
|
-
/**
|
|
17
|
-
* @@@
|
|
18
|
-
*/
|
|
19
|
-
readonly template: ReadonlyDeep<TemplateJson>;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @@@
|
|
23
|
-
*
|
|
24
|
-
* @private internal utility of `createPipelineExecutor`
|
|
25
|
-
*/
|
|
26
|
-
export declare function getKnowledgeForTemplate(options: GetKnowledgeForTemplateOptions): Promise<string_parameter_value & string_markdown>;
|
|
27
|
-
export {};
|
package/esm/typings/src/execution/createPipelineExecutor/getReservedParametersForTemplate.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { ReadonlyDeep } from 'type-fest';
|
|
2
|
-
import type { PipelineJson } from '../../types/PipelineJson/PipelineJson';
|
|
3
|
-
import type { TemplateJson } from '../../types/PipelineJson/TemplateJson';
|
|
4
|
-
import type { ReservedParameters } from '../../types/typeAliases';
|
|
5
|
-
/**
|
|
6
|
-
* @@@
|
|
7
|
-
*
|
|
8
|
-
* @private internal type of `getReservedParametersForTemplate`
|
|
9
|
-
*/
|
|
10
|
-
type GetReservedParametersForTemplateOptions = {
|
|
11
|
-
/**
|
|
12
|
-
* @@@
|
|
13
|
-
*/
|
|
14
|
-
readonly preparedPipeline: ReadonlyDeep<PipelineJson>;
|
|
15
|
-
/**
|
|
16
|
-
* @@@
|
|
17
|
-
*/
|
|
18
|
-
readonly template: ReadonlyDeep<TemplateJson>;
|
|
19
|
-
/**
|
|
20
|
-
* @@@
|
|
21
|
-
*/
|
|
22
|
-
readonly pipelineIdentification: string;
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* @@@
|
|
26
|
-
*
|
|
27
|
-
* @private internal utility of `createPipelineExecutor`
|
|
28
|
-
*/
|
|
29
|
-
export declare function getReservedParametersForTemplate(options: GetReservedParametersForTemplateOptions): Promise<Readonly<ReservedParameters>>;
|
|
30
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { TemplateJsonCommon } from './TemplateJsonCommon';
|
|
2
|
-
/**
|
|
3
|
-
* Template for prompt to user
|
|
4
|
-
*
|
|
5
|
-
* Note: [🚉] This is fully serializable as JSON
|
|
6
|
-
* @see https://github.com/webgptorg/promptbook/discussions/76
|
|
7
|
-
*/
|
|
8
|
-
export type DialogTemplateJson = TemplateJsonCommon & {
|
|
9
|
-
readonly templateType: 'DIALOG_TEMPLATE';
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* TODO: [🍙] Make some standard order of json properties
|
|
13
|
-
*/
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { string_markdown_text } from '../typeAliases';
|
|
2
|
-
import type { string_parameter_name } from '../typeAliases';
|
|
3
|
-
import type { string_parameter_value } from '../typeAliases';
|
|
4
|
-
/**
|
|
5
|
-
* Describes one parameter of the promptbook
|
|
6
|
-
*
|
|
7
|
-
* Note: [🚉] This is fully serializable as JSON
|
|
8
|
-
*/
|
|
9
|
-
export type ParameterJson = {
|
|
10
|
-
/**
|
|
11
|
-
* Name of the parameter
|
|
12
|
-
* - It must be unique across the pipeline
|
|
13
|
-
* - It should start lowercase and contain letters and numbers
|
|
14
|
-
*/
|
|
15
|
-
readonly name: string_parameter_name;
|
|
16
|
-
/**
|
|
17
|
-
* The parameter is input of the pipeline
|
|
18
|
-
*/
|
|
19
|
-
readonly isInput: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* The parameter is output of the pipeline
|
|
22
|
-
*/
|
|
23
|
-
readonly isOutput: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Description of the parameter
|
|
26
|
-
* - It can use simple markdown formatting like **bold**, *italic*, [link](https://example.com), ... BUT not code blocks and structure
|
|
27
|
-
*/
|
|
28
|
-
readonly description?: string_markdown_text;
|
|
29
|
-
/**
|
|
30
|
-
* Example values of the parameter
|
|
31
|
-
* Note: This values won't be actually used as some default values, but they are just for better understanding of the parameter
|
|
32
|
-
*/
|
|
33
|
-
readonly exampleValues?: Array<string_parameter_value>;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* TODO: [🧠] Should be here registered subparameters from foreach or not?
|
|
37
|
-
* TODO: [♈] Probbably move expectations from templates to parameters
|
|
38
|
-
* TODO: [🍙] Make some standard order of json properties
|
|
39
|
-
*/
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ScriptLanguage } from '../ScriptLanguage';
|
|
2
|
-
import type { TemplateJsonCommon } from './TemplateJsonCommon';
|
|
3
|
-
/**
|
|
4
|
-
* Template for script execution
|
|
5
|
-
*
|
|
6
|
-
* Note: [🚉] This is fully serializable as JSON
|
|
7
|
-
* @see https://github.com/webgptorg/promptbook/discussions/77
|
|
8
|
-
*/
|
|
9
|
-
export type ScriptTemplateJson = TemplateJsonCommon & {
|
|
10
|
-
readonly templateType: 'SCRIPT_TEMPLATE';
|
|
11
|
-
/**
|
|
12
|
-
* Language of the script
|
|
13
|
-
* - This is required only for templateType SCRIPT
|
|
14
|
-
*
|
|
15
|
-
*/
|
|
16
|
-
readonly contentLanguage?: ScriptLanguage;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* TODO: [🍙] Make some standard order of json properties
|
|
20
|
-
*/
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { TemplateJsonCommon } from './TemplateJsonCommon';
|
|
2
|
-
/**
|
|
3
|
-
* Template for simple concatenation of strings
|
|
4
|
-
*
|
|
5
|
-
* Note: [🚉] This is fully serializable as JSON
|
|
6
|
-
* @see https://github.com/webgptorg/promptbook/discussions/17
|
|
7
|
-
*/
|
|
8
|
-
export type SimpleTemplateJson = TemplateJsonCommon & {
|
|
9
|
-
readonly templateType: 'SIMPLE_TEMPLATE';
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* TODO: [🍙] Make some standard order of json properties
|
|
13
|
-
*/
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { ___or___ } from '../../utils/organization/___or___';
|
|
2
|
-
import type { DialogTemplateJson } from './DialogTemplateJson';
|
|
3
|
-
import type { PromptTemplateJson } from './PromptTemplateJson';
|
|
4
|
-
import type { ScriptTemplateJson } from './ScriptTemplateJson';
|
|
5
|
-
import type { SimpleTemplateJson } from './SimpleTemplateJson';
|
|
6
|
-
/**
|
|
7
|
-
* Describes one (prompt) template in the promptbook
|
|
8
|
-
*
|
|
9
|
-
* Note: [🚉] This is fully serializable as JSON
|
|
10
|
-
*/
|
|
11
|
-
export type TemplateJson = PromptTemplateJson | SimpleTemplateJson | ScriptTemplateJson | DialogTemplateJson | ___or___ | ___or___;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/esm/typings/src/{types → execution}/execution-report/countWorkingDuration.test.d.ts
RENAMED
|
File without changes
|
/package/esm/typings/src/{types → execution}/execution-report/executionReportJsonToString.d.ts
RENAMED
|
File without changes
|