@promptbook/legacy-documents 0.81.0-12 → 0.81.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.
- package/esm/index.es.js +1 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/templates.index.d.ts +2 -2
- package/esm/typings/src/other/templates/{getBookTemplate.d.ts → getBookTemplates.d.ts} +4 -1
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
- package/umd/index.umd.js.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
|
|
2
|
-
import {
|
|
2
|
+
import { getBookTemplates } from '../other/templates/getBookTemplates';
|
|
3
3
|
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
|
|
4
|
-
export {
|
|
4
|
+
export { getBookTemplates };
|
|
@@ -10,10 +10,13 @@ export declare let pipelines: Array<PipelineJson> | null;
|
|
|
10
10
|
/**
|
|
11
11
|
* Get template for new book
|
|
12
12
|
*
|
|
13
|
+
* @param formfactorName - optional filter for FORMFACTOR - get only pipelines for this formfactor
|
|
14
|
+
* @returns list of pipelines
|
|
13
15
|
* @public exported from `@promptbook/templates`
|
|
14
16
|
*/
|
|
15
|
-
export declare function
|
|
17
|
+
export declare function getBookTemplates(formfactorName?: string_formfactor_name): ReadonlyArray<PipelineJson>;
|
|
16
18
|
/**
|
|
17
19
|
* TODO: Unit test
|
|
18
20
|
* TODO: [🧠] Which is the best place for this function
|
|
21
|
+
* TODO: !!!!!! For GENERIC template ensure at least one pipeline is present for typescript in `getBookTemplates`
|
|
19
22
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/legacy-documents",
|
|
3
|
-
"version": "0.81.0-
|
|
3
|
+
"version": "0.81.0-14",
|
|
4
4
|
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
|
|
5
5
|
"--note-0": " <- [🐊]",
|
|
6
6
|
"private": false,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"module": "./esm/index.es.js",
|
|
55
55
|
"typings": "./esm/typings/src/_packages/legacy-documents.index.d.ts",
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@promptbook/core": "0.81.0-
|
|
57
|
+
"@promptbook/core": "0.81.0-14"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"colors": "1.4.0",
|
package/umd/index.umd.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
* @generated
|
|
26
26
|
* @see https://github.com/webgptorg/promptbook
|
|
27
27
|
*/
|
|
28
|
-
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-
|
|
28
|
+
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-13';
|
|
29
29
|
/**
|
|
30
30
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
31
31
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|