@pikku/addon-graph 0.0.2 → 0.0.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/dist/.pikku/addon/pikku-addon-types.gen.d.ts +17 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.js +21 -2
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +24 -2
- package/dist/.pikku/addon/pikku-package.gen.js +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +6 -6
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +13 -7
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.d.ts +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.js +1 -1
- package/dist/.pikku/agent/pikku-agent-wirings.gen.ts +1 -1
- package/dist/.pikku/console/pikku-addon-meta.gen.json +281 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +2 -2
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.ts +2 -2
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +41 -12
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.js +17 -1
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.ts +53 -15
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +224 -196
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +160 -144
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
- package/dist/.pikku/function/pikku-functions.gen.js +3 -1
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/function/pikku-functions.gen.ts +3 -1
- package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/pikku-bootstrap.gen.ts +1 -1
- package/dist/.pikku/pikku-services.gen.d.ts +3 -1
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/pikku-services.gen.js +2 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/pikku-services.gen.ts +3 -1
- package/dist/.pikku/pikku-types.gen.d.ts +1 -1
- package/dist/.pikku/pikku-types.gen.js +1 -1
- package/dist/.pikku/pikku-types.gen.ts +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +50 -396
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +59 -404
- package/dist/.pikku/schema-cache.json +1 -0
- package/dist/.pikku/schemas/pikku.cache.json +1 -0
- package/dist/.pikku/schemas/register.gen.js +35 -33
- package/dist/.pikku/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/schemas/register.gen.ts +69 -65
- package/dist/.pikku/schemas/schemas/SleepInput.schema.json +1 -0
- 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-secret-types.gen.ts +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/secrets/pikku-secrets.gen.ts +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/trigger/pikku-trigger-types.gen.ts +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-variable-types.gen.ts +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/variables/pikku-variables.gen.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +35 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +5 -5
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +65 -9
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +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/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/src/functions/data/sleep.function.d.ts +16 -0
- package/dist/src/functions/data/sleep.function.d.ts.map +1 -0
- package/dist/src/functions/data/sleep.function.js +18 -0
- package/dist/src/functions/data/sleep.function.js.map +1 -0
- package/package.json +11 -8
- package/.pikku/addon/pikku-addon-types.gen.ts +0 -78
- package/.pikku/addon/pikku-package.gen.ts +0 -9
- package/.pikku/agent/pikku-agent-map.gen.d.ts +0 -16
- package/.pikku/agent/pikku-agent-types.gen.ts +0 -76
- package/.pikku/agent/pikku-agent-wirings-meta.gen.json +0 -3
- package/.pikku/agent/pikku-agent-wirings-meta.gen.ts +0 -7
- package/.pikku/agent/pikku-agent-wirings.gen.ts +0 -3
- package/.pikku/console/pikku-node-types.gen.ts +0 -8
- package/.pikku/function/pikku-function-types.gen.ts +0 -648
- package/.pikku/function/pikku-functions-meta-verbose.gen.json +0 -582
- package/.pikku/function/pikku-functions-meta.gen.json +0 -434
- package/.pikku/function/pikku-functions-meta.gen.ts +0 -7
- package/.pikku/function/pikku-functions.gen.ts +0 -54
- package/.pikku/pikku-bootstrap.gen.ts +0 -15
- package/.pikku/pikku-services.gen.ts +0 -32
- package/.pikku/pikku-types.gen.ts +0 -21
- package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +0 -470
- package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +0 -494
- package/.pikku/schemas/register.gen.ts +0 -195
- 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/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 -34
- package/.pikku/workflow/pikku-workflow-types.gen.ts +0 -158
- package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +0 -9
- package/.pikku/workflow/pikku-workflow-wirings.gen.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Addon package types for pikkuAddonConfig and pikkuAddonServices
|
|
@@ -46,4 +46,20 @@ export declare const pikkuAddonConfig: <ExistingServices extends Omit<Partial<Si
|
|
|
46
46
|
* ```
|
|
47
47
|
*/
|
|
48
48
|
export declare const pikkuAddonServices: <T extends Record<string, any>, ExistingServices extends Omit<Partial<SingletonServices>, "variables" | "secrets"> & AddonBaseServices>(func: (config: Config, services: ExistingServices) => Promise<T>) => (config: Config, existingServices?: Partial<SingletonServices>) => Promise<RequiredSingletonServices>;
|
|
49
|
+
/**
|
|
50
|
+
* Creates a Pikku wire services factory for addon packages.
|
|
51
|
+
* Wire services are created per-request and have access to the HTTP request context.
|
|
52
|
+
*
|
|
53
|
+
* @param func - Wire services factory function that receives singleton services and the wire context
|
|
54
|
+
* @returns The wire services factory function
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```typescript
|
|
58
|
+
* export const createWireServices = pikkuAddonWireServices(async (services, wire) => {
|
|
59
|
+
* const authHeader = wire.http?.request?.header('authorization')
|
|
60
|
+
* return { myService: new MyService(authHeader) }
|
|
61
|
+
* })
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
export declare const pikkuAddonWireServices: (func: (services: SingletonServices, wire: any) => Promise<Record<string, any>>) => any;
|
|
49
65
|
//# sourceMappingURL=pikku-addon-types.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-addon-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/addon/pikku-addon-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAA;AAChE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAA;AACzE,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAK3E;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,MAAM,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAA;IACnC,SAAS,EAAE,qBAAqB,CAAA;IAChC,OAAO,EAAE,kBAAkB,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EACrI,MAAM,CAAC,QAAQ,EAAE,gBAAgB,KAAK,OAAO,CAAC,MAAM,CAAC,KACpD,YAAY,CAAC,MAAM,CAKrB,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,gBAAgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,G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AgB,SAAS,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC,GAAG,iBAAiB,EACtK,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,gBAAgB,KAAK,OAAO,CAAC,CAAC,CAAC,MAElD,QAAQ,MAAM,EAAE,mBAAmB,OAAO,CAAC,iBAAiB,CAAC,KAAG,OAAO,CAAC,yBAAyB,CAchH,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,sBAAsB,GACjC,MAAM,CAAC,QAAQ,EAAE,iBAAiB,EAAE,IAAI,EAAE,GAAG,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,KAE/D,GAChB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Addon package types for pikkuAddonConfig and pikkuAddonServices
|
|
@@ -39,17 +39,36 @@ export const pikkuAddonConfig = (func) => {
|
|
|
39
39
|
*/
|
|
40
40
|
export const pikkuAddonServices = (func) => {
|
|
41
41
|
return async (config, existingServices) => {
|
|
42
|
-
const { logger, variables, secrets } = (existingServices ?? {});
|
|
42
|
+
const { logger, variables, secrets, schema } = (existingServices ?? {});
|
|
43
43
|
const typedVariables = new TypedVariablesService(variables);
|
|
44
44
|
const typedSecrets = new TypedSecretService(secrets);
|
|
45
45
|
const result = await func(config, { ...existingServices, logger, variables: typedVariables, secrets: typedSecrets });
|
|
46
46
|
return {
|
|
47
47
|
config,
|
|
48
48
|
logger,
|
|
49
|
+
schema,
|
|
49
50
|
variables: typedVariables,
|
|
50
51
|
secrets: typedSecrets,
|
|
51
52
|
...result,
|
|
52
53
|
};
|
|
53
54
|
};
|
|
54
55
|
};
|
|
56
|
+
/**
|
|
57
|
+
* Creates a Pikku wire services factory for addon packages.
|
|
58
|
+
* Wire services are created per-request and have access to the HTTP request context.
|
|
59
|
+
*
|
|
60
|
+
* @param func - Wire services factory function that receives singleton services and the wire context
|
|
61
|
+
* @returns The wire services factory function
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```typescript
|
|
65
|
+
* export const createWireServices = pikkuAddonWireServices(async (services, wire) => {
|
|
66
|
+
* const authHeader = wire.http?.request?.header('authorization')
|
|
67
|
+
* return { myService: new MyService(authHeader) }
|
|
68
|
+
* })
|
|
69
|
+
* ```
|
|
70
|
+
*/
|
|
71
|
+
export const pikkuAddonWireServices = (func) => {
|
|
72
|
+
return func;
|
|
73
|
+
};
|
|
55
74
|
//# sourceMappingURL=pikku-addon-types.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-addon-types.gen.js","sourceRoot":"","sources":["../../../.pikku/addon/pikku-addon-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAMH,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAA;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAA;AAe3E;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,IAAqD,EAC/B,EAAE;IACxB,OAAO,CAAC,KAAK,EAAE,UAAe,EAAE,gBAA6C,EAAmB,EAAE;QAChG,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,CAAC,gBAAgB,IAAI,EAAE,CAAiC,CAAA;QAChG,OAAO,IAAI,CAAC,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAE,SAAS,EAAE,IAAI,qBAAqB,CAAC,SAAS,CAAC,EAAsB,CAAC,CAAA;IACzI,CAAC,CAAoC,CAAA;AACvC,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAA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C3D,MAAM,YAAY,GAAG,IAAI,kBAAkB,CAAC,OAAO,CAAC,CAAA;QACpD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,EAAE,GAAG,gBAAgB,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,YAAY,EAAsB,CAAC,CAAA;QACxI,OAAO;YACL,MAAM;YACN,MAAM;YACN,MAAM;YACN,SAAS,EAAE,cAAc;YACzB,OAAO,EAAE,YAAY;YACrB,GAAG,MAAM;SAC8B,CAAA;IAC3C,CAAC,CAAA;AACH,CAAC,CAAA;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,IAA8E,EAC9E,EAAE;IACF,OAAO,IAAW,CAAA;AACpB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Addon package types for pikkuAddonConfig and pikkuAddonServices
|
|
@@ -63,16 +63,38 @@ export const pikkuAddonServices = <T extends Record<string, any>, ExistingServic
|
|
|
63
63
|
func: (config: Config, services: ExistingServices) => Promise<T>
|
|
64
64
|
) => {
|
|
65
65
|
return async (config: Config, existingServices?: Partial<SingletonServices>): Promise<RequiredSingletonServices> => {
|
|
66
|
-
const { logger, variables, secrets } = (existingServices ?? {}) as unknown as SingletonServices
|
|
66
|
+
const { logger, variables, secrets, schema } = (existingServices ?? {}) as unknown as SingletonServices
|
|
67
67
|
const typedVariables = new TypedVariablesService(variables)
|
|
68
68
|
const typedSecrets = new TypedSecretService(secrets)
|
|
69
69
|
const result = await func(config, { ...existingServices, logger, variables: typedVariables, secrets: typedSecrets } as ExistingServices)
|
|
70
70
|
return {
|
|
71
71
|
config,
|
|
72
72
|
logger,
|
|
73
|
+
schema,
|
|
73
74
|
variables: typedVariables,
|
|
74
75
|
secrets: typedSecrets,
|
|
75
76
|
...result,
|
|
76
77
|
} as unknown as RequiredSingletonServices
|
|
77
78
|
}
|
|
78
79
|
}
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Creates a Pikku wire services factory for addon packages.
|
|
83
|
+
* Wire services are created per-request and have access to the HTTP request context.
|
|
84
|
+
*
|
|
85
|
+
* @param func - Wire services factory function that receives singleton services and the wire context
|
|
86
|
+
* @returns The wire services factory function
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* ```typescript
|
|
90
|
+
* export const createWireServices = pikkuAddonWireServices(async (services, wire) => {
|
|
91
|
+
* const authHeader = wire.http?.request?.header('authorization')
|
|
92
|
+
* return { myService: new MyService(authHeader) }
|
|
93
|
+
* })
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export const pikkuAddonWireServices = (
|
|
97
|
+
func: (services: SingletonServices, wire: any) => Promise<Record<string, any>>
|
|
98
|
+
) => {
|
|
99
|
+
return func as any
|
|
100
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
import { CoreAIAgent, PikkuAIMiddlewareHooks } from '@pikku/core/ai-agent';
|
|
5
5
|
import type { PikkuPermission, PikkuMiddleware, Services, PikkuFunctionConfig } from '../function/pikku-function-types.gen.js';
|
|
6
6
|
import type { StandardSchemaV1 } from '@standard-schema/spec';
|
|
7
7
|
import type { AIAgentMemoryConfig, AIAgentInput } from '@pikku/core/ai-agent';
|
|
8
8
|
import type { AgentMap } from './pikku-agent-map.gen.d.js';
|
|
9
|
-
type AIAgentConfig = Omit<CoreAIAgent<PikkuPermission, PikkuMiddleware>, 'tools' | 'agents' | 'memory'> & {
|
|
10
|
-
input?:
|
|
11
|
-
output?:
|
|
9
|
+
type AIAgentConfig<InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined> = Omit<CoreAIAgent<PikkuPermission, PikkuMiddleware>, 'tools' | 'agents' | 'memory' | 'input' | 'output'> & {
|
|
10
|
+
input?: InputSchema;
|
|
11
|
+
output?: OutputSchema;
|
|
12
12
|
memory?: Omit<AIAgentMemoryConfig, 'workingMemory'> & {
|
|
13
13
|
workingMemory?: StandardSchemaV1;
|
|
14
14
|
};
|
|
15
15
|
tools?: object[];
|
|
16
|
-
agents?: AIAgentConfig[];
|
|
16
|
+
agents?: AIAgentConfig<StandardSchemaV1 | undefined, StandardSchemaV1 | undefined>[];
|
|
17
17
|
};
|
|
18
|
-
export declare const pikkuAIAgent: (agent: AIAgentConfig) => AIAgentConfig
|
|
18
|
+
export declare const pikkuAIAgent: <InputSchema extends StandardSchemaV1 | undefined = undefined, OutputSchema extends StandardSchemaV1 | undefined = undefined>(agent: AIAgentConfig<InputSchema, OutputSchema>) => AIAgentConfig<InputSchema, OutputSchema>;
|
|
19
19
|
export declare const pikkuAIMiddleware: <State extends Record<string, unknown> = Record<string, unknown>, RequiredServices extends Services = Services>(hooks: PikkuAIMiddlewareHooks<State, RequiredServices>) => PikkuAIMiddlewareHooks<State, RequiredServices>;
|
|
20
20
|
export declare const agent: <Name extends keyof AgentMap>(agentName: Name) => PikkuFunctionConfig<AIAgentInput, {
|
|
21
21
|
runId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-agent-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/agent/pikku-agent-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,WAAW,EACX,sBAAsB,EACvB,MAAM,sBAAsB,CAAA;AAO7B,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAA;AAC9H,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAC7D,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,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,EACxD,IAAI,EACJ,SAAS,GAAG,KAAK,CAEpB,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,IAAI,SAAS,MAAM,QAAQ,EACtD,WAAW,IAAI,KAE4D,mBAAmB,CAC5F;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CAAA;CAAE,EACzE,OAAO,EACP,SAAS,GAAG,KAAK,CAEpB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-agent-types.gen.js","sourceRoot":"","sources":["../../../.pikku/agent/pikku-agent-types.gen.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,IAAI,SAAS,EAClB,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,EAC9B,YAAY,IAAI,gBAAgB,GACjC,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"pikku-agent-types.gen.js","sourceRoot":"","sources":["../../../.pikku/agent/pikku-agent-types.gen.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,KAAK,IAAI,SAAS,EAClB,WAAW,IAAI,eAAe,EAC9B,WAAW,IAAI,eAAe,EAC9B,YAAY,IAAI,gBAAgB,GACjC,MAAM,sBAAsB,CAAA;AAiB7B,MAAM,CAAC,MAAM,YAAY,GAAG,CAI1B,KAA+C,EAC/C,EAAE;IACF,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAI/B,KAAsD,EACL,EAAE,CAAC,KAAK,CAAA;AAE3D,MAAM,CAAC,MAAM,KAAK,GAAG,CACnB,SAAe,EACf,EAAE;IACF,OAAO,SAAS,CAAW,SAAoC,CAI9D,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,CACzB,SAAgB,EAChB,EAAE;IACF,OAAO,eAAe,CAAW,SAAoC,CAIpE,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,EAAE;IAC9B,OAAO,eAAe,EAIrB,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,YAAY,GAAG,CAC1B,SAAe,EACf,EAAE;IACF,OAAO,gBAAgB,CAAW,SAAoC,CAIrE,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
import {
|
|
5
5
|
CoreAIAgent,
|
|
@@ -16,16 +16,22 @@ import type { StandardSchemaV1 } from '@standard-schema/spec'
|
|
|
16
16
|
import type { AIAgentMemoryConfig, AIAgentInput } from '@pikku/core/ai-agent'
|
|
17
17
|
import type { AgentMap } from './pikku-agent-map.gen.d.js'
|
|
18
18
|
|
|
19
|
-
type AIAgentConfig
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
type AIAgentConfig<
|
|
20
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
21
|
+
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
22
|
+
> = Omit<CoreAIAgent<PikkuPermission, PikkuMiddleware>, 'tools' | 'agents' | 'memory' | 'input' | 'output'> & {
|
|
23
|
+
input?: InputSchema
|
|
24
|
+
output?: OutputSchema
|
|
22
25
|
memory?: Omit<AIAgentMemoryConfig, 'workingMemory'> & { workingMemory?: StandardSchemaV1 }
|
|
23
26
|
tools?: object[]
|
|
24
|
-
agents?: AIAgentConfig[]
|
|
27
|
+
agents?: AIAgentConfig<StandardSchemaV1 | undefined, StandardSchemaV1 | undefined>[]
|
|
25
28
|
}
|
|
26
29
|
|
|
27
|
-
export const pikkuAIAgent =
|
|
28
|
-
|
|
30
|
+
export const pikkuAIAgent = <
|
|
31
|
+
InputSchema extends StandardSchemaV1 | undefined = undefined,
|
|
32
|
+
OutputSchema extends StandardSchemaV1 | undefined = undefined
|
|
33
|
+
>(
|
|
34
|
+
agent: AIAgentConfig<InputSchema, OutputSchema>
|
|
29
35
|
) => {
|
|
30
36
|
return agent
|
|
31
37
|
}
|
|
@@ -0,0 +1,281 @@
|
|
|
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
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.js';
|
|
5
|
-
export type NodeCategory =
|
|
5
|
+
export type NodeCategory = never;
|
|
6
6
|
export type NodeRPCName = keyof FlattenedRPCMap;
|
|
7
7
|
//# sourceMappingURL=pikku-node-types.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-node-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/console/pikku-node-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;AAEnF,MAAM,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"pikku-node-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/console/pikku-node-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAA;AAEnF,MAAM,MAAM,YAAY,GAAG,KAAK,CAAA;AAEhC,MAAM,MAAM,WAAW,GAAG,MAAM,eAAe,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.8
|
|
3
3
|
*/
|
|
4
4
|
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.internal.gen.js'
|
|
5
5
|
|
|
6
|
-
export type NodeCategory =
|
|
6
|
+
export type NodeCategory = never
|
|
7
7
|
|
|
8
8
|
export type NodeRPCName = keyof FlattenedRPCMap
|