@pikku/addon-meta-conversions 0.1.2 → 0.1.3

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 (218) hide show
  1. package/.pikku/addon/pikku-addon-types.gen.ts +1 -1
  2. package/.pikku/addon/pikku-package.gen.ts +1 -1
  3. package/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  4. package/.pikku/agent/pikku-agent-types.gen.ts +4 -2
  5. package/.pikku/channel/pikku-channel-types.gen.ts +1 -1
  6. package/.pikku/console/pikku-addon-meta.gen.json +4 -1
  7. package/.pikku/console/pikku-node-types.gen.ts +1 -1
  8. package/.pikku/function/pikku-function-types.gen.ts +117 -74
  9. package/.pikku/function/pikku-functions-meta-verbose.gen.json +2 -0
  10. package/.pikku/function/pikku-functions-meta.gen.json +7 -1
  11. package/.pikku/function/pikku-functions-meta.gen.ts +1 -1
  12. package/.pikku/function/pikku-functions.gen.ts +1 -1
  13. package/.pikku/http/pikku-http-types.gen.ts +3 -31
  14. package/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
  15. package/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  16. package/.pikku/pikku-bootstrap.gen.ts +1 -1
  17. package/.pikku/pikku-meta-service.gen.ts +1 -1
  18. package/.pikku/pikku-services.gen.ts +6 -1
  19. package/.pikku/pikku-types.gen.ts +4 -1
  20. package/.pikku/queue/pikku-queue-types.gen.ts +1 -1
  21. package/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -1
  22. package/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -1
  23. package/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +135 -0
  24. package/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
  25. package/.pikku/scenarios/features.gen.json +1 -0
  26. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  27. package/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  28. package/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  29. package/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  30. package/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  31. package/.pikku/scenarios/schemas/register.gen.ts +4 -0
  32. package/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
  33. package/.pikku/schemas/register.gen.ts +1 -1
  34. package/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  35. package/.pikku/scopes/pikku-personas.gen.ts +52 -0
  36. package/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  37. package/.pikku/scopes/pikku-roles.gen.ts +41 -0
  38. package/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  39. package/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  40. package/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  41. package/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
  42. package/.pikku/secrets/pikku-secrets.gen.ts +15 -2
  43. package/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  44. package/.pikku/variables/pikku-variable-types.gen.ts +2 -2
  45. package/.pikku/variables/pikku-variables.gen.ts +16 -3
  46. package/.pikku/workflow/personas.gen.json +1 -0
  47. package/.pikku/workflow/pikku-personas.gen.ts +38 -0
  48. package/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  49. package/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  50. package/.pikku/workflow/pikku-workflow-types.gen.ts +429 -5
  51. package/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
  52. package/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  53. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  54. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  55. package/dist/.pikku/addon/pikku-addon-types.gen.ts +1 -1
  56. package/dist/.pikku/addon/pikku-package.gen.js +1 -1
  57. package/dist/.pikku/addon/pikku-package.gen.ts +1 -1
  58. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  59. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +4 -2
  60. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts.map +1 -1
  61. package/dist/.pikku/agent/pikku-agent-types.gen.js.map +1 -1
  62. package/dist/.pikku/agent/pikku-agent-types.gen.ts +4 -2
  63. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  64. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  65. package/dist/.pikku/channel/pikku-channel-types.gen.ts +1 -1
  66. package/dist/.pikku/console/pikku-addon-meta.gen.json +4 -1
  67. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  68. package/dist/.pikku/console/pikku-node-types.gen.ts +1 -1
  69. package/dist/.pikku/function/pikku-function-types.gen.d.ts +77 -61
  70. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  71. package/dist/.pikku/function/pikku-function-types.gen.js +29 -12
  72. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  73. package/dist/.pikku/function/pikku-function-types.gen.ts +117 -74
  74. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +2 -0
  75. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  76. package/dist/.pikku/function/pikku-functions-meta.gen.json +7 -1
  77. package/dist/.pikku/function/pikku-functions-meta.gen.ts +1 -1
  78. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  79. package/dist/.pikku/function/pikku-functions.gen.ts +1 -1
  80. package/dist/.pikku/http/pikku-http-types.gen.d.ts +2 -24
  81. package/dist/.pikku/http/pikku-http-types.gen.d.ts.map +1 -1
  82. package/dist/.pikku/http/pikku-http-types.gen.js +2 -24
  83. package/dist/.pikku/http/pikku-http-types.gen.js.map +1 -1
  84. package/dist/.pikku/http/pikku-http-types.gen.ts +3 -31
  85. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  86. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  87. package/dist/.pikku/mcp/pikku-mcp-types.gen.ts +1 -1
  88. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +10 -0
  89. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts.map +1 -0
  90. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +10 -0
  91. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js.map +1 -0
  92. package/dist/.pikku/pikku-bootstrap-scenarios.gen.ts +9 -0
  93. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  94. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  95. package/dist/.pikku/pikku-bootstrap.gen.ts +1 -1
  96. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  97. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  98. package/dist/.pikku/pikku-meta-service.gen.ts +1 -1
  99. package/dist/.pikku/pikku-services.gen.d.ts +6 -1
  100. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  101. package/dist/.pikku/pikku-services.gen.js +5 -0
  102. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  103. package/dist/.pikku/pikku-services.gen.ts +6 -1
  104. package/dist/.pikku/pikku-types.gen.d.ts +2 -1
  105. package/dist/.pikku/pikku-types.gen.d.ts.map +1 -1
  106. package/dist/.pikku/pikku-types.gen.js +3 -1
  107. package/dist/.pikku/pikku-types.gen.js.map +1 -1
  108. package/dist/.pikku/pikku-types.gen.ts +4 -1
  109. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  110. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  111. package/dist/.pikku/queue/pikku-queue-types.gen.ts +1 -1
  112. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -1
  113. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -1
  114. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +135 -0
  115. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  116. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.ts +1 -1
  117. package/dist/.pikku/scenarios/features.gen.json +1 -0
  118. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts +2 -0
  119. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.d.ts.map +1 -0
  120. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +11 -0
  121. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js.map +1 -0
  122. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.json +1 -0
  123. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.ts +12 -0
  124. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +5 -0
  125. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts.map +1 -0
  126. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js +2 -0
  127. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.js.map +1 -0
  128. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.ts +4 -0
  129. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts +2 -0
  130. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.d.ts.map +1 -0
  131. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +11 -0
  132. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js.map +1 -0
  133. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.ts +15 -0
  134. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +5 -0
  135. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts.map +1 -0
  136. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js +2 -0
  137. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.js.map +1 -0
  138. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.ts +4 -0
  139. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +5 -0
  140. package/dist/.pikku/scenarios/schemas/register.gen.d.ts.map +1 -0
  141. package/dist/.pikku/scenarios/schemas/register.gen.js +5 -0
  142. package/dist/.pikku/scenarios/schemas/register.gen.js.map +1 -0
  143. package/dist/.pikku/scenarios/schemas/register.gen.ts +4 -0
  144. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  145. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  146. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.ts +1 -1
  147. package/dist/.pikku/schemas/register.gen.js +1 -1
  148. package/dist/.pikku/schemas/register.gen.ts +1 -1
  149. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  150. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
  151. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
  152. package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
  153. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
  154. package/dist/.pikku/scopes/pikku-personas.gen.ts +52 -0
  155. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  156. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
  157. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
  158. package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
  159. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
  160. package/dist/.pikku/scopes/pikku-roles.gen.ts +41 -0
  161. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +8 -0
  162. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -0
  163. package/dist/.pikku/scopes/pikku-scope-types.gen.js +6 -0
  164. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -0
  165. package/dist/.pikku/scopes/pikku-scope-types.gen.ts +7 -0
  166. package/dist/.pikku/scopes/pikku-scopes-meta.gen.json +1 -0
  167. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +36 -0
  168. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts.map +1 -0
  169. package/dist/.pikku/scopes/pikku-scopes.gen.js +28 -0
  170. package/dist/.pikku/scopes/pikku-scopes.gen.js.map +1 -0
  171. package/dist/.pikku/scopes/pikku-scopes.gen.ts +58 -0
  172. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
  173. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  174. package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
  175. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
  176. package/dist/.pikku/secrets/pikku-secret-types.gen.ts +2 -2
  177. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +11 -1
  178. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts.map +1 -1
  179. package/dist/.pikku/secrets/pikku-secrets.gen.js +12 -2
  180. package/dist/.pikku/secrets/pikku-secrets.gen.js.map +1 -1
  181. package/dist/.pikku/secrets/pikku-secrets.gen.ts +15 -2
  182. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  183. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  184. package/dist/.pikku/trigger/pikku-trigger-types.gen.ts +1 -1
  185. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  186. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  187. package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
  188. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
  189. package/dist/.pikku/variables/pikku-variable-types.gen.ts +2 -2
  190. package/dist/.pikku/variables/pikku-variables.gen.d.ts +11 -1
  191. package/dist/.pikku/variables/pikku-variables.gen.d.ts.map +1 -1
  192. package/dist/.pikku/variables/pikku-variables.gen.js +13 -3
  193. package/dist/.pikku/variables/pikku-variables.gen.js.map +1 -1
  194. package/dist/.pikku/variables/pikku-variables.gen.ts +16 -3
  195. package/dist/.pikku/workflow/personas.gen.json +1 -0
  196. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
  197. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
  198. package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
  199. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
  200. package/dist/.pikku/workflow/pikku-personas.gen.ts +38 -0
  201. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +18 -0
  202. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  203. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +254 -5
  204. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  205. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +62 -1
  206. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  207. package/dist/.pikku/workflow/pikku-workflow-types.gen.ts +429 -5
  208. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  209. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js.map +1 -1
  210. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.ts +3 -3
  211. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  212. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  213. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.ts +1 -1
  214. package/dist/src/functions/events/send.function.d.ts +2 -2
  215. package/dist/src/functions/events/send.function.d.ts.map +1 -1
  216. package/dist/src/meta-conversions.secret.js +2 -2
  217. package/dist/src/meta-conversions.secret.js.map +1 -1
  218. package/package.json +4 -4
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export declare const empty: null;
5
+ //# sourceMappingURL=register.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/scenarios/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,KAAK,MAAO,CAAC"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export const empty = null;
5
+ //# sourceMappingURL=register.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"register.gen.js","sourceRoot":"","sources":["../../../../.pikku/scenarios/schemas/register.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export const empty = null;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Scheduler-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema';
5
5
  import * as EventSendInput from './schemas/EventSendInput.schema.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { addSchema } from '@pikku/core/schema'
