@pikku/cli 0.12.42 → 0.12.43
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/console-app/assets/index-AwGnKyWe.js +254 -0
- package/console-app/assets/index-VleHndkw.css +1 -0
- package/console-app/index.html +2 -2
- 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/cli/pikku-cli-channel.js +1 -1
- package/dist/.pikku/cli/pikku-cli-client.gen.d.ts +10 -0
- package/dist/.pikku/cli/pikku-cli-client.gen.js +73 -0
- package/dist/.pikku/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings-meta.gen.json +1 -26
- package/dist/.pikku/cli/pikku-cli-wirings.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli-wirings.gen.js +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.d.ts +1 -1
- package/dist/.pikku/cli/pikku-cli.gen.js +1 -1
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +2 -2
- package/dist/.pikku/function/pikku-function-types.gen.js +3 -2
- package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/function/pikku-functions-meta.gen.json +80 -80
- 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/http/pikku-http-wirings-meta.gen.js +1 -1
- 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 +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 +2 -2
- 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/queue/pikku-queue-workers-wirings-meta.gen.js +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.d.ts +1 -1
- package/dist/.pikku/queue/pikku-queue-workers-wirings.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +2 -2
- 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 -3
- package/dist/.pikku/schemas/schemas/DeployApplyInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/DeployPlanInput.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-types.gen.d.ts +1 -1
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/bin/pikku-bin.mjs +2 -2
- package/dist/src/deploy/build-pipeline.d.ts +2 -0
- package/dist/src/deploy/build-pipeline.js +7 -1
- package/dist/src/deploy/bundler/bundler.d.ts +2 -0
- package/dist/src/deploy/bundler/bundler.js +8 -5
- package/dist/src/functions/commands/deploy-apply.d.ts +3 -0
- package/dist/src/functions/commands/deploy-apply.js +1 -0
- package/dist/src/functions/commands/deploy-plan.d.ts +3 -0
- package/dist/src/functions/commands/deploy-plan.js +1 -0
- package/dist/src/functions/wirings/auth/pikku-command-auth.js +6 -1
- package/dist/src/functions/wirings/auth/serialize-auth-gen.d.ts +4 -1
- package/dist/src/functions/wirings/auth/serialize-auth-gen.js +36 -12
- package/dist/src/functions/wirings/functions/pikku-command-services.js +5 -4
- package/dist/src/functions/wirings/functions/serialize-function-types.js +3 -2
- package/dist/src/scaffold/rpc-remote.gen.js +1 -1
- package/dist/src/services.d.ts +6 -1
- package/dist/src/services.js +6 -12
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/console-app/assets/index-D9Z9rySK.js +0 -233
- package/console-app/assets/index-DwUzVI5k.css +0 -1
package/console-app/index.html
CHANGED
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
}
|
|
22
22
|
} catch (e) {}
|
|
23
23
|
</script>
|
|
24
|
-
<script type="module" crossorigin src="/assets/index-
|
|
25
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
24
|
+
<script type="module" crossorigin src="/assets/index-AwGnKyWe.js"></script>
|
|
25
|
+
<link rel="stylesheet" crossorigin href="/assets/index-VleHndkw.css">
|
|
26
26
|
</head>
|
|
27
27
|
<body>
|
|
28
28
|
<div id="root"></div>
|
|
@@ -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.43
|
|
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';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.43
|
|
3
|
+
*/
|
|
4
|
+
import '../pikku-bootstrap.gen.js';
|
|
5
|
+
/**
|
|
6
|
+
* Pikku CLI Client (via WebSocket Channel)
|
|
7
|
+
* Executes CLI commands over a WebSocket connection
|
|
8
|
+
*/
|
|
9
|
+
export declare function PikkuCLIClient(ws: WebSocket, args?: string[]): Promise<void>;
|
|
10
|
+
export default PikkuCLIClient;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.43
|
|
3
|
+
*/
|
|
4
|
+
import { executeCLIViaChannel } from '@pikku/core/cli/channel';
|
|
5
|
+
import { CorePikkuWebsocket } from '@pikku/websocket';
|
|
6
|
+
import '../pikku-bootstrap.gen.js';
|
|
7
|
+
import { defaultCLIRenderer } from '../../src/services.js';
|
|
8
|
+
/**
|
|
9
|
+
* Pikku CLI Client (via WebSocket Channel)
|
|
10
|
+
* Executes CLI commands over a WebSocket connection
|
|
11
|
+
*/
|
|
12
|
+
export async function PikkuCLIClient(ws, args) {
|
|
13
|
+
// Create Pikku WebSocket wrapper
|
|
14
|
+
const pikkuWS = new CorePikkuWebsocket(ws);
|
|
15
|
+
// Register renderers for CLI commands
|
|
16
|
+
const renderers = {};
|
|
17
|
+
await executeCLIViaChannel({
|
|
18
|
+
programName: 'pikku',
|
|
19
|
+
pikkuWS,
|
|
20
|
+
args,
|
|
21
|
+
renderers,
|
|
22
|
+
defaultRenderer: defaultCLIRenderer,
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
// Export as default for easy importing
|
|
26
|
+
export default PikkuCLIClient;
|
|
27
|
+
// For direct execution (if this file is run directly)
|
|
28
|
+
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
29
|
+
const url = process.env.PIKKU_WS_URL || 'ws://localhost:4002/cli/pikku';
|
|
30
|
+
// Attach credentials so the channel authenticates like any other pikku client.
|
|
31
|
+
// A machine API key (PIKKU_API_KEY -> x-api-key) takes precedence; otherwise
|
|
32
|
+
// the human session token saved by `pikku login` (~/.pikku/session.json ->
|
|
33
|
+
// Authorization: Bearer) is used. This block only runs under Node (direct
|
|
34
|
+
// execution), so reading the session file and using the 'ws' headers option
|
|
35
|
+
// is safe — the browser WebSocket cannot set custom headers anyway.
|
|
36
|
+
const headers = {};
|
|
37
|
+
if (process.env.PIKKU_API_KEY) {
|
|
38
|
+
headers['x-api-key'] = process.env.PIKKU_API_KEY;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
try {
|
|
42
|
+
const { homedir } = await import('os');
|
|
43
|
+
const { readFileSync } = await import('fs');
|
|
44
|
+
const { join } = await import('path');
|
|
45
|
+
const store = JSON.parse(readFileSync(join(homedir(), '.pikku', 'session.json'), 'utf8'));
|
|
46
|
+
const token = store.current
|
|
47
|
+
? store.sessions?.[store.current]?.accessToken
|
|
48
|
+
: undefined;
|
|
49
|
+
if (token) {
|
|
50
|
+
headers['authorization'] = `Bearer ${token}`;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
catch {
|
|
54
|
+
// No saved session — connect unauthenticated (the server may reject).
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
const hasAuth = Object.keys(headers).length > 0;
|
|
58
|
+
// Custom headers require the Node 'ws' module — the global/browser WebSocket
|
|
59
|
+
// cannot set them — so prefer 'ws' whenever we have credentials to send.
|
|
60
|
+
let ws;
|
|
61
|
+
if (hasAuth || typeof WebSocket === 'undefined') {
|
|
62
|
+
const wsModule = await import('ws');
|
|
63
|
+
ws = new wsModule.default(url, { headers });
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
ws = new WebSocket(url);
|
|
67
|
+
}
|
|
68
|
+
PikkuCLIClient(ws, process.argv.slice(2)).catch(error => {
|
|
69
|
+
console.error('Fatal channel CLI error:', error);
|
|
70
|
+
// TODO: We get an error code even when it exists cleanly, investigate
|
|
71
|
+
// process.exit(1)
|
|
72
|
+
});
|
|
73
|
+
}
|
|
@@ -1439,32 +1439,7 @@
|
|
|
1439
1439
|
"exportedName": "defaultCLIRenderer",
|
|
1440
1440
|
"services": {
|
|
1441
1441
|
"optimized": true,
|
|
1442
|
-
"services": [
|
|
1443
|
-
"workflowService",
|
|
1444
|
-
"logger",
|
|
1445
|
-
"getInspectorState",
|
|
1446
|
-
"schema",
|
|
1447
|
-
"jwt",
|
|
1448
|
-
"config",
|
|
1449
|
-
"variables",
|
|
1450
|
-
"secrets",
|
|
1451
|
-
"queueService",
|
|
1452
|
-
"eventHub",
|
|
1453
|
-
"schedulerService",
|
|
1454
|
-
"deploymentService",
|
|
1455
|
-
"aiStorage",
|
|
1456
|
-
"content",
|
|
1457
|
-
"aiAgentRunner",
|
|
1458
|
-
"aiRunState",
|
|
1459
|
-
"agentRunService",
|
|
1460
|
-
"workflowRunService",
|
|
1461
|
-
"credentialService",
|
|
1462
|
-
"emailService",
|
|
1463
|
-
"metaService",
|
|
1464
|
-
"audit",
|
|
1465
|
-
"auditLog",
|
|
1466
|
-
"sessionStore"
|
|
1467
|
-
]
|
|
1442
|
+
"services": []
|
|
1468
1443
|
},
|
|
1469
1444
|
"filePath": "/home/runner/work/pikku/pikku/packages/cli/src/services.ts"
|
|
1470
1445
|
}
|
|
@@ -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.43
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Core function, middleware, and permission types for all wirings
|
|
@@ -419,7 +419,7 @@ export declare const pikkuConfig: (func: (variables?: any, ...args: any[]) => Pr
|
|
|
419
419
|
* })
|
|
420
420
|
* ```
|
|
421
421
|
*/
|
|
422
|
-
export declare const pikkuServices: (func: (config: Config, existingServices: Partial<SingletonServices>) => Promise<Omit<RequiredSingletonServices, "auth"
|
|
422
|
+
export declare const pikkuServices: (func: (config: Config, existingServices: Partial<SingletonServices>) => Promise<Partial<Omit<RequiredSingletonServices, "auth">>>) => (config: Config, existingServices?: Partial<SingletonServices>) => Promise<RequiredSingletonServices>;
|
|
423
423
|
/**
|
|
424
424
|
* Creates a Pikku wire services factory.
|
|
425
425
|
* Use this to define services that are created per-request/session.
|
|
@@ -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.43
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Core function, middleware, and permission types for all wirings
|
|
@@ -230,7 +230,8 @@ export const pikkuConfig = (func) => func;
|
|
|
230
230
|
*/
|
|
231
231
|
export const pikkuServices = (func) => {
|
|
232
232
|
return async (config, existingServices = {}) => {
|
|
233
|
-
const
|
|
233
|
+
const createdServices = await func(config, existingServices);
|
|
234
|
+
const services = { ...existingServices, ...createdServices };
|
|
234
235
|
const authFactory = __pikkuState(null, 'package', 'authFactory');
|
|
235
236
|
if (authFactory) {
|
|
236
237
|
let authInstance;
|
|
@@ -1325,9 +1325,9 @@
|
|
|
1325
1325
|
"DeployApplyInput"
|
|
1326
1326
|
],
|
|
1327
1327
|
"outputs": [],
|
|
1328
|
-
"implementationHash": "
|
|
1329
|
-
"contractHash": "
|
|
1330
|
-
"inputHash": "
|
|
1328
|
+
"implementationHash": "c7c0cd41bf1d5020",
|
|
1329
|
+
"contractHash": "052db593f47fdb3a",
|
|
1330
|
+
"inputHash": "5b3a0b43",
|
|
1331
1331
|
"outputHash": "2b614932"
|
|
1332
1332
|
},
|
|
1333
1333
|
"deployPlan": {
|
|
@@ -1342,9 +1342,9 @@
|
|
|
1342
1342
|
"DeployPlanInput"
|
|
1343
1343
|
],
|
|
1344
1344
|
"outputs": [],
|
|
1345
|
-
"implementationHash": "
|
|
1346
|
-
"contractHash": "
|
|
1347
|
-
"inputHash": "
|
|
1345
|
+
"implementationHash": "1d35f323035a43a1",
|
|
1346
|
+
"contractHash": "d6c6b3b50382f5ec",
|
|
1347
|
+
"inputHash": "71d79a7f",
|
|
1348
1348
|
"outputHash": "e6e7d2ab"
|
|
1349
1349
|
},
|
|
1350
1350
|
"deployInfo": {
|
|
@@ -1924,28 +1924,6 @@
|
|
|
1924
1924
|
"inputHash": "5d1524e3",
|
|
1925
1925
|
"outputHash": "048ccd50"
|
|
1926
1926
|
},
|
|
1927
|
-
"pikkuAuth": {
|
|
1928
|
-
"pikkuFuncId": "pikkuAuth",
|
|
1929
|
-
"functionType": "user",
|
|
1930
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
1931
|
-
"sessionless": true,
|
|
1932
|
-
"name": "pikkuAuth",
|
|
1933
|
-
"inputSchemaName": null,
|
|
1934
|
-
"outputSchemaName": null,
|
|
1935
|
-
"inputs": [],
|
|
1936
|
-
"outputs": [],
|
|
1937
|
-
"implementationHash": "f8a2af6b34ab525f",
|
|
1938
|
-
"middleware": [
|
|
1939
|
-
{
|
|
1940
|
-
"type": "wire",
|
|
1941
|
-
"name": "logCommandInfoAndTime",
|
|
1942
|
-
"inline": false
|
|
1943
|
-
}
|
|
1944
|
-
],
|
|
1945
|
-
"contractHash": "9fa89ecfb6307a51",
|
|
1946
|
-
"inputHash": "c3580f86",
|
|
1947
|
-
"outputHash": "f5261f72"
|
|
1948
|
-
},
|
|
1949
1927
|
"pikkuCLIEntry": {
|
|
1950
1928
|
"pikkuFuncId": "pikkuCLIEntry",
|
|
1951
1929
|
"functionType": "user",
|
|
@@ -1994,28 +1972,6 @@
|
|
|
1994
1972
|
"inputHash": "fef4d62b",
|
|
1995
1973
|
"outputHash": "7d42c9e1"
|
|
1996
1974
|
},
|
|
1997
|
-
"pikkuCredentials": {
|
|
1998
|
-
"pikkuFuncId": "pikkuCredentials",
|
|
1999
|
-
"functionType": "user",
|
|
2000
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2001
|
-
"sessionless": true,
|
|
2002
|
-
"name": "pikkuCredentials",
|
|
2003
|
-
"inputSchemaName": null,
|
|
2004
|
-
"outputSchemaName": null,
|
|
2005
|
-
"inputs": [],
|
|
2006
|
-
"outputs": [],
|
|
2007
|
-
"implementationHash": "a99a627856fd77bd",
|
|
2008
|
-
"middleware": [
|
|
2009
|
-
{
|
|
2010
|
-
"type": "wire",
|
|
2011
|
-
"name": "logCommandInfoAndTime",
|
|
2012
|
-
"inline": false
|
|
2013
|
-
}
|
|
2014
|
-
],
|
|
2015
|
-
"contractHash": "8fa847acfa7ef407",
|
|
2016
|
-
"inputHash": "b98cb2ee",
|
|
2017
|
-
"outputHash": "9e33f562"
|
|
2018
|
-
},
|
|
2019
1975
|
"pikkuConsoleFunctions": {
|
|
2020
1976
|
"pikkuFuncId": "pikkuConsoleFunctions",
|
|
2021
1977
|
"functionType": "user",
|
|
@@ -2086,19 +2042,39 @@
|
|
|
2086
2042
|
"inputHash": "4be7b8bd",
|
|
2087
2043
|
"outputHash": "fca2b5eb"
|
|
2088
2044
|
},
|
|
2089
|
-
"
|
|
2090
|
-
"pikkuFuncId": "
|
|
2045
|
+
"pikkuCredentials": {
|
|
2046
|
+
"pikkuFuncId": "pikkuCredentials",
|
|
2091
2047
|
"functionType": "user",
|
|
2092
2048
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
2093
2049
|
"sessionless": true,
|
|
2094
|
-
"name": "
|
|
2050
|
+
"name": "pikkuCredentials",
|
|
2095
2051
|
"inputSchemaName": null,
|
|
2096
|
-
"outputSchemaName":
|
|
2052
|
+
"outputSchemaName": null,
|
|
2097
2053
|
"inputs": [],
|
|
2098
|
-
"outputs": [
|
|
2099
|
-
|
|
2054
|
+
"outputs": [],
|
|
2055
|
+
"implementationHash": "a99a627856fd77bd",
|
|
2056
|
+
"middleware": [
|
|
2057
|
+
{
|
|
2058
|
+
"type": "wire",
|
|
2059
|
+
"name": "logCommandInfoAndTime",
|
|
2060
|
+
"inline": false
|
|
2061
|
+
}
|
|
2100
2062
|
],
|
|
2101
|
-
"
|
|
2063
|
+
"contractHash": "8fa847acfa7ef407",
|
|
2064
|
+
"inputHash": "b98cb2ee",
|
|
2065
|
+
"outputHash": "9e33f562"
|
|
2066
|
+
},
|
|
2067
|
+
"pikkuAuth": {
|
|
2068
|
+
"pikkuFuncId": "pikkuAuth",
|
|
2069
|
+
"functionType": "user",
|
|
2070
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2071
|
+
"sessionless": true,
|
|
2072
|
+
"name": "pikkuAuth",
|
|
2073
|
+
"inputSchemaName": null,
|
|
2074
|
+
"outputSchemaName": null,
|
|
2075
|
+
"inputs": [],
|
|
2076
|
+
"outputs": [],
|
|
2077
|
+
"implementationHash": "5d2217e0a4c390b3",
|
|
2102
2078
|
"middleware": [
|
|
2103
2079
|
{
|
|
2104
2080
|
"type": "wire",
|
|
@@ -2106,9 +2082,9 @@
|
|
|
2106
2082
|
"inline": false
|
|
2107
2083
|
}
|
|
2108
2084
|
],
|
|
2109
|
-
"contractHash": "
|
|
2110
|
-
"inputHash": "
|
|
2111
|
-
"outputHash": "
|
|
2085
|
+
"contractHash": "9fa89ecfb6307a51",
|
|
2086
|
+
"inputHash": "c3580f86",
|
|
2087
|
+
"outputHash": "f5261f72"
|
|
2112
2088
|
},
|
|
2113
2089
|
"pikkuFunctionTypesSplit": {
|
|
2114
2090
|
"pikkuFuncId": "pikkuFunctionTypesSplit",
|
|
@@ -2204,6 +2180,30 @@
|
|
|
2204
2180
|
"inputHash": "a3e730d9",
|
|
2205
2181
|
"outputHash": "e0b61e49"
|
|
2206
2182
|
},
|
|
2183
|
+
"pikkuGateway": {
|
|
2184
|
+
"pikkuFuncId": "pikkuGateway",
|
|
2185
|
+
"functionType": "user",
|
|
2186
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2187
|
+
"sessionless": true,
|
|
2188
|
+
"name": "pikkuGateway",
|
|
2189
|
+
"inputSchemaName": null,
|
|
2190
|
+
"outputSchemaName": "PikkuGatewayOutput",
|
|
2191
|
+
"inputs": [],
|
|
2192
|
+
"outputs": [
|
|
2193
|
+
"PikkuGatewayOutput"
|
|
2194
|
+
],
|
|
2195
|
+
"implementationHash": "cc85ec16d890311e",
|
|
2196
|
+
"middleware": [
|
|
2197
|
+
{
|
|
2198
|
+
"type": "wire",
|
|
2199
|
+
"name": "logCommandInfoAndTime",
|
|
2200
|
+
"inline": false
|
|
2201
|
+
}
|
|
2202
|
+
],
|
|
2203
|
+
"contractHash": "8c9fc7c18aeb2212",
|
|
2204
|
+
"inputHash": "a5477eae",
|
|
2205
|
+
"outputHash": "b5ea8b47"
|
|
2206
|
+
},
|
|
2207
2207
|
"pikkuHTTPMap": {
|
|
2208
2208
|
"pikkuFuncId": "pikkuHTTPMap",
|
|
2209
2209
|
"functionType": "user",
|
|
@@ -2756,17 +2756,19 @@
|
|
|
2756
2756
|
"inputHash": "dda1c6aa",
|
|
2757
2757
|
"outputHash": "1f0f0345"
|
|
2758
2758
|
},
|
|
2759
|
-
"
|
|
2760
|
-
"pikkuFuncId": "
|
|
2759
|
+
"pikkuEventsScaffold": {
|
|
2760
|
+
"pikkuFuncId": "pikkuEventsScaffold",
|
|
2761
2761
|
"functionType": "user",
|
|
2762
2762
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
2763
2763
|
"sessionless": true,
|
|
2764
|
-
"name": "
|
|
2764
|
+
"name": "pikkuEventsScaffold",
|
|
2765
2765
|
"inputSchemaName": null,
|
|
2766
|
-
"outputSchemaName":
|
|
2766
|
+
"outputSchemaName": "PikkuEventsScaffoldOutput",
|
|
2767
2767
|
"inputs": [],
|
|
2768
|
-
"outputs": [
|
|
2769
|
-
|
|
2768
|
+
"outputs": [
|
|
2769
|
+
"PikkuEventsScaffoldOutput"
|
|
2770
|
+
],
|
|
2771
|
+
"implementationHash": "4a998c5d2ef1753b",
|
|
2770
2772
|
"middleware": [
|
|
2771
2773
|
{
|
|
2772
2774
|
"type": "wire",
|
|
@@ -2774,23 +2776,21 @@
|
|
|
2774
2776
|
"inline": false
|
|
2775
2777
|
}
|
|
2776
2778
|
],
|
|
2777
|
-
"contractHash": "
|
|
2778
|
-
"inputHash": "
|
|
2779
|
-
"outputHash": "
|
|
2779
|
+
"contractHash": "59fdeb7aa338289b",
|
|
2780
|
+
"inputHash": "0e752243",
|
|
2781
|
+
"outputHash": "486a58ef"
|
|
2780
2782
|
},
|
|
2781
|
-
"
|
|
2782
|
-
"pikkuFuncId": "
|
|
2783
|
+
"pikkuSecrets": {
|
|
2784
|
+
"pikkuFuncId": "pikkuSecrets",
|
|
2783
2785
|
"functionType": "user",
|
|
2784
2786
|
"funcWrapper": "pikkuSessionlessFunc",
|
|
2785
2787
|
"sessionless": true,
|
|
2786
|
-
"name": "
|
|
2788
|
+
"name": "pikkuSecrets",
|
|
2787
2789
|
"inputSchemaName": null,
|
|
2788
|
-
"outputSchemaName":
|
|
2790
|
+
"outputSchemaName": null,
|
|
2789
2791
|
"inputs": [],
|
|
2790
|
-
"outputs": [
|
|
2791
|
-
|
|
2792
|
-
],
|
|
2793
|
-
"implementationHash": "4a998c5d2ef1753b",
|
|
2792
|
+
"outputs": [],
|
|
2793
|
+
"implementationHash": "0c90e1e1b970f27c",
|
|
2794
2794
|
"middleware": [
|
|
2795
2795
|
{
|
|
2796
2796
|
"type": "wire",
|
|
@@ -2798,9 +2798,9 @@
|
|
|
2798
2798
|
"inline": false
|
|
2799
2799
|
}
|
|
2800
2800
|
],
|
|
2801
|
-
"contractHash": "
|
|
2802
|
-
"inputHash": "
|
|
2803
|
-
"outputHash": "
|
|
2801
|
+
"contractHash": "79cd70de0e09d5bc",
|
|
2802
|
+
"inputHash": "838055cb",
|
|
2803
|
+
"outputHash": "c749587a"
|
|
2804
2804
|
},
|
|
2805
2805
|
"pikkuTriggerTypes": {
|
|
2806
2806
|
"pikkuFuncId": "pikkuTriggerTypes",
|
|
@@ -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.43
|
|
3
3
|
*/
|
|
4
4
|
import type { SingletonServices } from '../types/application-types.d.js';
|
|
5
5
|
import type { Services } from '../types/application-types.d.js';
|
|
@@ -30,5 +30,5 @@ export declare const requiredSingletonServices: {
|
|
|
30
30
|
readonly workflowService: true;
|
|
31
31
|
};
|
|
32
32
|
export declare const requiredWireServices: {};
|
|
33
|
-
export type RequiredSingletonServices = Pick<SingletonServices, 'config' | 'getInspectorState' | 'logger' | 'queueService' | 'schedulerService' | 'schema' | 'secrets' | 'variables' | 'workflowRunService' | 'workflowService'
|
|
33
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'getInspectorState' | 'logger' | 'queueService' | 'schedulerService' | 'schema' | 'secrets' | 'variables' | 'workflowRunService' | 'workflowService'>> & Partial<Omit<SingletonServices, 'config' | 'getInspectorState' | 'logger' | 'queueService' | 'schedulerService' | 'schema' | 'secrets' | 'variables' | 'workflowRunService' | 'workflowService'>>;
|
|
34
34
|
export type RequiredWireServices = Partial<Services>;
|