@pikku/addon-graph 0.12.0 → 0.12.4
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/.pikku/addon/pikku-addon-types.gen.d.ts +2 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.js +2 -2
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +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/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +57 -70
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +67 -43
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +476 -449
- package/dist/.pikku/function/pikku-functions.gen.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/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/mcp/pikku-mcp-types.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-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +8 -3
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +6 -1
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.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/rpc/pikku-rpc-wirings-map.gen.d.ts +11 -3
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +12 -4
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +26 -26
- 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 +3 -1
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/schemas/AggregateInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/AggregateOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/ChunkInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/ChunkOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/CoalesceInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/CoalesceOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/CryptoInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/CryptoOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/DateTimeInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/DateTimeOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/EditFieldsInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/EditFieldsOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FindInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FindOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GroupByInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/GroupByOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/JwtDecodeInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/JwtDecodeOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/JwtSignInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/JwtSignOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/LimitInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/LimitOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/MathInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/MathOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/MergeInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/MergeOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/OmitInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/OmitOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PickInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/PickOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/RemoveDuplicatesInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/RemoveDuplicatesOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/RenameKeysInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/RenameKeysOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/ReverseInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/ReverseOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/SleepInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/SleepOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/SortInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/SortOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/SplitOutInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/SplitOutOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/StringTransformInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/StringTransformOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/SummarizeInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/SummarizeOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/TypeConvertInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/TypeConvertOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/UniqueInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/UniqueOutput.schema.json +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/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/trigger/pikku-trigger-types.gen.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/pikku-workflow-map.gen.d.ts +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.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/functions/data/sleep.function.d.ts +1 -0
- package/dist/src/functions/data/sleep.function.d.ts.map +1 -1
- package/dist/src/functions/data/sleep.function.js +2 -1
- package/dist/src/functions/data/sleep.function.js.map +1 -1
- package/package.json +15 -17
- package/.pikku/addon/pikku-addon-types.gen.ts +0 -105
- package/.pikku/addon/pikku-package.gen.ts +0 -11
- package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -4
- package/.pikku/agent/pikku-agent-types.gen.ts +0 -82
- package/.pikku/channel/pikku-channel-types.gen.ts +0 -177
- package/.pikku/cli/pikku-cli-types.gen.ts +0 -105
- package/.pikku/console/pikku-addon-meta.gen.json +0 -281
- package/.pikku/console/pikku-node-types.gen.ts +0 -8
- package/.pikku/function/pikku-function-types.gen.ts +0 -684
- package/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -660
- package/.pikku/function/pikku-functions-meta.gen.json +0 -450
- package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
- package/.pikku/function/pikku-functions.gen.ts +0 -56
- package/.pikku/http/pikku-http-types.gen.ts +0 -147
- package/.pikku/mcp/pikku-mcp-types.gen.ts +0 -183
- package/.pikku/pikku-bootstrap.gen.ts +0 -8
- package/.pikku/pikku-meta-service.gen.ts +0 -10
- package/.pikku/pikku-services.gen.ts +0 -39
- package/.pikku/pikku-types.gen.ts +0 -21
- package/.pikku/queue/pikku-queue-types.gen.ts +0 -27
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -488
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -513
- package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +0 -27
- package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -6
- package/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
- package/.pikku/schemas/register.gen.ts +0 -199
- package/.pikku/schemas/schemas/AggregateInput.schema.json +0 -1
- package/.pikku/schemas/schemas/AggregateOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/ChunkInput.schema.json +0 -1
- package/.pikku/schemas/schemas/ChunkOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/CoalesceInput.schema.json +0 -1
- package/.pikku/schemas/schemas/CoalesceOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/CryptoInput.schema.json +0 -1
- package/.pikku/schemas/schemas/CryptoOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/DateTimeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/DateTimeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/EditFieldsInput.schema.json +0 -1
- package/.pikku/schemas/schemas/EditFieldsOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/FindInput.schema.json +0 -1
- package/.pikku/schemas/schemas/FindOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/GroupByInput.schema.json +0 -1
- package/.pikku/schemas/schemas/GroupByOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtDecodeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtDecodeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtSignInput.schema.json +0 -1
- package/.pikku/schemas/schemas/JwtSignOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/LimitInput.schema.json +0 -1
- package/.pikku/schemas/schemas/LimitOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/MathInput.schema.json +0 -1
- package/.pikku/schemas/schemas/MathOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/MergeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/MergeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/OmitInput.schema.json +0 -1
- package/.pikku/schemas/schemas/OmitOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/PickInput.schema.json +0 -1
- package/.pikku/schemas/schemas/PickOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/RemoveDuplicatesInput.schema.json +0 -1
- package/.pikku/schemas/schemas/RemoveDuplicatesOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/RenameKeysInput.schema.json +0 -1
- package/.pikku/schemas/schemas/RenameKeysOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/ReverseInput.schema.json +0 -1
- package/.pikku/schemas/schemas/ReverseOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SleepInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SortInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SortOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SplitOutInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SplitOutOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/StringTransformInput.schema.json +0 -1
- package/.pikku/schemas/schemas/StringTransformOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/SummarizeInput.schema.json +0 -1
- package/.pikku/schemas/schemas/SummarizeOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/TypeConvertInput.schema.json +0 -1
- package/.pikku/schemas/schemas/TypeConvertOutput.schema.json +0 -1
- package/.pikku/schemas/schemas/UniqueInput.schema.json +0 -1
- package/.pikku/schemas/schemas/UniqueOutput.schema.json +0 -1
- package/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
- package/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
- package/.pikku/secrets/pikku-secrets.gen.ts +0 -21
- package/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
- package/.pikku/variables/pikku-variable-types.gen.ts +0 -5
- package/.pikku/variables/pikku-variables-meta.gen.json +0 -1
- package/.pikku/variables/pikku-variables.gen.ts +0 -21
- package/.pikku/workflow/pikku-workflow-map.gen.d.ts +0 -38
- package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -167
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +0 -105
- package/dist/.pikku/addon/pikku-package.gen.ts +0 -11
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +0 -82
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +0 -177
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +0 -78
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts.map +0 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +0 -61
- package/dist/.pikku/cli/pikku-cli-types.gen.js.map +0 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.ts +0 -105
- package/dist/.pikku/console/pikku-addon-meta.gen.json +0 -281
- package/dist/.pikku/console/pikku-node-types.gen.ts +0 -8
- package/dist/.pikku/function/pikku-function-types.gen.ts +0 -684
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -660
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +0 -7
- package/dist/.pikku/function/pikku-functions.gen.ts +0 -56
- package/dist/.pikku/http/pikku-http-types.gen.ts +0 -147
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +0 -183
- package/dist/.pikku/pikku-bootstrap.gen.ts +0 -8
- package/dist/.pikku/pikku-meta-service.gen.ts +0 -10
- package/dist/.pikku/pikku-services.gen.ts +0 -39
- package/dist/.pikku/pikku-types.gen.ts +0 -21
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +0 -27
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +0 -6
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +0 -25
- package/dist/.pikku/schemas/register.gen.ts +0 -199
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +0 -5
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +0 -1
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +0 -21
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +0 -160
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +0 -5
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +0 -1
- package/dist/.pikku/variables/pikku-variables.gen.ts +0 -21
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +0 -167
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.19
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
* CLI-specific type definitions for tree-shaking optimization
|
|
7
|
-
*/
|
|
8
|
-
import { CoreCLI, CorePikkuCLIRender, CoreCLICommandConfig } from '@pikku/core/cli';
|
|
9
|
-
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
|
|
10
|
-
import type { UserSession } from '../../types/application-types.d.js';
|
|
11
|
-
import type { SingletonServices } from '../../types/application-types.d.js';
|
|
12
|
-
type Session = UserSession;
|
|
13
|
-
/**
|
|
14
|
-
* Type-safe CLI renderer definition that can access your application's services.
|
|
15
|
-
* Use this to define custom renderers for CLI command output.
|
|
16
|
-
*
|
|
17
|
-
* @template Data - The output data type from the CLI command
|
|
18
|
-
* @template RequiredServices - The services required for this renderer
|
|
19
|
-
*/
|
|
20
|
-
type PikkuCLIRender<Data, RequiredServices extends SingletonServices = SingletonServices> = CorePikkuCLIRender<Data, RequiredServices, Session>;
|
|
21
|
-
/**
|
|
22
|
-
* Creates a type-safe CLI renderer with access to your application's singleton services.
|
|
23
|
-
* The renderer receives the full singleton services and output data to format and display results.
|
|
24
|
-
*
|
|
25
|
-
* @template Data - The output data type from the CLI command
|
|
26
|
-
* @template RequiredServices - The minimum services required for type checking (defaults to SingletonServices)
|
|
27
|
-
* @param render - Function that receives singleton services and data to render output
|
|
28
|
-
* @returns A CLI renderer configuration
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ```typescript
|
|
32
|
-
* const myRenderer = pikkuCLIRender<MyData>(({ logger }, data) => {
|
|
33
|
-
* logger.info(data.message)
|
|
34
|
-
* })
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare const pikkuCLIRender: <Data, RequiredServices extends SingletonServices = SingletonServices>(render: (services: SingletonServices, data: Data) => void | Promise<void>) => PikkuCLIRender<Data, RequiredServices>;
|
|
38
|
-
/**
|
|
39
|
-
* CLI command configuration with project-specific types.
|
|
40
|
-
* Uses CoreCLICommandConfig from @pikku/core with local middleware and render types.
|
|
41
|
-
*/
|
|
42
|
-
type CLICommandConfig<Func extends PikkuFunctionConfig<In, Out, 'cli' | 'rpc' | 'session'>, In = any, Out = any, Params extends string = string> = CoreCLICommandConfig<Func, PikkuMiddleware, PikkuCLIRender<any>, Params>;
|
|
43
|
-
/**
|
|
44
|
-
* Type definition for CLI applications with commands and global options.
|
|
45
|
-
*
|
|
46
|
-
* @template Commands - Type describing the command structure
|
|
47
|
-
* @template GlobalOptions - Type for global CLI options
|
|
48
|
-
*/
|
|
49
|
-
type CLIWiring<Commands extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>, GlobalOptions> = CoreCLI<Commands, GlobalOptions, PikkuMiddleware, PikkuCLIRender<any>>;
|
|
50
|
-
/**
|
|
51
|
-
* Registers a CLI application with the Pikku framework.
|
|
52
|
-
* Creates command-line interfaces with type-safe commands and options.
|
|
53
|
-
*
|
|
54
|
-
* @template Commands - Type describing the command structure
|
|
55
|
-
* @template GlobalOptions - Type for global CLI options
|
|
56
|
-
* @param cli - CLI definition with program name, commands, and global options
|
|
57
|
-
*/
|
|
58
|
-
export declare const wireCLI: <Commands extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>, GlobalOptions>(cli: CLIWiring<Commands, GlobalOptions>) => void;
|
|
59
|
-
/**
|
|
60
|
-
* Creates a CLI command definition with automatic option inference from the function's input type.
|
|
61
|
-
* This allows TypeScript to automatically derive CLI options from the function signature.
|
|
62
|
-
*
|
|
63
|
-
* @template FuncConfig - The Pikku function config type
|
|
64
|
-
* @template Params - The parameters string literal type
|
|
65
|
-
* @param config - CLI command configuration
|
|
66
|
-
* @returns CLI command configuration with inferred types
|
|
67
|
-
*/
|
|
68
|
-
export declare const pikkuCLICommand: <FuncConfig extends PikkuFunctionConfig<any, any, "cli" | "rpc" | "session">, Params extends string>(config: CLICommandConfig<FuncConfig, any, any, Params>) => CoreCLICommandConfig<FuncConfig, PikkuMiddleware, PikkuCLIRender<any>, string>;
|
|
69
|
-
/**
|
|
70
|
-
* Type-safe helper for defining CLI commands that can be composed and spread into wireCLI.
|
|
71
|
-
*
|
|
72
|
-
* @template T - Record of CLI command configurations
|
|
73
|
-
* @param commands - The CLI commands record
|
|
74
|
-
* @returns The same commands record (identity function for type safety)
|
|
75
|
-
*/
|
|
76
|
-
export declare const defineCLICommands: <T extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>>(commands: T) => T;
|
|
77
|
-
export {};
|
|
78
|
-
//# sourceMappingURL=pikku-cli-types.gen.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-cli-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/cli/pikku-cli-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;GAGG;AAEH,OAAO,EAAE,OAAO,EAA0B,kBAAkB,EAAE,oBAAoB,EAA8C,MAAM,iBAAiB,CAAA;AACvJ,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AACnG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAA;AACrE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAG3E,KAAK,OAAO,GAAG,WAAW,CAAA;AAE1B;;;;;;GAMG;AACH,KAAK,cAAc,CAAC,IAAI,EAAE,gBAAgB,SAAS,iBAAiB,GAAG,iBAAiB,IAAI,kBAAkB,CAAC,IAAI,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAE/I;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,cAAc,GAAI,IAAI,EAAE,gBAAgB,SAAS,iBAAiB,GAAG,iBAAiB,EACjG,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,IAAI,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KACxE,cAAc,CAAC,IAAI,EAAE,gBAAgB,CAEvC,CAAA;AAED;;;GAGG;AACH,KAAK,gBAAgB,CAAC,IAAI,SAAS,mBAAmB,CAAC,EAAE,EAAE,GAAG,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS,CAAC,EAAE,EAAE,GAAG,GAAG,EAAE,GAAG,GAAG,GAAG,EAAE,MAAM,SAAS,MAAM,GAAG,MAAM,IAAI,oBAAoB,CAAC,IAAI,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,CAAA;AAE3N;;;;;GAKG;AACH,KAAK,SAAS,CAAC,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAAG,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,aAAa,IAAI,OAAO,CAAC,QAAQ,EAAE,aAAa,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC,CAAA;AAE7M;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO,GAAI,QAAQ,SAAS,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAAG,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,aAAa,EAC1I,KAAK,SAAS,CAAC,QAAQ,EAAE,aAAa,CAAC,SAGxC,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,GAC1B,UAAU,SAAS,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,GAAG,KAAK,GAAG,SAAS,CAAC,EAC3E,MAAM,SAAS,MAAM,EAErB,QAAQ,gBAAgB,CAAC,UAAU,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,CAAC,KACrD,oBAAoB,CAAC,UAAU,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,MAAM,CAE/E,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,GAAG,EAAE,eAAe,EAAE,cAAc,CAAC,GAAG,CAAC,EAAE,GAAG,CAAC,CAAC,EAC9H,UAAU,CAAC,KACV,CAEF,CAAA"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.19
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
* CLI-specific type definitions for tree-shaking optimization
|
|
7
|
-
*/
|
|
8
|
-
import { wireCLI as wireCLICore, defineCLICommands as defineCLICommandsCore } from '@pikku/core/cli';
|
|
9
|
-
/**
|
|
10
|
-
* Creates a type-safe CLI renderer with access to your application's singleton services.
|
|
11
|
-
* The renderer receives the full singleton services and output data to format and display results.
|
|
12
|
-
*
|
|
13
|
-
* @template Data - The output data type from the CLI command
|
|
14
|
-
* @template RequiredServices - The minimum services required for type checking (defaults to SingletonServices)
|
|
15
|
-
* @param render - Function that receives singleton services and data to render output
|
|
16
|
-
* @returns A CLI renderer configuration
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* ```typescript
|
|
20
|
-
* const myRenderer = pikkuCLIRender<MyData>(({ logger }, data) => {
|
|
21
|
-
* logger.info(data.message)
|
|
22
|
-
* })
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export const pikkuCLIRender = (render) => {
|
|
26
|
-
return render;
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Registers a CLI application with the Pikku framework.
|
|
30
|
-
* Creates command-line interfaces with type-safe commands and options.
|
|
31
|
-
*
|
|
32
|
-
* @template Commands - Type describing the command structure
|
|
33
|
-
* @template GlobalOptions - Type for global CLI options
|
|
34
|
-
* @param cli - CLI definition with program name, commands, and global options
|
|
35
|
-
*/
|
|
36
|
-
export const wireCLI = (cli) => {
|
|
37
|
-
wireCLICore(cli);
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Creates a CLI command definition with automatic option inference from the function's input type.
|
|
41
|
-
* This allows TypeScript to automatically derive CLI options from the function signature.
|
|
42
|
-
*
|
|
43
|
-
* @template FuncConfig - The Pikku function config type
|
|
44
|
-
* @template Params - The parameters string literal type
|
|
45
|
-
* @param config - CLI command configuration
|
|
46
|
-
* @returns CLI command configuration with inferred types
|
|
47
|
-
*/
|
|
48
|
-
export const pikkuCLICommand = (config) => {
|
|
49
|
-
return config;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Type-safe helper for defining CLI commands that can be composed and spread into wireCLI.
|
|
53
|
-
*
|
|
54
|
-
* @template T - Record of CLI command configurations
|
|
55
|
-
* @param commands - The CLI commands record
|
|
56
|
-
* @returns The same commands record (identity function for type safety)
|
|
57
|
-
*/
|
|
58
|
-
export const defineCLICommands = (commands) => {
|
|
59
|
-
return defineCLICommandsCore(commands);
|
|
60
|
-
};
|
|
61
|
-
//# sourceMappingURL=pikku-cli-types.gen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-cli-types.gen.js","sourceRoot":"","sources":["../../../.pikku/cli/pikku-cli-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;GAGG;AAEH,OAAO,EAAW,OAAO,IAAI,WAAW,EAA4C,iBAAiB,IAAI,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAiBvJ;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAC5B,MAAyE,EACjC,EAAE;IAC1C,OAAO,MAAa,CAAA;AACtB,CAAC,CAAA;AAgBD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,CACrB,GAAuC,EACvC,EAAE;IACF,WAAW,CAAC,GAAU,CAAC,CAAA;AACzB,CAAC,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAI7B,MAAsD,EAC0B,EAAE;IAClF,OAAO,MAAa,CAAA;AACtB,CAAC,CAAA;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,QAAW,EACR,EAAE;IACL,OAAO,qBAAqB,CAAC,QAAe,CAAM,CAAA;AACpD,CAAC,CAAA"}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.19
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
|
|
6
|
-
* CLI-specific type definitions for tree-shaking optimization
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { CoreCLI, wireCLI as wireCLICore, CorePikkuCLIRender, CoreCLICommandConfig, defineCLICommands as defineCLICommandsCore } from '@pikku/core/cli'
|
|
10
|
-
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js'
|
|
11
|
-
import type { UserSession } from '../../types/application-types.d.js'
|
|
12
|
-
import type { SingletonServices } from '../../types/application-types.d.js'
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
type Session = UserSession
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Type-safe CLI renderer definition that can access your application's services.
|
|
19
|
-
* Use this to define custom renderers for CLI command output.
|
|
20
|
-
*
|
|
21
|
-
* @template Data - The output data type from the CLI command
|
|
22
|
-
* @template RequiredServices - The services required for this renderer
|
|
23
|
-
*/
|
|
24
|
-
type PikkuCLIRender<Data, RequiredServices extends SingletonServices = SingletonServices> = CorePikkuCLIRender<Data, RequiredServices, Session>
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Creates a type-safe CLI renderer with access to your application's singleton services.
|
|
28
|
-
* The renderer receives the full singleton services and output data to format and display results.
|
|
29
|
-
*
|
|
30
|
-
* @template Data - The output data type from the CLI command
|
|
31
|
-
* @template RequiredServices - The minimum services required for type checking (defaults to SingletonServices)
|
|
32
|
-
* @param render - Function that receives singleton services and data to render output
|
|
33
|
-
* @returns A CLI renderer configuration
|
|
34
|
-
*
|
|
35
|
-
* @example
|
|
36
|
-
* ```typescript
|
|
37
|
-
* const myRenderer = pikkuCLIRender<MyData>(({ logger }, data) => {
|
|
38
|
-
* logger.info(data.message)
|
|
39
|
-
* })
|
|
40
|
-
* ```
|
|
41
|
-
*/
|
|
42
|
-
export const pikkuCLIRender = <Data, RequiredServices extends SingletonServices = SingletonServices>(
|
|
43
|
-
render: (services: SingletonServices, data: Data) => void | Promise<void>
|
|
44
|
-
): PikkuCLIRender<Data, RequiredServices> => {
|
|
45
|
-
return render as any
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* CLI command configuration with project-specific types.
|
|
50
|
-
* Uses CoreCLICommandConfig from @pikku/core with local middleware and render types.
|
|
51
|
-
*/
|
|
52
|
-
type CLICommandConfig<Func extends PikkuFunctionConfig<In, Out, 'cli' | 'rpc' | 'session'>, In = any, Out = any, Params extends string = string> = CoreCLICommandConfig<Func, PikkuMiddleware, PikkuCLIRender<any>, Params>
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Type definition for CLI applications with commands and global options.
|
|
56
|
-
*
|
|
57
|
-
* @template Commands - Type describing the command structure
|
|
58
|
-
* @template GlobalOptions - Type for global CLI options
|
|
59
|
-
*/
|
|
60
|
-
type CLIWiring<Commands extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>, GlobalOptions> = CoreCLI<Commands, GlobalOptions, PikkuMiddleware, PikkuCLIRender<any>>
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Registers a CLI application with the Pikku framework.
|
|
64
|
-
* Creates command-line interfaces with type-safe commands and options.
|
|
65
|
-
*
|
|
66
|
-
* @template Commands - Type describing the command structure
|
|
67
|
-
* @template GlobalOptions - Type for global CLI options
|
|
68
|
-
* @param cli - CLI definition with program name, commands, and global options
|
|
69
|
-
*/
|
|
70
|
-
export const wireCLI = <Commands extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>, GlobalOptions>(
|
|
71
|
-
cli: CLIWiring<Commands, GlobalOptions>
|
|
72
|
-
) => {
|
|
73
|
-
wireCLICore(cli as any)
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Creates a CLI command definition with automatic option inference from the function's input type.
|
|
78
|
-
* This allows TypeScript to automatically derive CLI options from the function signature.
|
|
79
|
-
*
|
|
80
|
-
* @template FuncConfig - The Pikku function config type
|
|
81
|
-
* @template Params - The parameters string literal type
|
|
82
|
-
* @param config - CLI command configuration
|
|
83
|
-
* @returns CLI command configuration with inferred types
|
|
84
|
-
*/
|
|
85
|
-
export const pikkuCLICommand = <
|
|
86
|
-
FuncConfig extends PikkuFunctionConfig<any, any, 'cli' | 'rpc' | 'session'>,
|
|
87
|
-
Params extends string
|
|
88
|
-
>(
|
|
89
|
-
config: CLICommandConfig<FuncConfig, any, any, Params>
|
|
90
|
-
): CoreCLICommandConfig<FuncConfig, PikkuMiddleware, PikkuCLIRender<any>, string> => {
|
|
91
|
-
return config as any
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* Type-safe helper for defining CLI commands that can be composed and spread into wireCLI.
|
|
96
|
-
*
|
|
97
|
-
* @template T - Record of CLI command configurations
|
|
98
|
-
* @param commands - The CLI commands record
|
|
99
|
-
* @returns The same commands record (identity function for type safety)
|
|
100
|
-
*/
|
|
101
|
-
export const defineCLICommands = <T extends Record<string, CoreCLICommandConfig<any, PikkuMiddleware, PikkuCLIRender<any>, any>>>(
|
|
102
|
-
commands: T
|
|
103
|
-
): T => {
|
|
104
|
-
return defineCLICommandsCore(commands as any) as T
|
|
105
|
-
}
|
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"nodes": {
|
|
3
|
-
"aggregate": {
|
|
4
|
-
"name": "aggregate",
|
|
5
|
-
"displayName": "Aggregate",
|
|
6
|
-
"category": "Array",
|
|
7
|
-
"type": "action",
|
|
8
|
-
"rpc": "aggregate",
|
|
9
|
-
"description": "Combine a field from many items into a list in a single item",
|
|
10
|
-
"errorOutput": false,
|
|
11
|
-
"inputSchemaName": "AggregateInput",
|
|
12
|
-
"outputSchemaName": "AggregateOutput"
|
|
13
|
-
},
|
|
14
|
-
"chunk": {
|
|
15
|
-
"name": "chunk",
|
|
16
|
-
"displayName": "Chunk",
|
|
17
|
-
"category": "Array",
|
|
18
|
-
"type": "action",
|
|
19
|
-
"rpc": "chunk",
|
|
20
|
-
"description": "Split array into chunks of specified size",
|
|
21
|
-
"errorOutput": false,
|
|
22
|
-
"inputSchemaName": "ChunkInput",
|
|
23
|
-
"outputSchemaName": "ChunkOutput"
|
|
24
|
-
},
|
|
25
|
-
"find": {
|
|
26
|
-
"name": "find",
|
|
27
|
-
"displayName": "Find",
|
|
28
|
-
"category": "Array",
|
|
29
|
-
"type": "action",
|
|
30
|
-
"rpc": "find",
|
|
31
|
-
"description": "Find the first item matching a field value",
|
|
32
|
-
"errorOutput": false,
|
|
33
|
-
"inputSchemaName": "FindInput",
|
|
34
|
-
"outputSchemaName": "FindOutput"
|
|
35
|
-
},
|
|
36
|
-
"groupBy": {
|
|
37
|
-
"name": "groupBy",
|
|
38
|
-
"displayName": "Group By",
|
|
39
|
-
"category": "Array",
|
|
40
|
-
"type": "action",
|
|
41
|
-
"rpc": "groupBy",
|
|
42
|
-
"description": "Group items by a field value",
|
|
43
|
-
"errorOutput": false,
|
|
44
|
-
"inputSchemaName": "GroupByInput",
|
|
45
|
-
"outputSchemaName": "GroupByOutput"
|
|
46
|
-
},
|
|
47
|
-
"limit": {
|
|
48
|
-
"name": "limit",
|
|
49
|
-
"displayName": "Limit",
|
|
50
|
-
"category": "Array",
|
|
51
|
-
"type": "action",
|
|
52
|
-
"rpc": "limit",
|
|
53
|
-
"description": "Restrict the number of items",
|
|
54
|
-
"errorOutput": false,
|
|
55
|
-
"inputSchemaName": "LimitInput",
|
|
56
|
-
"outputSchemaName": "LimitOutput"
|
|
57
|
-
},
|
|
58
|
-
"removeDuplicates": {
|
|
59
|
-
"name": "removeDuplicates",
|
|
60
|
-
"displayName": "Remove Duplicates",
|
|
61
|
-
"category": "Array",
|
|
62
|
-
"type": "action",
|
|
63
|
-
"rpc": "removeDuplicates",
|
|
64
|
-
"description": "Delete items with matching field values",
|
|
65
|
-
"errorOutput": false,
|
|
66
|
-
"inputSchemaName": "RemoveDuplicatesInput",
|
|
67
|
-
"outputSchemaName": "RemoveDuplicatesOutput"
|
|
68
|
-
},
|
|
69
|
-
"reverse": {
|
|
70
|
-
"name": "reverse",
|
|
71
|
-
"displayName": "Reverse",
|
|
72
|
-
"category": "Array",
|
|
73
|
-
"type": "action",
|
|
74
|
-
"rpc": "reverse",
|
|
75
|
-
"description": "Reverse the order of items in an array",
|
|
76
|
-
"errorOutput": false,
|
|
77
|
-
"inputSchemaName": "ReverseInput",
|
|
78
|
-
"outputSchemaName": "ReverseOutput"
|
|
79
|
-
},
|
|
80
|
-
"sort": {
|
|
81
|
-
"name": "sort",
|
|
82
|
-
"displayName": "Sort",
|
|
83
|
-
"category": "Array",
|
|
84
|
-
"type": "action",
|
|
85
|
-
"rpc": "sort",
|
|
86
|
-
"description": "Change items order",
|
|
87
|
-
"errorOutput": false,
|
|
88
|
-
"inputSchemaName": "SortInput",
|
|
89
|
-
"outputSchemaName": "SortOutput"
|
|
90
|
-
},
|
|
91
|
-
"splitOut": {
|
|
92
|
-
"name": "splitOut",
|
|
93
|
-
"displayName": "Split Out",
|
|
94
|
-
"category": "Array",
|
|
95
|
-
"type": "action",
|
|
96
|
-
"rpc": "splitOut",
|
|
97
|
-
"description": "Turn a list inside item(s) into separate items",
|
|
98
|
-
"errorOutput": false,
|
|
99
|
-
"inputSchemaName": "SplitOutInput",
|
|
100
|
-
"outputSchemaName": "SplitOutOutput"
|
|
101
|
-
},
|
|
102
|
-
"summarize": {
|
|
103
|
-
"name": "summarize",
|
|
104
|
-
"displayName": "Summarize",
|
|
105
|
-
"category": "Array",
|
|
106
|
-
"type": "action",
|
|
107
|
-
"rpc": "summarize",
|
|
108
|
-
"description": "Sum, count, max, etc. across items",
|
|
109
|
-
"errorOutput": false,
|
|
110
|
-
"inputSchemaName": "SummarizeInput",
|
|
111
|
-
"outputSchemaName": "SummarizeOutput"
|
|
112
|
-
},
|
|
113
|
-
"unique": {
|
|
114
|
-
"name": "unique",
|
|
115
|
-
"displayName": "Unique",
|
|
116
|
-
"category": "Array",
|
|
117
|
-
"type": "action",
|
|
118
|
-
"rpc": "unique",
|
|
119
|
-
"description": "Get unique values from an array",
|
|
120
|
-
"errorOutput": false,
|
|
121
|
-
"inputSchemaName": "UniqueInput",
|
|
122
|
-
"outputSchemaName": "UniqueOutput"
|
|
123
|
-
},
|
|
124
|
-
"coalesce": {
|
|
125
|
-
"name": "coalesce",
|
|
126
|
-
"displayName": "Coalesce",
|
|
127
|
-
"category": "Data",
|
|
128
|
-
"type": "action",
|
|
129
|
-
"rpc": "coalesce",
|
|
130
|
-
"description": "Return the first non-null value",
|
|
131
|
-
"errorOutput": false,
|
|
132
|
-
"inputSchemaName": "CoalesceInput",
|
|
133
|
-
"outputSchemaName": "CoalesceOutput"
|
|
134
|
-
},
|
|
135
|
-
"crypto": {
|
|
136
|
-
"name": "crypto",
|
|
137
|
-
"displayName": "Crypto",
|
|
138
|
-
"category": "Data",
|
|
139
|
-
"type": "action",
|
|
140
|
-
"rpc": "crypto",
|
|
141
|
-
"description": "Provide cryptographic utilities",
|
|
142
|
-
"errorOutput": false,
|
|
143
|
-
"inputSchemaName": "CryptoInput",
|
|
144
|
-
"outputSchemaName": "CryptoOutput"
|
|
145
|
-
},
|
|
146
|
-
"dateTime": {
|
|
147
|
-
"name": "dateTime",
|
|
148
|
-
"displayName": "Date & Time",
|
|
149
|
-
"category": "Data",
|
|
150
|
-
"type": "action",
|
|
151
|
-
"rpc": "dateTime",
|
|
152
|
-
"description": "Manipulate date and time values",
|
|
153
|
-
"errorOutput": false,
|
|
154
|
-
"inputSchemaName": "DateTimeInput",
|
|
155
|
-
"outputSchemaName": "DateTimeOutput"
|
|
156
|
-
},
|
|
157
|
-
"jwtSign": {
|
|
158
|
-
"name": "jwtSign",
|
|
159
|
-
"displayName": "JWT Sign",
|
|
160
|
-
"category": "Data",
|
|
161
|
-
"type": "action",
|
|
162
|
-
"rpc": "jwtSign",
|
|
163
|
-
"description": "Sign a payload into a JWT token",
|
|
164
|
-
"errorOutput": false,
|
|
165
|
-
"inputSchemaName": "JwtSignInput",
|
|
166
|
-
"outputSchemaName": "JwtSignOutput"
|
|
167
|
-
},
|
|
168
|
-
"jwtDecode": {
|
|
169
|
-
"name": "jwtDecode",
|
|
170
|
-
"displayName": "JWT Decode",
|
|
171
|
-
"category": "Data",
|
|
172
|
-
"type": "action",
|
|
173
|
-
"rpc": "jwtDecode",
|
|
174
|
-
"description": "Decode a JWT token into its payload",
|
|
175
|
-
"errorOutput": false,
|
|
176
|
-
"inputSchemaName": "JwtDecodeInput",
|
|
177
|
-
"outputSchemaName": "JwtDecodeOutput"
|
|
178
|
-
},
|
|
179
|
-
"math": {
|
|
180
|
-
"name": "math",
|
|
181
|
-
"displayName": "Math",
|
|
182
|
-
"category": "Data",
|
|
183
|
-
"type": "action",
|
|
184
|
-
"rpc": "math",
|
|
185
|
-
"description": "Perform math operations",
|
|
186
|
-
"errorOutput": false,
|
|
187
|
-
"inputSchemaName": "MathInput",
|
|
188
|
-
"outputSchemaName": "MathOutput"
|
|
189
|
-
},
|
|
190
|
-
"sleep": {
|
|
191
|
-
"name": "sleep",
|
|
192
|
-
"displayName": "Sleep",
|
|
193
|
-
"category": "Data",
|
|
194
|
-
"type": "action",
|
|
195
|
-
"rpc": "sleep",
|
|
196
|
-
"description": "Sleep for a specified duration before continuing",
|
|
197
|
-
"errorOutput": false,
|
|
198
|
-
"inputSchemaName": "SleepInput",
|
|
199
|
-
"outputSchemaName": null
|
|
200
|
-
},
|
|
201
|
-
"stringTransform": {
|
|
202
|
-
"name": "stringTransform",
|
|
203
|
-
"displayName": "String Transform",
|
|
204
|
-
"category": "Data",
|
|
205
|
-
"type": "action",
|
|
206
|
-
"rpc": "stringTransform",
|
|
207
|
-
"description": "Transform strings (case, trim, split, replace, etc.)",
|
|
208
|
-
"errorOutput": false,
|
|
209
|
-
"inputSchemaName": "StringTransformInput",
|
|
210
|
-
"outputSchemaName": "StringTransformOutput"
|
|
211
|
-
},
|
|
212
|
-
"typeConvert": {
|
|
213
|
-
"name": "typeConvert",
|
|
214
|
-
"displayName": "Type Convert",
|
|
215
|
-
"category": "Data",
|
|
216
|
-
"type": "action",
|
|
217
|
-
"rpc": "typeConvert",
|
|
218
|
-
"description": "Convert between types (string, number, boolean, json, array)",
|
|
219
|
-
"errorOutput": false,
|
|
220
|
-
"inputSchemaName": "TypeConvertInput",
|
|
221
|
-
"outputSchemaName": "TypeConvertOutput"
|
|
222
|
-
},
|
|
223
|
-
"editFields": {
|
|
224
|
-
"name": "editFields",
|
|
225
|
-
"displayName": "Edit Fields",
|
|
226
|
-
"category": "Transform",
|
|
227
|
-
"type": "action",
|
|
228
|
-
"rpc": "editFields",
|
|
229
|
-
"description": "Modify, add, or remove item fields",
|
|
230
|
-
"errorOutput": false,
|
|
231
|
-
"inputSchemaName": "EditFieldsInput",
|
|
232
|
-
"outputSchemaName": "EditFieldsOutput"
|
|
233
|
-
},
|
|
234
|
-
"merge": {
|
|
235
|
-
"name": "merge",
|
|
236
|
-
"displayName": "Merge",
|
|
237
|
-
"category": "Transform",
|
|
238
|
-
"type": "action",
|
|
239
|
-
"rpc": "merge",
|
|
240
|
-
"description": "Merge multiple objects into one",
|
|
241
|
-
"errorOutput": false,
|
|
242
|
-
"inputSchemaName": "MergeInput",
|
|
243
|
-
"outputSchemaName": "MergeOutput"
|
|
244
|
-
},
|
|
245
|
-
"omit": {
|
|
246
|
-
"name": "omit",
|
|
247
|
-
"displayName": "Omit",
|
|
248
|
-
"category": "Transform",
|
|
249
|
-
"type": "action",
|
|
250
|
-
"rpc": "omit",
|
|
251
|
-
"description": "Remove specified fields from an object",
|
|
252
|
-
"errorOutput": false,
|
|
253
|
-
"inputSchemaName": "OmitInput",
|
|
254
|
-
"outputSchemaName": "OmitOutput"
|
|
255
|
-
},
|
|
256
|
-
"pick": {
|
|
257
|
-
"name": "pick",
|
|
258
|
-
"displayName": "Pick",
|
|
259
|
-
"category": "Transform",
|
|
260
|
-
"type": "action",
|
|
261
|
-
"rpc": "pick",
|
|
262
|
-
"description": "Keep only specified fields from an object",
|
|
263
|
-
"errorOutput": false,
|
|
264
|
-
"inputSchemaName": "PickInput",
|
|
265
|
-
"outputSchemaName": "PickOutput"
|
|
266
|
-
},
|
|
267
|
-
"renameKeys": {
|
|
268
|
-
"name": "renameKeys",
|
|
269
|
-
"displayName": "Rename Keys",
|
|
270
|
-
"category": "Transform",
|
|
271
|
-
"type": "action",
|
|
272
|
-
"rpc": "renameKeys",
|
|
273
|
-
"description": "Update item field names",
|
|
274
|
-
"errorOutput": false,
|
|
275
|
-
"inputSchemaName": "RenameKeysInput",
|
|
276
|
-
"outputSchemaName": "RenameKeysOutput"
|
|
277
|
-
}
|
|
278
|
-
},
|
|
279
|
-
"secrets": {},
|
|
280
|
-
"package": {}
|
|
281
|
-
}
|