5
5
 
@@ -0,0 +1,37 @@
1
+ import type { CorePersona, PersonaMeta, PersonasMeta } from '@pikku/core/persona';
2
+ import type { SystemRoleName } from './pikku-roles.gen.js';
3
+ /** Every declared persona. */
4
+ export type PersonaId = never;
5
+ /**
6
+ * The personas a virtual user can actually be.
7
+ *
8
+ * Excludes anyone whose only login is a provider account — driving a consent
9
+ * screen needs a human — and anyone declared `runnable: false`, who exists to
10
+ * be acted upon rather than to act.
11
+ */
12
+ export type RunnablePersonaId = never;
13
+ /** Every environment configured in pikku.config.json. */
14
+ export type EnvironmentName = never;
15
+ /**
16
+ * A persona whose roles are checked against `defineSystemRole` and whose
17
+ * environments are checked against the config.
18
+ *
19
+ * Omitting `environments` means every environment except the ones flagged
20
+ * `production: true`. Naming a production one additionally requires
21
+ * `disposition: 'accountable'`, which the type cannot express and `pikku`
22
+ * refuses at build time.
23
+ */
24
+ export type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
25
+ roles?: SystemRoleName[];
26
+ environments?: EnvironmentName[];
27
+ };
28
+ /**
29
+ * Declare the people who use this application.
30
+ *
31
+ * A persona while running is a virtual user; there is no second declaration.
32
+ */
33
+ export declare const definePersonas: (personas: Record<string, TypedPersona>) => void;
34
+ /** Declared personas, keyed by id. Read by the console and `pikku persona`. */
35
+ export declare const PERSONAS: PersonasMeta;
36
+ export declare const PERSONA_LIST: PersonaMeta[];
37
+ //# sourceMappingURL=pikku-personas.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-personas.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-personas.gen.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAG1D,8BAA8B;AAC9B,MAAM,MAAM,SAAS,GAAG,KAAK,CAAA;AAE7B;;;;;;GAMG;AACH,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAA;AAErC,yDAAyD;AACzD,MAAM,MAAM,eAAe,GAAG,KAAK,CAAA;AAEnC;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,cAAc,CAAC,GAAG;IACvE,KAAK,CAAC,EAAE,cAAc,EAAE,CAAA;IACxB,YAAY,CAAC,EAAE,eAAe,EAAE,CAAA;CACjC,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,GAAI,UAAU,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,KAAG,IAC1C,CAAA;AAE9B,+EAA+E;AAC/E,eAAO,MAAM,QAAQ,EAAE,YAAqD,CAAA;AAE5E,eAAO,MAAM,YAAY,EAAE,WAAW,EAA4B,CAAA"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * This file was generated by the @pikku/cli
6
+ */
7
+ import { definePersonas as definePersonasCore } from '@pikku/core/persona';
8
+ import definitions from './pikku-personas-meta.gen.json' with { type: 'json' };
9
+ /**
10
+ * Declare the people who use this application.
11
+ *
12
+ * A persona while running is a virtual user; there is no second declaration.
13
+ */
14
+ export const definePersonas = (personas) => definePersonasCore(personas);
15
+ /** Declared personas, keyed by id. Read by the console and `pikku persona`. */
16
+ export const PERSONAS = definitions;
17
+ export const PERSONA_LIST = Object.values(PERSONAS);
18
+ //# sourceMappingURL=pikku-personas.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-personas.gen.js","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-personas.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,OAAO,EAAE,cAAc,IAAI,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAG1E,OAAO,WAAW,MAAM,gCAAgC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AA+B9E;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,QAAsC,EAAQ,EAAE,CAC7E,kBAAkB,CAAC,QAAQ,CAAC,CAAA;AAE9B,+EAA+E;AAC/E,MAAM,CAAC,MAAM,QAAQ,GAAiB,WAAsC,CAAA;AAE5E,MAAM,CAAC,MAAM,YAAY,GAAkB,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA"}
@@ -0,0 +1,52 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * This file was generated by the @pikku/cli
6
+ */
7
+ import { definePersonas as definePersonasCore } from '@pikku/core/persona'
8
+ import type { CorePersona, PersonaMeta, PersonasMeta } from '@pikku/core/persona'
9
+ import type { SystemRoleName } from './pikku-roles.gen.js'
10
+ import definitions from './pikku-personas-meta.gen.json' with { type: 'json' }
11
+
12
+ /** Every declared persona. */
13
+ export type PersonaId = never
14
+
15
+ /**
16
+ * The personas a virtual user can actually be.
17
+ *
18
+ * Excludes anyone whose only login is a provider account — driving a consent
19
+ * screen needs a human — and anyone declared `runnable: false`, who exists to
20
+ * be acted upon rather than to act.
21
+ */
22
+ export type RunnablePersonaId = never
23
+
24
+ /** Every environment configured in pikku.config.json. */
25
+ export type EnvironmentName = never
26
+
27
+ /**
28
+ * A persona whose roles are checked against `defineSystemRole` and whose
29
+ * environments are checked against the config.
30
+ *
31
+ * Omitting `environments` means every environment except the ones flagged
32
+ * `production: true`. Naming a production one additionally requires
33
+ * `disposition: 'accountable'`, which the type cannot express and `pikku`
34
+ * refuses at build time.
35
+ */
36
+ export type TypedPersona = Omit<CorePersona, 'roles' | 'environments'> & {
37
+ roles?: SystemRoleName[]
38
+ environments?: EnvironmentName[]
39
+ }
40
+
41
+ /**
42
+ * Declare the people who use this application.
43
+ *
44
+ * A persona while running is a virtual user; there is no second declaration.
45
+ */
46
+ export const definePersonas = (personas: Record<string, TypedPersona>): void =>
47
+ definePersonasCore(personas)
48
+
49
+ /** Declared personas, keyed by id. Read by the console and `pikku persona`. */
50
+ export const PERSONAS: PersonasMeta = definitions as unknown as PersonasMeta
51
+
52
+ export const PERSONA_LIST: PersonaMeta[] = Object.values(PERSONAS)
@@ -0,0 +1,31 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * This file was generated by the @pikku/cli
6
+ */
7
+ import type { SystemRole } from '@pikku/core/role';
8
+ /**
9
+ * Every role that ships with this application.
10
+ *
11
+ * Roles an admin composes in the console are not here and cannot be: they do
12
+ * not exist at build time, and can be deleted after it.
13
+ */
14
+ export type SystemRoleName = never;
15
+ /**
16
+ * The declared role set, for a ScopeService to sync into its store.
17
+ *
18
+ * Derived from the metadata sidecar rather than inlined, so the import above
19
+ * forces tsc to emit the .json alongside this file — an addon publishes only
20
+ * its compiled output, and a host reads that .json to merge the addon's roles
21
+ * into its own union.
22
+ *
23
+ * Additive on removal: a deleted declaration leaves an inert row rather than
24
+ * revoking everyone's grant on deploy. Use `pikku roles prune` to remove them.
25
+ */
26
+ export declare const SYSTEM_ROLES: SystemRole[];
27
+ /** Declared roles, keyed by name. Rendered by the console when granting. */
28
+ export declare const SYSTEM_ROLES_META: Record<string, SystemRole>;
29
+ /** Whether a role name is declared in code, and therefore not editable. */
30
+ export declare const isSystemRole: (name: string) => boolean;
31
+ //# sourceMappingURL=pikku-roles.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-roles.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-roles.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,OAAO,KAAK,EAAE,UAAU,EAA6B,MAAM,kBAAkB,CAAA;AAI7E;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,KAAK,CAAA;AAElC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,YAAY,EAAE,UAAU,EAEpC,CAAA;AAED,4EAA4E;AAC5E,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAExD,CAAA;AAED,2EAA2E;AAC3E,eAAO,MAAM,YAAY,GAAI,MAAM,MAAM,KAAG,OACmB,CAAA"}
@@ -0,0 +1,19 @@
1
+ import { flattenSystemRoleDefinitions } from '@pikku/core/role';
2
+ import definitions from './pikku-roles-meta.gen.json' with { type: 'json' };
3
+ /**
4
+ * The declared role set, for a ScopeService to sync into its store.
5
+ *
6
+ * Derived from the metadata sidecar rather than inlined, so the import above
7
+ * forces tsc to emit the .json alongside this file — an addon publishes only
8
+ * its compiled output, and a host reads that .json to merge the addon's roles
9
+ * into its own union.
10
+ *
11
+ * Additive on removal: a deleted declaration leaves an inert row rather than
12
+ * revoking everyone's grant on deploy. Use `pikku roles prune` to remove them.
13
+ */
14
+ export const SYSTEM_ROLES = flattenSystemRoleDefinitions(Object.values(definitions));
15
+ /** Declared roles, keyed by name. Rendered by the console when granting. */
16
+ export const SYSTEM_ROLES_META = Object.fromEntries(SYSTEM_ROLES.map((role) => [role.name, role]));
17
+ /** Whether a role name is declared in code, and therefore not editable. */
18
+ export const isSystemRole = (name) => Object.prototype.hasOwnProperty.call(SYSTEM_ROLES_META, name);
19
+ //# sourceMappingURL=pikku-roles.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-roles.gen.js","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-roles.gen.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,4BAA4B,EAAE,MAAM,kBAAkB,CAAA;AAC/D,OAAO,WAAW,MAAM,6BAA6B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAU3E;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,YAAY,GAAiB,4BAA4B,CACpE,MAAM,CAAC,MAAM,CAAC,WAAwC,CAAC,CACxD,CAAA;AAED,4EAA4E;AAC5E,MAAM,CAAC,MAAM,iBAAiB,GAA+B,MAAM,CAAC,WAAW,CAC7E,YAAY,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAC9C,CAAA;AAED,2EAA2E;AAC3E,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAY,EAAW,EAAE,CACpD,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,iBAAiB,EAAE,IAAI,CAAC,CAAA"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * This file was generated by the @pikku/cli
6
+ */
7
+ import type { SystemRole, SystemRoleDefinitionsMeta } from '@pikku/core/role'
8
+ import { flattenSystemRoleDefinitions } from '@pikku/core/role'
9
+ import definitions from './pikku-roles-meta.gen.json' with { type: 'json' }
10
+
11
+ /**
12
+ * Every role that ships with this application.
13
+ *
14
+ * Roles an admin composes in the console are not here and cannot be: they do
15
+ * not exist at build time, and can be deleted after it.
16
+ */
17
+ export type SystemRoleName = never
18
+
19
+ /**
20
+ * The declared role set, for a ScopeService to sync into its store.
21
+ *
22
+ * Derived from the metadata sidecar rather than inlined, so the import above
23
+ * forces tsc to emit the .json alongside this file — an addon publishes only
24
+ * its compiled output, and a host reads that .json to merge the addon's roles
25
+ * into its own union.
26
+ *
27
+ * Additive on removal: a deleted declaration leaves an inert row rather than
28
+ * revoking everyone's grant on deploy. Use `pikku roles prune` to remove them.
29
+ */
30
+ export const SYSTEM_ROLES: SystemRole[] = flattenSystemRoleDefinitions(
31
+ Object.values(definitions as SystemRoleDefinitionsMeta)
32
+ )
33
+
34
+ /** Declared roles, keyed by name. Rendered by the console when granting. */
35
+ export const SYSTEM_ROLES_META: Record<string, SystemRole> = Object.fromEntries(
36
+ SYSTEM_ROLES.map((role) => [role.name, role])
37
+ )
38
+
39
+ /** Whether a role name is declared in code, and therefore not editable. */
40
+ export const isSystemRole = (name: string): boolean =>
41
+ Object.prototype.hasOwnProperty.call(SYSTEM_ROLES_META, name)
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export { defineScope } from '@pikku/core/scope';
5
+ export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/scope';
6
+ export { defineSystemRole } from '@pikku/core/role';
7
+ export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitionsMeta } from '@pikku/core/role';
8
+ //# sourceMappingURL=pikku-scope-types.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scope-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-scope-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AACxH,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export { defineScope } from '@pikku/core/scope';
5
+ export { defineSystemRole } from '@pikku/core/role';
6
+ //# sourceMappingURL=pikku-scope-types.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scope-types.gen.js","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-scope-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAE/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ export { defineScope } from '@pikku/core/scope'
5
+ export type { CoreScopes, CoreScopeNode, FlatScope, ScopeDefinitionMeta, ScopeDefinitionsMeta } from '@pikku/core/scope'
6
+ export { defineSystemRole } from '@pikku/core/role'
7
+ export type { CoreSystemRole, CoreSystemRoles, SystemRole, SystemRoleDefinitionMeta, SystemRoleDefinitionsMeta } from '@pikku/core/role'
@@ -0,0 +1,36 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * This file was generated by the @pikku/cli
6
+ */
7
+ import type { FlatScope } from '@pikku/core/scope';
8
+ /**
9
+ * Every scope a function can require.
10
+ *
11
+ * A `:*` entry requires the scope and all of its descendants. Held grants are
12
+ * matched against this by `verifyScopes` — `admin:*` on a session satisfies
13
+ * any `admin:...` requirement.
14
+ */
15
+ export type ScopeId = never;
16
+ export interface ScopeMeta {
17
+ id: ScopeId;
18
+ displayName?: string;
19
+ description?: string;
20
+ }
21
+ /**
22
+ * The declared scope set, for a ScopeService to sync into its store.
23
+ *
24
+ * Derived from the metadata sidecar rather than inlined, so that the import
25
+ * above forces tsc to emit the .json alongside this file. An addon publishes
26
+ * only its compiled output, and a host reads that .json to merge the addon's
27
+ * scopes into its own `ScopeId` union and declared set — an uncopied sidecar
28
+ * would leave the addon's scopes ungrantable.
29
+ *
30
+ * Additive: removing a declaration leaves an inert row rather than revoking a
31
+ * grant mid-deploy. Use `pikku scopes prune` to remove them deliberately.
32
+ */
33
+ export declare const SCOPES: FlatScope[];
34
+ /** Declared scopes, keyed by id. Rendered by the console when granting. */
35
+ export declare const SCOPES_META: Record<string, ScopeMeta>;
36
+ //# sourceMappingURL=pikku-scopes.gen.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scopes.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-scopes.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,OAAO,KAAK,EAAE,SAAS,EAAwB,MAAM,mBAAmB,CAAA;AAIxE;;;;;;GAMG;AACH,MAAM,MAAM,OAAO,GAAG,KAAK,CAAA;AAE3B,MAAM,WAAW,SAAS;IACxB,EAAE,EAAE,OAAO,CAAA;IACX,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,EAE7B,CAAA;AAMD,2EAA2E;AAC3E,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAWjD,CAAA"}
@@ -0,0 +1,28 @@
1
+ import { flattenScopeDefinitions } from '@pikku/core/scope';
2
+ import definitions from './pikku-scopes-meta.gen.json' with { type: 'json' };
3
+ /**
4
+ * The declared scope set, for a ScopeService to sync into its store.
5
+ *
6
+ * Derived from the metadata sidecar rather than inlined, so that the import
7
+ * above forces tsc to emit the .json alongside this file. An addon publishes
8
+ * only its compiled output, and a host reads that .json to merge the addon's
9
+ * scopes into its own `ScopeId` union and declared set — an uncopied sidecar
10
+ * would leave the addon's scopes ungrantable.
11
+ *
12
+ * Additive: removing a declaration leaves an inert row rather than revoking a
13
+ * grant mid-deploy. Use `pikku scopes prune` to remove them deliberately.
14
+ */
15
+ export const SCOPES = flattenScopeDefinitions(Object.values(definitions));
16
+ const DISPLAY_NAMES = {};
17
+ /** Declared scopes, keyed by id. Rendered by the console when granting. */
18
+ export const SCOPES_META = Object.fromEntries(SCOPES.map((scope) => [
19
+ scope.id,
20
+ {
21
+ id: scope.id,
22
+ ...(DISPLAY_NAMES[scope.id]
23
+ ? { displayName: DISPLAY_NAMES[scope.id] }
24
+ : {}),
25
+ ...(scope.description ? { description: scope.description } : {}),
26
+ },
27
+ ]));
28
+ //# sourceMappingURL=pikku-scopes.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pikku-scopes.gen.js","sourceRoot":"","sources":["../../../.pikku/scopes/pikku-scopes.gen.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AAC3D,OAAO,WAAW,MAAM,8BAA8B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAiB5E;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,MAAM,GAAgB,uBAAuB,CACxD,MAAM,CAAC,MAAM,CAAC,WAAmC,CAAC,CACnD,CAAA;AAED,MAAM,aAAa,GAA2B,EAE7C,CAAA;AAED,2EAA2E;AAC3E,MAAM,CAAC,MAAM,WAAW,GAA8B,MAAM,CAAC,WAAW,CACtE,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE;IACR;QACE,EAAE,EAAE,KAAK,CAAC,EAAa;QACvB,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC;YACzB,CAAC,CAAC,EAAE,WAAW,EAAE,aAAa,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE;YAC1C,CAAC,CAAC,EAAE,CAAC;QACP,GAAG,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACjE;CACF,CAAC,CACH,CAAA"}
@@ -0,0 +1,58 @@
1
+ /**
2
+ * This file was generated by @pikku/cli@0.12.96
3
+ */
4
+ /**
5
+ * This file was generated by the @pikku/cli
6
+ */
7
+ import type { FlatScope, ScopeDefinitionsMeta } from '@pikku/core/scope'
8
+ import { flattenScopeDefinitions } from '@pikku/core/scope'
9
+ import definitions from './pikku-scopes-meta.gen.json' with { type: 'json' }
10
+
11
+ /**
12
+ * Every scope a function can require.
13
+ *
14
+ * A `:*` entry requires the scope and all of its descendants. Held grants are
15
+ * matched against this by `verifyScopes` — `admin:*` on a session satisfies
16
+ * any `admin:...` requirement.
17
+ */
18
+ export type ScopeId = never
19
+
20
+ export interface ScopeMeta {
21
+ id: ScopeId
22
+ displayName?: string
23
+ description?: string
24
+ }
25
+
26
+ /**
27
+ * The declared scope set, for a ScopeService to sync into its store.
28
+ *
29
+ * Derived from the metadata sidecar rather than inlined, so that the import
30
+ * above forces tsc to emit the .json alongside this file. An addon publishes
31
+ * only its compiled output, and a host reads that .json to merge the addon's
32
+ * scopes into its own `ScopeId` union and declared set — an uncopied sidecar
33
+ * would leave the addon's scopes ungrantable.
34
+ *
35
+ * Additive: removing a declaration leaves an inert row rather than revoking a
36
+ * grant mid-deploy. Use `pikku scopes prune` to remove them deliberately.
37
+ */
38
+ export const SCOPES: FlatScope[] = flattenScopeDefinitions(
39
+ Object.values(definitions as ScopeDefinitionsMeta)
40
+ )
41
+
42
+ const DISPLAY_NAMES: Record<string, string> = {
43
+
44
+ }
45
+
46
+ /** Declared scopes, keyed by id. Rendered by the console when granting. */
47
+ export const SCOPES_META: Record<string, ScopeMeta> = Object.fromEntries(
48
+ SCOPES.map((scope) => [
49
+ scope.id,
50
+ {
51
+ id: scope.id as ScopeId,
52
+ ...(DISPLAY_NAMES[scope.id]
53
+ ? { displayName: DISPLAY_NAMES[scope.id] }
54
+ : {}),
55
+ ...(scope.description ? { description: scope.description } : {}),
56
+ },
57
+ ])
58
+ )
@@ -1,6 +1,6 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- export { wireSecret } from '@pikku/core/secret';
4
+ export { defineSecret } from '@pikku/core/secret';
5
5
  export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret';
