@pikku/addon-graph 0.12.7 → 0.12.8

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 (106) hide show
  1. package/dist/.pikku/addon/pikku-addon-types.gen.d.ts +1 -1
  2. package/dist/.pikku/addon/pikku-addon-types.gen.js +1 -1
  3. package/dist/.pikku/addon/pikku-package.gen.js +2 -2
  4. package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
  5. package/dist/.pikku/agent/pikku-agent-map.gen.d.ts +1 -1
  6. package/dist/.pikku/agent/pikku-agent-types.gen.d.ts +1 -1
  7. package/dist/.pikku/channel/pikku-channel-types.gen.d.ts +1 -1
  8. package/dist/.pikku/channel/pikku-channel-types.gen.js +1 -1
  9. package/dist/.pikku/console/pikku-node-types.gen.d.ts +1 -1
  10. package/dist/.pikku/function/pikku-function-types.gen.d.ts +55 -20
  11. package/dist/.pikku/function/pikku-function-types.gen.d.ts.map +1 -1
  12. package/dist/.pikku/function/pikku-function-types.gen.js +27 -1
  13. package/dist/.pikku/function/pikku-function-types.gen.js.map +1 -1
  14. package/dist/.pikku/function/pikku-functions-meta-verbose.gen.json +1028 -0
  15. package/dist/.pikku/function/pikku-functions-meta.gen.js +1 -1
  16. package/dist/.pikku/function/pikku-functions-meta.gen.json +2 -2
  17. package/dist/.pikku/function/pikku-functions.gen.js +1 -1
  18. package/dist/.pikku/http/pikku-http-types.gen.d.ts +1 -1
  19. package/dist/.pikku/http/pikku-http-types.gen.js +1 -1
  20. package/dist/.pikku/mcp/pikku-mcp-types.gen.d.ts +1 -1
  21. package/dist/.pikku/mcp/pikku-mcp-types.gen.js +1 -1
  22. package/dist/.pikku/pikku-bootstrap-scenarios.gen.d.ts +1 -1
  23. package/dist/.pikku/pikku-bootstrap-scenarios.gen.js +1 -1
  24. package/dist/.pikku/pikku-bootstrap.gen.d.ts +1 -1
  25. package/dist/.pikku/pikku-bootstrap.gen.js +1 -1
  26. package/dist/.pikku/pikku-meta-service.gen.d.ts +1 -1
  27. package/dist/.pikku/pikku-meta-service.gen.js +1 -1
  28. package/dist/.pikku/pikku-services.gen.d.ts +3 -2
  29. package/dist/.pikku/pikku-services.gen.d.ts.map +1 -1
  30. package/dist/.pikku/pikku-services.gen.js +2 -1
  31. package/dist/.pikku/pikku-services.gen.js.map +1 -1
  32. package/dist/.pikku/pikku-types.gen.d.ts +1 -1
  33. package/dist/.pikku/pikku-types.gen.js +1 -1
  34. package/dist/.pikku/queue/pikku-queue-types.gen.d.ts +1 -1
  35. package/dist/.pikku/queue/pikku-queue-types.gen.js +1 -1
  36. package/dist/.pikku/rpc/pikku-rpc-wirings-map.gen.d.ts +1 -1
  37. package/dist/.pikku/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +1 -1
  38. package/dist/.pikku/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +1 -1
  39. package/dist/.pikku/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
  40. package/dist/.pikku/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
  41. package/dist/.pikku/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
  42. package/dist/.pikku/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
  43. package/dist/.pikku/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
  44. package/dist/.pikku/scenarios/schemas/register.gen.d.ts +1 -1
  45. package/dist/.pikku/scenarios/schemas/register.gen.js +1 -1
  46. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.d.ts +1 -1
  47. package/dist/.pikku/scheduler/pikku-scheduler-types.gen.js +1 -1
  48. package/dist/.pikku/schemas/register.gen.js +1 -1
  49. package/dist/.pikku/scopes/pikku-personas-meta.gen.json +1 -0
  50. package/dist/.pikku/scopes/pikku-personas.gen.d.ts +37 -0
  51. package/dist/.pikku/scopes/pikku-personas.gen.d.ts.map +1 -0
  52. package/dist/.pikku/scopes/pikku-personas.gen.js +18 -0
  53. package/dist/.pikku/scopes/pikku-personas.gen.js.map +1 -0
  54. package/dist/.pikku/scopes/pikku-roles-meta.gen.json +1 -0
  55. package/dist/.pikku/scopes/pikku-roles.gen.d.ts +31 -0
  56. package/dist/.pikku/scopes/pikku-roles.gen.d.ts.map +1 -0
  57. package/dist/.pikku/scopes/pikku-roles.gen.js +19 -0
  58. package/dist/.pikku/scopes/pikku-roles.gen.js.map +1 -0
  59. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts +4 -2
  60. package/dist/.pikku/scopes/pikku-scope-types.gen.d.ts.map +1 -1
  61. package/dist/.pikku/scopes/pikku-scope-types.gen.js +3 -2
  62. package/dist/.pikku/scopes/pikku-scope-types.gen.js.map +1 -1
  63. package/dist/.pikku/scopes/pikku-scopes.gen.d.ts +1 -1
  64. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts +2 -2
  65. package/dist/.pikku/secrets/pikku-secret-types.gen.d.ts.map +1 -1
  66. package/dist/.pikku/secrets/pikku-secret-types.gen.js +2 -2
  67. package/dist/.pikku/secrets/pikku-secret-types.gen.js.map +1 -1
  68. package/dist/.pikku/secrets/pikku-secrets.gen.d.ts +1 -1
  69. package/dist/.pikku/secrets/pikku-secrets.gen.js +1 -1
  70. package/dist/.pikku/trigger/pikku-trigger-types.gen.d.ts +1 -1
  71. package/dist/.pikku/trigger/pikku-trigger-types.gen.js +1 -1
  72. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts +2 -2
  73. package/dist/.pikku/variables/pikku-variable-types.gen.d.ts.map +1 -1
  74. package/dist/.pikku/variables/pikku-variable-types.gen.js +2 -2
  75. package/dist/.pikku/variables/pikku-variable-types.gen.js.map +1 -1
  76. package/dist/.pikku/variables/pikku-variables.gen.d.ts +1 -1
  77. package/dist/.pikku/variables/pikku-variables.gen.js +1 -1
  78. package/dist/.pikku/workflow/pikku-personas.gen.d.ts +16 -0
  79. package/dist/.pikku/workflow/pikku-personas.gen.d.ts.map +1 -0
  80. package/dist/.pikku/workflow/pikku-personas.gen.js +18 -0
  81. package/dist/.pikku/workflow/pikku-personas.gen.js.map +1 -0
  82. package/dist/.pikku/workflow/pikku-scenario-actors.gen.d.ts +1 -1
  83. package/dist/.pikku/workflow/pikku-scenario-actors.gen.js +1 -1
  84. package/dist/.pikku/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
  85. package/dist/.pikku/workflow/pikku-workflow-map.gen.d.ts +1 -1
  86. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts +96 -19
  87. package/dist/.pikku/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
  88. package/dist/.pikku/workflow/pikku-workflow-types.gen.js +22 -2
  89. package/dist/.pikku/workflow/pikku-workflow-types.gen.js.map +1 -1
  90. package/dist/.pikku/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
  91. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
  92. package/dist/.pikku/workflow/pikku-workflow-wirings.gen.js +1 -1
  93. package/dist/src/functions/data/crypto.function.d.ts +4 -4
  94. package/dist/src/functions/data/read-file.function.d.ts +4 -4
  95. package/dist/src/functions/data/write-file.function.d.ts +4 -4
  96. package/dist/src/functions/network/http-request.function.d.ts.map +1 -1
  97. package/dist/src/functions/network/http-request.function.js +5 -43
  98. package/dist/src/functions/network/http-request.function.js.map +1 -1
  99. package/dist/src/http-requester.service.d.ts +33 -0
  100. package/dist/src/http-requester.service.d.ts.map +1 -0
  101. package/dist/src/http-requester.service.js +59 -0
  102. package/dist/src/http-requester.service.js.map +1 -0
  103. package/dist/src/services.d.ts.map +1 -1
  104. package/dist/src/services.js +4 -2
  105. package/dist/src/services.js.map +1 -1
  106. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-functions-meta.gen.json' with { type: 'json' };
