@wildo-ai/platform-core-shared 1.1.4 → 1.1.5
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/dist/esm/core/resources/resources-operations.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/core/resources/resources-relationships.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/index.d.ts +2 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/runtime/application-backend-env.contracts.d.ts +28 -2
- package/dist/esm/runtime/application-backend-env.contracts.d.ts.map +1 -1
- package/dist/esm/runtime/application-backend-env.contracts.js +27 -1
- package/dist/esm/runtime/application-backend-env.contracts.js.map +1 -1
- package/dist/esm/runtime/runtime-topology.contracts.d.ts.map +1 -1
- package/dist/esm/security/authorizations/roles.custom.shared.definitions.d.ts.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts +60 -66
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts +60 -66
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js +2 -2
- package/dist/esm/wildo-application-executions/wildo-application-executions.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts +6 -10
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts +6 -10
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js +26 -28
- package/dist/esm/wildo-application-tasks/wildo-application-tasks.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts +27 -0
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js +56 -0
- package/dist/esm/wildo-applications/wildo-applications.custom.shared.schemas.js.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/wildo-applications-versions/wildo-applications-versions.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts +13 -0
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js +418 -1
- package/dist/esm/workbench/workbench-aspect-resources.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts +0 -98
- package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.d.ts.map +0 -1
- package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js.map +0 -1
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts +103 -0
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.d.ts.map +1 -0
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js +99 -0
- package/dist/esm/workbench/workbench-creation-conversation.custom.shared.schemas.js.map +1 -0
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts +49 -0
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.d.ts.map +1 -0
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js +42 -0
- package/dist/esm/workbench/workbench-creation-dossier.custom.shared.schemas.js.map +1 -0
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts +378 -11
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js +426 -5
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts +882 -9
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js +1154 -14
- package/dist/esm/workbench/workbench-creation-plane.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts +117 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js +160 -0
- package/dist/esm/workbench/workbench-resources-types.custom.shared.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts +184 -7
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.resources-config.schemas.js.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts +2 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.d.ts.map +1 -1
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js +10 -5
- package/dist/esm/workbench/workbench-resources.custom.shared.schemas.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -13
- package/dist/esm/workbench/workbench-creation-board.custom.shared.schemas.js +0 -86
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The application-creation CONVERSATION's identity — the surface that replaces the three-view board
|
|
3
|
+
* (#1454), shared for the same reason the board's is: the workbench declares the composite view,
|
|
4
|
+
* the companion authors its labels, and neither can see the other's source. A string literal on
|
|
5
|
+
* each side compiles and fails at runtime as a blank menubar item and a headless page, silently.
|
|
6
|
+
*
|
|
7
|
+
* ## What it is
|
|
8
|
+
*
|
|
9
|
+
* Paul, 2026-09-21: the workbench is "primarily a chatbot, with some elements for details that are
|
|
10
|
+
* displayed" beside it; what the creator must PROVIDE is kept apart from what the system is DOING;
|
|
11
|
+
* there is no user-facing journey in the playbook phases; and a free session is primordial. And
|
|
12
|
+
* 2026-09-22: no two-zone split navigation, the destinations on the menubar. So this view is the
|
|
13
|
+
* page: a stream and a composer, details opening OVER it as sheets, the workbench's destinations on
|
|
14
|
+
* the menubar. The board stays reachable as a destination until this surface covers it, then
|
|
15
|
+
* retires (#1454, Appendix 4, Step 9).
|
|
16
|
+
*
|
|
17
|
+
* This carries NO React and NO Node: it is a vocabulary, importable by a browser bundle and by a
|
|
18
|
+
* daemon at once.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* The view's `ref` — the composite-view key, the launcher target, and the `/composite/<ref>` route.
|
|
22
|
+
*
|
|
23
|
+
* No dot, for the reason the board's ref records: both label readers split the whole path on `.`
|
|
24
|
+
* and walk it, so a dotted ref nests its labels one level deeper than anything expects and
|
|
25
|
+
* `tCompositeView` answers the empty string.
|
|
26
|
+
*/
|
|
27
|
+
export const WORKBENCH_CREATION_CONVERSATION_VIEW_REF = 'creation-conversation';
|
|
28
|
+
/**
|
|
29
|
+
* The flows-actors SYSTEM the conversation talks to — the creation assistant the companion hosts
|
|
30
|
+
* on the engine's conversational runtime (#1454, Step 4). Shared because the companion REGISTERS
|
|
31
|
+
* it and the workbench DECLARES a view on it, and neither can see the other's source: a mismatch
|
|
32
|
+
* would be a chat that lists no system and says `unavailable`, with nothing reporting why.
|
|
33
|
+
*/
|
|
34
|
+
export const WORKBENCH_CREATION_CONVERSATION_SYSTEM_REF = 'application-creation.conversation';
|
|
35
|
+
/**
|
|
36
|
+
* The label path the view's title and description hang off — `composite_views.<this>.title`.
|
|
37
|
+
* Derived by the engine's `buildApplicationViewTranslationRef` (`app.<ref>`) and restated here
|
|
38
|
+
* because the companion cannot import a frontend package to compute it; the workbench's own test
|
|
39
|
+
* asserts it against the engine's derivation.
|
|
40
|
+
*/
|
|
41
|
+
export const WORKBENCH_CREATION_CONVERSATION_TRANSLATION_REF = `app.${WORKBENCH_CREATION_CONVERSATION_VIEW_REF}`;
|
|
42
|
+
/**
|
|
43
|
+
* The full label path every word on the conversation page hangs off —
|
|
44
|
+
* `composite_views.app.creation-conversation`. A caller composes
|
|
45
|
+
* `${WORKBENCH_CREATION_CONVERSATION_LABEL_ROOT}.${block}` and reads leaves off it with `useI18n`.
|
|
46
|
+
*/
|
|
47
|
+
export const WORKBENCH_CREATION_CONVERSATION_LABEL_ROOT = `composite_views.${WORKBENCH_CREATION_CONVERSATION_TRANSLATION_REF}`;
|
|
48
|
+
/**
|
|
49
|
+
* The page's copy BLOCKS — the contract between the words the page reads and the words the companion
|
|
50
|
+
* authors. A block added here stops the companion's label file compiling until it is authored; the
|
|
51
|
+
* leaves inside a block are the page's business and a leaf nobody authored renders as its own key,
|
|
52
|
+
* visibly (`display-text-comes-from-i18n.md`).
|
|
53
|
+
*
|
|
54
|
+
* One block per surface a reader meets, in the order they meet them.
|
|
55
|
+
*/
|
|
56
|
+
export var WorkbenchCreationConversationCopyBlock;
|
|
57
|
+
(function (WorkbenchCreationConversationCopyBlock) {
|
|
58
|
+
/**
|
|
59
|
+
* HOME: the question the page opens on ("what do you want to get done?"), the "since you were
|
|
60
|
+
* last here" lines, and the four outcomes (#1454, Step 3).
|
|
61
|
+
*/
|
|
62
|
+
WorkbenchCreationConversationCopyBlock["HOME"] = "home";
|
|
63
|
+
/** The thread switcher: the new-conversation affordance and how a thread's row reads. */
|
|
64
|
+
WorkbenchCreationConversationCopyBlock["THREADS"] = "threads";
|
|
65
|
+
/**
|
|
66
|
+
* The STREAM: the assistant's name, the empty state, how a run card reads in each state
|
|
67
|
+
* (running, landed, cut short, waiting), the "filed under" receipt, and the pointer to a question
|
|
68
|
+
* asked elsewhere.
|
|
69
|
+
*/
|
|
70
|
+
WorkbenchCreationConversationCopyBlock["STREAM"] = "stream";
|
|
71
|
+
/** The COMPOSER: its placeholder, Send, and the suggestion chips above it. */
|
|
72
|
+
WorkbenchCreationConversationCopyBlock["COMPOSER"] = "composer";
|
|
73
|
+
/**
|
|
74
|
+
* Every PLAYBOOK's words for a creator — a title and a one-line goal — keyed by its ref with dots
|
|
75
|
+
* replaced by `__` (`sanitizeWorkbenchCreationPlaneIdentity`), because a label leaf may not
|
|
76
|
+
* contain a dot: `top_down__vision-elicitation__title`, `…__goal`. The catalog's own `intent` is
|
|
77
|
+
* an engineering paragraph; these are the words Home and the stream use for it. A companion test
|
|
78
|
+
* holds the set equal to the compiled catalog (#1454, R13).
|
|
79
|
+
*/
|
|
80
|
+
WorkbenchCreationConversationCopyBlock["PLAYBOOKS"] = "playbooks";
|
|
81
|
+
/**
|
|
82
|
+
* The INTERVIEW: a playbook's declared questions asked one per turn, as chat, with each answer
|
|
83
|
+
* filed into the dossier (#1454, Step 5 — walk-through 1). Its intro line, the "filed under"
|
|
84
|
+
* receipt, the yes/no chips, the all-answered line and the accept-and-run affordance.
|
|
85
|
+
*/
|
|
86
|
+
WorkbenchCreationConversationCopyBlock["INTERVIEW"] = "interview";
|
|
87
|
+
})(WorkbenchCreationConversationCopyBlock || (WorkbenchCreationConversationCopyBlock = {}));
|
|
88
|
+
/**
|
|
89
|
+
* The playbook an UNTOUCHED application opens on, held as a conversation (decided by constraint,
|
|
90
|
+
* #1454): the vision interview. Read from the catalog by ref, never restated — the companion's
|
|
91
|
+
* playbook-words test pins that this ref is a compiled playbook, so a renamed catalog entry fails
|
|
92
|
+
* a test rather than opening a blank interview.
|
|
93
|
+
*/
|
|
94
|
+
export const WORKBENCH_OPENING_INTERVIEW_PLAYBOOK_REF = 'top_down.vision-elicitation';
|
|
95
|
+
/** The leaf a playbook's title or goal lives under, inside the `PLAYBOOKS` block. */
|
|
96
|
+
export function workbenchPlaybookCopyLeaf(playbookRef, word) {
|
|
97
|
+
return `${playbookRef.replaceAll('.', '__').replace(/[^a-zA-Z0-9_-]/g, '-')}__${word}`;
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=workbench-creation-conversation.custom.shared.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbench-creation-conversation.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/workbench/workbench-creation-conversation.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,uBAAuB,CAAC;AAEhF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,mCAAmC,CAAC;AAE9F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,+CAA+C,GAAG,OAAO,wCAAwC,EAAE,CAAC;AAEjH;;;;GAIG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAG,mBAAmB,+CAA+C,EAAE,CAAC;AAE/H;;;;;;;GAOG;AACH,MAAM,CAAN,IAAY,sCA8BX;AA9BD,WAAY,sCAAsC;IAChD;;;OAGG;IACH,uDAAa,CAAA;IACb,yFAAyF;IACzF,6DAAmB,CAAA;IACnB;;;;OAIG;IACH,2DAAiB,CAAA;IACjB,8EAA8E;IAC9E,+DAAqB,CAAA;IACrB;;;;;;OAMG;IACH,iEAAuB,CAAA;IACvB;;;;OAIG;IACH,iEAAuB,CAAA;AACzB,CAAC,EA9BW,sCAAsC,KAAtC,sCAAsC,QA8BjD;AAED;;;;;GAKG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAG,6BAA6B,CAAC;AAEtF,qFAAqF;AACrF,MAAM,UAAU,yBAAyB,CAAC,WAAmB,EAAE,IAAsB;IACnF,OAAO,GAAG,WAAW,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,KAAK,IAAI,EAAE,CAAC;AACzF,CAAC","sourcesContent":["/**\n * The application-creation CONVERSATION's identity — the surface that replaces the three-view board\n * (#1454), shared for the same reason the board's is: the workbench declares the composite view,\n * the companion authors its labels, and neither can see the other's source. A string literal on\n * each side compiles and fails at runtime as a blank menubar item and a headless page, silently.\n *\n * ## What it is\n *\n * Paul, 2026-09-21: the workbench is \"primarily a chatbot, with some elements for details that are\n * displayed\" beside it; what the creator must PROVIDE is kept apart from what the system is DOING;\n * there is no user-facing journey in the playbook phases; and a free session is primordial. And\n * 2026-09-22: no two-zone split navigation, the destinations on the menubar. So this view is the\n * page: a stream and a composer, details opening OVER it as sheets, the workbench's destinations on\n * the menubar. The board stays reachable as a destination until this surface covers it, then\n * retires (#1454, Appendix 4, Step 9).\n *\n * This carries NO React and NO Node: it is a vocabulary, importable by a browser bundle and by a\n * daemon at once.\n */\n\n/**\n * The view's `ref` — the composite-view key, the launcher target, and the `/composite/<ref>` route.\n *\n * No dot, for the reason the board's ref records: both label readers split the whole path on `.`\n * and walk it, so a dotted ref nests its labels one level deeper than anything expects and\n * `tCompositeView` answers the empty string.\n */\nexport const WORKBENCH_CREATION_CONVERSATION_VIEW_REF = 'creation-conversation';\n\n/**\n * The flows-actors SYSTEM the conversation talks to — the creation assistant the companion hosts\n * on the engine's conversational runtime (#1454, Step 4). Shared because the companion REGISTERS\n * it and the workbench DECLARES a view on it, and neither can see the other's source: a mismatch\n * would be a chat that lists no system and says `unavailable`, with nothing reporting why.\n */\nexport const WORKBENCH_CREATION_CONVERSATION_SYSTEM_REF = 'application-creation.conversation';\n\n/**\n * The label path the view's title and description hang off — `composite_views.<this>.title`.\n * Derived by the engine's `buildApplicationViewTranslationRef` (`app.<ref>`) and restated here\n * because the companion cannot import a frontend package to compute it; the workbench's own test\n * asserts it against the engine's derivation.\n */\nexport const WORKBENCH_CREATION_CONVERSATION_TRANSLATION_REF = `app.${WORKBENCH_CREATION_CONVERSATION_VIEW_REF}`;\n\n/**\n * The full label path every word on the conversation page hangs off —\n * `composite_views.app.creation-conversation`. A caller composes\n * `${WORKBENCH_CREATION_CONVERSATION_LABEL_ROOT}.${block}` and reads leaves off it with `useI18n`.\n */\nexport const WORKBENCH_CREATION_CONVERSATION_LABEL_ROOT = `composite_views.${WORKBENCH_CREATION_CONVERSATION_TRANSLATION_REF}`;\n\n/**\n * The page's copy BLOCKS — the contract between the words the page reads and the words the companion\n * authors. A block added here stops the companion's label file compiling until it is authored; the\n * leaves inside a block are the page's business and a leaf nobody authored renders as its own key,\n * visibly (`display-text-comes-from-i18n.md`).\n *\n * One block per surface a reader meets, in the order they meet them.\n */\nexport enum WorkbenchCreationConversationCopyBlock {\n /**\n * HOME: the question the page opens on (\"what do you want to get done?\"), the \"since you were\n * last here\" lines, and the four outcomes (#1454, Step 3).\n */\n HOME = 'home',\n /** The thread switcher: the new-conversation affordance and how a thread's row reads. */\n THREADS = 'threads',\n /**\n * The STREAM: the assistant's name, the empty state, how a run card reads in each state\n * (running, landed, cut short, waiting), the \"filed under\" receipt, and the pointer to a question\n * asked elsewhere.\n */\n STREAM = 'stream',\n /** The COMPOSER: its placeholder, Send, and the suggestion chips above it. */\n COMPOSER = 'composer',\n /**\n * Every PLAYBOOK's words for a creator — a title and a one-line goal — keyed by its ref with dots\n * replaced by `__` (`sanitizeWorkbenchCreationPlaneIdentity`), because a label leaf may not\n * contain a dot: `top_down__vision-elicitation__title`, `…__goal`. The catalog's own `intent` is\n * an engineering paragraph; these are the words Home and the stream use for it. A companion test\n * holds the set equal to the compiled catalog (#1454, R13).\n */\n PLAYBOOKS = 'playbooks',\n /**\n * The INTERVIEW: a playbook's declared questions asked one per turn, as chat, with each answer\n * filed into the dossier (#1454, Step 5 — walk-through 1). Its intro line, the \"filed under\"\n * receipt, the yes/no chips, the all-answered line and the accept-and-run affordance.\n */\n INTERVIEW = 'interview',\n}\n\n/**\n * The playbook an UNTOUCHED application opens on, held as a conversation (decided by constraint,\n * #1454): the vision interview. Read from the catalog by ref, never restated — the companion's\n * playbook-words test pins that this ref is a compiled playbook, so a renamed catalog entry fails\n * a test rather than opening a blank interview.\n */\nexport const WORKBENCH_OPENING_INTERVIEW_PLAYBOOK_REF = 'top_down.vision-elicitation';\n\n/** The leaf a playbook's title or goal lives under, inside the `PLAYBOOKS` block. */\nexport function workbenchPlaybookCopyLeaf(playbookRef: string, word: 'title' | 'goal'): string {\n return `${playbookRef.replaceAll('.', '__').replace(/[^a-zA-Z0-9_-]/g, '-')}__${word}`;\n}\n\n/**\n * The authored copy, keyed by block — the type the companion's label file satisfies. Same shape and\n * same reasoning the retired board's copy type had (#1489: its blocks were re-homed per resource).\n */\nexport type WorkbenchCreationConversationCopyLabels = {\n readonly [block in WorkbenchCreationConversationCopyBlock]: Readonly<Record<string, string>>;\n};\n"]}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE DOSSIER page — "What you told us" (#1454, Step 6): everything the creator was asked, by a
|
|
3
|
+
* playbook interview or by a governed document, with their answer or the gap; and what the product
|
|
4
|
+
* answers for them.
|
|
5
|
+
*
|
|
6
|
+
* Three sources, one page, and the page STORES nothing: the interview half is `workbenchDossierEntries`,
|
|
7
|
+
* the governance half is `workbenchGovernanceQuestions` (each row carrying its standing), and the
|
|
8
|
+
* derived facts are the governed documents' own `derivedFactRefs`. Each source is one embedded
|
|
9
|
+
* resource LIST, so the filters are the resources' own: standing as the quick-filter tabs, and
|
|
10
|
+
* `askedNow` — what blocks something now — as a declared filter.
|
|
11
|
+
*
|
|
12
|
+
* Same contract shape as the conversation view beside it: a view ref with no dot, a translation ref
|
|
13
|
+
* under `app.`, and typed copy blocks the companion's label file must satisfy.
|
|
14
|
+
*/
|
|
15
|
+
export declare const WORKBENCH_CREATION_DOSSIER_VIEW_REF = "creation-dossier";
|
|
16
|
+
export declare const WORKBENCH_CREATION_DOSSIER_TRANSLATION_REF = "app.creation-dossier";
|
|
17
|
+
export declare const WORKBENCH_CREATION_DOSSIER_LABEL_ROOT = "composite_views.app.creation-dossier";
|
|
18
|
+
/**
|
|
19
|
+
* The dossier page's SECTIONS — one per source, each an embedded resource LIST rendered by the engine
|
|
20
|
+
* (#1454, Step 6, reworked 2026-09-22 onto the composite-view section contract the board uses).
|
|
21
|
+
* Filters and standing words are the resources' own (`quickFilterField`, `system_enums`); the page
|
|
22
|
+
* authors only the three section headings and the row actions' words.
|
|
23
|
+
*/
|
|
24
|
+
export declare enum WorkbenchCreationDossierSection {
|
|
25
|
+
/** `workbenchDossierEntries`: every interview question, answered or still needed. */
|
|
26
|
+
INTERVIEW = "interview",
|
|
27
|
+
/** `workbenchGovernanceQuestions`: every governed-document question a person answers. */
|
|
28
|
+
GOVERNANCE = "governance",
|
|
29
|
+
/** `workbenchGovernanceDocuments`: each document with the facts the product establishes for it. */
|
|
30
|
+
PRODUCT = "product"
|
|
31
|
+
}
|
|
32
|
+
export declare const WORKBENCH_CREATION_DOSSIER_SECTION_REFS: readonly WorkbenchCreationDossierSection[];
|
|
33
|
+
export type WorkbenchCreationDossierSectionLabels = {
|
|
34
|
+
readonly [section in WorkbenchCreationDossierSection]: {
|
|
35
|
+
readonly title: string;
|
|
36
|
+
readonly description: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
/** The row ACTIONS' copy blocks — the words the two question resources' summary rows show beside their fields. */
|
|
40
|
+
export declare enum WorkbenchCreationDossierCopyBlock {
|
|
41
|
+
/** One interview entry: the way in (answer / change), who asks it, whether the step can run now. */
|
|
42
|
+
INTERVIEW = "interview",
|
|
43
|
+
/** One governed-document question: the way in, whether a draft waits on it, whether a reviewer is owed. */
|
|
44
|
+
GOVERNANCE = "governance"
|
|
45
|
+
}
|
|
46
|
+
export type WorkbenchCreationDossierCopyLabels = {
|
|
47
|
+
readonly [block in WorkbenchCreationDossierCopyBlock]: Readonly<Record<string, string>>;
|
|
48
|
+
};
|
|
49
|
+
//# sourceMappingURL=workbench-creation-dossier.custom.shared.schemas.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbench-creation-dossier.custom.shared.schemas.d.ts","sourceRoot":"","sources":["../../../../src/workbench/workbench-creation-dossier.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mCAAmC,qBAAqB,CAAC;AACtE,eAAO,MAAM,0CAA0C,yBAA+C,CAAC;AACvG,eAAO,MAAM,qCAAqC,yCAAkE,CAAC;AAErH;;;;;GAKG;AACH,oBAAY,+BAA+B;IACzC,qFAAqF;IACrF,SAAS,cAAc;IACvB,yFAAyF;IACzF,UAAU,eAAe;IACzB,mGAAmG;IACnG,OAAO,YAAY;CACpB;AAED,eAAO,MAAM,uCAAuC,EAAE,SAAS,+BAA+B,EAC9C,CAAC;AAEjD,MAAM,MAAM,qCAAqC,GAAG;IAClD,QAAQ,EAAE,OAAO,IAAI,+BAA+B,GAAG;QACrD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;QACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;KAC9B;CACF,CAAC;AAEF,kHAAkH;AAClH,oBAAY,iCAAiC;IAC3C,oGAAoG;IACpG,SAAS,cAAc;IACvB,2GAA2G;IAC3G,UAAU,eAAe;CAC1B;AAED,MAAM,MAAM,kCAAkC,GAAG;IAC/C,QAAQ,EAAE,KAAK,IAAI,iCAAiC,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACxF,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* THE DOSSIER page — "What you told us" (#1454, Step 6): everything the creator was asked, by a
|
|
3
|
+
* playbook interview or by a governed document, with their answer or the gap; and what the product
|
|
4
|
+
* answers for them.
|
|
5
|
+
*
|
|
6
|
+
* Three sources, one page, and the page STORES nothing: the interview half is `workbenchDossierEntries`,
|
|
7
|
+
* the governance half is `workbenchGovernanceQuestions` (each row carrying its standing), and the
|
|
8
|
+
* derived facts are the governed documents' own `derivedFactRefs`. Each source is one embedded
|
|
9
|
+
* resource LIST, so the filters are the resources' own: standing as the quick-filter tabs, and
|
|
10
|
+
* `askedNow` — what blocks something now — as a declared filter.
|
|
11
|
+
*
|
|
12
|
+
* Same contract shape as the conversation view beside it: a view ref with no dot, a translation ref
|
|
13
|
+
* under `app.`, and typed copy blocks the companion's label file must satisfy.
|
|
14
|
+
*/
|
|
15
|
+
export const WORKBENCH_CREATION_DOSSIER_VIEW_REF = 'creation-dossier';
|
|
16
|
+
export const WORKBENCH_CREATION_DOSSIER_TRANSLATION_REF = `app.${WORKBENCH_CREATION_DOSSIER_VIEW_REF}`;
|
|
17
|
+
export const WORKBENCH_CREATION_DOSSIER_LABEL_ROOT = `composite_views.${WORKBENCH_CREATION_DOSSIER_TRANSLATION_REF}`;
|
|
18
|
+
/**
|
|
19
|
+
* The dossier page's SECTIONS — one per source, each an embedded resource LIST rendered by the engine
|
|
20
|
+
* (#1454, Step 6, reworked 2026-09-22 onto the composite-view section contract the board uses).
|
|
21
|
+
* Filters and standing words are the resources' own (`quickFilterField`, `system_enums`); the page
|
|
22
|
+
* authors only the three section headings and the row actions' words.
|
|
23
|
+
*/
|
|
24
|
+
export var WorkbenchCreationDossierSection;
|
|
25
|
+
(function (WorkbenchCreationDossierSection) {
|
|
26
|
+
/** `workbenchDossierEntries`: every interview question, answered or still needed. */
|
|
27
|
+
WorkbenchCreationDossierSection["INTERVIEW"] = "interview";
|
|
28
|
+
/** `workbenchGovernanceQuestions`: every governed-document question a person answers. */
|
|
29
|
+
WorkbenchCreationDossierSection["GOVERNANCE"] = "governance";
|
|
30
|
+
/** `workbenchGovernanceDocuments`: each document with the facts the product establishes for it. */
|
|
31
|
+
WorkbenchCreationDossierSection["PRODUCT"] = "product";
|
|
32
|
+
})(WorkbenchCreationDossierSection || (WorkbenchCreationDossierSection = {}));
|
|
33
|
+
export const WORKBENCH_CREATION_DOSSIER_SECTION_REFS = Object.values(WorkbenchCreationDossierSection);
|
|
34
|
+
/** The row ACTIONS' copy blocks — the words the two question resources' summary rows show beside their fields. */
|
|
35
|
+
export var WorkbenchCreationDossierCopyBlock;
|
|
36
|
+
(function (WorkbenchCreationDossierCopyBlock) {
|
|
37
|
+
/** One interview entry: the way in (answer / change), who asks it, whether the step can run now. */
|
|
38
|
+
WorkbenchCreationDossierCopyBlock["INTERVIEW"] = "interview";
|
|
39
|
+
/** One governed-document question: the way in, whether a draft waits on it, whether a reviewer is owed. */
|
|
40
|
+
WorkbenchCreationDossierCopyBlock["GOVERNANCE"] = "governance";
|
|
41
|
+
})(WorkbenchCreationDossierCopyBlock || (WorkbenchCreationDossierCopyBlock = {}));
|
|
42
|
+
//# sourceMappingURL=workbench-creation-dossier.custom.shared.schemas.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workbench-creation-dossier.custom.shared.schemas.js","sourceRoot":"","sources":["../../../../src/workbench/workbench-creation-dossier.custom.shared.schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAAG,kBAAkB,CAAC;AACtE,MAAM,CAAC,MAAM,0CAA0C,GAAG,OAAO,mCAAmC,EAAE,CAAC;AACvG,MAAM,CAAC,MAAM,qCAAqC,GAAG,mBAAmB,0CAA0C,EAAE,CAAC;AAErH;;;;;GAKG;AACH,MAAM,CAAN,IAAY,+BAOX;AAPD,WAAY,+BAA+B;IACzC,qFAAqF;IACrF,0DAAuB,CAAA;IACvB,yFAAyF;IACzF,4DAAyB,CAAA;IACzB,mGAAmG;IACnG,sDAAmB,CAAA;AACrB,CAAC,EAPW,+BAA+B,KAA/B,+BAA+B,QAO1C;AAED,MAAM,CAAC,MAAM,uCAAuC,GAClD,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAAC;AASjD,kHAAkH;AAClH,MAAM,CAAN,IAAY,iCAKX;AALD,WAAY,iCAAiC;IAC3C,oGAAoG;IACpG,4DAAuB,CAAA;IACvB,2GAA2G;IAC3G,8DAAyB,CAAA;AAC3B,CAAC,EALW,iCAAiC,KAAjC,iCAAiC,QAK5C","sourcesContent":["/**\n * THE DOSSIER page — \"What you told us\" (#1454, Step 6): everything the creator was asked, by a\n * playbook interview or by a governed document, with their answer or the gap; and what the product\n * answers for them.\n *\n * Three sources, one page, and the page STORES nothing: the interview half is `workbenchDossierEntries`,\n * the governance half is `workbenchGovernanceQuestions` (each row carrying its standing), and the\n * derived facts are the governed documents' own `derivedFactRefs`. Each source is one embedded\n * resource LIST, so the filters are the resources' own: standing as the quick-filter tabs, and\n * `askedNow` — what blocks something now — as a declared filter.\n *\n * Same contract shape as the conversation view beside it: a view ref with no dot, a translation ref\n * under `app.`, and typed copy blocks the companion's label file must satisfy.\n */\nexport const WORKBENCH_CREATION_DOSSIER_VIEW_REF = 'creation-dossier';\nexport const WORKBENCH_CREATION_DOSSIER_TRANSLATION_REF = `app.${WORKBENCH_CREATION_DOSSIER_VIEW_REF}`;\nexport const WORKBENCH_CREATION_DOSSIER_LABEL_ROOT = `composite_views.${WORKBENCH_CREATION_DOSSIER_TRANSLATION_REF}`;\n\n/**\n * The dossier page's SECTIONS — one per source, each an embedded resource LIST rendered by the engine\n * (#1454, Step 6, reworked 2026-09-22 onto the composite-view section contract the board uses).\n * Filters and standing words are the resources' own (`quickFilterField`, `system_enums`); the page\n * authors only the three section headings and the row actions' words.\n */\nexport enum WorkbenchCreationDossierSection {\n /** `workbenchDossierEntries`: every interview question, answered or still needed. */\n INTERVIEW = 'interview',\n /** `workbenchGovernanceQuestions`: every governed-document question a person answers. */\n GOVERNANCE = 'governance',\n /** `workbenchGovernanceDocuments`: each document with the facts the product establishes for it. */\n PRODUCT = 'product',\n}\n\nexport const WORKBENCH_CREATION_DOSSIER_SECTION_REFS: readonly WorkbenchCreationDossierSection[] =\n Object.values(WorkbenchCreationDossierSection);\n\nexport type WorkbenchCreationDossierSectionLabels = {\n readonly [section in WorkbenchCreationDossierSection]: {\n readonly title: string;\n readonly description: string;\n };\n};\n\n/** The row ACTIONS' copy blocks — the words the two question resources' summary rows show beside their fields. */\nexport enum WorkbenchCreationDossierCopyBlock {\n /** One interview entry: the way in (answer / change), who asks it, whether the step can run now. */\n INTERVIEW = 'interview',\n /** One governed-document question: the way in, whether a draft waits on it, whether a reviewer is owed. */\n GOVERNANCE = 'governance',\n}\n\nexport type WorkbenchCreationDossierCopyLabels = {\n readonly [block in WorkbenchCreationDossierCopyBlock]: Readonly<Record<string, string>>;\n};\n"]}
|