6
6
  //# sourceMappingURL=pikku-secret-types.gen.d.ts.map
@@ -1 +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"}
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,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,YAAY,EAAE,UAAU,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- export { wireSecret } from '@pikku/core/secret';
4
+ export { defineSecret } from '@pikku/core/secret';
5
5
  //# sourceMappingURL=pikku-secret-types.gen.js.map
@@ -1 +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"}
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,YAAY,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- export { wireSecret } from '@pikku/core/secret'
4
+ export { defineSecret } from '@pikku/core/secret'
5
5
  export type { CoreSecret, SecretDefinitionMeta, SecretDefinitionsMeta } from '@pikku/core/secret'
@@ -1,10 +1,20 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
5
  import type { SecretService } from '@pikku/core/services';
6
+ import type { SecretDefinitionsMeta } from '@pikku/core/secret';
6
7
  import type { z } from 'zod';
7
8
  import { metaConversionsSecretsSchema } from '../../src/meta-conversions.secret.js';
9
+ /**
10
+ * Every secret declared in this package.
11
+ *
12
+ * Read from the metadata sidecar rather than inlined, so that the import above
13
+ * forces tsc to emit the .json alongside this file. An addon publishes only its
14
+ * compiled output, and a host reads that .json to discover the addon's declared
15
+ * secrets — an uncopied sidecar leaves them invisible to the host.
16
+ */
17
+ export declare const SECRETS_META: SecretDefinitionsMeta;
8
18
  export interface CredentialsMap {
9
19
  'META_CONVERSIONS_CREDENTIALS': z.infer<typeof metaConversionsSecretsSchema>;
10
20
  }