@@ -619,14 +619,14 @@
619
619
  "outputs": [
620
620
  "HttpRequestOutput"
621
621
  ],
622
- "implementationHash": "1e25f3f1f858dcd4",
622
+ "implementationHash": "ea42a3e23637eb9e",
623
623
  "contractHash": "7b6fdc1518173798",
624
624
  "inputHash": "ec498607",
625
625
  "outputHash": "58d485cc",
626
626
  "services": {
627
627
  "optimized": true,
628
628
  "services": [
629
- "secrets"
629
+ "httpRequester"
630
630
  ]
631
631
  }
632
632
  },
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /* Import and register functions used by RPCs */
5
5
  import { addFunction } from '@pikku/core/function';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * HTTP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * MCP-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import './pikku-bootstrap.gen.js';
5
5
  import './scenarios/schemas/register.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import './rpc/pikku-rpc-wirings-meta.internal.gen.js';
5
5
  import './function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export declare class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { LocalMetaService } from '@pikku/core/services/local-meta';
5
5
  export class PikkuMetaService extends LocalMetaService {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import type { SingletonServices } from '../types/application-types.d.js';
5
5
  import type { Services } from '../types/application-types.d.js';
@@ -19,6 +19,7 @@ export declare const requiredSingletonServices: {
19
19
  readonly deploymentService: false;
20
20
  readonly emailService: false;
21
21
  readonly eventHub: false;
22
+ readonly httpRequester: false;
22
23
  readonly jwt: false;
23
24
  readonly logger: true;
24
25
  readonly metaService: false;
@@ -36,5 +37,5 @@ export declare const requiredSingletonServices: {
36
37
  export declare const requiredWireServices: {};
37
38
  export type RequiredSingletonServices = Required<Pick<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>> & Partial<Omit<SingletonServices, 'config' | 'logger' | 'schema' | 'secrets' | 'variables'>>;
38
39
  export type RequiredWireServices = Partial<Services>;
39
- export declare const requiredParentServices: readonly ["jwt"];
40
+ export declare const requiredParentServices: readonly ["jwt", "secrets", "metaService", "credentialService"];
40
41
  //# sourceMappingURL=pikku-services.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6B5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,kBAAmB,CAAA"}
1
+ {"version":3,"file":"pikku-services.gen.d.ts","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAA;AAG/D,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B5B,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC,CAAA;AAEhO,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,iEAA+D,CAAA"}
@@ -15,6 +15,7 @@ export const requiredSingletonServices = {
15
15
  'deploymentService': false,
16
16
  'emailService': false,
17
17
  'eventHub': false,
18
+ 'httpRequester': false,
18
19
  'jwt': false,
19
20
  'logger': true,
20
21
  'metaService': false,
@@ -32,5 +33,5 @@ export const requiredSingletonServices = {
32
33
  // Wire services map: true if required, false if available but unused
33
34
  export const requiredWireServices = {};
34
35
  // Services this addon needs from the parent project
35
- export const requiredParentServices = ["jwt"];
36
+ export const requiredParentServices = ["jwt", "secrets", "metaService", "credentialService"];
36
37
  //# sourceMappingURL=pikku-services.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,KAAK;IACvB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAK,CAAU,CAAA"}
1
+ {"version":3,"file":"pikku-services.gen.js","sourceRoot":"","sources":["../../.pikku/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,KAAK;IACxB,eAAe,EAAE,KAAK;IACtB,aAAa,EAAE,KAAK;IACpB,YAAY,EAAE,KAAK;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,KAAK;IACb,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,KAAK;IAC1B,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,eAAe,EAAE,KAAK;IACtB,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,kBAAkB,EAAE,KAAK;IACzB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,KAAK;IACrB,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,WAAW,EAAE,IAAI;IACjB,gBAAgB,EAAE,KAAK;IACvB,oBAAoB,EAAE,KAAK;IAC3B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,KAAK,EAAC,SAAS,EAAC,aAAa,EAAC,mBAAmB,CAAU,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Main type export hub - re-exports all wiring-specific types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * Queue-specific type definitions for tree-shaking optimization
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * This provides the structure needed for typescript to be aware of RPCs and their return types
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import metaData from './pikku-rpc-wirings-meta.internal.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import '../function/pikku-functions-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-functions.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { pikkuState } from '@pikku/core/internal';
5
5
  import '../workflow/pikku-workflow-wirings-meta.gen.js';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  export {};
5
5
  //# sourceMappingURL=pikku-scenario-wirings.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  export declare const empty: null;
5
5
  //# sourceMappingURL=register.gen.d.ts.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  export const empty = null;
5
5
  //# sourceMappingURL=register.gen.js.map
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
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.92
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.92
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 AggregateInput from './schemas/AggregateInput.schema.json' with { type: 'json' };
@@ -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,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"}
@@ -1,6 +1,8 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- export { wireScope } from '@pikku/core/scope';
4
+ export { defineScope } from '@pikku/core/scope';
5
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';
6
8
  //# sourceMappingURL=pikku-scope-types.gen.d.ts.map
@@ -1 +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,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,SAAS,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA"}
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"}
@@ -1,5 +1,6 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- export { wireScope } from '@pikku/core/scope';
4
+ export { defineScope } from '@pikku/core/scope';
5
+ export { defineSystemRole } from '@pikku/core/role';
5
6
  //# sourceMappingURL=pikku-scope-types.gen.js.map
@@ -1 +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,SAAS,EAAE,MAAM,mBAAmB,CAAA"}
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"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  /**
5
5
  * This file was generated by the @pikku/cli
@@ -1,6 +1,6 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
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.92
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.92
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';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
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 secretsMeta from './pikku-secrets-meta.gen.json' with { type: 'json' };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
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.92
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,6 +1,6 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- export { wireVariable } from '@pikku/core/variable';
4
+ export { defineVariable } from '@pikku/core/variable';
5
5
  export type { CoreVariable, VariableDefinitionMeta, VariableDefinitionsMeta } from '@pikku/core/variable';
6
6
  //# sourceMappingURL=pikku-variable-types.gen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"pikku-variable-types.gen.d.ts","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACrD,YAAY,EAAE,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
- export { wireVariable } from '@pikku/core/variable';
4
+ export { defineVariable } from '@pikku/core/variable';
5
5
  //# sourceMappingURL=pikku-variable-types.gen.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pikku-variable-types.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"pikku-variable-types.gen.js","sourceRoot":"","sources":["../../../.pikku/variables/pikku-variable-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import type { VariablesService } from '@pikku/core/services';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file was generated by @pikku/cli@0.12.92
2
+ * This file was generated by @pikku/cli@0.12.96
3
3
  */
4
4
  import { TypedVariablesService as CoreTypedVariablesService } from '@pikku/core/services';
5
5
  import variablesMeta from './pikku-variables-meta.gen.json' with { type: 'json' };
@@ -0,0 +1,16 @@
1
+ import type { HttpPersonasConfig, ScenarioPersona, ResolvedPersona } from '@pikku/core/services';
2
+ import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js';
3
+ import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js';
4
+ export declare const personaConfigs: {};
5
+ export type PersonaName = keyof typeof personaConfigs;
6
+ /**
7
+ * The same personas as a list, widened to `ResolvedPersona`. Iterating
8
+ * `personaConfigs` directly yields the literal type of each entry, on which an
9
+ * optional field a persona did not declare does not exist — so a seed reading
10
+ * `roles` off every persona needs this instead.
11
+ */
12
+ export declare const personaList: ResolvedPersona[];
13
+ export type AgentName = keyof AgentMap & string;
14
+ export type TypedPersonas = Record<PersonaName, ScenarioPersona<AgentName, FlattenedRPCMap>>;
15
+ export declare const createPersonas: (options: Omit<HttpPersonasConfig, "personas">) => TypedPersonas;
16
+ //# sourceMappingURL=pikku-personas.gen.d.ts.map