UNPKG

@promptbook/remote-client

Version:

Promptbook: Turn your company's scattered knowledge into AI ready books

22 lines (21 loc) 717 B
import type { $PipelineJson } from '../../commands/_common/types/CommandParser'; import type { $side_effect } from '../../utils/organization/$side_effect'; /** * Used in `parsePipeline` * * @private */ export type SyncHighLevelAbstraction = { type: 'SYNC'; /** * Apply the abstraction to the `pipelineJson` * * Note: `$` is used to indicate that this function mutates given `pipelineJson` */ $applyToPipelineJson($pipelineJson: $PipelineJson): $side_effect; }; /** * TODO: [♓️] Add order here * TODO: [🧠][🍱] Maybe make some common abstraction between `HighLevelAbstraction` and `CommandParser` * Note: [💞] Ignore a discrepancy between file name and entity name */