@@ -1 +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;AACzD,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAA;AAEnF,MAAM,WAAW,cAAc;IAC7B,8BAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;CAC7E;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
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;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAE/D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAA;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,EAAE,qBACW,CAAA;AAEtC,MAAM,WAAW,cAAc;IAC7B,8BAA8B,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;CAC7E;AAED,MAAM,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAA;AAM3C,qBAAa,kBAAmB,SAAQ,sBAAsB,CAAC,cAAc,CAAC;gBAChE,OAAO,EAAE,aAAa;CAGnC"}
@@ -1,9 +1,19 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService } from '@pikku/core/services';
5
+ import secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' };
6
+ /**
7
+ * Every secret declared in this package.
8
+ *
9
+ * Read from the metadata sidecar rather than inlined, so that the import above
10
+ * forces tsc to emit the .json alongside this file. An addon publishes only its
11
+ * compiled output, and a host reads that .json to discover the addon's declared
12
+ * secrets — an uncopied sidecar leaves them invisible to the host.
13
+ */
14
+ export const SECRETS_META = secretsMeta;
5
15
  const CREDENTIALS_META = {
6
- 'META_CONVERSIONS_CREDENTIALS': { name: 'metaConversions', displayName: 'Meta Conversions API' }
16
+ 'META_CONVERSIONS_CREDENTIALS': { name: 'metaConversions', displayName: "Meta Conversions API" }
7
17
  };
