@pikku/cli 0.9.8 → 0.9.10
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @pikku/cli
|
|
2
2
|
|
|
3
|
+
## 0.9.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 501c120: fix: rpc internal meta file wasn't being imported
|
|
8
|
+
- Updated dependencies [501c120]
|
|
9
|
+
- @pikku/inspector@0.9.5
|
|
10
|
+
|
|
11
|
+
## 0.9.9
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 99c2b3a: fix: removing duplicated interaction values from pikku functions
|
|
16
|
+
- Updated dependencies [99c2b3a]
|
|
17
|
+
- @pikku/core@0.9.9
|
|
18
|
+
|
|
3
19
|
## 0.9.8
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/bin/pikku-all.ts
CHANGED
|
@@ -116,6 +116,8 @@ const runAll = async (
|
|
|
116
116
|
await pikkuRPCExposedMap(logger, cliConfig, visitState)
|
|
117
117
|
await pikkuRPCClient(logger, cliConfig)
|
|
118
118
|
|
|
119
|
+
allImports.push(cliConfig.rpcInternalWiringMetaFile)
|
|
120
|
+
|
|
119
121
|
const schemas = await pikkuSchemas(logger, cliConfig, visitState)
|
|
120
122
|
if (schemas) {
|
|
121
123
|
allImports.push(`${cliConfig.schemaDirectory}/register.gen.ts`)
|
package/dist/bin/pikku-all.js
CHANGED
|
@@ -67,6 +67,7 @@ const runAll = async (logger, cliConfig, options) => {
|
|
|
67
67
|
await pikkuRPCInternalMap(logger, cliConfig, visitState);
|
|
68
68
|
await pikkuRPCExposedMap(logger, cliConfig, visitState);
|
|
69
69
|
await pikkuRPCClient(logger, cliConfig);
|
|
70
|
+
allImports.push(cliConfig.rpcInternalWiringMetaFile);
|
|
70
71
|
const schemas = await pikkuSchemas(logger, cliConfig, visitState);
|
|
71
72
|
if (schemas) {
|
|
72
73
|
allImports.push(`${cliConfig.schemaDirectory}/register.gen.ts`);
|
|
@@ -6,7 +6,7 @@ export const serializePikkuTypes = (userSessionTypeImport, userSessionTypeName,
|
|
|
6
6
|
* This is used to provide the application types in the typescript project
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import { CorePikkuFunctionConfig, CorePikkuPermission, CorePikkuMiddleware, addHTTPMiddleware, addMiddleware, addPermission } from '@pikku/core'
|
|
9
|
+
import { CorePikkuFunctionConfig, CorePikkuPermission, CorePikkuMiddleware, addHTTPMiddleware, addMiddleware, addPermission, PikkuInteraction } from '@pikku/core'
|
|
10
10
|
import { CorePikkuFunction, CorePikkuFunctionSessionless } from '@pikku/core/function'
|
|
11
11
|
import { CoreHTTPFunctionWiring, AssertHTTPWiringParams, wireHTTP as wireHTTPCore } from '@pikku/core/http'
|
|
12
12
|
import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
|
|
@@ -86,7 +86,7 @@ type PikkuFunctionSessionless<
|
|
|
86
86
|
Out = never,
|
|
87
87
|
ChannelData = null, // null means optional channel
|
|
88
88
|
MCPData = null, // null means optional MCP
|
|
89
|
-
RequiredServices extends Services = Omit<Services,
|
|
89
|
+
RequiredServices extends Services = Omit<Services, keyof PikkuInteraction> &
|
|
90
90
|
{ rpc: TypedPikkuRPC } & (
|
|
91
91
|
[ChannelData] extends [null]
|
|
92
92
|
? { channel?: PikkuChannel<unknown, Out> } // Optional channel
|
|
@@ -112,7 +112,7 @@ type PikkuFunction<
|
|
|
112
112
|
Out = never,
|
|
113
113
|
ChannelData = null, // null means optional channel
|
|
114
114
|
MCPData = null, // null means optional MCP
|
|
115
|
-
RequiredServices extends Services = Omit<Services,
|
|
115
|
+
RequiredServices extends Services = Omit<Services, keyof PikkuInteraction> &
|
|
116
116
|
{ rpc: TypedPikkuRPC } & (
|
|
117
117
|
[ChannelData] extends [null]
|
|
118
118
|
? { channel?: PikkuChannel<unknown, Out> } // Optional channel
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pikku/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.10",
|
|
4
4
|
"author": "yasser.fadl@gmail.com",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@openapi-contrib/json-schema-to-openapi-schema": "^4.0.2",
|
|
25
|
-
"@pikku/core": "^0.9.
|
|
26
|
-
"@pikku/inspector": "^0.9.
|
|
25
|
+
"@pikku/core": "^0.9.9",
|
|
26
|
+
"@pikku/inspector": "^0.9.5",
|
|
27
27
|
"@types/cookie": "^1.0.0",
|
|
28
28
|
"@types/uuid": "^10.0.0",
|
|
29
29
|
"chalk": "^5.5.0",
|
|
@@ -14,7 +14,7 @@ export const serializePikkuTypes = (
|
|
|
14
14
|
* This is used to provide the application types in the typescript project
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
import { CorePikkuFunctionConfig, CorePikkuPermission, CorePikkuMiddleware, addHTTPMiddleware, addMiddleware, addPermission } from '@pikku/core'
|
|
17
|
+
import { CorePikkuFunctionConfig, CorePikkuPermission, CorePikkuMiddleware, addHTTPMiddleware, addMiddleware, addPermission, PikkuInteraction } from '@pikku/core'
|
|
18
18
|
import { CorePikkuFunction, CorePikkuFunctionSessionless } from '@pikku/core/function'
|
|
19
19
|
import { CoreHTTPFunctionWiring, AssertHTTPWiringParams, wireHTTP as wireHTTPCore } from '@pikku/core/http'
|
|
20
20
|
import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
|
|
@@ -94,7 +94,7 @@ type PikkuFunctionSessionless<
|
|
|
94
94
|
Out = never,
|
|
95
95
|
ChannelData = null, // null means optional channel
|
|
96
96
|
MCPData = null, // null means optional MCP
|
|
97
|
-
RequiredServices extends Services = Omit<Services,
|
|
97
|
+
RequiredServices extends Services = Omit<Services, keyof PikkuInteraction> &
|
|
98
98
|
{ rpc: TypedPikkuRPC } & (
|
|
99
99
|
[ChannelData] extends [null]
|
|
100
100
|
? { channel?: PikkuChannel<unknown, Out> } // Optional channel
|
|
@@ -120,7 +120,7 @@ type PikkuFunction<
|
|
|
120
120
|
Out = never,
|
|
121
121
|
ChannelData = null, // null means optional channel
|
|
122
122
|
MCPData = null, // null means optional MCP
|
|
123
|
-
RequiredServices extends Services = Omit<Services,
|
|
123
|
+
RequiredServices extends Services = Omit<Services, keyof PikkuInteraction> &
|
|
124
124
|
{ rpc: TypedPikkuRPC } & (
|
|
125
125
|
[ChannelData] extends [null]
|
|
126
126
|
? { channel?: PikkuChannel<unknown, Out> } // Optional channel
|