@pikku/addon-gotify 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 +89 -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 +59 -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 +12 -0
- package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
- package/dist/.pikku/function/pikku-functions.gen.ts +12 -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 +119 -0
- package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +122 -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 +5 -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 +21 -0
- package/dist/.pikku/schemas/register.gen.js.map +1 -0
- package/dist/.pikku/schemas/register.gen.ts +35 -0
- package/dist/.pikku/schemas/schemas/CredentialSchema_gotify.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageCreateInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageCreateOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageDeleteInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageDeleteOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageGetAllInput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/MessageGetAllOutput.schema.json +1 -0
- package/dist/.pikku/schemas/schemas/VariableSchema_GOTIFY_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/messageCreate.function.d.ts +21 -0
- package/dist/src/functions/messageCreate.function.d.ts.map +1 -0
- package/dist/src/functions/messageCreate.function.js +17 -0
- package/dist/src/functions/messageCreate.function.js.map +1 -0
- package/dist/src/functions/messageDelete.function.d.ts +13 -0
- package/dist/src/functions/messageDelete.function.d.ts.map +1 -0
- package/dist/src/functions/messageDelete.function.js +15 -0
- package/dist/src/functions/messageDelete.function.js.map +1 -0
- package/dist/src/functions/messageGetAll.function.d.ts +13 -0
- package/dist/src/functions/messageGetAll.function.d.ts.map +1 -0
- package/dist/src/functions/messageGetAll.function.js +15 -0
- package/dist/src/functions/messageGetAll.function.js.map +1 -0
- package/dist/src/gotify-api.service.d.ts +10 -0
- package/dist/src/gotify-api.service.d.ts.map +1 -0
- package/dist/src/gotify-api.service.js +94 -0
- package/dist/src/gotify-api.service.js.map +1 -0
- package/dist/src/gotify.credential.d.ts +5 -0
- package/dist/src/gotify.credential.d.ts.map +1 -0
- package/dist/src/gotify.credential.js +13 -0
- package/dist/src/gotify.credential.js.map +1 -0
- package/dist/src/gotify.types.d.ts +7 -0
- package/dist/src/gotify.types.d.ts.map +1 -0
- package/dist/src/gotify.types.js +8 -0
- package/dist/src/gotify.types.js.map +1 -0
- package/dist/src/gotify.variable.d.ts +5 -0
- package/dist/src/gotify.variable.d.ts.map +1 -0
- package/dist/src/gotify.variable.js +11 -0
- package/dist/src/gotify.variable.js.map +1 -0
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/index.js +4 -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/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,119 @@
|
|
|
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_gotify = {
|
|
13
|
+
/** Gotify API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type MessageCreateInput = {
|
|
17
|
+
message?: string | undefined;
|
|
18
|
+
title?: string | undefined;
|
|
19
|
+
priority?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type MessageCreateOutput = {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export type MessageDeleteInput = {
|
|
25
|
+
messageId: string;
|
|
26
|
+
}
|
|
27
|
+
export type MessageDeleteOutput = {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
}
|
|
30
|
+
export type MessageGetAllInput = {
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
}
|
|
33
|
+
export type MessageGetAllOutput = {
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}
|
|
36
|
+
export type VariableSchema_GOTIFY_BASE_URL = "https://gotify.example.com"
|
|
37
|
+
|
|
38
|
+
interface RPCHandler<I, O> {
|
|
39
|
+
input: I;
|
|
40
|
+
output: O;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type RPCMap = {
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
// No addon packages, use RPCMap directly
|
|
49
|
+
export type FlattenedRPCMap = RPCMap
|
|
50
|
+
|
|
51
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
52
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
53
|
+
? false
|
|
54
|
+
: [T] extends [void | null | undefined]
|
|
55
|
+
? true
|
|
56
|
+
: false
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
60
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
61
|
+
? [name: Name]
|
|
62
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
63
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
64
|
+
|
|
65
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
66
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
67
|
+
? [name: Name]
|
|
68
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
69
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
70
|
+
|
|
71
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
72
|
+
|
|
73
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
type FlattenedAgentMap = AgentMap
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
80
|
+
|
|
81
|
+
interface AIAgentInput {
|
|
82
|
+
message: string
|
|
83
|
+
threadId: string
|
|
84
|
+
resourceId: string
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
88
|
+
name: Name,
|
|
89
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
90
|
+
options?: { startNode?: string }
|
|
91
|
+
) => Promise<{ runId: string }>
|
|
92
|
+
|
|
93
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
94
|
+
name: Name,
|
|
95
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
96
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
97
|
+
|
|
98
|
+
export type TypedWorkflowStatus = (
|
|
99
|
+
workflowName: string,
|
|
100
|
+
runId: string
|
|
101
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
102
|
+
|
|
103
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
104
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
105
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
106
|
+
name: Name,
|
|
107
|
+
input: AIAgentInput
|
|
108
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
109
|
+
|
|
110
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
111
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
112
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
113
|
+
name: Name,
|
|
114
|
+
input: AIAgentInput,
|
|
115
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
116
|
+
) => Promise<void>
|
|
117
|
+
|
|
118
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
119
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
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_gotify = {
|
|
13
|
+
/** Gotify API key */
|
|
14
|
+
apiKey: string;
|
|
15
|
+
}
|
|
16
|
+
export type MessageCreateInput = {
|
|
17
|
+
message?: string | undefined;
|
|
18
|
+
title?: string | undefined;
|
|
19
|
+
priority?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export type MessageCreateOutput = {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
}
|
|
24
|
+
export type MessageDeleteInput = {
|
|
25
|
+
messageId: string;
|
|
26
|
+
}
|
|
27
|
+
export type MessageDeleteOutput = {
|
|
28
|
+
[key: string]: unknown;
|
|
29
|
+
}
|
|
30
|
+
export type MessageGetAllInput = {
|
|
31
|
+
limit?: number | undefined;
|
|
32
|
+
}
|
|
33
|
+
export type MessageGetAllOutput = {
|
|
34
|
+
[key: string]: unknown;
|
|
35
|
+
}
|
|
36
|
+
export type VariableSchema_GOTIFY_BASE_URL = "https://gotify.example.com"
|
|
37
|
+
|
|
38
|
+
interface RPCHandler<I, O> {
|
|
39
|
+
input: I;
|
|
40
|
+
output: O;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type RPCMap = {
|
|
44
|
+
readonly 'messageGetAll': RPCHandler<MessageGetAllInput, MessageGetAllOutput>,
|
|
45
|
+
readonly 'messageCreate': RPCHandler<MessageCreateInput, MessageCreateOutput>,
|
|
46
|
+
readonly 'messageDelete': RPCHandler<MessageDeleteInput, MessageDeleteOutput>,
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
// No addon packages, use RPCMap directly
|
|
52
|
+
export type FlattenedRPCMap = RPCMap
|
|
53
|
+
|
|
54
|
+
type IsAny<T> = 0 extends (1 & T) ? true : false
|
|
55
|
+
type IsVoidishInput<T> = IsAny<T> extends true
|
|
56
|
+
? false
|
|
57
|
+
: [T] extends [void | null | undefined]
|
|
58
|
+
? true
|
|
59
|
+
: false
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
|
|
63
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
64
|
+
? [name: Name]
|
|
65
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
66
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
67
|
+
|
|
68
|
+
export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
|
|
69
|
+
...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
|
|
70
|
+
? [name: Name]
|
|
71
|
+
: [name: Name, data: FlattenedRPCMap[Name]['input']]
|
|
72
|
+
) => Promise<FlattenedRPCMap[Name]['output']>
|
|
73
|
+
|
|
74
|
+
import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
|
|
75
|
+
|
|
76
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
type FlattenedAgentMap = AgentMap
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
import type { PikkuRPC } from '@pikku/core/rpc'
|
|
83
|
+
|
|
84
|
+
interface AIAgentInput {
|
|
85
|
+
message: string
|
|
86
|
+
threadId: string
|
|
87
|
+
resourceId: string
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
91
|
+
name: Name,
|
|
92
|
+
input: FlattenedWorkflowMap[Name]['input'],
|
|
93
|
+
options?: { startNode?: string }
|
|
94
|
+
) => Promise<{ runId: string }>
|
|
95
|
+
|
|
96
|
+
export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
|
|
97
|
+
name: Name,
|
|
98
|
+
input: FlattenedWorkflowMap[Name]['input']
|
|
99
|
+
) => Promise<FlattenedWorkflowMap[Name]['output']>
|
|
100
|
+
|
|
101
|
+
export type TypedWorkflowStatus = (
|
|
102
|
+
workflowName: string,
|
|
103
|
+
runId: string
|
|
104
|
+
) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
|
|
105
|
+
|
|
106
|
+
type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
|
|
107
|
+
? (name: string, input: AIAgentInput) => Promise<any>
|
|
108
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
109
|
+
name: Name,
|
|
110
|
+
input: AIAgentInput
|
|
111
|
+
) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
|
|
112
|
+
|
|
113
|
+
type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
|
|
114
|
+
? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
|
|
115
|
+
: <Name extends keyof FlattenedAgentMap>(
|
|
116
|
+
name: Name,
|
|
117
|
+
input: AIAgentInput,
|
|
118
|
+
options?: { requiresToolApproval?: 'all' | 'explicit' | false }
|
|
119
|
+
) => Promise<void>
|
|
120
|
+
|
|
121
|
+
export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
|
|
122
|
+
|
|
@@ -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-gotify', '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-gotify', '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,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema';
|
|
5
|
+
import * as MessageGetAllInput from './schemas/MessageGetAllInput.schema.json' with { type: 'json' };
|
|
6
|
+
addSchema('MessageGetAllInput', MessageGetAllInput, '@pikku/addon-gotify');
|
|
7
|
+
import * as MessageGetAllOutput from './schemas/MessageGetAllOutput.schema.json' with { type: 'json' };
|
|
8
|
+
addSchema('MessageGetAllOutput', MessageGetAllOutput, '@pikku/addon-gotify');
|
|
9
|
+
import * as MessageCreateInput from './schemas/MessageCreateInput.schema.json' with { type: 'json' };
|
|
10
|
+
addSchema('MessageCreateInput', MessageCreateInput, '@pikku/addon-gotify');
|
|
11
|
+
import * as MessageCreateOutput from './schemas/MessageCreateOutput.schema.json' with { type: 'json' };
|
|
12
|
+
addSchema('MessageCreateOutput', MessageCreateOutput, '@pikku/addon-gotify');
|
|
13
|
+
import * as MessageDeleteInput from './schemas/MessageDeleteInput.schema.json' with { type: 'json' };
|
|
14
|
+
addSchema('MessageDeleteInput', MessageDeleteInput, '@pikku/addon-gotify');
|
|
15
|
+
import * as MessageDeleteOutput from './schemas/MessageDeleteOutput.schema.json' with { type: 'json' };
|
|
16
|
+
addSchema('MessageDeleteOutput', MessageDeleteOutput, '@pikku/addon-gotify');
|
|
17
|
+
import * as CredentialSchema_gotify from './schemas/CredentialSchema_gotify.schema.json' with { type: 'json' };
|
|
18
|
+
addSchema('CredentialSchema_gotify', CredentialSchema_gotify, '@pikku/addon-gotify');
|
|
19
|
+
import * as VariableSchema_GOTIFY_BASE_URL from './schemas/VariableSchema_GOTIFY_BASE_URL.schema.json' with { type: 'json' };
|
|
20
|
+
addSchema('VariableSchema_GOTIFY_BASE_URL', VariableSchema_GOTIFY_BASE_URL, '@pikku/addon-gotify');
|
|
21
|
+
//# 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,kBAAkB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpG,SAAS,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC,CAAA;AAG1E,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtG,SAAS,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,CAAA;AAG5E,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpG,SAAS,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC,CAAA;AAG1E,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtG,SAAS,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,CAAA;AAG5E,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpG,SAAS,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,qBAAqB,CAAC,CAAA;AAG1E,OAAO,KAAK,mBAAmB,MAAM,2CAA2C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtG,SAAS,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,qBAAqB,CAAC,CAAA;AAG5E,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,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { addSchema } from '@pikku/core/schema'
|
|
5
|
+
|
|
6
|
+
import * as MessageGetAllInput from './schemas/MessageGetAllInput.schema.json' with { type: 'json' }
|
|
7
|
+
addSchema('MessageGetAllInput', MessageGetAllInput, '@pikku/addon-gotify')
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import * as MessageGetAllOutput from './schemas/MessageGetAllOutput.schema.json' with { type: 'json' }
|
|
11
|
+
addSchema('MessageGetAllOutput', MessageGetAllOutput, '@pikku/addon-gotify')
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import * as MessageCreateInput from './schemas/MessageCreateInput.schema.json' with { type: 'json' }
|
|
15
|
+
addSchema('MessageCreateInput', MessageCreateInput, '@pikku/addon-gotify')
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
import * as MessageCreateOutput from './schemas/MessageCreateOutput.schema.json' with { type: 'json' }
|
|
19
|
+
addSchema('MessageCreateOutput', MessageCreateOutput, '@pikku/addon-gotify')
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
import * as MessageDeleteInput from './schemas/MessageDeleteInput.schema.json' with { type: 'json' }
|
|
23
|
+
addSchema('MessageDeleteInput', MessageDeleteInput, '@pikku/addon-gotify')
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
import * as MessageDeleteOutput from './schemas/MessageDeleteOutput.schema.json' with { type: 'json' }
|
|
27
|
+
addSchema('MessageDeleteOutput', MessageDeleteOutput, '@pikku/addon-gotify')
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
import * as CredentialSchema_gotify from './schemas/CredentialSchema_gotify.schema.json' with { type: 'json' }
|
|
31
|
+
addSchema('CredentialSchema_gotify', CredentialSchema_gotify, '@pikku/addon-gotify')
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
import * as VariableSchema_GOTIFY_BASE_URL from './schemas/VariableSchema_GOTIFY_BASE_URL.schema.json' with { type: 'json' }
|
|
35
|
+
addSchema('VariableSchema_GOTIFY_BASE_URL', VariableSchema_GOTIFY_BASE_URL, '@pikku/addon-gotify')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"string","description":"Gotify API key"}},"required":["apiKey"],"additionalProperties":false}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string"},"title":{"type":"string"},"priority":{"type":"number"}},"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":{"messageId":{"type":"string"}},"required":["messageId"],"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":{"limit":{"type":"number"}},"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://gotify.example.com","type":"string","enum":["https://gotify.example.com"]}
|
|
@@ -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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
|
|
5
|
+
const CREDENTIALS_META = {};
|
|
6
|
+
export class TypedSecretService extends CoreTypedSecretService {
|
|
7
|
+
constructor(secrets) {
|
|
8
|
+
super(secrets, CREDENTIALS_META);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=pikku-secrets.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-secrets.gen.js","sourceRoot":"","sources":["../../../.pikku/secrets/pikku-secrets.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAuB,MAAM,sBAAsB,CAAA;AASxG,MAAM,gBAAgB,GAAmC,EAExD,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.54
|
|
3
|
+
*/
|
|
4
|
+
import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
|
|
5
|
+
import type { SecretService } from '@pikku/core/services'
|
|
6
|
+
|
|
7
|
+
export interface CredentialsMap {
|
|
8
|
+
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type SecretId = keyof CredentialsMap
|
|
12
|
+
|
|
13
|
+
const CREDENTIALS_META: Record<string, CredentialMeta> = {
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
|
|
18
|
+
constructor(secrets: SecretService) {
|
|
19
|
+
super(secrets, CREDENTIALS_META)
|
|
20
|
+
}
|
|
21
|
+
}
|