8
18
  export class TypedSecretService extends CoreTypedSecretService {
9
19
  constructor(secrets) {
@@ -1 +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;AAWxG,MAAM,gBAAgB,GAAmC;IACvD,8BAA8B,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,sBAAsB,EAAE;CACjG,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
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;AAGxG,OAAO,WAAW,MAAM,+BAA+B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAI7E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GACvB,WAAoC,CAAA;AAQtC,MAAM,gBAAgB,GAAmC;IACvD,8BAA8B,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,WAAW,EAAE,sBAAsB,EAAE;CACjG,CAAA;AAED,MAAM,OAAO,kBAAmB,SAAQ,sBAAsC;IAC5E,YAAY,OAAsB;QAChC,KAAK,CAAC,OAAO,EAAE,gBAAgB,CAAC,CAAA;IAClC,CAAC;CACF"}
@@ -1,11 +1,24 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { TypedSecretService as CoreTypedSecretService, type CredentialMeta } from '@pikku/core/services'
5
5
  import type { SecretService } from '@pikku/core/services'
6
+ import type { SecretDefinitionsMeta } from '@pikku/core/secret'
7
+ import secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' }
6
8
  import type { z } from 'zod'
7
9
  import { metaConversionsSecretsSchema } from '../../src/meta-conversions.secret.js'
8
10
 
11
+ /**
12
+ * Every secret declared in this package.
13
+ *
14
+ * Read from the metadata sidecar rather than inlined, so that the import above
15
+ * forces tsc to emit the .json alongside this file. An addon publishes only its
16
+ * compiled output, and a host reads that .json to discover the addon's declared
17
+ * secrets — an uncopied sidecar leaves them invisible to the host.
18
+ */
19
+ export const SECRETS_META: SecretDefinitionsMeta =
20
+ secretsMeta as SecretDefinitionsMeta
21
+
9
22
  export interface CredentialsMap {
10
23
  'META_CONVERSIONS_CREDENTIALS': z.infer<typeof metaConversionsSecretsSchema>
11
24
  }
@@ -13,7 +26,7 @@ export interface CredentialsMap {
13
26
  export type SecretId = keyof CredentialsMap
14
27
 
15
28
  const CREDENTIALS_META: Record<string, CredentialMeta> = {
16
- 'META_CONVERSIONS_CREDENTIALS': { name: 'metaConversions', displayName: 'Meta Conversions API' }
29
+ 'META_CONVERSIONS_CREDENTIALS': { name: 'metaConversions', displayName: "Meta Conversions API" }
17
30
  }
18
31
 
19
32
  export class TypedSecretService extends CoreTypedSecretService<CredentialsMap> {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.55
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Trigger-specific type definitions for tree-shaking optimization