@pikku/cli 0.9.8 → 0.9.9
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
|
@@ -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.9",
|
|
4
4
|
"author": "yasser.fadl@gmail.com",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@openapi-contrib/json-schema-to-openapi-schema": "^4.0.2",
|
|
25
|
-
"@pikku/core": "^0.9.
|
|
25
|
+
"@pikku/core": "^0.9.9",
|
|
26
26
|
"@pikku/inspector": "^0.9.4",
|
|
27
27
|
"@types/cookie": "^1.0.0",
|
|
28
28
|
"@types/uuid": "^10.0.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
|