@pikku/addon-strapi 0.0.2
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/README.md +12 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
- package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.js +10 -0
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
- package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
- package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
- package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
- package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
- package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
- package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
- package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
- package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
- package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
- package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
- package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +147 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.json +97 -0
- package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
- package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.js +16 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +16 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
- package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
- package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
- package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
- package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
- package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
- package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
- package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.js +10 -0
- package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
- package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
- package/dist/.pikku/pikku-services.gen.d.ts +35 -0
- package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-services.gen.js +30 -0
- package/dist/.pikku/pikku-services.gen.js.map +1 -0
- package/dist/.pikku/pikku-services.gen.ts +42 -0
- package/dist/.pikku/pikku-types.gen.d.ts +12 -0
- package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
- package/dist/.pikku/pikku-types.gen.js +17 -0
- package/dist/.pikku/pikku-types.gen.js.map +1 -0
- package/dist/.pikku/pikku-types.gen.ts +21 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
- package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +140 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +145 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +7 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
- package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
- package/dist/.pikku/schemas/register.gen.d.ts +2 -0
- package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
- package/dist/.pikku/schemas/register.gen.js +29 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +51 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_strapi.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryGetInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryGetOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryUpdateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/EntryUpdateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_STRAPI_BASE_URL.schema.json +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
- package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
- package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
- package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
- package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
- package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
- package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
- package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
- package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
- package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
- package/dist/src/functions/entryCreate.function.d.ts +17 -0
- package/dist/src/functions/entryCreate.function.d.ts.map +1 -0
- package/dist/src/functions/entryCreate.function.js +16 -0
- package/dist/src/functions/entryCreate.function.js.map +1 -0
- package/dist/src/functions/entryDelete.function.d.ts +17 -0
- package/dist/src/functions/entryDelete.function.d.ts.map +1 -0
- package/dist/src/functions/entryDelete.function.js +16 -0
- package/dist/src/functions/entryDelete.function.js.map +1 -0
- package/dist/src/functions/entryGet.function.d.ts +17 -0
- package/dist/src/functions/entryGet.function.d.ts.map +1 -0
- package/dist/src/functions/entryGet.function.js +16 -0
- package/dist/src/functions/entryGet.function.js.map +1 -0
- package/dist/src/functions/entryGetAll.function.d.ts +21 -0
- package/dist/src/functions/entryGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/entryGetAll.function.js +17 -0
- package/dist/src/functions/entryGetAll.function.js.map +1 -0
- package/dist/src/functions/entryUpdate.function.d.ts +21 -0
- package/dist/src/functions/entryUpdate.function.d.ts.map +1 -0
- package/dist/src/functions/entryUpdate.function.js +17 -0
- package/dist/src/functions/entryUpdate.function.js.map +1 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +6 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/services.d.ts +2 -0
- package/dist/src/services.d.ts.map +1 -0
- package/dist/src/services.js +14 -0
- package/dist/src/services.js.map +1 -0
- package/dist/src/strapi-api.service.d.ts +10 -0
- package/dist/src/strapi-api.service.d.ts.map +1 -0
- package/dist/src/strapi-api.service.js +116 -0
- package/dist/src/strapi-api.service.js.map +1 -0
- package/dist/src/strapi.credential.d.ts +5 -0
- package/dist/src/strapi.credential.d.ts.map +1 -0
- package/dist/src/strapi.credential.js +13 -0
- package/dist/src/strapi.credential.js.map +1 -0
- package/dist/src/strapi.types.d.ts +7 -0
- package/dist/src/strapi.types.d.ts.map +1 -0
- package/dist/src/strapi.types.js +8 -0
- package/dist/src/strapi.types.js.map +1 -0
- package/dist/src/strapi.variable.d.ts +5 -0
- package/dist/src/strapi.variable.d.ts.map +1 -0
- package/dist/src/strapi.variable.js +11 -0
- package/dist/src/strapi.variable.js.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a queue worker with the Pikku framework.
|
|
10
|
+
* Workers process background jobs from queues.
|
|
11
|
+
*
|
|
12
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireQueueWorker = (queueWorker) => {
|
|
15
|
+
wireQueueWorkerCore(queueWorker);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-queue-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-queue-types.gen.js","sourceRoot":"","sources":["../../../.pikku/queue/pikku-queue-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAmB,eAAe,IAAI,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAW3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,WAAkC,EAAE,EAAE;IACpE,mBAAmB,CAAC,WAAkB,CAAC,CAAA;AACzC,CAAC,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Queue-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreQueueWorker, wireQueueWorker as wireQueueWorkerCore } from '@pikku/core/queue'
|
|
9
|
+
import type { PikkuFunctionConfig } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for queue workers that process background jobs.
|
|
13
|
+
*
|
|
14
|
+
* @template In - Input type for the queue job
|
|
15
|
+
* @template Out - Output type for the queue job
|
|
16
|
+
*/
|
|
17
|
+
type QueueWiring<In, Out> = CoreQueueWorker<PikkuFunctionConfig<In, Out, 'session' | 'rpc'>>
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Registers a queue worker with the Pikku framework.
|
|
21
|
+
* Workers process background jobs from queues.
|
|
22
|
+
*
|
|
23
|
+
* @param queueWorker - Queue worker definition with job handler
|
|
24
|
+
*/
|
|
25
|
+
export const wireQueueWorker = (queueWorker: QueueWiring<any, any>) => {
|
|
26
|
+
wireQueueWorkerCore(queueWorker as any)
|
|
27
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type CredentialSchema_strapi = {
|
|
13
|
+
/** Strapi bearer token */
|
|
14
|
+
token: string;
|
|
15
|
+
}
|
|
16
|
+
export type EntryCreateInput = {
|
|
17
|
+
contentType: string;
|
|
18
|
+
data?: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
} | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type EntryCreateOutput = {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
export type EntryDeleteInput = {
|
|
26
|
+
contentType: string;
|
|
27
|
+
entryId: string;
|
|
28
|
+
}
|
|
29
|
+
export type EntryDeleteOutput = {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
export type EntryGetAllInput = {
|
|
33
|
+
contentType: string;
|
|
34
|
+
sort?: string | undefined;
|
|
35
|
+
limit?: number | undefined;
|
|
36
|
+
}
|
|
37
|
+
export type EntryGetAllOutput = {
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
}
|
|
40
|
+
export type EntryGetInput = {
|
|
41
|
+
contentType: string;
|
|
42
|
+
entryId: string;
|
|
43
|
+
}
|
|
44
|
+
export type EntryGetOutput = {
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
}
|
|
47
|
+
export type EntryUpdateInput = {
|
|
48
|
+
contentType: string;
|
|
49
|
+
entryId: string;
|
|
50
|
+
data?: {
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
} | undefined;
|
|
53
|
+
}
|
|
54
|
+
export type EntryUpdateOutput = {
|
|
55
|
+
[key: string]: unknown;
|
|
56
|
+
}
|
|
57
|
+
export type VariableSchema_STRAPI_BASE_URL = "https://api.strapi.local/api"
|
|
58
|
+
|
|
59
|
+
interface RPCHandler<I, O> {
|
|
60
|
+
input: I;
|
|
61
|
+
output: O;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type RPCMap = {
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
// No addon packages, use RPCMap directly
|
|
70
|
+
export type FlattenedRPCMap = RPCMap
|
|
71
|
+
|
|
72
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
73
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
74
|
+
? false
|
|
75
|
+
: [T] extends [void | null | undefined]
|
|
76
|
+
? true
|
|
77
|
+
: false
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
81
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
82
|
+
? [name: Name]
|
|
83
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
84
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
85
|
+
|
|
86
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
87
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
88
|
+
? [name: Name]
|
|
89
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
90
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
91
|
+
|
|
92
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
93
|
+
|
|
94
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
type FlattenedAgentMap = AgentMap
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
101
|
+
|
|
102
|
+
interface AIAgentInput {
|
|
103
|
+
message: string
|
|
104
|
+
threadId: string
|
|
105
|
+
resourceId: string
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
109
|
+
name: Name,
|
|
110
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
111
|
+
options?: { startNode?: string }
|
|
112
|
+
) => Promise<{ runId: string }>
|
|
113
|
+
|
|
114
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
115
|
+
name: Name,
|
|
116
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
117
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
118
|
+
|
|
119
|
+
export type TypedWorkflowStatus = (
|
|
120
|
+
workflowName: string,
|
|
121
|
+
runId: string
|
|
122
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
123
|
+
|
|
124
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
125
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
126
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
127
|
+
name: Name,
|
|
128
|
+
input: AIAgentInput
|
|
129
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
130
|
+
|
|
131
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
132
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
133
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
134
|
+
name: Name,
|
|
135
|
+
input: AIAgentInput,
|
|
136
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
137
|
+
) => Promise<void>
|
|
138
|
+
|
|
139
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
140
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type CredentialSchema_strapi = {
|
|
13
|
+
/** Strapi bearer token */
|
|
14
|
+
token: string;
|
|
15
|
+
}
|
|
16
|
+
export type EntryCreateInput = {
|
|
17
|
+
contentType: string;
|
|
18
|
+
data?: {
|
|
19
|
+
[key: string]: unknown;
|
|
20
|
+
} | undefined;
|
|
21
|
+
}
|
|
22
|
+
export type EntryCreateOutput = {
|
|
23
|
+
[key: string]: unknown;
|
|
24
|
+
}
|
|
25
|
+
export type EntryDeleteInput = {
|
|
26
|
+
contentType: string;
|
|
27
|
+
entryId: string;
|
|
28
|
+
}
|
|
29
|
+
export type EntryDeleteOutput = {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
}
|
|
32
|
+
export type EntryGetAllInput = {
|
|
33
|
+
contentType: string;
|
|
34
|
+
sort?: string | undefined;
|
|
35
|
+
limit?: number | undefined;
|
|
36
|
+
}
|
|
37
|
+
export type EntryGetAllOutput = {
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
}
|
|
40
|
+
export type EntryGetInput = {
|
|
41
|
+
contentType: string;
|
|
42
|
+
entryId: string;
|
|
43
|
+
}
|
|
44
|
+
export type EntryGetOutput = {
|
|
45
|
+
[key: string]: unknown;
|
|
46
|
+
}
|
|
47
|
+
export type EntryUpdateInput = {
|
|
48
|
+
contentType: string;
|
|
49
|
+
entryId: string;
|
|
50
|
+
data?: {
|
|
51
|
+
[key: string]: unknown;
|
|
52
|
+
} | undefined;
|
|
53
|
+
}
|
|
54
|
+
export type EntryUpdateOutput = {
|
|
55
|
+
[key: string]: unknown;
|
|
56
|
+
}
|
|
57
|
+
export type VariableSchema_STRAPI_BASE_URL = "https://api.strapi.local/api"
|
|
58
|
+
|
|
59
|
+
interface RPCHandler<I, O> {
|
|
60
|
+
input: I;
|
|
61
|
+
output: O;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type RPCMap = {
|
|
65
|
+
readonly 'entryGetAll': RPCHandler<EntryGetAllInput, EntryGetAllOutput>,
|
|
66
|
+
readonly 'entryCreate': RPCHandler<EntryCreateInput, EntryCreateOutput>,
|
|
67
|
+
readonly 'entryGet': RPCHandler<EntryGetInput, EntryGetOutput>,
|
|
68
|
+
readonly 'entryUpdate': RPCHandler<EntryUpdateInput, EntryUpdateOutput>,
|
|
69
|
+
readonly 'entryDelete': RPCHandler<EntryDeleteInput, EntryDeleteOutput>,
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
// No addon packages, use RPCMap directly
|
|
75
|
+
export type FlattenedRPCMap = RPCMap
|
|
76
|
+
|
|
77
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
78
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
79
|
+
? false
|
|
80
|
+
: [T] extends [void | null | undefined]
|
|
81
|
+
? true
|
|
82
|
+
: false
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
86
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
87
|
+
? [name: Name]
|
|
88
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
89
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
90
|
+
|
|
91
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
92
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
93
|
+
? [name: Name]
|
|
94
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
95
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
96
|
+
|
|
97
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
98
|
+
|
|
99
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
type FlattenedAgentMap = AgentMap
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
106
|
+
|
|
107
|
+
interface AIAgentInput {
|
|
108
|
+
message: string
|
|
109
|
+
threadId: string
|
|
110
|
+
resourceId: string
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
114
|
+
name: Name,
|
|
115
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
116
|
+
options?: { startNode?: string }
|
|
117
|
+
) => Promise<{ runId: string }>
|
|
118
|
+
|
|
119
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
120
|
+
name: Name,
|
|
121
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
122
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
123
|
+
|
|
124
|
+
export type TypedWorkflowStatus = (
|
|
125
|
+
workflowName: string,
|
|
126
|
+
runId: string
|
|
127
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
128
|
+
|
|
129
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
130
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
131
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
132
|
+
name: Name,
|
|
133
|
+
input: AIAgentInput
|
|
134
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
135
|
+
|
|
136
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
137
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
138
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
139
|
+
name: Name,
|
|
140
|
+
input: AIAgentInput,
|
|
141
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
142
|
+
) => Promise<void>
|
|
143
|
+
|
|
144
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
145
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal';
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
|
|
6
|
+
pikkuState('@pikku/addon-strapi', 'rpc', 'meta', metaData);
|
|
7
|
+
//# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-rpc-wirings-meta.internal.gen.js","sourceRoot":"","sources":["../../../.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,QAAQ,MAAM,4CAA4C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACvF,UAAU,CAAC,qBAAqB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { pikkuState } from '@pikku/core/internal'
|
|
5
|
+
import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' }
|
|
6
|
+
pikkuState('@pikku/addon-strapi', 'rpc', 'meta', metaData as Record<string, string>)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { CoreScheduledTask } from '@pikku/core/scheduler';
|
|
8
|
+
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* Type definition for scheduled tasks that run at specified intervals.
|
|
11
|
+
* These are sessionless functions that execute based on cron expressions.
|
|
12
|
+
*/
|
|
13
|
+
type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>;
|
|
14
|
+
/**
|
|
15
|
+
* Registers a scheduled task with the Pikku framework.
|
|
16
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
17
|
+
*
|
|
18
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
19
|
+
*/
|
|
20
|
+
export declare const wireScheduler: (task: SchedulerWiring) => void;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAE,iBAAiB,EAAsC,MAAM,uBAAuB,CAAA;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAA;AAEnG;;;GAGG;AACH,KAAK,eAAe,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,GAAG,KAAK,CAAC,EAAE,eAAe,CAAC,CAAA;AAE7G;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,MAAM,eAAe,SAElD,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
import { wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler';
|
|
8
|
+
/**
|
|
9
|
+
* Registers a scheduled task with the Pikku framework.
|
|
10
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
11
|
+
*
|
|
12
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
13
|
+
*/
|
|
14
|
+
export const wireScheduler = (task) => {
|
|
15
|
+
wireSchedulerCore(task);
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pikku-scheduler-types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-scheduler-types.gen.js","sourceRoot":"","sources":["../../../.pikku/scheduler/pikku-scheduler-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,OAAO,EAAqB,aAAa,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAS7F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAqB,EAAE,EAAE;IACrD,iBAAiB,CAAC,IAAW,CAAC,CAAA;AAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Scheduler-specific type definitions for tree-shaking optimization
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { CoreScheduledTask, wireScheduler as wireSchedulerCore } from '@pikku/core/scheduler'
|
|
9
|
+
import type { PikkuFunctionConfig, PikkuMiddleware } from '../function/pikku-function-types.gen.js'
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Type definition for scheduled tasks that run at specified intervals.
|
|
13
|
+
* These are sessionless functions that execute based on cron expressions.
|
|
14
|
+
*/
|
|
15
|
+
type SchedulerWiring = CoreScheduledTask<PikkuFunctionConfig<void, void, 'session' | 'rpc'>, PikkuMiddleware>
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Registers a scheduled task with the Pikku framework.
|
|
19
|
+
* Tasks run based on cron expressions and are sessionless.
|
|
20
|
+
*
|
|
21
|
+
* @param task - Scheduled task definition with cron expression and handler
|
|
22
|
+
*/
|
|
23
|
+
export const wireScheduler = (task: SchedulerWiring) => {
|
|
24
|
+
wireSchedulerCore(task as any)
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema';
|
|
5
|
+
import * as EntryGetAllInput from './schemas/EntryGetAllInput.schema.json' with { type: 'json' };
|
|
6
|
+
addSchema('EntryGetAllInput', EntryGetAllInput, '@pikku/addon-strapi');
|
|
7
|
+
import * as EntryGetAllOutput from './schemas/EntryGetAllOutput.schema.json' with { type: 'json' };
|
|
8
|
+
addSchema('EntryGetAllOutput', EntryGetAllOutput, '@pikku/addon-strapi');
|
|
9
|
+
import * as EntryCreateInput from './schemas/EntryCreateInput.schema.json' with { type: 'json' };
|
|
10
|
+
addSchema('EntryCreateInput', EntryCreateInput, '@pikku/addon-strapi');
|
|
11
|
+
import * as EntryCreateOutput from './schemas/EntryCreateOutput.schema.json' with { type: 'json' };
|
|
12
|
+
addSchema('EntryCreateOutput', EntryCreateOutput, '@pikku/addon-strapi');
|
|
13
|
+
import * as EntryGetInput from './schemas/EntryGetInput.schema.json' with { type: 'json' };
|
|
14
|
+
addSchema('EntryGetInput', EntryGetInput, '@pikku/addon-strapi');
|
|
15
|
+
import * as EntryGetOutput from './schemas/EntryGetOutput.schema.json' with { type: 'json' };
|
|
16
|
+
addSchema('EntryGetOutput', EntryGetOutput, '@pikku/addon-strapi');
|
|
17
|
+
import * as EntryUpdateInput from './schemas/EntryUpdateInput.schema.json' with { type: 'json' };
|
|
18
|
+
addSchema('EntryUpdateInput', EntryUpdateInput, '@pikku/addon-strapi');
|
|
19
|
+
import * as EntryUpdateOutput from './schemas/EntryUpdateOutput.schema.json' with { type: 'json' };
|
|
20
|
+
addSchema('EntryUpdateOutput', EntryUpdateOutput, '@pikku/addon-strapi');
|
|
21
|
+
import * as EntryDeleteInput from './schemas/EntryDeleteInput.schema.json' with { type: 'json' };
|
|
22
|
+
addSchema('EntryDeleteInput', EntryDeleteInput, '@pikku/addon-strapi');
|
|
23
|
+
import * as EntryDeleteOutput from './schemas/EntryDeleteOutput.schema.json' with { type: 'json' };
|
|
24
|
+
addSchema('EntryDeleteOutput', EntryDeleteOutput, '@pikku/addon-strapi');
|
|
25
|
+
import * as CredentialSchema_strapi from './schemas/CredentialSchema_strapi.schema.json' with { type: 'json' };
|
|
26
|
+
addSchema('CredentialSchema_strapi', CredentialSchema_strapi, '@pikku/addon-strapi');
|
|
27
|
+
import * as VariableSchema_STRAPI_BASE_URL from './schemas/VariableSchema_STRAPI_BASE_URL.schema.json' with { type: 'json' };
|
|
28
|
+
addSchema('VariableSchema_STRAPI_BASE_URL', VariableSchema_STRAPI_BASE_URL, '@pikku/addon-strapi');
|
|
29
|
+
//# sourceMappingURL=register.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../.pikku/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,CAAC,CAAA;AAGtE,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,CAAA;AAGxE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,CAAC,CAAA;AAGtE,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,CAAA;AAGxE,OAAO,KAAK,aAAa,MAAM,qCAAqC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC1F,SAAS,CAAC,eAAe,EAAE,aAAa,EAAE,qBAAqB,CAAC,CAAA;AAGhE,OAAO,KAAK,cAAc,MAAM,sCAAsC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5F,SAAS,CAAC,gBAAgB,EAAE,cAAc,EAAE,qBAAqB,CAAC,CAAA;AAGlE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,CAAC,CAAA;AAGtE,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,CAAA;AAGxE,OAAO,KAAK,gBAAgB,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChG,SAAS,CAAC,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,CAAC,CAAA;AAGtE,OAAO,KAAK,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,qBAAqB,CAAC,CAAA;AAGxE,OAAO,KAAK,uBAAuB,MAAM,+CAA+C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9G,SAAS,CAAC,yBAAyB,EAAE,uBAAuB,EAAE,qBAAqB,CAAC,CAAA;AAGpF,OAAO,KAAK,8BAA8B,MAAM,sDAAsD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC5H,SAAS,CAAC,gCAAgC,EAAE,8BAA8B,EAAE,qBAAqB,CAAC,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema'
|
|
5
|
+
|
|
6
|
+
import * as EntryGetAllInput from './schemas/EntryGetAllInput.schema.json' with { type: 'json' }
|
|
7
|
+
addSchema('EntryGetAllInput', EntryGetAllInput, '@pikku/addon-strapi')
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import * as EntryGetAllOutput from './schemas/EntryGetAllOutput.schema.json' with { type: 'json' }
|
|
11
|
+
addSchema('EntryGetAllOutput', EntryGetAllOutput, '@pikku/addon-strapi')
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import * as EntryCreateInput from './schemas/EntryCreateInput.schema.json' with { type: 'json' }
|
|
15
|
+
addSchema('EntryCreateInput', EntryCreateInput, '@pikku/addon-strapi')
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as EntryCreateOutput from './schemas/EntryCreateOutput.schema.json' with { type: 'json' }
|
|
19
|
+
addSchema('EntryCreateOutput', EntryCreateOutput, '@pikku/addon-strapi')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
import * as EntryGetInput from './schemas/EntryGetInput.schema.json' with { type: 'json' }
|
|
23
|
+
addSchema('EntryGetInput', EntryGetInput, '@pikku/addon-strapi')
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
import * as EntryGetOutput from './schemas/EntryGetOutput.schema.json' with { type: 'json' }
|
|
27
|
+
addSchema('EntryGetOutput', EntryGetOutput, '@pikku/addon-strapi')
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
import * as EntryUpdateInput from './schemas/EntryUpdateInput.schema.json' with { type: 'json' }
|
|
31
|
+
addSchema('EntryUpdateInput', EntryUpdateInput, '@pikku/addon-strapi')
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
import * as EntryUpdateOutput from './schemas/EntryUpdateOutput.schema.json' with { type: 'json' }
|
|
35
|
+
addSchema('EntryUpdateOutput', EntryUpdateOutput, '@pikku/addon-strapi')
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
import * as EntryDeleteInput from './schemas/EntryDeleteInput.schema.json' with { type: 'json' }
|
|
39
|
+
addSchema('EntryDeleteInput', EntryDeleteInput, '@pikku/addon-strapi')
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
import * as EntryDeleteOutput from './schemas/EntryDeleteOutput.schema.json' with { type: 'json' }
|
|
43
|
+
addSchema('EntryDeleteOutput', EntryDeleteOutput, '@pikku/addon-strapi')
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
import * as CredentialSchema_strapi from './schemas/CredentialSchema_strapi.schema.json' with { type: 'json' }
|
|
47
|
+
addSchema('CredentialSchema_strapi', CredentialSchema_strapi, '@pikku/addon-strapi')
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
import * as VariableSchema_STRAPI_BASE_URL from './schemas/VariableSchema_STRAPI_BASE_URL.schema.json' with { type: 'json' }
|
|
51
|
+
addSchema('VariableSchema_STRAPI_BASE_URL', VariableSchema_STRAPI_BASE_URL, '@pikku/addon-strapi')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"token":{"type":"string","description":"Strapi bearer token"}},"required":["token"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contentType":{"type":"string"},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["contentType"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contentType":{"type":"string"},"entryId":{"type":"string"}},"required":["contentType","entryId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contentType":{"type":"string"},"sort":{"type":"string"},"limit":{"type":"number"}},"required":["contentType"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contentType":{"type":"string"},"entryId":{"type":"string"}},"required":["contentType","entryId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"contentType":{"type":"string"},"entryId":{"type":"string"},"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"required":["contentType","entryId"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","default":"https://api.strapi.local/api","type":"string","enum":["https://api.strapi.local/api"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secret-types.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secret-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
import type { SecretService } from '@pikku/core/services';
|
|
6
|
+
export interface CredentialsMap {
|
|
7
|
+
}
|
|
8
|
+
export type SecretId = keyof CredentialsMap;
|
|
9
|
+
export declare class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
10
|
+
constructor(secrets: SecretService);
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=pikku-secrets.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AACxG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,MAAM,WAAW,cAAc;CAE9B;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
|