@pikku/cli 0.12.41 → 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 +6 -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 +22 -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 +74 -55
- 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 +6 -5
- 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 +7 -3
- package/dist/.pikku/schemas/schemas/DeployApplyInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/DeployPlanInput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricLinkOutput.schema.json +1 -1
- package/dist/.pikku/schemas/schemas/FabricSmokeInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/FabricSmokeOutput.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-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/fabric/fabric-commands.d.ts +67 -0
- package/dist/src/fabric/fabric-commands.js +21 -0
- package/dist/src/fabric/functions/link.function.d.ts +4 -0
- package/dist/src/fabric/functions/link.function.js +3 -1
- package/dist/src/fabric/functions/smoke.function.d.ts +93 -0
- package/dist/src/fabric/functions/smoke.function.js +860 -0
- 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/db/local-db.js +20 -75
- 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';
|
|
@@ -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
|
* WebSocket channel backend for 'pikku' CLI commands
|
|
@@ -27,6 +27,7 @@ import { dbReset } from '../../src/functions/commands/db-reset.js';
|
|
|
27
27
|
import { dbAudit } from '../../src/functions/commands/db-audit.js';
|
|
28
28
|
import { workspaceValidate } from '../../src/functions/commands/workspace-validate.js';
|
|
29
29
|
import { FabricValidate } from '../../src/fabric/functions/validate.function.js';
|
|
30
|
+
import { FabricSmoke } from '../../src/fabric/functions/smoke.function.js';
|
|
30
31
|
import { FabricLogin } from '../../src/fabric/functions/login.function.js';
|
|
31
32
|
import { FabricInit } from '../../src/fabric/functions/init.function.js';
|
|
32
33
|
import { FabricLink } from '../../src/fabric/functions/link.function.js';
|
|
@@ -228,6 +229,10 @@ wireChannel({
|
|
|
228
229
|
func: FabricValidate,
|
|
229
230
|
middleware: [cliCloseOnComplete],
|
|
230
231
|
},
|
|
232
|
+
'fabric.smoke': {
|
|
233
|
+
func: FabricSmoke,
|
|
234
|
+
middleware: [cliCloseOnComplete],
|
|
235
|
+
},
|
|
231
236
|
'fabric.login': {
|
|
232
237
|
func: FabricLogin,
|
|
233
238
|
middleware: [cliCloseOnComplete],
|
|
@@ -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
|
+
}
|
|
@@ -260,6 +260,27 @@
|
|
|
260
260
|
"renderName": "renderValidate",
|
|
261
261
|
"description": "Check the project structure for fabric compatibility — prints all missing or misconfigured items with fix hints"
|
|
262
262
|
},
|
|
263
|
+
"smoke": {
|
|
264
|
+
"pikkuFuncId": "FabricSmoke",
|
|
265
|
+
"positionals": [],
|
|
266
|
+
"options": {
|
|
267
|
+
"keepTemp": {
|
|
268
|
+
"description": "Keep the temp worktree even on success",
|
|
269
|
+
"default": false
|
|
270
|
+
},
|
|
271
|
+
"timeoutSeconds": {
|
|
272
|
+
"description": "Per-step timeout for install/build/codegen commands"
|
|
273
|
+
},
|
|
274
|
+
"startupTimeoutSeconds": {
|
|
275
|
+
"description": "Timeout for waiting on pikku dev /health-check"
|
|
276
|
+
},
|
|
277
|
+
"port": {
|
|
278
|
+
"description": "Port to use for the temporary pikku dev startup check"
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"renderName": "renderSmoke",
|
|
282
|
+
"description": "Run a clean-room Fabric smoke test: temp worktree, install, codegen, migrate, and verify pikku dev startup"
|
|
283
|
+
},
|
|
263
284
|
"login": {
|
|
264
285
|
"pikkuFuncId": "FabricLogin",
|
|
265
286
|
"positionals": [],
|
|
@@ -1418,32 +1439,7 @@
|
|
|
1418
1439
|
"exportedName": "defaultCLIRenderer",
|
|
1419
1440
|
"services": {
|
|
1420
1441
|
"optimized": true,
|
|
1421
|
-
"services": [
|
|
1422
|
-
"workflowService",
|
|
1423
|
-
"logger",
|
|
1424
|
-
"getInspectorState",
|
|
1425
|
-
"schema",
|
|
1426
|
-
"jwt",
|
|
1427
|
-
"config",
|
|
1428
|
-
"variables",
|
|
1429
|
-
"secrets",
|
|
1430
|
-
"queueService",
|
|
1431
|
-
"eventHub",
|
|
1432
|
-
"schedulerService",
|
|
1433
|
-
"deploymentService",
|
|
1434
|
-
"aiStorage",
|
|
1435
|
-
"content",
|
|
1436
|
-
"aiAgentRunner",
|
|
1437
|
-
"aiRunState",
|
|
1438
|
-
"agentRunService",
|
|
1439
|
-
"workflowRunService",
|
|
1440
|
-
"credentialService",
|
|
1441
|
-
"emailService",
|
|
1442
|
-
"metaService",
|
|
1443
|
-
"audit",
|
|
1444
|
-
"auditLog",
|
|
1445
|
-
"sessionStore"
|
|
1446
|
-
]
|
|
1442
|
+
"services": []
|
|
1447
1443
|
},
|
|
1448
1444
|
"filePath": "/home/runner/work/pikku/pikku/packages/cli/src/services.ts"
|
|
1449
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;
|
|
@@ -502,10 +502,10 @@
|
|
|
502
502
|
"outputs": [
|
|
503
503
|
"FabricLinkOutput"
|
|
504
504
|
],
|
|
505
|
-
"implementationHash": "
|
|
506
|
-
"contractHash": "
|
|
505
|
+
"implementationHash": "428e661fe3b9b091",
|
|
506
|
+
"contractHash": "1385559220019a47",
|
|
507
507
|
"inputHash": "28003777",
|
|
508
|
-
"outputHash": "
|
|
508
|
+
"outputHash": "41a4d17a"
|
|
509
509
|
},
|
|
510
510
|
"FabricDeployPlan": {
|
|
511
511
|
"pikkuFuncId": "FabricDeployPlan",
|
|
@@ -849,6 +849,25 @@
|
|
|
849
849
|
"inputHash": "a14e4308",
|
|
850
850
|
"outputHash": "bb91f545"
|
|
851
851
|
},
|
|
852
|
+
"FabricSmoke": {
|
|
853
|
+
"pikkuFuncId": "FabricSmoke",
|
|
854
|
+
"functionType": "user",
|
|
855
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
856
|
+
"sessionless": true,
|
|
857
|
+
"name": "FabricSmoke",
|
|
858
|
+
"inputSchemaName": "FabricSmokeInput",
|
|
859
|
+
"outputSchemaName": "FabricSmokeOutput",
|
|
860
|
+
"inputs": [
|
|
861
|
+
"FabricSmokeInput"
|
|
862
|
+
],
|
|
863
|
+
"outputs": [
|
|
864
|
+
"FabricSmokeOutput"
|
|
865
|
+
],
|
|
866
|
+
"implementationHash": "5a36b3ba248b48e9",
|
|
867
|
+
"contractHash": "761885179a417944",
|
|
868
|
+
"inputHash": "a0f23e01",
|
|
869
|
+
"outputHash": "65f77331"
|
|
870
|
+
},
|
|
852
871
|
"all": {
|
|
853
872
|
"pikkuFuncId": "all",
|
|
854
873
|
"functionType": "user",
|
|
@@ -1306,9 +1325,9 @@
|
|
|
1306
1325
|
"DeployApplyInput"
|
|
1307
1326
|
],
|
|
1308
1327
|
"outputs": [],
|
|
1309
|
-
"implementationHash": "
|
|
1310
|
-
"contractHash": "
|
|
1311
|
-
"inputHash": "
|
|
1328
|
+
"implementationHash": "c7c0cd41bf1d5020",
|
|
1329
|
+
"contractHash": "052db593f47fdb3a",
|
|
1330
|
+
"inputHash": "5b3a0b43",
|
|
1312
1331
|
"outputHash": "2b614932"
|
|
1313
1332
|
},
|
|
1314
1333
|
"deployPlan": {
|
|
@@ -1323,9 +1342,9 @@
|
|
|
1323
1342
|
"DeployPlanInput"
|
|
1324
1343
|
],
|
|
1325
1344
|
"outputs": [],
|
|
1326
|
-
"implementationHash": "
|
|
1327
|
-
"contractHash": "
|
|
1328
|
-
"inputHash": "
|
|
1345
|
+
"implementationHash": "1d35f323035a43a1",
|
|
1346
|
+
"contractHash": "d6c6b3b50382f5ec",
|
|
1347
|
+
"inputHash": "71d79a7f",
|
|
1329
1348
|
"outputHash": "e6e7d2ab"
|
|
1330
1349
|
},
|
|
1331
1350
|
"deployInfo": {
|
|
@@ -1905,28 +1924,6 @@
|
|
|
1905
1924
|
"inputHash": "5d1524e3",
|
|
1906
1925
|
"outputHash": "048ccd50"
|
|
1907
1926
|
},
|
|
1908
|
-
"pikkuAuth": {
|
|
1909
|
-
"pikkuFuncId": "pikkuAuth",
|
|
1910
|
-
"functionType": "user",
|
|
1911
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
1912
|
-
"sessionless": true,
|
|
1913
|
-
"name": "pikkuAuth",
|
|
1914
|
-
"inputSchemaName": null,
|
|
1915
|
-
"outputSchemaName": null,
|
|
1916
|
-
"inputs": [],
|
|
1917
|
-
"outputs": [],
|
|
1918
|
-
"implementationHash": "f8a2af6b34ab525f",
|
|
1919
|
-
"middleware": [
|
|
1920
|
-
{
|
|
1921
|
-
"type": "wire",
|
|
1922
|
-
"name": "logCommandInfoAndTime",
|
|
1923
|
-
"inline": false
|
|
1924
|
-
}
|
|
1925
|
-
],
|
|
1926
|
-
"contractHash": "9fa89ecfb6307a51",
|
|
1927
|
-
"inputHash": "c3580f86",
|
|
1928
|
-
"outputHash": "f5261f72"
|
|
1929
|
-
},
|
|
1930
1927
|
"pikkuCLIEntry": {
|
|
1931
1928
|
"pikkuFuncId": "pikkuCLIEntry",
|
|
1932
1929
|
"functionType": "user",
|
|
@@ -2067,6 +2064,28 @@
|
|
|
2067
2064
|
"inputHash": "b98cb2ee",
|
|
2068
2065
|
"outputHash": "9e33f562"
|
|
2069
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",
|
|
2078
|
+
"middleware": [
|
|
2079
|
+
{
|
|
2080
|
+
"type": "wire",
|
|
2081
|
+
"name": "logCommandInfoAndTime",
|
|
2082
|
+
"inline": false
|
|
2083
|
+
}
|
|
2084
|
+
],
|
|
2085
|
+
"contractHash": "9fa89ecfb6307a51",
|
|
2086
|
+
"inputHash": "c3580f86",
|
|
2087
|
+
"outputHash": "f5261f72"
|
|
2088
|
+
},
|
|
2070
2089
|
"pikkuFunctionTypesSplit": {
|
|
2071
2090
|
"pikkuFuncId": "pikkuFunctionTypesSplit",
|
|
2072
2091
|
"functionType": "user",
|
|
@@ -2461,30 +2480,6 @@
|
|
|
2461
2480
|
"inputHash": "d7b18af5",
|
|
2462
2481
|
"outputHash": "09d7f16a"
|
|
2463
2482
|
},
|
|
2464
|
-
"pikkuEventsScaffold": {
|
|
2465
|
-
"pikkuFuncId": "pikkuEventsScaffold",
|
|
2466
|
-
"functionType": "user",
|
|
2467
|
-
"funcWrapper": "pikkuSessionlessFunc",
|
|
2468
|
-
"sessionless": true,
|
|
2469
|
-
"name": "pikkuEventsScaffold",
|
|
2470
|
-
"inputSchemaName": null,
|
|
2471
|
-
"outputSchemaName": "PikkuEventsScaffoldOutput",
|
|
2472
|
-
"inputs": [],
|
|
2473
|
-
"outputs": [
|
|
2474
|
-
"PikkuEventsScaffoldOutput"
|
|
2475
|
-
],
|
|
2476
|
-
"implementationHash": "4a998c5d2ef1753b",
|
|
2477
|
-
"middleware": [
|
|
2478
|
-
{
|
|
2479
|
-
"type": "wire",
|
|
2480
|
-
"name": "logCommandInfoAndTime",
|
|
2481
|
-
"inline": false
|
|
2482
|
-
}
|
|
2483
|
-
],
|
|
2484
|
-
"contractHash": "59fdeb7aa338289b",
|
|
2485
|
-
"inputHash": "0e752243",
|
|
2486
|
-
"outputHash": "486a58ef"
|
|
2487
|
-
},
|
|
2488
2483
|
"pikkuCommandQueueMap": {
|
|
2489
2484
|
"pikkuFuncId": "pikkuCommandQueueMap",
|
|
2490
2485
|
"functionType": "user",
|
|
@@ -2761,6 +2756,30 @@
|
|
|
2761
2756
|
"inputHash": "dda1c6aa",
|
|
2762
2757
|
"outputHash": "1f0f0345"
|
|
2763
2758
|
},
|
|
2759
|
+
"pikkuEventsScaffold": {
|
|
2760
|
+
"pikkuFuncId": "pikkuEventsScaffold",
|
|
2761
|
+
"functionType": "user",
|
|
2762
|
+
"funcWrapper": "pikkuSessionlessFunc",
|
|
2763
|
+
"sessionless": true,
|
|
2764
|
+
"name": "pikkuEventsScaffold",
|
|
2765
|
+
"inputSchemaName": null,
|
|
2766
|
+
"outputSchemaName": "PikkuEventsScaffoldOutput",
|
|
2767
|
+
"inputs": [],
|
|
2768
|
+
"outputs": [
|
|
2769
|
+
"PikkuEventsScaffoldOutput"
|
|
2770
|
+
],
|
|
2771
|
+
"implementationHash": "4a998c5d2ef1753b",
|
|
2772
|
+
"middleware": [
|
|
2773
|
+
{
|
|
2774
|
+
"type": "wire",
|
|
2775
|
+
"name": "logCommandInfoAndTime",
|
|
2776
|
+
"inline": false
|
|
2777
|
+
}
|
|
2778
|
+
],
|
|
2779
|
+
"contractHash": "59fdeb7aa338289b",
|
|
2780
|
+
"inputHash": "0e752243",
|
|
2781
|
+
"outputHash": "486a58ef"
|
|
2782
|
+
},
|
|
2764
2783
|
"pikkuSecrets": {
|
|
2765
2784
|
"pikkuFuncId": "pikkuSecrets",
|
|
2766
2785
|
"functionType": "user",
|
|
@@ -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>;
|