@pikku/cli 0.11.1 → 0.11.3
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/.pikku/channel/pikku-channel-types.gen.ts +73 -17
- package/.pikku/channel/pikku-channels-map.gen.d.ts +11 -11
- package/.pikku/channel/pikku-channels-meta.gen.json +1 -0
- package/.pikku/channel/pikku-channels-meta.gen.ts +4 -2
- package/.pikku/channel/pikku-channels.gen.ts +1 -1
- package/.pikku/cli/pikku-cli-channel.ts +2 -2
- package/.pikku/cli/pikku-cli-client.gen.ts +1 -3
- package/.pikku/cli/pikku-cli-types.gen.ts +3 -3
- package/.pikku/cli/pikku-cli-wirings-meta.gen.json +147 -0
- package/.pikku/cli/pikku-cli-wirings-meta.gen.ts +4 -157
- package/.pikku/cli/pikku-cli-wirings.gen.ts +3 -3
- package/.pikku/cli/pikku-cli.gen.ts +3 -3
- package/.pikku/forge/pikku-forge-types.gen.ts +83 -0
- package/.pikku/function/pikku-function-types.gen.ts +223 -91
- package/.pikku/function/pikku-functions-meta-verbose.gen.json +1030 -0
- package/.pikku/function/pikku-functions-meta.gen.json +656 -0
- package/.pikku/function/pikku-functions-meta.gen.ts +4 -970
- package/.pikku/http/pikku-http-types.gen.ts +20 -4
- package/.pikku/http/pikku-http-wirings-map.gen.d.ts +11 -11
- package/.pikku/http/pikku-http-wirings-meta.gen.json +9 -0
- package/.pikku/http/pikku-http-wirings-meta.gen.ts +4 -10
- package/.pikku/http/pikku-http-wirings.gen.ts +1 -1
- package/.pikku/mcp/pikku-mcp-types.gen.ts +72 -20
- package/.pikku/mcp/pikku-mcp-wirings-meta.gen.json +5 -0
- package/.pikku/mcp/pikku-mcp-wirings-meta.gen.ts +6 -4
- package/.pikku/mcp/pikku-mcp-wirings.gen.ts +1 -1
- package/.pikku/pikku-bootstrap.gen.ts +7 -12
- package/.pikku/pikku-services.gen.ts +6 -7
- package/.pikku/pikku-types.gen.ts +4 -1
- package/.pikku/pikku-websocket.gen.ts +1 -1
- package/.pikku/queue/pikku-queue-types.gen.ts +2 -2
- package/.pikku/queue/pikku-queue-workers-wirings-map.gen.d.ts +11 -11
- package/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +1 -0
- package/.pikku/queue/pikku-queue-workers-wirings-meta.gen.ts +5 -7
- package/.pikku/queue/pikku-queue-workers-wirings.gen.ts +1 -1
- package/.pikku/rpc/pikku-remote-rpc-workers.gen.ts +5 -2
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +19 -14
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +46 -39
- package/.pikku/scheduler/pikku-scheduler-types.gen.ts +2 -2
- package/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.json +1 -0
- package/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.ts +5 -2
- package/.pikku/scheduler/pikku-schedulers-wirings.gen.ts +1 -1
- package/.pikku/schemas/register.gen.ts +31 -23
- package/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuCLIOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuChannelsOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuForgeNodesOutput.schema.json +1 -0
- package/.pikku/schemas/schemas/PikkuFunctionsOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuHTTPOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuMCPOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuMiddlewareOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuPackageOutput.schema.json +1 -0
- package/.pikku/schemas/schemas/PikkuPermissionsOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuPublicRPCOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuQueueOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuRPCOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuRemoteRPCOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuSchedulerOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuSchemasOutput.schema.json +1 -1
- package/.pikku/schemas/schemas/PikkuWorkflowOutput.schema.json +1 -1
- package/.pikku/services/config.gen.json +104 -0
- package/.pikku/services/getInspectorState.gen.json +10 -0
- package/.pikku/services/jwt.gen.json +13 -0
- package/.pikku/services/logger.gen.json +25 -0
- package/.pikku/services/queueService.gen.json +14 -0
- package/.pikku/services/schedulerService.gen.json +17 -0
- package/.pikku/services/schema.gen.json +14 -0
- package/.pikku/services/secrets.gen.json +13 -0
- package/.pikku/services/variables.gen.json +13 -0
- package/.pikku/services/workflowService.gen.json +31 -0
- package/.pikku/workflow/pikku-workflow-map.gen.d.ts +2 -36
- package/.pikku/workflow/pikku-workflow-types.gen.ts +305 -48
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +6 -2
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -2
- package/CHANGELOG.md +44 -1
- package/bin/pikku.ts +6 -32
- package/build.sh +53 -31
- package/cli.schema.json +1 -1
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +51 -10
- package/dist/.pikku/channel/pikku-channel-types.gen.js +3 -13
- package/dist/.pikku/channel/pikku-channels-meta.gen.js +3 -2
- package/dist/.pikku/channel/pikku-channels-meta.gen.json +1 -0
- package/dist/.pikku/channel/pikku-channels.gen.d.ts +1 -1
- package/dist/.pikku/channel/pikku-channels.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-channel.js +2 -2
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.js +1 -3
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +3 -3
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +3 -157
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +147 -0
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +2 -2
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +2 -2
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +3 -3
- package/dist/.pikku/forge/pikku-forge-types.gen.d.ts +72 -0
- package/dist/.pikku/forge/pikku-forge-types.gen.js +55 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +141 -99
- package/dist/.pikku/function/pikku-function-types.gen.js +52 -62
- package/dist/.pikku/function/pikku-functions-meta.gen.js +3 -969
- package/dist/.pikku/function/pikku-functions-meta.gen.json +656 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +19 -4
- package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.js +3 -10
- package/dist/.pikku/http/pikku-http-wirings-meta.gen.json +9 -0
- package/dist/.pikku/http/pikku-http-wirings.gen.d.ts +1 -1
- package/dist/.pikku/http/pikku-http-wirings.gen.js +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +57 -17
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +7 -31
- package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.js +5 -4
- package/dist/.pikku/mcp/pikku-mcp-wirings-meta.gen.json +5 -0
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-wirings.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +7 -12
- package/dist/.pikku/pikku-bootstrap.gen.js +7 -12
- package/dist/.pikku/pikku-services.gen.d.ts +5 -7
- package/dist/.pikku/pikku-services.gen.js +3 -5
- package/dist/.pikku/pikku-types.gen.d.ts +2 -1
- package/dist/.pikku/pikku-types.gen.js +3 -1
- package/dist/.pikku/pikku-websocket.gen.d.ts +1 -1
- package/dist/.pikku/pikku-websocket.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +2 -2
- package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.js +3 -7
- package/dist/.pikku/queue/pikku-queue-workers-wirings-meta.gen.json +1 -0
- 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-remote-rpc-workers.gen.d.ts +9 -9
- package/dist/.pikku/rpc/pikku-remote-rpc-workers.gen.js +5 -2
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +2 -2
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.js +3 -2
- package/dist/.pikku/scheduler/pikku-schedulers-wirings-meta.gen.json +1 -0
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/scheduler/pikku-schedulers-wirings.gen.js +1 -1
- package/dist/.pikku/schemas/register.gen.js +19 -15
- package/dist/.pikku/schemas/schemas/PikkuCLIConfig.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuCLIOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuChannelsOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuForgeNodesOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuFunctionsOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuHTTPOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuMCPOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuMiddlewareOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuPackageOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/PikkuPermissionsOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuPublicRPCOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuQueueOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuRPCOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuRemoteRPCOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuSchedulerOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuSchemasOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PikkuWorkflowOutput.schema.json +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +213 -39
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +106 -16
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +3 -2
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -2
- package/dist/bin/pikku.js +5 -26
- package/dist/src/cli.wiring.js +4 -4
- package/dist/src/functions/commands/all.js +172 -94
- package/dist/src/functions/commands/bootstrap.js +21 -16
- package/dist/src/functions/commands/watch.js +6 -3
- package/dist/src/functions/runtimes/nextjs/pikku-command-nextjs.js +12 -8
- package/dist/src/functions/runtimes/nextjs/serialize-nextjs-backend-wrapper.d.ts +1 -1
- package/dist/src/functions/runtimes/nextjs/serialize-nextjs-backend-wrapper.js +74 -22
- package/dist/src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.d.ts +1 -1
- package/dist/src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.js +72 -20
- package/dist/src/functions/wirings/channels/pikku-channels.js +9 -2
- package/dist/src/functions/wirings/channels/pikku-command-channels.js +18 -2
- package/dist/src/functions/wirings/channels/serialize-channel-types.js +72 -16
- package/dist/src/functions/wirings/channels/serialize-typed-channel-map.js +1 -2
- package/dist/src/functions/wirings/cli/pikku-command-cli-entry.js +4 -4
- package/dist/src/functions/wirings/cli/pikku-command-cli-types.js +1 -1
- package/dist/src/functions/wirings/cli/pikku-command-cli.js +17 -3
- package/dist/src/functions/wirings/cli/serialize-channel-cli.js +1 -1
- package/dist/src/functions/wirings/cli/serialize-cli-types.js +2 -2
- package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.d.ts +1 -1
- package/dist/src/functions/wirings/cli/serialize-local-cli-bootstrap.js +4 -4
- package/dist/src/functions/wirings/forge/pikku-command-forge-nodes.d.ts +1 -0
- package/dist/src/functions/wirings/forge/pikku-command-forge-nodes.js +90 -0
- package/dist/src/functions/wirings/forge/pikku-command-forge-types.d.ts +1 -0
- package/dist/src/functions/wirings/forge/pikku-command-forge-types.js +26 -0
- package/dist/src/functions/wirings/forge/serialize-forge-types.d.ts +4 -0
- package/dist/src/functions/wirings/forge/serialize-forge-types.js +90 -0
- package/dist/src/functions/wirings/functions/pikku-command-function-types-split.js +4 -4
- package/dist/src/functions/wirings/functions/pikku-command-function-types.js +7 -2
- package/dist/src/functions/wirings/functions/pikku-command-functions.js +35 -10
- package/dist/src/functions/wirings/functions/pikku-command-services.d.ts +1 -1
- package/dist/src/functions/wirings/functions/pikku-command-services.js +24 -24
- package/dist/src/functions/wirings/functions/pikku-function-types.js +2 -2
- package/dist/src/functions/wirings/functions/schemas.d.ts +1 -1
- package/dist/src/functions/wirings/functions/schemas.js +5 -4
- package/dist/src/functions/wirings/functions/serialize-function-imports.d.ts +3 -1
- package/dist/src/functions/wirings/functions/serialize-function-imports.js +7 -3
- package/dist/src/functions/wirings/functions/serialize-function-types.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-function-types.js +224 -91
- package/dist/src/functions/wirings/functions/serialize-pikku-types-hub.d.ts +1 -1
- package/dist/src/functions/wirings/functions/serialize-pikku-types-hub.js +19 -21
- package/dist/src/functions/wirings/http/openapi-spec-generator.js +5 -5
- package/dist/src/functions/wirings/http/pikku-command-http-routes.js +18 -2
- package/dist/src/functions/wirings/http/pikku-command-openapi.js +2 -2
- package/dist/src/functions/wirings/http/pikku-http-routes.js +9 -2
- package/dist/src/functions/wirings/http/serialize-http-types.js +19 -3
- package/dist/src/functions/wirings/http/serialize-typed-http-map.js +33 -8
- package/dist/src/functions/wirings/mcp/pikku-command-mcp.js +29 -6
- package/dist/src/functions/wirings/mcp/serialize-mcp-json.js +3 -2
- package/dist/src/functions/wirings/mcp/serialize-mcp-types.js +71 -19
- package/dist/src/functions/wirings/middleware/pikku-command-middleware.js +29 -2
- package/dist/src/functions/wirings/middleware/serialize-middleware-groups-meta.d.ts +5 -2
- package/dist/src/functions/wirings/middleware/serialize-middleware-groups-meta.js +5 -13
- package/dist/src/functions/wirings/package/pikku-command-package.d.ts +1 -0
- package/dist/src/functions/wirings/package/pikku-command-package.js +58 -0
- package/dist/src/functions/wirings/package/serialize-package.d.ts +5 -0
- package/dist/src/functions/wirings/package/serialize-package.js +32 -0
- package/dist/src/functions/wirings/queue/pikku-command-queue.js +17 -3
- package/dist/src/functions/wirings/queue/pikku-queue.js +9 -11
- package/dist/src/functions/wirings/queue/serialize-queue-map.js +20 -3
- package/dist/src/functions/wirings/queue/serialize-queue-meta.d.ts +2 -1
- package/dist/src/functions/wirings/queue/serialize-queue-meta.js +10 -1
- package/dist/src/functions/wirings/queue/serialize-queue-types.js +1 -1
- package/dist/src/functions/wirings/rpc/pikku-command-rpc-map.js +4 -4
- package/dist/src/functions/wirings/rpc/pikku-command-rpc.js +9 -2
- package/dist/src/functions/wirings/rpc/serialize-public-rpc.js +11 -4
- package/dist/src/functions/wirings/rpc/serialize-remote-rpc.js +4 -1
- package/dist/src/functions/wirings/rpc/serialize-rpc-wrapper.js +3 -3
- package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.d.ts +1 -1
- package/dist/src/functions/wirings/rpc/serialize-typed-rpc-map.js +54 -8
- package/dist/src/functions/wirings/scheduler/pikku-command-scheduler.js +15 -3
- package/dist/src/functions/wirings/scheduler/serialize-scheduler-meta.d.ts +2 -1
- package/dist/src/functions/wirings/scheduler/serialize-scheduler-meta.js +11 -1
- package/dist/src/functions/wirings/scheduler/serialize-scheduler-types.js +1 -1
- package/dist/src/functions/wirings/services/pikku-command-service-metadata.d.ts +1 -0
- package/dist/src/functions/wirings/services/pikku-command-service-metadata.js +22 -0
- package/dist/src/functions/wirings/workflow/pikku-command-workflow.js +58 -16
- package/dist/src/functions/wirings/workflow/serialize-workflow-map.d.ts +3 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-map.js +30 -32
- package/dist/src/functions/wirings/workflow/serialize-workflow-meta.d.ts +1 -2
- package/dist/src/functions/wirings/workflow/serialize-workflow-meta.js +43 -8
- package/dist/src/functions/wirings/workflow/serialize-workflow-registration.d.ts +7 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-registration.js +53 -0
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.d.ts +4 -2
- package/dist/src/functions/wirings/workflow/serialize-workflow-types.js +308 -49
- package/dist/src/functions/wirings/workflow/serialize-workflow-workers.d.ts +1 -1
- package/dist/src/functions/wirings/workflow/serialize-workflow-workers.js +16 -29
- package/dist/src/middleware/log-command-info-and-time.d.ts +2 -2
- package/dist/src/middleware/log-command-info-and-time.js +1 -4
- package/dist/src/services/cli-logger-forwarder.service.js +1 -1
- package/dist/src/services.d.ts +2 -7
- package/dist/src/services.js +18 -13
- package/dist/src/utils/check-required-types.d.ts +2 -2
- package/dist/src/utils/check-required-types.js +2 -3
- package/dist/src/utils/command-summary.d.ts +2 -0
- package/dist/src/utils/command-summary.js +2 -0
- package/dist/src/utils/custom-types-generator.js +13 -15
- package/dist/src/utils/generate-bootstrap-file.js +1 -1
- package/dist/src/utils/pikku-cli-config.js +65 -4
- package/dist/src/utils/pikku-files-and-methods.d.ts +2 -2
- package/dist/src/utils/pikku-files-and-methods.js +4 -4
- package/dist/src/utils/schema-generator.d.ts +4 -3
- package/dist/src/utils/schema-generator.js +135 -15
- package/dist/src/utils/strip-verbose-meta.d.ts +43 -0
- package/dist/src/utils/strip-verbose-meta.js +210 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -9
- package/src/cli.wiring.ts +4 -4
- package/src/functions/commands/all.ts +203 -107
- package/src/functions/commands/bootstrap.ts +23 -16
- package/src/functions/commands/watch.ts +6 -3
- package/src/functions/runtimes/nextjs/pikku-command-nextjs.ts +26 -6
- package/src/functions/runtimes/nextjs/serialize-nextjs-backend-wrapper.ts +75 -22
- package/src/functions/runtimes/nextjs/serialize-nextjs-http-wrapper.ts +72 -19
- package/src/functions/wirings/channels/pikku-channels.ts +27 -3
- package/src/functions/wirings/channels/pikku-command-channels.ts +46 -3
- package/src/functions/wirings/channels/serialize-channel-types.ts +72 -16
- package/src/functions/wirings/channels/serialize-typed-channel-map.ts +3 -2
- package/src/functions/wirings/cli/pikku-command-cli-entry.ts +4 -4
- package/src/functions/wirings/cli/pikku-command-cli-types.ts +1 -1
- package/src/functions/wirings/cli/pikku-command-cli.ts +45 -3
- package/src/functions/wirings/cli/serialize-channel-cli.ts +1 -1
- package/src/functions/wirings/cli/serialize-cli-types.ts +2 -2
- package/src/functions/wirings/cli/serialize-local-cli-bootstrap.ts +5 -5
- package/src/functions/wirings/forge/pikku-command-forge-nodes.ts +135 -0
- package/src/functions/wirings/forge/pikku-command-forge-types.ts +38 -0
- package/src/functions/wirings/forge/serialize-forge-types.ts +94 -0
- package/src/functions/wirings/functions/pikku-command-function-types-split.ts +9 -8
- package/src/functions/wirings/functions/pikku-command-function-types.ts +17 -10
- package/src/functions/wirings/functions/pikku-command-functions.ts +59 -14
- package/src/functions/wirings/functions/pikku-command-services.ts +26 -26
- package/src/functions/wirings/functions/pikku-function-types.ts +3 -1
- package/src/functions/wirings/functions/schemas.ts +14 -4
- package/src/functions/wirings/functions/serialize-function-imports.ts +12 -3
- package/src/functions/wirings/functions/serialize-function-types.ts +227 -93
- package/src/functions/wirings/functions/serialize-pikku-types-hub.ts +27 -26
- package/src/functions/wirings/http/openapi-spec-generator.ts +15 -6
- package/src/functions/wirings/http/pikku-command-http-routes.ts +46 -2
- package/src/functions/wirings/http/pikku-command-openapi.ts +3 -2
- package/src/functions/wirings/http/pikku-http-routes.ts +28 -2
- package/src/functions/wirings/http/serialize-http-types.ts +19 -3
- package/src/functions/wirings/http/serialize-typed-http-map.ts +32 -8
- package/src/functions/wirings/mcp/pikku-command-mcp.ts +58 -10
- package/src/functions/wirings/mcp/serialize-mcp-json.ts +8 -6
- package/src/functions/wirings/mcp/serialize-mcp-types.ts +71 -19
- package/src/functions/wirings/middleware/pikku-command-middleware.ts +39 -2
- package/src/functions/wirings/middleware/serialize-middleware-groups-meta.ts +4 -19
- package/src/functions/wirings/package/pikku-command-package.ts +81 -0
- package/src/functions/wirings/package/serialize-package.ts +69 -0
- package/src/functions/wirings/permissions/pikku-command-permissions.ts +2 -2
- package/src/functions/wirings/queue/pikku-command-queue.ts +47 -2
- package/src/functions/wirings/queue/pikku-queue.ts +26 -10
- package/src/functions/wirings/queue/serialize-queue-map.ts +18 -3
- package/src/functions/wirings/queue/serialize-queue-meta.ts +15 -1
- package/src/functions/wirings/queue/serialize-queue-types.ts +1 -1
- package/src/functions/wirings/rpc/pikku-command-rpc-map.ts +7 -4
- package/src/functions/wirings/rpc/pikku-command-rpc.ts +25 -2
- package/src/functions/wirings/rpc/serialize-public-rpc.ts +11 -4
- package/src/functions/wirings/rpc/serialize-remote-rpc.ts +4 -1
- package/src/functions/wirings/rpc/serialize-rpc-wrapper.ts +3 -3
- package/src/functions/wirings/rpc/serialize-typed-rpc-map.ts +74 -8
- package/src/functions/wirings/scheduler/pikku-command-scheduler.ts +51 -4
- package/src/functions/wirings/scheduler/serialize-scheduler-meta.ts +20 -1
- package/src/functions/wirings/scheduler/serialize-scheduler-types.ts +1 -1
- package/src/functions/wirings/services/pikku-command-service-metadata.ts +25 -0
- package/src/functions/wirings/workflow/pikku-command-workflow.ts +114 -19
- package/src/functions/wirings/workflow/serialize-workflow-map.ts +38 -40
- package/src/functions/wirings/workflow/serialize-workflow-meta.ts +68 -11
- package/src/functions/wirings/workflow/serialize-workflow-registration.ts +83 -0
- package/src/functions/wirings/workflow/serialize-workflow-types.ts +311 -49
- package/src/functions/wirings/workflow/serialize-workflow-workers.ts +16 -29
- package/src/middleware/log-command-info-and-time.ts +3 -6
- package/src/services/cli-logger-forwarder.service.ts +1 -1
- package/src/services.ts +23 -16
- package/src/utils/check-required-types.ts +4 -7
- package/src/utils/command-summary.ts +4 -0
- package/src/utils/custom-types-generator.ts +15 -15
- package/src/utils/generate-bootstrap-file.ts +1 -1
- package/src/utils/pikku-cli-config.ts +105 -5
- package/src/utils/pikku-files-and-methods.ts +10 -13
- package/src/utils/schema-generator.ts +185 -22
- package/src/utils/strip-verbose-meta.ts +254 -0
- package/types/application-types.d.ts +1 -1
- package/types/config.d.ts +47 -2
- package/.pikku/function/pikku-functions-meta.min.gen.ts +0 -211
- package/.pikku/function/pikku-functions.gen.ts +0 -84
- package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -47
- package/dist/.pikku/function/pikku-functions-meta.min.gen.d.ts +0 -1
- package/dist/.pikku/function/pikku-functions-meta.min.gen.js +0 -211
- package/dist/.pikku/function/pikku-functions.gen.d.ts +0 -1
- package/dist/.pikku/function/pikku-functions.gen.js +0 -83
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +0 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +0 -47
- package/dist/.pikku/schemas/schemas/PikkuRemoteInternalRPCInput.schema.json +0 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-map.d.ts +0 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-map.js +0 -12
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-types.d.ts +0 -1
- package/dist/src/functions/wirings/workflow/pikku-command-workflow-types.js +0 -11
- package/src/functions/wirings/workflow/pikku-command-workflow-map.ts +0 -24
- package/src/functions/wirings/workflow/pikku-command-workflow-types.ts +0 -22
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Utility functions to strip verbose/visualization-only fields from meta objects
|
|
3
|
+
* for creating minimal runtime-only versions.
|
|
4
|
+
*
|
|
5
|
+
* Verbose fields are those used for UI/visualization but not needed at runtime:
|
|
6
|
+
* - tags, description, summary, errors
|
|
7
|
+
* - title, displayName
|
|
8
|
+
* - usedWires, isDirectFunction, services
|
|
9
|
+
* - stepName (in workflow nodes)
|
|
10
|
+
*
|
|
11
|
+
* Note: middleware and permissions are NOT verbose - they're needed at runtime
|
|
12
|
+
* for resolving tag middleware and permissions in function-runner.ts
|
|
13
|
+
*
|
|
14
|
+
* IMPORTANT: We only strip verbose fields at the direct meta entry level.
|
|
15
|
+
* For most meta types (HTTP, Queue, Scheduler, etc.), entries have pikkuFuncName.
|
|
16
|
+
* For workflow graphs, we strip at the root level AND from nodes.
|
|
17
|
+
* We do NOT strip from deeply nested structures like CLI options where 'description' is required.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
const VERBOSE_FIELDS = new Set([
|
|
21
|
+
'tags',
|
|
22
|
+
'description',
|
|
23
|
+
'summary',
|
|
24
|
+
'errors',
|
|
25
|
+
'title',
|
|
26
|
+
'displayName',
|
|
27
|
+
// Note: middleware and permissions are NOT verbose - they're needed at runtime
|
|
28
|
+
// for resolving tag middleware and permissions in function-runner.ts
|
|
29
|
+
'usedWires',
|
|
30
|
+
'isDirectFunction',
|
|
31
|
+
'services',
|
|
32
|
+
])
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Fields that are verbose only at the node level (workflow nodes)
|
|
36
|
+
*/
|
|
37
|
+
const NODE_VERBOSE_FIELDS = new Set(['stepName'])
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Strip verbose fields from an object (shallow - only direct properties)
|
|
41
|
+
*/
|
|
42
|
+
function stripVerboseShallow<T>(obj: T, additionalFields?: Set<string>): T {
|
|
43
|
+
if (
|
|
44
|
+
obj === null ||
|
|
45
|
+
obj === undefined ||
|
|
46
|
+
typeof obj !== 'object' ||
|
|
47
|
+
Array.isArray(obj)
|
|
48
|
+
) {
|
|
49
|
+
return obj
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const result: Record<string, unknown> = {}
|
|
53
|
+
const fieldsToStrip = additionalFields
|
|
54
|
+
? new Set([...VERBOSE_FIELDS, ...additionalFields])
|
|
55
|
+
: VERBOSE_FIELDS
|
|
56
|
+
|
|
57
|
+
for (const [key, value] of Object.entries(obj as Record<string, unknown>)) {
|
|
58
|
+
if (fieldsToStrip.has(key)) {
|
|
59
|
+
continue
|
|
60
|
+
}
|
|
61
|
+
result[key] = value
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
return result as T
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Check if an object has any verbose fields (shallow check)
|
|
69
|
+
*/
|
|
70
|
+
function hasVerboseShallow(
|
|
71
|
+
obj: unknown,
|
|
72
|
+
additionalFields?: Set<string>
|
|
73
|
+
): boolean {
|
|
74
|
+
if (
|
|
75
|
+
obj === null ||
|
|
76
|
+
obj === undefined ||
|
|
77
|
+
typeof obj !== 'object' ||
|
|
78
|
+
Array.isArray(obj)
|
|
79
|
+
) {
|
|
80
|
+
return false
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const fieldsToCheck = additionalFields
|
|
84
|
+
? new Set([...VERBOSE_FIELDS, ...additionalFields])
|
|
85
|
+
: VERBOSE_FIELDS
|
|
86
|
+
|
|
87
|
+
for (const [key, value] of Object.entries(obj as Record<string, unknown>)) {
|
|
88
|
+
if (fieldsToCheck.has(key) && value !== undefined) {
|
|
89
|
+
return true
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
return false
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Strip verbose fields from a meta object.
|
|
98
|
+
*
|
|
99
|
+
* Handles different meta structure patterns:
|
|
100
|
+
* 1. Single workflow graph: { name, pikkuFuncName, nodes: {...}, description, tags }
|
|
101
|
+
* -> Strips description, tags at root; strips stepName from each node
|
|
102
|
+
* 2. Record of meta entries: { "entryName": { pikkuFuncName, description, tags, ... } }
|
|
103
|
+
* -> Strips description, tags from each entry (one level deep only)
|
|
104
|
+
* 3. CLI meta and others with complex nesting: preserved as-is except for pikkuFuncName entries
|
|
105
|
+
*/
|
|
106
|
+
export function stripVerboseFields<T>(obj: T): T {
|
|
107
|
+
if (obj === null || obj === undefined || typeof obj !== 'object') {
|
|
108
|
+
return obj
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (Array.isArray(obj)) {
|
|
112
|
+
// Array of entries - strip from each
|
|
113
|
+
return obj.map((item) => {
|
|
114
|
+
if (
|
|
115
|
+
typeof item === 'object' &&
|
|
116
|
+
item !== null &&
|
|
117
|
+
'pikkuFuncName' in (item as Record<string, unknown>)
|
|
118
|
+
) {
|
|
119
|
+
return stripVerboseShallow(item)
|
|
120
|
+
}
|
|
121
|
+
return item
|
|
122
|
+
}) as T
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
const objRecord = obj as Record<string, unknown>
|
|
126
|
+
|
|
127
|
+
// Case 1: Single workflow graph (has 'nodes' and 'pikkuFuncName' at root)
|
|
128
|
+
if ('nodes' in objRecord && 'pikkuFuncName' in objRecord) {
|
|
129
|
+
const result: Record<string, unknown> = {}
|
|
130
|
+
|
|
131
|
+
for (const [key, value] of Object.entries(objRecord)) {
|
|
132
|
+
if (VERBOSE_FIELDS.has(key)) {
|
|
133
|
+
continue
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (key === 'nodes' && typeof value === 'object' && value !== null) {
|
|
137
|
+
// Strip stepName from each node
|
|
138
|
+
const nodes: Record<string, unknown> = {}
|
|
139
|
+
for (const [nodeId, node] of Object.entries(
|
|
140
|
+
value as Record<string, unknown>
|
|
141
|
+
)) {
|
|
142
|
+
nodes[nodeId] = stripVerboseShallow(node, NODE_VERBOSE_FIELDS)
|
|
143
|
+
}
|
|
144
|
+
result[key] = nodes
|
|
145
|
+
} else {
|
|
146
|
+
result[key] = value
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return result as T
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
// Case 2: Record of meta entries (each entry has pikkuFuncName)
|
|
154
|
+
// Only strip at exactly one level deep - the immediate children
|
|
155
|
+
const result: Record<string, unknown> = {}
|
|
156
|
+
|
|
157
|
+
for (const [key, value] of Object.entries(objRecord)) {
|
|
158
|
+
if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
|
|
159
|
+
const valueObj = value as Record<string, unknown>
|
|
160
|
+
// Only strip from entries that look like meta entries (have pikkuFuncName)
|
|
161
|
+
if ('pikkuFuncName' in valueObj) {
|
|
162
|
+
result[key] = stripVerboseShallow(value)
|
|
163
|
+
} else {
|
|
164
|
+
// Keep nested structures as-is (e.g., CLI programs, options)
|
|
165
|
+
result[key] = value
|
|
166
|
+
}
|
|
167
|
+
} else {
|
|
168
|
+
result[key] = value
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
return result as T
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Check if an object has any verbose fields that would be stripped
|
|
177
|
+
*/
|
|
178
|
+
export function hasVerboseFields(obj: unknown): boolean {
|
|
179
|
+
if (obj === null || obj === undefined || typeof obj !== 'object') {
|
|
180
|
+
return false
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if (Array.isArray(obj)) {
|
|
184
|
+
return obj.some((item) => {
|
|
185
|
+
if (
|
|
186
|
+
typeof item === 'object' &&
|
|
187
|
+
item !== null &&
|
|
188
|
+
'pikkuFuncName' in (item as Record<string, unknown>)
|
|
189
|
+
) {
|
|
190
|
+
return hasVerboseShallow(item)
|
|
191
|
+
}
|
|
192
|
+
return false
|
|
193
|
+
})
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
const objRecord = obj as Record<string, unknown>
|
|
197
|
+
|
|
198
|
+
// Case 1: Single workflow graph
|
|
199
|
+
if ('nodes' in objRecord && 'pikkuFuncName' in objRecord) {
|
|
200
|
+
// Check root level
|
|
201
|
+
if (hasVerboseShallow(objRecord)) {
|
|
202
|
+
return true
|
|
203
|
+
}
|
|
204
|
+
// Check nodes for stepName
|
|
205
|
+
const nodes = objRecord.nodes
|
|
206
|
+
if (typeof nodes === 'object' && nodes !== null) {
|
|
207
|
+
for (const node of Object.values(nodes as Record<string, unknown>)) {
|
|
208
|
+
if (hasVerboseShallow(node, NODE_VERBOSE_FIELDS)) {
|
|
209
|
+
return true
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
return false
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Case 2: Record of meta entries
|
|
217
|
+
for (const value of Object.values(objRecord)) {
|
|
218
|
+
if (typeof value === 'object' && value !== null && !Array.isArray(value)) {
|
|
219
|
+
const valueObj = value as Record<string, unknown>
|
|
220
|
+
if ('pikkuFuncName' in valueObj && hasVerboseShallow(value)) {
|
|
221
|
+
return true
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
return false
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Write both minimal and verbose meta files
|
|
231
|
+
* Only writes verbose file if it differs from minimal
|
|
232
|
+
*
|
|
233
|
+
* @returns Object with paths that were written
|
|
234
|
+
*/
|
|
235
|
+
export async function writeMetaFiles(
|
|
236
|
+
writeFile: (path: string, content: string) => Promise<void>,
|
|
237
|
+
basePath: string,
|
|
238
|
+
meta: unknown
|
|
239
|
+
): Promise<{ minimal: string; verbose?: string }> {
|
|
240
|
+
const minimalMeta = stripVerboseFields(meta)
|
|
241
|
+
const minimalPath = basePath.replace(/\.gen\.json$/, '.gen.json')
|
|
242
|
+
const verbosePath = basePath.replace(/\.gen\.json$/, '-verbose.gen.json')
|
|
243
|
+
|
|
244
|
+
// Always write minimal
|
|
245
|
+
await writeFile(minimalPath, JSON.stringify(minimalMeta, null, 2))
|
|
246
|
+
|
|
247
|
+
// Only write verbose if it has additional fields
|
|
248
|
+
if (hasVerboseFields(meta)) {
|
|
249
|
+
await writeFile(verbosePath, JSON.stringify(meta, null, 2))
|
|
250
|
+
return { minimal: minimalPath, verbose: verbosePath }
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
return { minimal: minimalPath }
|
|
254
|
+
}
|
|
@@ -22,6 +22,6 @@ export interface SingletonServices extends CoreSingletonServices<Config> {
|
|
|
22
22
|
) => Promise<InspectorState>
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export interface Services extends CoreServices<SingletonServices
|
|
25
|
+
export interface Services extends CoreServices<SingletonServices> {}
|
|
26
26
|
|
|
27
27
|
export interface UserSession extends CoreUserSession {}
|
package/types/config.d.ts
CHANGED
|
@@ -13,23 +13,26 @@ export interface PikkuCLICoreOutputFiles {
|
|
|
13
13
|
// Function definitions
|
|
14
14
|
functionsFile: string
|
|
15
15
|
functionsMetaFile: string
|
|
16
|
-
|
|
16
|
+
functionsMetaJsonFile: string
|
|
17
17
|
functionTypesFile: string
|
|
18
18
|
|
|
19
19
|
// HTTP
|
|
20
20
|
httpWiringsFile: string
|
|
21
21
|
httpWiringMetaFile: string
|
|
22
|
+
httpWiringMetaJsonFile: string
|
|
22
23
|
httpMapDeclarationFile: string
|
|
23
24
|
httpTypesFile: string
|
|
24
25
|
|
|
25
26
|
// Channels
|
|
26
27
|
channelsWiringFile: string
|
|
27
28
|
channelsWiringMetaFile: string
|
|
29
|
+
channelsWiringMetaJsonFile: string
|
|
28
30
|
channelsMapDeclarationFile: string
|
|
29
31
|
channelsTypesFile: string
|
|
30
32
|
|
|
31
33
|
// RPC Internal
|
|
32
34
|
rpcInternalWiringMetaFile: string
|
|
35
|
+
rpcInternalWiringMetaJsonFile: string
|
|
33
36
|
rpcInternalMapDeclarationFile: string
|
|
34
37
|
|
|
35
38
|
// RPC Exposed
|
|
@@ -38,11 +41,13 @@ export interface PikkuCLICoreOutputFiles {
|
|
|
38
41
|
// Schedulers
|
|
39
42
|
schedulersWiringFile: string
|
|
40
43
|
schedulersWiringMetaFile: string
|
|
44
|
+
schedulersWiringMetaJsonFile: string
|
|
41
45
|
schedulersTypesFile: string
|
|
42
46
|
|
|
43
47
|
// Queue processors
|
|
44
48
|
queueWorkersWiringFile: string
|
|
45
49
|
queueWorkersWiringMetaFile: string
|
|
50
|
+
queueWorkersWiringMetaJsonFile: string
|
|
46
51
|
queueMapDeclarationFile: string
|
|
47
52
|
queueTypesFile: string
|
|
48
53
|
|
|
@@ -52,15 +57,18 @@ export interface PikkuCLICoreOutputFiles {
|
|
|
52
57
|
workflowsWorkersFile: string
|
|
53
58
|
workflowMapDeclarationFile: string
|
|
54
59
|
workflowTypesFile: string
|
|
60
|
+
workflowMetaDir: string
|
|
55
61
|
|
|
56
62
|
// MCP
|
|
57
63
|
mcpWiringsFile: string
|
|
58
64
|
mcpWiringsMetaFile: string
|
|
65
|
+
mcpWiringsMetaJsonFile: string
|
|
59
66
|
mcpTypesFile: string
|
|
60
67
|
|
|
61
68
|
// CLI
|
|
62
69
|
cliWiringsFile: string
|
|
63
70
|
cliWiringMetaFile: string
|
|
71
|
+
cliWiringMetaJsonFile: string
|
|
64
72
|
cliBootstrapFile: string
|
|
65
73
|
cliTypesFile: string
|
|
66
74
|
|
|
@@ -70,12 +78,19 @@ export interface PikkuCLICoreOutputFiles {
|
|
|
70
78
|
// Middleware
|
|
71
79
|
middlewareFile: string
|
|
72
80
|
middlewareGroupsMetaFile: string
|
|
81
|
+
middlewareGroupsMetaJsonFile: string
|
|
73
82
|
|
|
74
83
|
// Permissions
|
|
75
84
|
permissionsFile: string
|
|
76
85
|
|
|
77
86
|
// Application bootstrap
|
|
78
87
|
bootstrapFile: string
|
|
88
|
+
|
|
89
|
+
// Package service factories (for external packages)
|
|
90
|
+
packageFile: string
|
|
91
|
+
|
|
92
|
+
// Forge
|
|
93
|
+
forgeTypesFile: string
|
|
79
94
|
}
|
|
80
95
|
|
|
81
96
|
export type PikkuCLIInput = {
|
|
@@ -87,6 +102,9 @@ export type PikkuCLIInput = {
|
|
|
87
102
|
srcDirectories: string[]
|
|
88
103
|
ignoreFiles?: string[]
|
|
89
104
|
packageMappings: Record<string, string>
|
|
105
|
+
externalPackages?: Record<string, string> // namespace -> package name
|
|
106
|
+
externalPackage?: boolean
|
|
107
|
+
externalPackageName?: string
|
|
90
108
|
|
|
91
109
|
configDir: string
|
|
92
110
|
tsconfig: string
|
|
@@ -161,6 +179,18 @@ export type PikkuCLIInput = {
|
|
|
161
179
|
stateOutput?: string
|
|
162
180
|
stateInput?: string
|
|
163
181
|
|
|
182
|
+
forge?: {
|
|
183
|
+
verboseMeta?: boolean
|
|
184
|
+
node?: {
|
|
185
|
+
categories?: string[]
|
|
186
|
+
icon?: string
|
|
187
|
+
displayName?: string
|
|
188
|
+
description?: string
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
forgeNodesMetaJsonFile?: string
|
|
193
|
+
|
|
164
194
|
filters: InspectorFilters
|
|
165
195
|
} & PikkuCLICoreOutputFiles
|
|
166
196
|
|
|
@@ -173,6 +203,9 @@ export type PikkuCLIConfig = {
|
|
|
173
203
|
srcDirectories: string[]
|
|
174
204
|
ignoreFiles?: string[]
|
|
175
205
|
packageMappings: Record<string, string>
|
|
206
|
+
externalPackages?: Record<string, string> // namespace -> package name
|
|
207
|
+
externalPackage?: boolean
|
|
208
|
+
externalPackageName?: string
|
|
176
209
|
|
|
177
210
|
configFile?: string
|
|
178
211
|
tags?: string[]
|
|
@@ -180,7 +213,7 @@ export type PikkuCLIConfig = {
|
|
|
180
213
|
|
|
181
214
|
userSessionType?: string
|
|
182
215
|
singletonServicesFactoryType?: string
|
|
183
|
-
|
|
216
|
+
wireServicesFactoryType?: string
|
|
184
217
|
|
|
185
218
|
configDir: string
|
|
186
219
|
tsconfig: string
|
|
@@ -255,5 +288,17 @@ export type PikkuCLIConfig = {
|
|
|
255
288
|
stateOutput?: string
|
|
256
289
|
stateInput?: string
|
|
257
290
|
|
|
291
|
+
forge?: {
|
|
292
|
+
verboseMeta?: boolean
|
|
293
|
+
node?: {
|
|
294
|
+
categories?: string[]
|
|
295
|
+
icon?: string
|
|
296
|
+
displayName?: string
|
|
297
|
+
description?: string
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
forgeNodesMetaJsonFile?: string
|
|
302
|
+
|
|
258
303
|
filters: InspectorFilters
|
|
259
304
|
} & PikkuCLICoreOutputFiles
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.11.1
|
|
3
|
-
*/
|
|
4
|
-
import { pikkuState } from '@pikku/core'
|
|
5
|
-
pikkuState('function', 'meta', {
|
|
6
|
-
"pikkuSchemas": {
|
|
7
|
-
"pikkuFuncName": "pikkuSchemas",
|
|
8
|
-
"inputSchemaName": null,
|
|
9
|
-
"outputSchemaName": "PikkuSchemasOutput"
|
|
10
|
-
},
|
|
11
|
-
"pikkuFetch": {
|
|
12
|
-
"pikkuFuncName": "pikkuFetch",
|
|
13
|
-
"inputSchemaName": null,
|
|
14
|
-
"outputSchemaName": null
|
|
15
|
-
},
|
|
16
|
-
"pikkuWebSocketTyped": {
|
|
17
|
-
"pikkuFuncName": "pikkuWebSocketTyped",
|
|
18
|
-
"inputSchemaName": null,
|
|
19
|
-
"outputSchemaName": null
|
|
20
|
-
},
|
|
21
|
-
"pikkuRPCClient": {
|
|
22
|
-
"pikkuFuncName": "pikkuRPCClient",
|
|
23
|
-
"inputSchemaName": null,
|
|
24
|
-
"outputSchemaName": null
|
|
25
|
-
},
|
|
26
|
-
"pikkuQueueService": {
|
|
27
|
-
"pikkuFuncName": "pikkuQueueService",
|
|
28
|
-
"inputSchemaName": null,
|
|
29
|
-
"outputSchemaName": null
|
|
30
|
-
},
|
|
31
|
-
"pikkuOpenAPI": {
|
|
32
|
-
"pikkuFuncName": "pikkuOpenAPI",
|
|
33
|
-
"inputSchemaName": null,
|
|
34
|
-
"outputSchemaName": null
|
|
35
|
-
},
|
|
36
|
-
"pikkuNext": {
|
|
37
|
-
"pikkuFuncName": "pikkuNext",
|
|
38
|
-
"inputSchemaName": null,
|
|
39
|
-
"outputSchemaName": null
|
|
40
|
-
},
|
|
41
|
-
"all": {
|
|
42
|
-
"pikkuFuncName": "all",
|
|
43
|
-
"inputSchemaName": null,
|
|
44
|
-
"outputSchemaName": null
|
|
45
|
-
},
|
|
46
|
-
"bootstrap": {
|
|
47
|
-
"pikkuFuncName": "bootstrap",
|
|
48
|
-
"inputSchemaName": null,
|
|
49
|
-
"outputSchemaName": null
|
|
50
|
-
},
|
|
51
|
-
"watch": {
|
|
52
|
-
"pikkuFuncName": "watch",
|
|
53
|
-
"inputSchemaName": null,
|
|
54
|
-
"outputSchemaName": null
|
|
55
|
-
},
|
|
56
|
-
"pikkuChannels": {
|
|
57
|
-
"pikkuFuncName": "pikkuChannels",
|
|
58
|
-
"inputSchemaName": null,
|
|
59
|
-
"outputSchemaName": "PikkuChannelsOutput"
|
|
60
|
-
},
|
|
61
|
-
"pikkuChannelTypes": {
|
|
62
|
-
"pikkuFuncName": "pikkuChannelTypes",
|
|
63
|
-
"inputSchemaName": null,
|
|
64
|
-
"outputSchemaName": null
|
|
65
|
-
},
|
|
66
|
-
"pikkuChannelsMap": {
|
|
67
|
-
"pikkuFuncName": "pikkuChannelsMap",
|
|
68
|
-
"inputSchemaName": null,
|
|
69
|
-
"outputSchemaName": null
|
|
70
|
-
},
|
|
71
|
-
"pikkuCLIEntry": {
|
|
72
|
-
"pikkuFuncName": "pikkuCLIEntry",
|
|
73
|
-
"inputSchemaName": null,
|
|
74
|
-
"outputSchemaName": null
|
|
75
|
-
},
|
|
76
|
-
"pikkuCLITypes": {
|
|
77
|
-
"pikkuFuncName": "pikkuCLITypes",
|
|
78
|
-
"inputSchemaName": null,
|
|
79
|
-
"outputSchemaName": null
|
|
80
|
-
},
|
|
81
|
-
"pikkuCLI": {
|
|
82
|
-
"pikkuFuncName": "pikkuCLI",
|
|
83
|
-
"inputSchemaName": null,
|
|
84
|
-
"outputSchemaName": "PikkuCLIOutput"
|
|
85
|
-
},
|
|
86
|
-
"pikkuFunctionTypesSplit": {
|
|
87
|
-
"pikkuFuncName": "pikkuFunctionTypesSplit",
|
|
88
|
-
"inputSchemaName": null,
|
|
89
|
-
"outputSchemaName": null
|
|
90
|
-
},
|
|
91
|
-
"pikkuFunctionTypes": {
|
|
92
|
-
"pikkuFuncName": "pikkuFunctionTypes",
|
|
93
|
-
"inputSchemaName": null,
|
|
94
|
-
"outputSchemaName": null
|
|
95
|
-
},
|
|
96
|
-
"pikkuFunctions": {
|
|
97
|
-
"pikkuFuncName": "pikkuFunctions",
|
|
98
|
-
"inputSchemaName": null,
|
|
99
|
-
"outputSchemaName": "PikkuFunctionsOutput"
|
|
100
|
-
},
|
|
101
|
-
"pikkuServices": {
|
|
102
|
-
"pikkuFuncName": "pikkuServices",
|
|
103
|
-
"inputSchemaName": null,
|
|
104
|
-
"outputSchemaName": null
|
|
105
|
-
},
|
|
106
|
-
"pikkuHTTPMap": {
|
|
107
|
-
"pikkuFuncName": "pikkuHTTPMap",
|
|
108
|
-
"inputSchemaName": null,
|
|
109
|
-
"outputSchemaName": null
|
|
110
|
-
},
|
|
111
|
-
"pikkuHTTP": {
|
|
112
|
-
"pikkuFuncName": "pikkuHTTP",
|
|
113
|
-
"inputSchemaName": null,
|
|
114
|
-
"outputSchemaName": "PikkuHTTPOutput"
|
|
115
|
-
},
|
|
116
|
-
"pikkuHTTPTypes": {
|
|
117
|
-
"pikkuFuncName": "pikkuHTTPTypes",
|
|
118
|
-
"inputSchemaName": null,
|
|
119
|
-
"outputSchemaName": null
|
|
120
|
-
},
|
|
121
|
-
"pikkuMCPJSON": {
|
|
122
|
-
"pikkuFuncName": "pikkuMCPJSON",
|
|
123
|
-
"inputSchemaName": null,
|
|
124
|
-
"outputSchemaName": null
|
|
125
|
-
},
|
|
126
|
-
"pikkuMCPTypes": {
|
|
127
|
-
"pikkuFuncName": "pikkuMCPTypes",
|
|
128
|
-
"inputSchemaName": null,
|
|
129
|
-
"outputSchemaName": null
|
|
130
|
-
},
|
|
131
|
-
"pikkuMCP": {
|
|
132
|
-
"pikkuFuncName": "pikkuMCP",
|
|
133
|
-
"inputSchemaName": null,
|
|
134
|
-
"outputSchemaName": "PikkuMCPOutput"
|
|
135
|
-
},
|
|
136
|
-
"pikkuMiddleware": {
|
|
137
|
-
"pikkuFuncName": "pikkuMiddleware",
|
|
138
|
-
"inputSchemaName": null,
|
|
139
|
-
"outputSchemaName": "PikkuMiddlewareOutput"
|
|
140
|
-
},
|
|
141
|
-
"pikkuPermissions": {
|
|
142
|
-
"pikkuFuncName": "pikkuPermissions",
|
|
143
|
-
"inputSchemaName": null,
|
|
144
|
-
"outputSchemaName": "PikkuPermissionsOutput"
|
|
145
|
-
},
|
|
146
|
-
"pikkuQueueMap": {
|
|
147
|
-
"pikkuFuncName": "pikkuQueueMap",
|
|
148
|
-
"inputSchemaName": null,
|
|
149
|
-
"outputSchemaName": null
|
|
150
|
-
},
|
|
151
|
-
"pikkuQueueTypes": {
|
|
152
|
-
"pikkuFuncName": "pikkuQueueTypes",
|
|
153
|
-
"inputSchemaName": null,
|
|
154
|
-
"outputSchemaName": null
|
|
155
|
-
},
|
|
156
|
-
"pikkuQueue": {
|
|
157
|
-
"pikkuFuncName": "pikkuQueue",
|
|
158
|
-
"inputSchemaName": null,
|
|
159
|
-
"outputSchemaName": "PikkuQueueOutput"
|
|
160
|
-
},
|
|
161
|
-
"pikkuPublicRPC": {
|
|
162
|
-
"pikkuFuncName": "pikkuPublicRPC",
|
|
163
|
-
"inputSchemaName": null,
|
|
164
|
-
"outputSchemaName": "PikkuPublicRPCOutput"
|
|
165
|
-
},
|
|
166
|
-
"pikkuRemoteRPC": {
|
|
167
|
-
"pikkuFuncName": "pikkuRemoteRPC",
|
|
168
|
-
"inputSchemaName": null,
|
|
169
|
-
"outputSchemaName": "PikkuRemoteRPCOutput"
|
|
170
|
-
},
|
|
171
|
-
"pikkuRPCInternalMap": {
|
|
172
|
-
"pikkuFuncName": "pikkuRPCInternalMap",
|
|
173
|
-
"inputSchemaName": null,
|
|
174
|
-
"outputSchemaName": null
|
|
175
|
-
},
|
|
176
|
-
"pikkuRPCExposedMap": {
|
|
177
|
-
"pikkuFuncName": "pikkuRPCExposedMap",
|
|
178
|
-
"inputSchemaName": null,
|
|
179
|
-
"outputSchemaName": null
|
|
180
|
-
},
|
|
181
|
-
"pikkuRPC": {
|
|
182
|
-
"pikkuFuncName": "pikkuRPC",
|
|
183
|
-
"inputSchemaName": null,
|
|
184
|
-
"outputSchemaName": "PikkuRPCOutput"
|
|
185
|
-
},
|
|
186
|
-
"pikkuSchedulerTypes": {
|
|
187
|
-
"pikkuFuncName": "pikkuSchedulerTypes",
|
|
188
|
-
"inputSchemaName": null,
|
|
189
|
-
"outputSchemaName": null
|
|
190
|
-
},
|
|
191
|
-
"pikkuScheduler": {
|
|
192
|
-
"pikkuFuncName": "pikkuScheduler",
|
|
193
|
-
"inputSchemaName": null,
|
|
194
|
-
"outputSchemaName": "PikkuSchedulerOutput"
|
|
195
|
-
},
|
|
196
|
-
"pikkuWorkflowMap": {
|
|
197
|
-
"pikkuFuncName": "pikkuWorkflowMap",
|
|
198
|
-
"inputSchemaName": null,
|
|
199
|
-
"outputSchemaName": null
|
|
200
|
-
},
|
|
201
|
-
"pikkuWorkflowTypes": {
|
|
202
|
-
"pikkuFuncName": "pikkuWorkflowTypes",
|
|
203
|
-
"inputSchemaName": null,
|
|
204
|
-
"outputSchemaName": null
|
|
205
|
-
},
|
|
206
|
-
"pikkuWorkflow": {
|
|
207
|
-
"pikkuFuncName": "pikkuWorkflow",
|
|
208
|
-
"inputSchemaName": null,
|
|
209
|
-
"outputSchemaName": "PikkuWorkflowOutput"
|
|
210
|
-
}
|
|
211
|
-
})
|