@pikku/cli 0.12.119 → 0.12.121
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/CHANGELOG.md +225 -0
- package/console-app/assets/{abnfDiagram-N423BO3Z-CiK5F2ml.js → abnfDiagram-N423BO3Z-Dfq94a7u.js} +1 -1
- package/console-app/assets/architecture-TIHT7OUA-CA-Di-O3.js +1 -0
- package/console-app/assets/{architectureDiagram-T3A2C74G-g4Elcs_0.js → architectureDiagram-T3A2C74G-C9MjP0IU.js} +1 -1
- package/console-app/assets/{blockDiagram-VBNYF7ZC-CI6muc3M.js → blockDiagram-VBNYF7ZC-CGgHSlOO.js} +1 -1
- package/console-app/assets/{c4Diagram-5PPSVZJV-CjzL9yGp.js → c4Diagram-5PPSVZJV-3kzckivq.js} +1 -1
- package/console-app/assets/channel-UOxM22B3.js +1 -0
- package/console-app/assets/{chunk-2GRJ4B5K-C68TKOLb.js → chunk-2GRJ4B5K-UZ1q29J_.js} +1 -1
- package/console-app/assets/{chunk-4I5QYGJK-D_DINIPO.js → chunk-4I5QYGJK-bq4iSS6S.js} +1 -1
- package/console-app/assets/{chunk-5RXB4S5H-D8mEuiea.js → chunk-5RXB4S5H-BCeU8nXq.js} +1 -1
- package/console-app/assets/{chunk-6Q2QTUOP-CVNqLnb8.js → chunk-6Q2QTUOP-DpsTVhit.js} +1 -1
- package/console-app/assets/{chunk-7Z6QIM7H-Bnih6HyS.js → chunk-7Z6QIM7H-I6XKkv2A.js} +1 -1
- package/console-app/assets/{chunk-GF5L2VYU-C5efrbFt.js → chunk-GF5L2VYU-aYODFCZ6.js} +1 -1
- package/console-app/assets/{chunk-I66GZJ75-dckv50K3.js → chunk-I66GZJ75-CWdPrY4a.js} +1 -1
- package/console-app/assets/{chunk-JQJVKLGR-HirBo6LQ.js → chunk-JQJVKLGR-D5bHP4bt.js} +1 -1
- package/console-app/assets/{chunk-KBJHAD2P-lknhmPj0.js → chunk-KBJHAD2P-B-Spac9o.js} +1 -1
- package/console-app/assets/{chunk-NSK5VX7P-tGAl7zxF.js → chunk-NSK5VX7P-0jZVLBhi.js} +1 -1
- package/console-app/assets/{chunk-QR6OTTB3-BlSKCrEq.js → chunk-QR6OTTB3-BurXFOtV.js} +1 -1
- package/console-app/assets/{chunk-RYQCIY6F-CwQmwEV-.js → chunk-RYQCIY6F-C4zacxhH.js} +1 -1
- package/console-app/assets/{chunk-UBXNYLIW-D1Dn6ZK0.js → chunk-UBXNYLIW-7RthekQ-.js} +1 -1
- package/console-app/assets/{chunk-W5SLKNZC-DOkZHhST.js → chunk-W5SLKNZC-rq3UcMTy.js} +1 -1
- package/console-app/assets/{chunk-WRU74C26-CB4orIKm.js → chunk-WRU74C26-DUX-oZjQ.js} +1 -1
- package/console-app/assets/chunk-XXDRQBXY-gIL1rRSY.js +1 -0
- package/console-app/assets/classDiagram-JCYQIIEL-BwV1w5At.js +1 -0
- package/console-app/assets/classDiagram-v2-OCEON4UE-BwV1w5At.js +1 -0
- package/console-app/assets/{cose-bilkent-JH36ORCC-stBhaqpU.js → cose-bilkent-JH36ORCC-DZn35HFs.js} +1 -1
- package/console-app/assets/{cynefin-VYW2F7L2-Bb1nmKWZ.js → cynefin-VYW2F7L2-mZlOMKNi.js} +1 -1
- package/console-app/assets/{cynefinDiagram-MW4NZA55-Bp8fMJi-.js → cynefinDiagram-MW4NZA55-uUAfUoag.js} +1 -1
- package/console-app/assets/{dagre-DshmzimC.js → dagre-DfTmIhGN.js} +1 -1
- package/console-app/assets/{dagre-VZM6K2ZE-DIl1klf5.js → dagre-VZM6K2ZE-7oTddCss.js} +1 -1
- package/console-app/assets/{diagram-7IWD3JNH-DdkSOxKT.js → diagram-7IWD3JNH-D6TR4TlN.js} +1 -1
- package/console-app/assets/{diagram-B4RE2ZJO-9Dj9O4L8.js → diagram-B4RE2ZJO-BZwUFLzC.js} +1 -1
- package/console-app/assets/{diagram-LBJQPF4R-CxBb73tU.js → diagram-LBJQPF4R-B4Ug2xRo.js} +1 -1
- package/console-app/assets/{diagram-Q27KOJAE-CPpUmnvb.js → diagram-Q27KOJAE-Fpr_Cahs.js} +1 -1
- package/console-app/assets/{diagram-UB23O5K3-7wV_Db6W.js → diagram-UB23O5K3-d0X7PA-5.js} +1 -1
- package/console-app/assets/{ebnfDiagram-BXEA7PRR-Cxzbf8pk.js → ebnfDiagram-BXEA7PRR-DExP954c.js} +1 -1
- package/console-app/assets/{erDiagram-JOGREHBK-BBPLq83P.js → erDiagram-JOGREHBK-WdnXmG8f.js} +1 -1
- package/console-app/assets/eventmodeling-45OFAUF4-DXnDrAdV.js +1 -0
- package/console-app/assets/flowDiagram-UKHOOZJN-UixAvy5Z.js +1 -0
- package/console-app/assets/{ganttDiagram-PKOTCBZU-Erh7WK4H.js → ganttDiagram-PKOTCBZU-ADJHCyvl.js} +1 -1
- package/console-app/assets/{gitGraph-TEB2WS4Q-o5FLRF57.js → gitGraph-TEB2WS4Q-BPcXt1vK.js} +1 -1
- package/console-app/assets/{gitGraphDiagram-DS77QQ5N-BFbsaenX.js → gitGraphDiagram-DS77QQ5N-DFhenfUX.js} +1 -1
- package/console-app/assets/{index-w2ZoJr8X.js → index-BwP6EcJr.js} +184 -184
- package/console-app/assets/{info-DKCQHKI2-Dkcrdr1w.js → info-DKCQHKI2-BsE7egna.js} +1 -1
- package/console-app/assets/{infoDiagram-6WML65LV-iZVC5Wzy.js → infoDiagram-6WML65LV-BmVqXMw0.js} +1 -1
- package/console-app/assets/{ishikawaDiagram-WSZJBQD7-BjV8LLeA.js → ishikawaDiagram-WSZJBQD7-CdFTPIY5.js} +1 -1
- package/console-app/assets/{journeyDiagram-NVQOT4AX-D3rpLjYi.js → journeyDiagram-NVQOT4AX-DC8CKdJk.js} +1 -1
- package/console-app/assets/{kanban-definition-27J2QSJJ-Dds5TFyv.js → kanban-definition-27J2QSJJ-Bo7kRcLN.js} +1 -1
- package/console-app/assets/{line-D1rUAT18.js → line-5nUqh22u.js} +1 -1
- package/console-app/assets/{linear-fQ_6Sc79.js → linear-82KoPtTH.js} +1 -1
- package/console-app/assets/{mermaid-parser.core-B9Q-4IXF.js → mermaid-parser.core-R240ylPw.js} +3 -3
- package/console-app/assets/{mermaid.core-bPhADShw.js → mermaid.core-BZ3jSM6D.js} +4 -4
- package/console-app/assets/{mindmap-definition-FAOFIHXS-CULlU6Fy.js → mindmap-definition-FAOFIHXS-x1K54VeO.js} +1 -1
- package/console-app/assets/{packet-7NZHBO7P-DpwzoQpc.js → packet-7NZHBO7P-CE2Lun0t.js} +1 -1
- package/console-app/assets/{pegDiagram-VL7TDLO6-B9fKKc4F.js → pegDiagram-VL7TDLO6-CpGZYdUz.js} +1 -1
- package/console-app/assets/{pie-RZYD4A2V-DkXpqWAI.js → pie-RZYD4A2V-Hf5MOyY8.js} +1 -1
- package/console-app/assets/{pieDiagram-7S7Q4E2Y-Bcpn2rUM.js → pieDiagram-7S7Q4E2Y-0J5H7r7g.js} +1 -1
- package/console-app/assets/{quadrantDiagram-CIZ2JOQS-Bd5wWFj_.js → quadrantDiagram-CIZ2JOQS-DWtYi8O-.js} +1 -1
- package/console-app/assets/{radar-I7S5WNFK-ylw-u3HI.js → radar-I7S5WNFK-BgtvrX4w.js} +1 -1
- package/console-app/assets/{railroad-3IZDKUUU-D4LMucL-.js → railroad-3IZDKUUU-CeR0NhLL.js} +1 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-BEVU16-y.js +1 -0
- package/console-app/assets/railroad-ebnf-EBAXGLYW-WT4rrGXf.js +1 -0
- package/console-app/assets/railroad-peg-LSFZ7HO6-BnObCMjn.js +1 -0
- package/console-app/assets/{railroadDiagram-AXF67PYL-CZukQql9.js → railroadDiagram-AXF67PYL-CUIn_gPf.js} +1 -1
- package/console-app/assets/{requirementDiagram-LRYGKXZP-Ou4nRENK.js → requirementDiagram-LRYGKXZP-Ds9Aqcts.js} +1 -1
- package/console-app/assets/{sankeyDiagram-W5VNT64P-BKdG-c_o.js → sankeyDiagram-W5VNT64P-CKhuya4d.js} +1 -1
- package/console-app/assets/{sequenceDiagram-SI44F4Z6-Dc7d5obe.js → sequenceDiagram-SI44F4Z6-DKgOmdzz.js} +1 -1
- package/console-app/assets/{src-BFb2oeKx.js → src-DwHVY--Z.js} +1 -1
- package/console-app/assets/{stateDiagram-OKZ733FA-BA9fuN7b.js → stateDiagram-OKZ733FA-CPIfaZie.js} +1 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-DHcCmJ1C.js +1 -0
- package/console-app/assets/{swimlanes-SLNWSIFB-l-ETgM83.js → swimlanes-SLNWSIFB-8q3lK4RS.js} +1 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-B1uT0NiL.js +8 -0
- package/console-app/assets/{timeline-definition-Z64GVDOM-Uj_ByeVr.js → timeline-definition-Z64GVDOM-CHHi2Rpq.js} +1 -1
- package/console-app/assets/{treeView-QDETBFTQ-BvFRkVGY.js → treeView-QDETBFTQ-DrLHlsII.js} +1 -1
- package/console-app/assets/{treemap-6X3UGDF4-BV5T7Dw9.js → treemap-6X3UGDF4-C3saYKuK.js} +1 -1
- package/console-app/assets/{vennDiagram-T6HMQDX7-DAFU8gAo.js → vennDiagram-T6HMQDX7-CdyzNiAu.js} +1 -1
- package/console-app/assets/{wardley-OPB4EBWU-MLNuhuiA.js → wardley-OPB4EBWU-BSrymyse.js} +1 -1
- package/console-app/assets/{wardleyDiagram-T6FBY63Y-B1lCTfi1.js → wardleyDiagram-T6FBY63Y-CCW6rhEo.js} +1 -1
- package/console-app/assets/{xychartDiagram-ELKLHX3M-Bw3zhuWc.js → xychartDiagram-ELKLHX3M-BQvPaxzg.js} +1 -1
- package/console-app/index.html +1 -1
- package/dist/.pikku/addon/index.d.ts +1 -1
- package/dist/.pikku/addon/index.js +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
- package/dist/.pikku/agent/index.d.ts +1 -1
- package/dist/.pikku/agent/index.js +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/auth/index.d.ts +1 -1
- package/dist/.pikku/auth/index.js +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/channel/index.d.ts +1 -1
- package/dist/.pikku/channel/index.js +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/cli/index.d.ts +1 -1
- package/dist/.pikku/cli/index.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-contracts-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
- package/dist/.pikku/error/index.d.ts +1 -1
- package/dist/.pikku/error/index.js +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/function/index.d.ts +1 -1
- package/dist/.pikku/function/index.js +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +1 -1
- package/dist/.pikku/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/gateway/index.d.ts +1 -1
- package/dist/.pikku/gateway/index.js +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.d.ts +1 -1
- package/dist/.pikku/gateway/pikku-gateway-types.gen.js +1 -1
- package/dist/.pikku/http/index.d.ts +1 -1
- package/dist/.pikku/http/index.js +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/mcp/index.d.ts +1 -1
- package/dist/.pikku/mcp/index.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/middleware/index.d.ts +1 -1
- package/dist/.pikku/middleware/index.js +1 -1
- package/dist/.pikku/middleware/pikku-middleware-types.gen.d.ts +1 -1
- package/dist/.pikku/middleware/pikku-middleware-types.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +1 -1
- package/dist/.pikku/queue/index.d.ts +1 -1
- package/dist/.pikku/queue/index.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/scenarios/index.d.ts +1 -1
- package/dist/.pikku/scenarios/index.js +1 -1
- package/dist/.pikku/scenarios/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-types.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/scheduler/index.d.ts +1 -1
- package/dist/.pikku/scheduler/index.js +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +1 -1
- package/dist/.pikku/scopes/index.d.ts +1 -1
- package/dist/.pikku/scopes/index.js +1 -1
- package/dist/.pikku/scopes/pikku-personas.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/secrets/index.d.ts +1 -1
- package/dist/.pikku/secrets/index.js +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/setup/index.d.ts +1 -1
- package/dist/.pikku/setup/index.js +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/trigger/index.d.ts +1 -1
- package/dist/.pikku/trigger/index.js +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/variables/index.d.ts +1 -1
- package/dist/.pikku/variables/index.js +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/workflow/index.d.ts +1 -1
- package/dist/.pikku/workflow/index.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +2 -2
- package/dist/src/fabric/functions/validate.function.js +22 -2
- package/dist/src/functions/wirings/agent/serialize-public-agent.js +7 -19
- package/dist/src/functions/wirings/console/serialize-console-functions.js +3 -12
- package/dist/src/functions/wirings/emails/serialize-emails.d.ts +10 -0
- package/dist/src/functions/wirings/emails/serialize-emails.js +30 -173
- package/dist/src/functions/wirings/virtual-user/serialize-virtual-user-functions.js +171 -405
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +7 -7
- package/dist/src/functions/wirings/workflow/serialize-workflow-routes.js +11 -148
- package/dist/src/utils/pikku-cli-config.d.ts +18 -0
- package/dist/src/utils/pikku-cli-config.js +39 -0
- package/package.json +6 -6
- package/surface.json +2 -2
- package/console-app/assets/architecture-TIHT7OUA-FMO1RByN.js +0 -1
- package/console-app/assets/channel-Dp8A5NJg.js +0 -1
- package/console-app/assets/chunk-XXDRQBXY-BMybY6E-.js +0 -1
- package/console-app/assets/classDiagram-JCYQIIEL-C-K-UAUR.js +0 -1
- package/console-app/assets/classDiagram-v2-OCEON4UE-C-K-UAUR.js +0 -1
- package/console-app/assets/eventmodeling-45OFAUF4-CLUnygIv.js +0 -1
- package/console-app/assets/flowDiagram-UKHOOZJN-D3mDcWWx.js +0 -1
- package/console-app/assets/railroad-abnf-AHOZXSZD-CRTVzK1g.js +0 -1
- package/console-app/assets/railroad-ebnf-EBAXGLYW-CB13ugAF.js +0 -1
- package/console-app/assets/railroad-peg-LSFZ7HO6-AN8zyQYp.js +0 -1
- package/console-app/assets/stateDiagram-v2-UEYNNEHI-D13a6mUd.js +0 -1
- package/console-app/assets/swimlanesDiagram-ULZ7WXOC-BsC-B2Z9.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { pikkuSessionlessFunc } from '#pikku/function';
|
|
2
|
-
import { ErrorCode } from '@pikku/inspector';
|
|
2
|
+
import { ErrorCode, resolveCoreType } from '@pikku/inspector';
|
|
3
3
|
import { writeFileInDir } from '../../../utils/file-writer.js';
|
|
4
4
|
import { logCommandInfoAndTime } from '../../../middleware/log-command-info-and-time.js';
|
|
5
5
|
import { serializeWorkflowTypes } from './serialize-workflow-types.js';
|
|
@@ -42,14 +42,14 @@ export const pikkuWorkflow = pikkuSessionlessFunc({
|
|
|
42
42
|
// deployed server.
|
|
43
43
|
const { appNames, scenarioNames, appFiles, scenarioFiles } = partitionScenarioWorkflows(allWorkflowNames, workflows.files, workflows.graphMeta);
|
|
44
44
|
if (hasWorkflows) {
|
|
45
|
+
const fallbackType = visitState.typesLookup
|
|
46
|
+
? resolveCoreType(visitState.typesLookup, visitState.singletonServicesTypeImportMap)
|
|
47
|
+
: undefined;
|
|
45
48
|
const singletonServices = visitState.serviceAggregation.allSingletonServices.length > 0
|
|
46
49
|
? visitState.serviceAggregation.allSingletonServices
|
|
47
|
-
:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
.getProperties()
|
|
51
|
-
.map((symbol) => symbol.getName())
|
|
52
|
-
: [];
|
|
50
|
+
: (fallbackType
|
|
51
|
+
?.getProperties()
|
|
52
|
+
.map((symbol) => symbol.getName()) ?? []);
|
|
53
53
|
const hasWorkflowState = singletonServices.includes('workflowService');
|
|
54
54
|
if (!hasWorkflowState) {
|
|
55
55
|
logger.critical(ErrorCode.WORKFLOW_ORCHESTRATOR_NOT_CONFIGURED, 'Workflows detected but workflowService service not configured. Please add workflowService to your singleton services');
|
|
@@ -36,7 +36,10 @@ export const Acknowledged = z.object({ ok: z.literal(true) })
|
|
|
36
36
|
import { pikkuSessionlessFunc } from '${leaf('function')}'
|
|
37
37
|
import { wireHTTPRoutes } from '${leaf('http')}'
|
|
38
38
|
import { MissingServiceError } from '@pikku/core/errors'
|
|
39
|
-
import {
|
|
39
|
+
import {
|
|
40
|
+
assertWorkflowRunOwner,
|
|
41
|
+
streamWorkflowRunStatus,
|
|
42
|
+
} from '@pikku/core/workflow'
|
|
40
43
|
import {
|
|
41
44
|
WorkflowStart,
|
|
42
45
|
WorkflowRunRef,
|
|
@@ -103,78 +106,7 @@ export const workflowStatusStream = pikkuSessionlessFunc({
|
|
|
103
106
|
func: async ({ workflowRunService }, { runId }, { channel, session }) => {
|
|
104
107
|
assertWorkflowRunService(workflowRunService)
|
|
105
108
|
if (!channel) return
|
|
106
|
-
|
|
107
|
-
const terminalStatuses = new Set(['completed', 'failed', 'cancelled'])
|
|
108
|
-
let lastHash = ''
|
|
109
|
-
let initSent = false
|
|
110
|
-
|
|
111
|
-
const poll = async () => {
|
|
112
|
-
const run = await workflowRunService.getRun(runId)
|
|
113
|
-
if (!run) {
|
|
114
|
-
channel.close()
|
|
115
|
-
return false
|
|
116
|
-
}
|
|
117
|
-
assertWorkflowRunOwner(run.wire, session)
|
|
118
|
-
|
|
119
|
-
const steps = await workflowRunService.getRunSteps(runId)
|
|
120
|
-
|
|
121
|
-
if (!initSent && run.deterministic) {
|
|
122
|
-
const statusByStep = new Map(
|
|
123
|
-
steps.map((s: { stepName: string; status: string }) => [
|
|
124
|
-
s.stepName,
|
|
125
|
-
s.status,
|
|
126
|
-
])
|
|
127
|
-
)
|
|
128
|
-
channel.send({
|
|
129
|
-
type: 'init',
|
|
130
|
-
deterministic: true,
|
|
131
|
-
steps: (run.plannedSteps ?? []).map(
|
|
132
|
-
(s: { stepName: string }) => ({
|
|
133
|
-
stepName: s.stepName,
|
|
134
|
-
status: statusByStep.get(s.stepName) ?? 'pending',
|
|
135
|
-
})
|
|
136
|
-
),
|
|
137
|
-
})
|
|
138
|
-
initSent = true
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
const hash = JSON.stringify({
|
|
142
|
-
s: run.status,
|
|
143
|
-
steps: steps.map((s: { stepName: string; status: string }) => [s.stepName, s.status]),
|
|
144
|
-
})
|
|
145
|
-
|
|
146
|
-
if (hash !== lastHash) {
|
|
147
|
-
lastHash = hash
|
|
148
|
-
channel.send({
|
|
149
|
-
type: 'update',
|
|
150
|
-
status: run.status,
|
|
151
|
-
steps: steps.map((s: { stepName: string; status: string }) => ({
|
|
152
|
-
stepName: s.stepName,
|
|
153
|
-
status: s.status,
|
|
154
|
-
})),
|
|
155
|
-
})
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
if (terminalStatuses.has(run.status)) {
|
|
159
|
-
channel.send({ type: 'done' })
|
|
160
|
-
channel.close()
|
|
161
|
-
return false
|
|
162
|
-
}
|
|
163
|
-
return true
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
const shouldContinue = await poll()
|
|
167
|
-
if (!shouldContinue) return
|
|
168
|
-
|
|
169
|
-
await new Promise<void>((resolve) => {
|
|
170
|
-
const interval = setInterval(async () => {
|
|
171
|
-
const cont = await poll()
|
|
172
|
-
if (!cont) {
|
|
173
|
-
clearInterval(interval)
|
|
174
|
-
resolve()
|
|
175
|
-
}
|
|
176
|
-
}, 500)
|
|
177
|
-
})
|
|
109
|
+
await streamWorkflowRunStatus({ workflowRunService, runId, channel, session })
|
|
178
110
|
},
|
|
179
111
|
})
|
|
180
112
|
|
|
@@ -189,81 +121,12 @@ export const workflowStatusStreamFull = pikkuSessionlessFunc({
|
|
|
189
121
|
func: async ({ workflowRunService }, { runId }, { channel, session }) => {
|
|
190
122
|
assertWorkflowRunService(workflowRunService)
|
|
191
123
|
if (!channel) return
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
const run = await workflowRunService.getRun(runId)
|
|
199
|
-
if (!run) {
|
|
200
|
-
channel.close()
|
|
201
|
-
return false
|
|
202
|
-
}
|
|
203
|
-
assertWorkflowRunOwner(run.wire, session)
|
|
204
|
-
|
|
205
|
-
const steps = await workflowRunService.getRunSteps(runId)
|
|
206
|
-
|
|
207
|
-
if (!initSent && run.deterministic) {
|
|
208
|
-
const statusByStep = new Map(
|
|
209
|
-
steps.map((s: { stepName: string; status: string }) => [
|
|
210
|
-
s.stepName,
|
|
211
|
-
s.status,
|
|
212
|
-
])
|
|
213
|
-
)
|
|
214
|
-
channel.send({
|
|
215
|
-
type: 'init',
|
|
216
|
-
deterministic: true,
|
|
217
|
-
steps: (run.plannedSteps ?? []).map(
|
|
218
|
-
(s: { stepName: string }) => ({
|
|
219
|
-
stepName: s.stepName,
|
|
220
|
-
status: statusByStep.get(s.stepName) ?? 'pending',
|
|
221
|
-
})
|
|
222
|
-
),
|
|
223
|
-
})
|
|
224
|
-
initSent = true
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
const hash = JSON.stringify({
|
|
228
|
-
s: run.status,
|
|
229
|
-
o: run.output,
|
|
230
|
-
steps: steps.map((s: { stepName: string; status: string }) => [s.stepName, s.status]),
|
|
231
|
-
})
|
|
232
|
-
|
|
233
|
-
if (hash !== lastHash) {
|
|
234
|
-
lastHash = hash
|
|
235
|
-
channel.send({
|
|
236
|
-
type: 'update',
|
|
237
|
-
status: run.status,
|
|
238
|
-
output: run.output,
|
|
239
|
-
error: run.error,
|
|
240
|
-
steps: steps.map((s: { stepName: string; status: string; childRunId?: string }) => ({
|
|
241
|
-
stepName: s.stepName,
|
|
242
|
-
status: s.status,
|
|
243
|
-
...(s.childRunId ? { childRunId: s.childRunId } : {}),
|
|
244
|
-
})),
|
|
245
|
-
})
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
if (terminalStatuses.has(run.status)) {
|
|
249
|
-
channel.send({ type: 'done' })
|
|
250
|
-
channel.close()
|
|
251
|
-
return false
|
|
252
|
-
}
|
|
253
|
-
return true
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
const shouldContinue = await poll()
|
|
257
|
-
if (!shouldContinue) return
|
|
258
|
-
|
|
259
|
-
await new Promise<void>((resolve) => {
|
|
260
|
-
const interval = setInterval(async () => {
|
|
261
|
-
const cont = await poll()
|
|
262
|
-
if (!cont) {
|
|
263
|
-
clearInterval(interval)
|
|
264
|
-
resolve()
|
|
265
|
-
}
|
|
266
|
-
}, 500)
|
|
124
|
+
await streamWorkflowRunStatus({
|
|
125
|
+
workflowRunService,
|
|
126
|
+
runId,
|
|
127
|
+
channel,
|
|
128
|
+
session,
|
|
129
|
+
detailed: true,
|
|
267
130
|
})
|
|
268
131
|
},
|
|
269
132
|
})
|
|
@@ -25,4 +25,22 @@ export { PikkuCLIConfigError };
|
|
|
25
25
|
* bundle. Nothing downstream can detect it, so it is rejected here.
|
|
26
26
|
*/
|
|
27
27
|
export declare const assertSchemaDirectoriesAreDistinct: (config: Pick<PikkuCLIConfig, "schemaDirectory" | "scenarioSchemaDirectory">) => void;
|
|
28
|
+
/**
|
|
29
|
+
* The `locale` a project gets when its config does not name one.
|
|
30
|
+
*
|
|
31
|
+
* English, and it stays English for almost every project — the field changes
|
|
32
|
+
* what the Console reads back to a human, not who the product is for.
|
|
33
|
+
*/
|
|
34
|
+
export declare const DEFAULT_LOCALE = "en";
|
|
35
|
+
/**
|
|
36
|
+
* `locale` is handed on to codegen and the Console as a language tag, so a
|
|
37
|
+
* value they cannot interpret is worse than none: it degrades quietly to "some
|
|
38
|
+
* language" a long way from the line that is wrong. `Intl.getCanonicalLocales`
|
|
39
|
+
* is the BCP-47 grammar Node already ships, and it catches the mistake people
|
|
40
|
+
* actually make — `de_DE` with a POSIX underscore where BCP-47 wants `de-DE`.
|
|
41
|
+
*
|
|
42
|
+
* It returns the canonical spelling rather than what was typed, so `EN-gb` and
|
|
43
|
+
* `en-GB` are one value downstream instead of two that never compare equal.
|
|
44
|
+
*/
|
|
45
|
+
export declare const normalizeLocale: (locale: unknown) => string;
|
|
28
46
|
export declare const validateCLIConfig: (cliConfig: PikkuCLIConfig, required: Array<keyof PikkuCLIConfig>) => void;
|
|
@@ -80,6 +80,44 @@ export const assertSchemaDirectoriesAreDistinct = (config) => {
|
|
|
80
80
|
throw new PikkuCLIConfigError(`scenarioSchemaDirectory must not be the same directory as schemaDirectory (both resolve to ${resolve(schemaDirectory)}). Scenario schemas are written with their own register, which would replace the application one.`);
|
|
81
81
|
}
|
|
82
82
|
};
|
|
83
|
+
/**
|
|
84
|
+
* The `locale` a project gets when its config does not name one.
|
|
85
|
+
*
|
|
86
|
+
* English, and it stays English for almost every project — the field changes
|
|
87
|
+
* what the Console reads back to a human, not who the product is for.
|
|
88
|
+
*/
|
|
89
|
+
export const DEFAULT_LOCALE = 'en';
|
|
90
|
+
/**
|
|
91
|
+
* `locale` is handed on to codegen and the Console as a language tag, so a
|
|
92
|
+
* value they cannot interpret is worse than none: it degrades quietly to "some
|
|
93
|
+
* language" a long way from the line that is wrong. `Intl.getCanonicalLocales`
|
|
94
|
+
* is the BCP-47 grammar Node already ships, and it catches the mistake people
|
|
95
|
+
* actually make — `de_DE` with a POSIX underscore where BCP-47 wants `de-DE`.
|
|
96
|
+
*
|
|
97
|
+
* It returns the canonical spelling rather than what was typed, so `EN-gb` and
|
|
98
|
+
* `en-GB` are one value downstream instead of two that never compare equal.
|
|
99
|
+
*/
|
|
100
|
+
export const normalizeLocale = (locale) => {
|
|
101
|
+
if (locale === undefined || locale === null) {
|
|
102
|
+
return DEFAULT_LOCALE;
|
|
103
|
+
}
|
|
104
|
+
if (typeof locale === 'string') {
|
|
105
|
+
try {
|
|
106
|
+
const [canonical] = Intl.getCanonicalLocales(locale.trim());
|
|
107
|
+
if (canonical) {
|
|
108
|
+
return canonical;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
catch {
|
|
112
|
+
// Falls through to the shared error below — the reader needs the same
|
|
113
|
+
// explanation whether the tag was malformed or the wrong type entirely.
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
throw new PikkuCLIConfigError(`locale in pikku.config.json is not a language tag: ${JSON.stringify(locale)}. ` +
|
|
117
|
+
`Use a BCP-47 code — "en", "de", "pt-BR" — with a hyphen rather than an underscore. ` +
|
|
118
|
+
`It sets the language of the meta the Console renders back to your team (function and step descriptions, feature and scenario names). ` +
|
|
119
|
+
`Identifiers stay English regardless, and the language the app speaks to its users is defaultLocale in active.json, not this.`);
|
|
120
|
+
};
|
|
83
121
|
const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields, exitProcess = false, outDirOverride) => {
|
|
84
122
|
if (!configFile) {
|
|
85
123
|
configFile = await findConfigFile();
|
|
@@ -714,6 +752,7 @@ const _getPikkuCLIConfig = async (logger, configFile = undefined, requiredFields
|
|
|
714
752
|
if (!isAbsolute(result.tsconfig)) {
|
|
715
753
|
result.tsconfig = join(result.rootDir, result.tsconfig);
|
|
716
754
|
}
|
|
755
|
+
result.locale = normalizeLocale(result.locale);
|
|
717
756
|
assertSchemaDirectoriesAreDistinct(result);
|
|
718
757
|
if (result.addon) {
|
|
719
758
|
const packageJsonPath = join(result.rootDir, 'package.json');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.121",
|
|
4
4
|
"description": "Pikku CLI — code generation, dev server, migrations and deployment",
|
|
5
5
|
"author": "yasser.fadl@gmail.com",
|
|
6
6
|
"license": "BUSL-1.1",
|
|
@@ -31,20 +31,20 @@
|
|
|
31
31
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
32
32
|
"@openapi-contrib/json-schema-to-openapi-schema": "^4.3.4",
|
|
33
33
|
"@pikku/ai-vercel": "^0.12.13",
|
|
34
|
-
"@pikku/better-auth": "^0.12.
|
|
34
|
+
"@pikku/better-auth": "^0.12.31",
|
|
35
35
|
"@pikku/bun-server": "^0.12.9",
|
|
36
36
|
"@pikku/code-edit": "^0.12.1",
|
|
37
37
|
"@pikku/deploy": "^0.12.1",
|
|
38
38
|
"@pikku/deploy-cloudflare": "^0.12.13",
|
|
39
39
|
"@pikku/fetch": "^0.12.9",
|
|
40
|
-
"@pikku/inspector": "^0.12.
|
|
40
|
+
"@pikku/inspector": "^0.12.65",
|
|
41
41
|
"@pikku/knowledge": "^0.12.7",
|
|
42
42
|
"@pikku/kysely": "^0.13.22",
|
|
43
43
|
"@pikku/n8n-import": "^0.0.7",
|
|
44
44
|
"@pikku/node-http-server": "^0.12.11",
|
|
45
45
|
"@pikku/openapi-parser": "^0.12.20",
|
|
46
46
|
"@pikku/schedule": "^0.12.7",
|
|
47
|
-
"@pikku/skills": "^0.12.
|
|
47
|
+
"@pikku/skills": "^0.12.17",
|
|
48
48
|
"@types/cookie": "^1.0.0",
|
|
49
49
|
"@types/json-schema": "^7.0.15",
|
|
50
50
|
"ai": "^7.0.66",
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
"zod-to-ts": "^2.1.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@pikku/core": "^0.12.
|
|
70
|
+
"@pikku/core": "^0.12.95",
|
|
71
71
|
"@pikku/playwright": "^0.12.79",
|
|
72
72
|
"@pikku/ws": "^0.12.9",
|
|
73
73
|
"better-auth": "^1.6.0",
|
|
74
74
|
"ws": "^8.21.3"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@pikku/core": "^0.12.
|
|
77
|
+
"@pikku/core": "^0.12.95",
|
|
78
78
|
"@pikku/playwright": "^0.12.79",
|
|
79
79
|
"@pikku/ws": "^0.12.9",
|
|
80
80
|
"@playwright/test": "^1.50.0",
|
package/surface.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.12.
|
|
2
|
+
"version": "0.12.121",
|
|
3
3
|
"entryPoints": [
|
|
4
4
|
{
|
|
5
5
|
"id": "app",
|
|
@@ -3706,7 +3706,7 @@
|
|
|
3706
3706
|
"doc": "Unique across the project. It is how the graph is started and how its runs are grouped."
|
|
3707
3707
|
},
|
|
3708
3708
|
{
|
|
3709
|
-
"line": "nodes: Record<string,
|
|
3709
|
+
"line": "nodes: Record<string, 108 names (pikku meta)>",
|
|
3710
3710
|
"doc": "The graph's steps, keyed by node id, each naming a function. `pikku meta` lists the names available here."
|
|
3711
3711
|
},
|
|
3712
3712
|
{
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-BICK3FdT.js";import{M as e}from"./mermaid-parser.core-B9Q-4IXF.js";export{e as createArchitectureServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{at as e,ot as t}from"./chunk-I66GZJ75-dckv50K3.js";var n=(n,r)=>t.lang.round(e.parse(n)[r]);export{n as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{p as e}from"./index-w2ZoJr8X.js";import{n as t}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./src-BFb2oeKx.js";var n=t((t,n)=>{let r;return n===`sandbox`&&(r=e(`#i`+t)),e(n===`sandbox`?r.nodes()[0].contentDocument.body:`body`).select(`[id="${t}"]`)},`getDiagramElement`);export{n as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./src-BFb2oeKx.js";import"./chunk-I66GZJ75-dckv50K3.js";import"./chunk-NSK5VX7P-tGAl7zxF.js";import"./chunk-4I5QYGJK-D_DINIPO.js";import"./chunk-WRU74C26-CB4orIKm.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-UBXNYLIW-D1Dn6ZK0.js";import"./chunk-2GRJ4B5K-C68TKOLb.js";import"./chunk-XXDRQBXY-BMybY6E-.js";import"./chunk-KBJHAD2P-lknhmPj0.js";import"./chunk-W5SLKNZC-DOkZHhST.js";import"./chunk-QR6OTTB3-BlSKCrEq.js";import"./chunk-7Z6QIM7H-Bnih6HyS.js";import{i as t,n,r,t as i}from"./chunk-GF5L2VYU-C5efrbFt.js";import"./mermaid.core-bPhADShw.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./src-BFb2oeKx.js";import"./chunk-I66GZJ75-dckv50K3.js";import"./chunk-NSK5VX7P-tGAl7zxF.js";import"./chunk-4I5QYGJK-D_DINIPO.js";import"./chunk-WRU74C26-CB4orIKm.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-UBXNYLIW-D1Dn6ZK0.js";import"./chunk-2GRJ4B5K-C68TKOLb.js";import"./chunk-XXDRQBXY-BMybY6E-.js";import"./chunk-KBJHAD2P-lknhmPj0.js";import"./chunk-W5SLKNZC-DOkZHhST.js";import"./chunk-QR6OTTB3-BlSKCrEq.js";import"./chunk-7Z6QIM7H-Bnih6HyS.js";import{i as t,n,r,t as i}from"./chunk-GF5L2VYU-C5efrbFt.js";import"./mermaid.core-bPhADShw.js";var a={parser:n,get db(){return new i},renderer:r,styles:t,init:e(e=>{e.class||={},e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-BICK3FdT.js";import{O as e}from"./mermaid-parser.core-B9Q-4IXF.js";export{e as createEventModelingServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./src-BFb2oeKx.js";import"./chunk-I66GZJ75-dckv50K3.js";import"./chunk-NSK5VX7P-tGAl7zxF.js";import"./chunk-4I5QYGJK-D_DINIPO.js";import"./chunk-WRU74C26-CB4orIKm.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-UBXNYLIW-D1Dn6ZK0.js";import"./chunk-2GRJ4B5K-C68TKOLb.js";import"./chunk-XXDRQBXY-BMybY6E-.js";import"./chunk-KBJHAD2P-lknhmPj0.js";import"./chunk-W5SLKNZC-DOkZHhST.js";import"./chunk-QR6OTTB3-BlSKCrEq.js";import"./chunk-7Z6QIM7H-Bnih6HyS.js";import{n as e}from"./chunk-JQJVKLGR-HirBo6LQ.js";import"./mermaid.core-bPhADShw.js";export{e as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-BICK3FdT.js";import{m as e}from"./mermaid-parser.core-B9Q-4IXF.js";export{e as createRailroadAbnfServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-BICK3FdT.js";import{f as e}from"./mermaid-parser.core-B9Q-4IXF.js";export{e as createRailroadEbnfServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./chunk-KEIR6QF5-BICK3FdT.js";import{u as e}from"./mermaid-parser.core-B9Q-4IXF.js";export{e as createRailroadPegServices};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./src-BFb2oeKx.js";import"./chunk-I66GZJ75-dckv50K3.js";import"./chunk-NSK5VX7P-tGAl7zxF.js";import"./chunk-4I5QYGJK-D_DINIPO.js";import"./chunk-WRU74C26-CB4orIKm.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-UBXNYLIW-D1Dn6ZK0.js";import"./chunk-2GRJ4B5K-C68TKOLb.js";import"./chunk-XXDRQBXY-BMybY6E-.js";import"./chunk-KBJHAD2P-lknhmPj0.js";import"./chunk-W5SLKNZC-DOkZHhST.js";import"./chunk-QR6OTTB3-BlSKCrEq.js";import"./chunk-7Z6QIM7H-Bnih6HyS.js";import{i as t,n,r,t as i}from"./chunk-5RXB4S5H-D8mEuiea.js";import"./mermaid.core-bPhADShw.js";var a={parser:n,get db(){return new i(2)},renderer:r,styles:t,init:e(e=>{e.state||={},e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},`init`)};export{a as diagram};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import"./src-BFb2oeKx.js";import"./chunk-I66GZJ75-dckv50K3.js";import"./chunk-NSK5VX7P-tGAl7zxF.js";import"./chunk-4I5QYGJK-D_DINIPO.js";import"./chunk-WRU74C26-CB4orIKm.js";import"./chunk-7BUUIJ7U-Bb538aSH.js";import"./chunk-UBXNYLIW-D1Dn6ZK0.js";import"./chunk-2GRJ4B5K-C68TKOLb.js";import"./chunk-XXDRQBXY-BMybY6E-.js";import"./chunk-KBJHAD2P-lknhmPj0.js";import"./chunk-W5SLKNZC-DOkZHhST.js";import"./chunk-QR6OTTB3-BlSKCrEq.js";import"./chunk-7Z6QIM7H-Bnih6HyS.js";import{r as t,t as n}from"./chunk-JQJVKLGR-HirBo6LQ.js";import"./mermaid.core-bPhADShw.js";var r=n({defaultLayout:`swimlane`,styles:e(e=>`${t(e)}
|
|
2
|
-
.swimlane.cluster rect {
|
|
3
|
-
stroke: ${e.clusterBorder} !important;
|
|
4
|
-
}
|
|
5
|
-
[data-look="neo"].cluster rect {
|
|
6
|
-
filter: none;
|
|
7
|
-
}
|
|
8
|
-
`,`getStyles`)});export{r as diagram};
|