@pikku/addon-cratedb 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.
Files changed (191) hide show
  1. package/README.md +12 -0
  2. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +67 -0
  3. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts.map +1 -0
  4. package/dist/.pikku/addon/pikku-addon-types.gen.js +78 -0
  5. package/dist/.pikku/addon/pikku-addon-types.gen.js.map +1 -0
  6. package/dist/.pikku/addon/pikku-addon-types.gen.ts +106 -0
  7. package/dist/.pikku/addon/pikku-package.gen.d.ts +2 -0
  8. package/dist/.pikku/addon/pikku-package.gen.d.ts.map +1 -0
  9. package/dist/.pikku/addon/pikku-package.gen.js +10 -0
  10. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -0
  11. package/dist/.pikku/addon/pikku-package.gen.ts +11 -0
  12. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +4 -0
  13. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +47 -0
  14. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -0
  15. package/dist/.pikku/agent/pikku-agent-types.gen.js +18 -0
  16. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -0
  17. package/dist/.pikku/agent/pikku-agent-types.gen.ts +82 -0
  18. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +112 -0
  19. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts.map +1 -0
  20. package/dist/.pikku/channel/pikku-channel-types.gen.js +60 -0
  21. package/dist/.pikku/channel/pikku-channel-types.gen.js.map +1 -0
  22. package/dist/.pikku/channel/pikku-channel-types.gen.ts +177 -0
  23. package/dist/.pikku/console/pikku-node-types.gen.d.ts +7 -0
  24. package/dist/.pikku/console/pikku-node-types.gen.d.ts.map +1 -0
  25. package/dist/.pikku/console/pikku-node-types.gen.js +2 -0
  26. package/dist/.pikku/console/pikku-node-types.gen.js.map +1 -0
  27. package/dist/.pikku/console/pikku-node-types.gen.ts +8 -0
  28. package/dist/.pikku/credentials/pikku-credentials-meta.gen.json +10 -0
  29. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts +15 -0
  30. package/dist/.pikku/credentials/pikku-credentials.gen.d.ts.map +1 -0
  31. package/dist/.pikku/credentials/pikku-credentials.gen.js +13 -0
  32. package/dist/.pikku/credentials/pikku-credentials.gen.js.map +1 -0
  33. package/dist/.pikku/credentials/pikku-credentials.gen.ts +23 -0
  34. package/dist/.pikku/function/pikku-function-types.gen.d.ts +490 -0
  35. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -0
  36. package/dist/.pikku/function/pikku-function-types.gen.js +334 -0
  37. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -0
  38. package/dist/.pikku/function/pikku-function-types.gen.ts +754 -0
  39. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +89 -0
  40. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts +2 -0
  41. package/dist/.pikku/function/pikku-functions-meta.gen.d.ts.map +1 -0
  42. package/dist/.pikku/function/pikku-functions-meta.gen.js +7 -0
  43. package/dist/.pikku/function/pikku-functions-meta.gen.js.map +1 -0
  44. package/dist/.pikku/function/pikku-functions-meta.gen.json +59 -0
  45. package/dist/.pikku/function/pikku-functions-meta.gen.ts +7 -0
  46. package/dist/.pikku/function/pikku-functions.gen.d.ts +2 -0
  47. package/dist/.pikku/function/pikku-functions.gen.d.ts.map +1 -0
  48. package/dist/.pikku/function/pikku-functions.gen.js +12 -0
  49. package/dist/.pikku/function/pikku-functions.gen.js.map +1 -0
  50. package/dist/.pikku/function/pikku-functions.gen.ts +12 -0
  51. package/dist/.pikku/http/pikku-http-types.gen.d.ts +120 -0
  52. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -0
  53. package/dist/.pikku/http/pikku-http-types.gen.js +72 -0
  54. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -0
  55. package/dist/.pikku/http/pikku-http-types.gen.ts +147 -0
  56. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +131 -0
  57. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts.map +1 -0
  58. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +38 -0
  59. package/dist/.pikku/mcp/pikku-mcp-types.gen.js.map +1 -0
  60. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +183 -0
  61. package/dist/.pikku/pikku-bootstrap.gen.d.ts +9 -0
  62. package/dist/.pikku/pikku-bootstrap.gen.d.ts.map +1 -0
  63. package/dist/.pikku/pikku-bootstrap.gen.js +9 -0
  64. package/dist/.pikku/pikku-bootstrap.gen.js.map +1 -0
  65. package/dist/.pikku/pikku-bootstrap.gen.ts +8 -0
  66. package/dist/.pikku/pikku-meta-service.gen.d.ts +8 -0
  67. package/dist/.pikku/pikku-meta-service.gen.d.ts.map +1 -0
  68. package/dist/.pikku/pikku-meta-service.gen.js +10 -0
  69. package/dist/.pikku/pikku-meta-service.gen.js.map +1 -0
  70. package/dist/.pikku/pikku-meta-service.gen.ts +10 -0
  71. package/dist/.pikku/pikku-services.gen.d.ts +35 -0
  72. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -0
  73. package/dist/.pikku/pikku-services.gen.js +30 -0
  74. package/dist/.pikku/pikku-services.gen.js.map +1 -0
  75. package/dist/.pikku/pikku-services.gen.ts +42 -0
  76. package/dist/.pikku/pikku-types.gen.d.ts +12 -0
  77. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -0
  78. package/dist/.pikku/pikku-types.gen.js +17 -0
  79. package/dist/.pikku/pikku-types.gen.js.map +1 -0
  80. package/dist/.pikku/pikku-types.gen.ts +21 -0
  81. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +24 -0
  82. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts.map +1 -0
  83. package/dist/.pikku/queue/pikku-queue-types.gen.js +17 -0
  84. package/dist/.pikku/queue/pikku-queue-types.gen.js.map +1 -0
  85. package/dist/.pikku/queue/pikku-queue-types.gen.ts +27 -0
  86. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +133 -0
  87. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +136 -0
  88. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts +2 -0
  89. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.d.ts.map +1 -0
  90. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +7 -0
  91. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js.map +1 -0
  92. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.json +5 -0
  93. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +6 -0
  94. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +22 -0
  95. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts.map +1 -0
  96. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +17 -0
  97. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js.map +1 -0
  98. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +25 -0
  99. package/dist/.pikku/schemas/register.gen.d.ts +2 -0
  100. package/dist/.pikku/schemas/register.gen.d.ts.map +1 -0
  101. package/dist/.pikku/schemas/register.gen.js +21 -0
  102. package/dist/.pikku/schemas/register.gen.js.map +1 -0
  103. package/dist/.pikku/schemas/register.gen.ts +35 -0
  104. package/dist/.pikku/schemas/schemas/CredentialSchema_cratedb.schema.json +1 -0
  105. package/dist/.pikku/schemas/schemas/ExecuteQueryInput.schema.json +1 -0
  106. package/dist/.pikku/schemas/schemas/ExecuteQueryOutput.schema.json +1 -0
  107. package/dist/.pikku/schemas/schemas/InsertInput.schema.json +1 -0
  108. package/dist/.pikku/schemas/schemas/InsertOutput.schema.json +1 -0
  109. package/dist/.pikku/schemas/schemas/UpdateInput.schema.json +1 -0
  110. package/dist/.pikku/schemas/schemas/UpdateOutput.schema.json +1 -0
  111. package/dist/.pikku/schemas/schemas/VariableSchema_CRATEDB_BASE_URL.schema.json +1 -0
  112. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +6 -0
  113. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -0
  114. package/dist/.pikku/secrets/pikku-secret-types.gen.js +5 -0
  115. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -0
  116. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +5 -0
  117. package/dist/.pikku/secrets/pikku-secrets-meta.gen.json +1 -0
  118. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +12 -0
  119. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -0
  120. package/dist/.pikku/secrets/pikku-secrets.gen.js +11 -0
  121. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -0
  122. package/dist/.pikku/secrets/pikku-secrets.gen.ts +21 -0
  123. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +114 -0
  124. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts.map +1 -0
  125. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +34 -0
  126. package/dist/.pikku/trigger/pikku-trigger-types.gen.js.map +1 -0
  127. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +160 -0
  128. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +6 -0
  129. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -0
  130. package/dist/.pikku/variables/pikku-variable-types.gen.js +5 -0
  131. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -0
  132. package/dist/.pikku/variables/pikku-variable-types.gen.ts +5 -0
  133. package/dist/.pikku/variables/pikku-variables-meta.gen.json +10 -0
  134. package/dist/.pikku/variables/pikku-variables.gen.d.ts +15 -0
  135. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -0
  136. package/dist/.pikku/variables/pikku-variables.gen.js +13 -0
  137. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -0
  138. package/dist/.pikku/variables/pikku-variables.gen.ts +23 -0
  139. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +38 -0
  140. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +90 -0
  141. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -0
  142. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +18 -0
  143. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -0
  144. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +167 -0
  145. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts +2 -0
  146. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.d.ts.map +1 -0
  147. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +7 -0
  148. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -0
  149. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +9 -0
  150. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +5 -0
  151. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts.map +1 -0
  152. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +5 -0
  153. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js.map +1 -0
  154. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +3 -0
  155. package/dist/src/cratedb-api.service.d.ts +10 -0
  156. package/dist/src/cratedb-api.service.d.ts.map +1 -0
  157. package/dist/src/cratedb-api.service.js +90 -0
  158. package/dist/src/cratedb-api.service.js.map +1 -0
  159. package/dist/src/cratedb.credential.d.ts +5 -0
  160. package/dist/src/cratedb.credential.d.ts.map +1 -0
  161. package/dist/src/cratedb.credential.js +13 -0
  162. package/dist/src/cratedb.credential.js.map +1 -0
  163. package/dist/src/cratedb.types.d.ts +7 -0
  164. package/dist/src/cratedb.types.d.ts.map +1 -0
  165. package/dist/src/cratedb.types.js +8 -0
  166. package/dist/src/cratedb.types.js.map +1 -0
  167. package/dist/src/cratedb.variable.d.ts +5 -0
  168. package/dist/src/cratedb.variable.d.ts.map +1 -0
  169. package/dist/src/cratedb.variable.js +11 -0
  170. package/dist/src/cratedb.variable.js.map +1 -0
  171. package/dist/src/functions/executeQuery.function.d.ts +29 -0
  172. package/dist/src/functions/executeQuery.function.d.ts.map +1 -0
  173. package/dist/src/functions/executeQuery.function.js +19 -0
  174. package/dist/src/functions/executeQuery.function.js.map +1 -0
  175. package/dist/src/functions/insert.function.d.ts +29 -0
  176. package/dist/src/functions/insert.function.d.ts.map +1 -0
  177. package/dist/src/functions/insert.function.js +19 -0
  178. package/dist/src/functions/insert.function.js.map +1 -0
  179. package/dist/src/functions/update.function.d.ts +33 -0
  180. package/dist/src/functions/update.function.d.ts.map +1 -0
  181. package/dist/src/functions/update.function.js +20 -0
  182. package/dist/src/functions/update.function.js.map +1 -0
  183. package/dist/src/index.d.ts +4 -0
  184. package/dist/src/index.d.ts.map +1 -0
  185. package/dist/src/index.js +4 -0
  186. package/dist/src/index.js.map +1 -0
  187. package/dist/src/services.d.ts +2 -0
  188. package/dist/src/services.d.ts.map +1 -0
  189. package/dist/src/services.js +14 -0
  190. package/dist/src/services.js.map +1 -0
  191. 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,133 @@
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_cratedb = {
13
+ /** CrateDB API key */
14
+ apiKey: string;
15
+ }
16
+ export type ExecuteQueryInput = {
17
+ /** The SQL statement to execute */
18
+ stmt?: string | undefined;
19
+ /** Positional query parameters */
20
+ args?: string[] | undefined;
21
+ }
22
+ export type ExecuteQueryOutput = {
23
+ rowcount?: number | undefined;
24
+ duration?: number | undefined;
25
+ }
26
+ export type InsertInput = {
27
+ /** Name of the schema the table belongs to */
28
+ schema?: string | undefined;
29
+ /** Name of the table to insert into */
30
+ table?: string | undefined;
31
+ /** Comma-separated list of columns */
32
+ columns?: string | undefined;
33
+ }
34
+ export type InsertOutput = {
35
+ rowcount?: number | undefined;
36
+ }
37
+ export type UpdateInput = {
38
+ /** Name of the schema the table belongs to */
39
+ schema?: string | undefined;
40
+ /** Name of the table to update */
41
+ table?: string | undefined;
42
+ /** Column used to decide which rows to update */
43
+ updateKey?: string | undefined;
44
+ /** Comma-separated list of columns to update */
45
+ columns?: string | undefined;
46
+ }
47
+ export type UpdateOutput = {
48
+ rowcount?: number | undefined;
49
+ }
50
+ export type VariableSchema_CRATEDB_BASE_URL = "http://localhost:4200"
51
+
52
+ interface RPCHandler<I, O> {
53
+ input: I;
54
+ output: O;
55
+ }
56
+
57
+ export type RPCMap = {
58
+ };
59
+
60
+
61
+
62
+ // No addon packages, use RPCMap directly
63
+ export type FlattenedRPCMap = RPCMap
64
+
65
+ type IsAny<T> = 0 extends (1 & T) ? true : false
66
+ type IsVoidishInput<T> = IsAny<T> extends true
67
+ ? false
68
+ : [T] extends [void | null | undefined]
69
+ ? true
70
+ : false
71
+
72
+
73
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
74
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
75
+ ? [name: Name]
76
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
77
+ ) => Promise<FlattenedRPCMap[Name]['output']>
78
+
79
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
80
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
81
+ ? [name: Name]
82
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
83
+ ) => Promise<FlattenedRPCMap[Name]['output']>
84
+
85
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
86
+
87
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
88
+
89
+
90
+ type FlattenedAgentMap = AgentMap
91
+
92
+
93
+ import type { PikkuRPC } from '@pikku/core/rpc'
94
+
95
+ interface AIAgentInput {
96
+ message: string
97
+ threadId: string
98
+ resourceId: string
99
+ }
100
+
101
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
102
+ name: Name,
103
+ input: FlattenedWorkflowMap[Name]['input'],
104
+ options?: { startNode?: string }
105
+ ) => Promise<{ runId: string }>
106
+
107
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
108
+ name: Name,
109
+ input: FlattenedWorkflowMap[Name]['input']
110
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
111
+
112
+ export type TypedWorkflowStatus = (
113
+ workflowName: string,
114
+ runId: string
115
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
116
+
117
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
118
+ ? (name: string, input: AIAgentInput) => Promise<any>
119
+ : <Name extends keyof FlattenedAgentMap>(
120
+ name: Name,
121
+ input: AIAgentInput
122
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
123
+
124
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
125
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
126
+ : <Name extends keyof FlattenedAgentMap>(
127
+ name: Name,
128
+ input: AIAgentInput,
129
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
130
+ ) => Promise<void>
131
+
132
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
133
+
@@ -0,0 +1,136 @@
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_cratedb = {
13
+ /** CrateDB API key */
14
+ apiKey: string;
15
+ }
16
+ export type ExecuteQueryInput = {
17
+ /** The SQL statement to execute */
18
+ stmt?: string | undefined;
19
+ /** Positional query parameters */
20
+ args?: string[] | undefined;
21
+ }
22
+ export type ExecuteQueryOutput = {
23
+ rowcount?: number | undefined;
24
+ duration?: number | undefined;
25
+ }
26
+ export type InsertInput = {
27
+ /** Name of the schema the table belongs to */
28
+ schema?: string | undefined;
29
+ /** Name of the table to insert into */
30
+ table?: string | undefined;
31
+ /** Comma-separated list of columns */
32
+ columns?: string | undefined;
33
+ }
34
+ export type InsertOutput = {
35
+ rowcount?: number | undefined;
36
+ }
37
+ export type UpdateInput = {
38
+ /** Name of the schema the table belongs to */
39
+ schema?: string | undefined;
40
+ /** Name of the table to update */
41
+ table?: string | undefined;
42
+ /** Column used to decide which rows to update */
43
+ updateKey?: string | undefined;
44
+ /** Comma-separated list of columns to update */
45
+ columns?: string | undefined;
46
+ }
47
+ export type UpdateOutput = {
48
+ rowcount?: number | undefined;
49
+ }
50
+ export type VariableSchema_CRATEDB_BASE_URL = "http://localhost:4200"
51
+
52
+ interface RPCHandler<I, O> {
53
+ input: I;
54
+ output: O;
55
+ }
56
+
57
+ export type RPCMap = {
58
+ readonly 'executeQuery': RPCHandler<ExecuteQueryInput, ExecuteQueryOutput>,
59
+ readonly 'insert': RPCHandler<InsertInput, InsertOutput>,
60
+ readonly 'update': RPCHandler<UpdateInput, UpdateOutput>,
61
+ };
62
+
63
+
64
+
65
+ // No addon packages, use RPCMap directly
66
+ export type FlattenedRPCMap = RPCMap
67
+
68
+ type IsAny<T> = 0 extends (1 & T) ? true : false
69
+ type IsVoidishInput<T> = IsAny<T> extends true
70
+ ? false
71
+ : [T] extends [void | null | undefined]
72
+ ? true
73
+ : false
74
+
75
+
76
+ export type RPCInvoke = <Name extends keyof FlattenedRPCMap>(
77
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
78
+ ? [name: Name]
79
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
80
+ ) => Promise<FlattenedRPCMap[Name]['output']>
81
+
82
+ export type RPCRemote = <Name extends keyof FlattenedRPCMap>(
83
+ ...args: IsVoidishInput<FlattenedRPCMap[Name]['input']> extends true
84
+ ? [name: Name]
85
+ : [name: Name, data: FlattenedRPCMap[Name]['input']]
86
+ ) => Promise<FlattenedRPCMap[Name]['output']>
87
+
88
+ import type { FlattenedWorkflowMap } from '../workflow/pikku-workflow-map.gen.d.js'
89
+
90
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
91
+
92
+
93
+ type FlattenedAgentMap = AgentMap
94
+
95
+
96
+ import type { PikkuRPC } from '@pikku/core/rpc'
97
+
98
+ interface AIAgentInput {
99
+ message: string
100
+ threadId: string
101
+ resourceId: string
102
+ }
103
+
104
+ export type TypedStartWorkflow = <Name extends keyof FlattenedWorkflowMap>(
105
+ name: Name,
106
+ input: FlattenedWorkflowMap[Name]['input'],
107
+ options?: { startNode?: string }
108
+ ) => Promise<{ runId: string }>
109
+
110
+ export type TypedRunWorkflow = <Name extends keyof FlattenedWorkflowMap>(
111
+ name: Name,
112
+ input: FlattenedWorkflowMap[Name]['input']
113
+ ) => Promise<FlattenedWorkflowMap[Name]['output']>
114
+
115
+ export type TypedWorkflowStatus = (
116
+ workflowName: string,
117
+ runId: string
118
+ ) => Promise<{ id: string; status: 'running' | 'suspended' | 'completed' | 'failed' | 'cancelled'; output?: unknown; error?: { message?: string } }>
119
+
120
+ type TypedAgentRun = [keyof FlattenedAgentMap] extends [never]
121
+ ? (name: string, input: AIAgentInput) => Promise<any>
122
+ : <Name extends keyof FlattenedAgentMap>(
123
+ name: Name,
124
+ input: AIAgentInput
125
+ ) => Promise<{ runId: string; result: FlattenedAgentMap[Name]['output']; usage: { inputTokens: number; outputTokens: number } }>
126
+
127
+ type TypedAgentStream = [keyof FlattenedAgentMap] extends [never]
128
+ ? (name: string, input: AIAgentInput, options?: { requiresToolApproval?: 'all' | 'explicit' | false }) => Promise<void>
129
+ : <Name extends keyof FlattenedAgentMap>(
130
+ name: Name,
131
+ input: AIAgentInput,
132
+ options?: { requiresToolApproval?: 'all' | 'explicit' | false }
133
+ ) => Promise<void>
134
+
135
+ export type TypedPikkuRPC = PikkuRPC<RPCInvoke, RPCRemote, TypedStartWorkflow, TypedAgentRun, TypedAgentStream>
136
+
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=pikku-rpc-wirings-meta.internal.gen.d.ts.map
@@ -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-cratedb', '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,sBAAsB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAkC,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ {
2
+ "executeQuery": "executeQuery",
3
+ "insert": "insert",
4
+ "update": "update"
5
+ }
@@ -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-cratedb', '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,2 @@
1
+ export {};
2
+ //# sourceMappingURL=register.gen.d.ts.map
@@ -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 ExecuteQueryInput from './schemas/ExecuteQueryInput.schema.json' with { type: 'json' };
6
+ addSchema('ExecuteQueryInput', ExecuteQueryInput, '@pikku/addon-cratedb');
7
+ import * as ExecuteQueryOutput from './schemas/ExecuteQueryOutput.schema.json' with { type: 'json' };
8
+ addSchema('ExecuteQueryOutput', ExecuteQueryOutput, '@pikku/addon-cratedb');
9
+ import * as InsertInput from './schemas/InsertInput.schema.json' with { type: 'json' };
10
+ addSchema('InsertInput', InsertInput, '@pikku/addon-cratedb');
11
+ import * as InsertOutput from './schemas/InsertOutput.schema.json' with { type: 'json' };
12
+ addSchema('InsertOutput', InsertOutput, '@pikku/addon-cratedb');
13
+ import * as UpdateInput from './schemas/UpdateInput.schema.json' with { type: 'json' };
14
+ addSchema('UpdateInput', UpdateInput, '@pikku/addon-cratedb');
15
+ import * as UpdateOutput from './schemas/UpdateOutput.schema.json' with { type: 'json' };
16
+ addSchema('UpdateOutput', UpdateOutput, '@pikku/addon-cratedb');
17
+ import * as CredentialSchema_cratedb from './schemas/CredentialSchema_cratedb.schema.json' with { type: 'json' };
18
+ addSchema('CredentialSchema_cratedb', CredentialSchema_cratedb, '@pikku/addon-cratedb');
19
+ import * as VariableSchema_CRATEDB_BASE_URL from './schemas/VariableSchema_CRATEDB_BASE_URL.schema.json' with { type: 'json' };
20
+ addSchema('VariableSchema_CRATEDB_BASE_URL', VariableSchema_CRATEDB_BASE_URL, '@pikku/addon-cratedb');
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,iBAAiB,MAAM,yCAAyC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAClG,SAAS,CAAC,mBAAmB,EAAE,iBAAiB,EAAE,sBAAsB,CAAC,CAAA;AAGzE,OAAO,KAAK,kBAAkB,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACpG,SAAS,CAAC,oBAAoB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC,CAAA;AAG3E,OAAO,KAAK,WAAW,MAAM,mCAAmC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtF,SAAS,CAAC,aAAa,EAAE,WAAW,EAAE,sBAAsB,CAAC,CAAA;AAG7D,OAAO,KAAK,YAAY,MAAM,oCAAoC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxF,SAAS,CAAC,cAAc,EAAE,YAAY,EAAE,sBAAsB,CAAC,CAAA;AAG/D,OAAO,KAAK,WAAW,MAAM,mCAAmC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACtF,SAAS,CAAC,aAAa,EAAE,WAAW,EAAE,sBAAsB,CAAC,CAAA;AAG7D,OAAO,KAAK,YAAY,MAAM,oCAAoC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AACxF,SAAS,CAAC,cAAc,EAAE,YAAY,EAAE,sBAAsB,CAAC,CAAA;AAG/D,OAAO,KAAK,wBAAwB,MAAM,gDAAgD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAChH,SAAS,CAAC,0BAA0B,EAAE,wBAAwB,EAAE,sBAAsB,CAAC,CAAA;AAGvF,OAAO,KAAK,+BAA+B,MAAM,uDAAuD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAC9H,SAAS,CAAC,iCAAiC,EAAE,+BAA+B,EAAE,sBAAsB,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 ExecuteQueryInput from './schemas/ExecuteQueryInput.schema.json' with { type: 'json' }
7
+ addSchema('ExecuteQueryInput', ExecuteQueryInput, '@pikku/addon-cratedb')
8
+
9
+
10
+ import * as ExecuteQueryOutput from './schemas/ExecuteQueryOutput.schema.json' with { type: 'json' }
11
+ addSchema('ExecuteQueryOutput', ExecuteQueryOutput, '@pikku/addon-cratedb')
12
+
13
+
14
+ import * as InsertInput from './schemas/InsertInput.schema.json' with { type: 'json' }
15
+ addSchema('InsertInput', InsertInput, '@pikku/addon-cratedb')
16
+
17
+
18
+ import * as InsertOutput from './schemas/InsertOutput.schema.json' with { type: 'json' }
19
+ addSchema('InsertOutput', InsertOutput, '@pikku/addon-cratedb')
20
+
21
+
22
+ import * as UpdateInput from './schemas/UpdateInput.schema.json' with { type: 'json' }
23
+ addSchema('UpdateInput', UpdateInput, '@pikku/addon-cratedb')
24
+
25
+
26
+ import * as UpdateOutput from './schemas/UpdateOutput.schema.json' with { type: 'json' }
27
+ addSchema('UpdateOutput', UpdateOutput, '@pikku/addon-cratedb')
28
+
29
+
30
+ import * as CredentialSchema_cratedb from './schemas/CredentialSchema_cratedb.schema.json' with { type: 'json' }
31
+ addSchema('CredentialSchema_cratedb', CredentialSchema_cratedb, '@pikku/addon-cratedb')
32
+
33
+
34
+ import * as VariableSchema_CRATEDB_BASE_URL from './schemas/VariableSchema_CRATEDB_BASE_URL.schema.json' with { type: 'json' }
35
+ addSchema('VariableSchema_CRATEDB_BASE_URL', VariableSchema_CRATEDB_BASE_URL, '@pikku/addon-cratedb')
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"apiKey":{"type":"string","description":"CrateDB API key"}},"required":["apiKey"],"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"stmt":{"description":"The SQL statement to execute","type":"string"},"args":{"description":"Positional query parameters","type":"array","items":{"type":"string"}}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"rowcount":{"type":"number"},"duration":{"type":"number"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schema":{"description":"Name of the schema the table belongs to","type":"string"},"table":{"description":"Name of the table to insert into","type":"string"},"columns":{"description":"Comma-separated list of columns","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"rowcount":{"type":"number"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"schema":{"description":"Name of the schema the table belongs to","type":"string"},"table":{"description":"Name of the table to update","type":"string"},"updateKey":{"description":"Column used to decide which rows to update","type":"string"},"columns":{"description":"Comma-separated list of columns to update","type":"string"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"rowcount":{"type":"number"}},"additionalProperties":false}
@@ -0,0 +1 @@
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","default":"http://localhost:4200","type":"string","enum":["http://localhost:4200"]}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret';
5
+ export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
6
+ //# sourceMappingURL=pikku-secret-types.gen.d.ts.map
@@ -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,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret';
5
+ //# sourceMappingURL=pikku-secret-types.gen.js.map
@@ -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,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.54
3
+ */
4
+ export { wireSecret } from '@pikku/core/secret'
5
+ export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret'
@@ -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
+ }