@lssm/lib.workflow-composer 0.0.0-canary-20251225044228 → 0.0.0-canary-20251225070736

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 CHANGED
@@ -1,5 +1,8 @@
1
1
  # @lssm/lib.workflow-composer
2
2
 
3
+ Website: https://contractspec.lssm.tech/
4
+
5
+
3
6
  Compose base WorkflowSpecs with tenant-, role-, or device-specific extensions. The composer lets teams inject steps, hide portions of a workflow, and attach tenant-scoped metadata without duplicating base definitions.
4
7
 
5
8
  ## Highlights
@@ -38,5 +41,6 @@ Refer to `docs/tech/personalization/workflow-composition.md` for more.
38
41
 
39
42
 
40
43
 
44
+
41
45
 
42
46
 
@@ -1 +1 @@
1
- {"version":3,"file":"templates.d.ts","names":[],"sources":["../src/templates.ts"],"sourcesContent":[],"mappings":";;;UAMiB,mBAAA;;EAAA,KAAA,EAAA,MAAA;EASD,IAAA,CAAA,EANP,QAMO;;WAJL;;;iBAIK,oBAAA,UAA8B,sBAAsB"}
1
+ {"version":3,"file":"templates.d.ts","names":[],"sources":["../src/templates.ts"],"sourcesContent":[],"mappings":";;;UAEiB,mBAAA;;EAAA,KAAA,EAAA,MAAA;EASD,IAAA,CAAA,EANP,QAMO;;WAJL;;;iBAIK,oBAAA,UAA8B,sBAAsB"}
@@ -1 +1 @@
1
- {"version":3,"file":"templates.js","names":[],"sources":["../src/templates.ts"],"sourcesContent":["import type {\n Step,\n StepAction,\n StepType,\n} from '@lssm/lib.contracts';\n\nexport interface StepTemplateOptions {\n id: string;\n label: string;\n type?: StepType;\n description?: string;\n action?: StepAction;\n guardExpression?: string;\n}\n\nexport function approvalStepTemplate(options: StepTemplateOptions): Step {\n return {\n id: options.id,\n label: options.label,\n type: options.type ?? 'human',\n description: options.description ?? 'Tenant-specific approval',\n action: options.action,\n guard: options.guardExpression\n ? {\n type: 'expression',\n value: options.guardExpression,\n }\n : undefined,\n };\n}\n"],"mappings":";AAeA,SAAgB,qBAAqB,SAAoC;AACvE,QAAO;EACL,IAAI,QAAQ;EACZ,OAAO,QAAQ;EACf,MAAM,QAAQ,QAAQ;EACtB,aAAa,QAAQ,eAAe;EACpC,QAAQ,QAAQ;EAChB,OAAO,QAAQ,kBACX;GACE,MAAM;GACN,OAAO,QAAQ;GAChB,GACD;EACL"}
1
+ {"version":3,"file":"templates.js","names":[],"sources":["../src/templates.ts"],"sourcesContent":["import type { Step, StepAction, StepType } from '@lssm/lib.contracts';\n\nexport interface StepTemplateOptions {\n id: string;\n label: string;\n type?: StepType;\n description?: string;\n action?: StepAction;\n guardExpression?: string;\n}\n\nexport function approvalStepTemplate(options: StepTemplateOptions): Step {\n return {\n id: options.id,\n label: options.label,\n type: options.type ?? 'human',\n description: options.description ?? 'Tenant-specific approval',\n action: options.action,\n guard: options.guardExpression\n ? {\n type: 'expression',\n value: options.guardExpression,\n }\n : undefined,\n };\n}\n"],"mappings":";AAWA,SAAgB,qBAAqB,SAAoC;AACvE,QAAO;EACL,IAAI,QAAQ;EACZ,OAAO,QAAQ;EACf,MAAM,QAAQ,QAAQ;EACtB,aAAa,QAAQ,eAAe;EACpC,QAAQ,QAAQ;EAChB,OAAO,QAAQ,kBACX;GACE,MAAM;GACN,OAAO,QAAQ;GAChB,GACD;EACL"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/lib.workflow-composer",
3
- "version": "0.0.0-canary-20251225044228",
3
+ "version": "0.0.0-canary-20251225070736",
4
4
  "description": "Tenant-aware workflow composition helpers for ContractSpec.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,12 +24,12 @@
24
24
  "test": "bun run"
25
25
  },
26
26
  "dependencies": {
27
- "@lssm/lib.contracts": "0.0.0-canary-20251225044228"
27
+ "@lssm/lib.contracts": "0.0.0-canary-20251225070736"
28
28
  },
29
29
  "devDependencies": {
30
- "@lssm/tool.tsdown": "0.0.0-canary-20251225044228",
31
- "@lssm/tool.typescript": "0.0.0-canary-20251225044228",
32
- "tsdown": "^0.18.1",
30
+ "@lssm/tool.tsdown": "0.0.0-canary-20251225070736",
31
+ "@lssm/tool.typescript": "0.0.0-canary-20251225070736",
32
+ "tsdown": "^0.18.3",
33
33
  "typescript": "^5.9.3"
34
34
  },
35
35
  "exports": {