@pikku/addon-admin 0.12.16 → 0.12.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -5
- package/dist/.pikku/addon/agent/index.d.ts +1 -1
- package/dist/.pikku/addon/agent/index.js +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.js +1 -1
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +3 -3
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +2 -2
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js.map +1 -1
- package/dist/.pikku/addon/auth/index.d.ts +1 -1
- package/dist/.pikku/addon/auth/index.js +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +1 -1
- package/dist/.pikku/addon/channel/index.d.ts +1 -1
- package/dist/.pikku/addon/channel/index.js +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +1 -1
- package/dist/.pikku/addon/cli/index.d.ts +1 -1
- package/dist/.pikku/addon/cli/index.js +1 -1
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +1 -1
- package/dist/.pikku/addon/error/index.d.ts +1 -1
- package/dist/.pikku/addon/error/index.js +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/error/pikku-error-types.gen.js +1 -1
- package/dist/.pikku/addon/function/index.d.ts +1 -1
- package/dist/.pikku/addon/function/index.js +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +19 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.js +4 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +370 -6
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +285 -3
- package/dist/.pikku/addon/function/pikku-functions.gen.js +21 -1
- package/dist/.pikku/addon/function/pikku-functions.gen.js.map +1 -1
- package/dist/.pikku/addon/http/index.d.ts +1 -1
- package/dist/.pikku/addon/http/index.js +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/addon/keypairs/index.d.ts +9 -0
- package/dist/.pikku/addon/keypairs/index.d.ts.map +1 -0
- package/dist/.pikku/addon/keypairs/index.js +9 -0
- package/dist/.pikku/addon/keypairs/index.js.map +1 -0
- package/dist/.pikku/addon/keypairs/pikku-keypair-types.gen.d.ts +5 -0
- package/dist/.pikku/addon/keypairs/pikku-keypair-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/keypairs/pikku-keypair-types.gen.js +5 -0
- package/dist/.pikku/addon/keypairs/pikku-keypair-types.gen.js.map +1 -0
- package/dist/.pikku/addon/keypairs/pikku-keypairs.gen.d.ts +13 -0
- package/dist/.pikku/addon/keypairs/pikku-keypairs.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/keypairs/pikku-keypairs.gen.js +2 -0
- package/dist/.pikku/addon/keypairs/pikku-keypairs.gen.js.map +1 -0
- package/dist/.pikku/addon/mcp/index.d.ts +1 -1
- package/dist/.pikku/addon/mcp/index.js +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/addon/middleware/index.d.ts +1 -1
- package/dist/.pikku/addon/middleware/index.js +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +1 -1
- package/dist/.pikku/addon/permissions/pikku-permissions.gen.d.ts +1 -1
- package/dist/.pikku/addon/permissions/pikku-permissions.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap-scenarios.gen.js +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.d.ts +1 -1
- package/dist/.pikku/addon/pikku-bootstrap.gen.js +1 -1
- package/dist/.pikku/addon/pikku-local-services.gen.d.ts +4 -0
- package/dist/.pikku/addon/pikku-local-services.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-local-services.gen.js +4 -2
- package/dist/.pikku/addon/pikku-local-services.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.js +2 -2
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts +9 -5
- package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.js +7 -3
- package/dist/.pikku/addon/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +28 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +28 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +18 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.js +1 -1
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-meta.internal.gen.json +11 -1
- package/dist/.pikku/addon/scenarios/index.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/index.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/register.gen.js +35 -1
- package/dist/.pikku/addon/schemas/register.gen.js.map +1 -1
- package/dist/.pikku/addon/schemas/schemas/AgentCredentialCheckInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/AgentCredentialCheckOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonInstancesInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAddonInstancesOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetAuditsOutput.schema.json +1 -1
- package/dist/.pikku/addon/schemas/schemas/GetInstalledAddonsOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetMyAccessOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/GetScorersOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretGetInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretGetOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretHasInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretHasOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretSetInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/SecretSetOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/VariableGetInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/VariableGetOutput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/VariableSetInput.schema.json +1 -0
- package/dist/.pikku/addon/schemas/schemas/VariableSetOutput.schema.json +1 -0
- package/dist/.pikku/addon/scopes/index.d.ts +1 -1
- package/dist/.pikku/addon/scopes/index.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes-meta.gen.json +30 -0
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +2 -2
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.js.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +1 -1
- package/dist/.pikku/addon/screens/index.d.ts +8 -0
- package/dist/.pikku/addon/screens/index.d.ts.map +1 -0
- package/dist/.pikku/addon/screens/index.js +8 -0
- package/dist/.pikku/addon/screens/index.js.map +1 -0
- package/dist/.pikku/addon/screens/pikku-plugin-types.gen.d.ts +6 -0
- package/dist/.pikku/addon/screens/pikku-plugin-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/screens/pikku-plugin-types.gen.js +9 -0
- package/dist/.pikku/addon/screens/pikku-plugin-types.gen.js.map +1 -0
- package/dist/.pikku/addon/secrets/index.d.ts +1 -1
- package/dist/.pikku/addon/secrets/index.js +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secret-types.gen.js +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/addon/setup/index.d.ts +1 -1
- package/dist/.pikku/addon/setup/index.js +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/trigger/index.d.ts +1 -1
- package/dist/.pikku/addon/trigger/index.js +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +1 -1
- package/dist/.pikku/addon/utils/index.d.ts +1 -1
- package/dist/.pikku/addon/utils/index.js +1 -1
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +1 -1
- package/dist/.pikku/addon/variables/index.d.ts +1 -1
- package/dist/.pikku/addon/variables/index.js +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.d.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variable-types.gen.js +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +1 -1
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-scenario-step-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-map.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts +3 -2
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings.gen.js +1 -1
- package/dist/src/functions/agent-credential-check.function.d.ts +23 -0
- package/dist/src/functions/agent-credential-check.function.d.ts.map +1 -0
- package/dist/src/functions/agent-credential-check.function.js +53 -0
- package/dist/src/functions/agent-credential-check.function.js.map +1 -0
- package/dist/src/functions/agent-credential-check.function.test.d.ts +2 -0
- package/dist/src/functions/agent-credential-check.function.test.d.ts.map +1 -0
- package/dist/src/functions/agent-credential-check.function.test.js +65 -0
- package/dist/src/functions/agent-credential-check.function.test.js.map +1 -0
- package/dist/src/functions/get-addon-instances.function.d.ts +25 -0
- package/dist/src/functions/get-addon-instances.function.d.ts.map +1 -0
- package/dist/src/functions/get-addon-instances.function.js +32 -0
- package/dist/src/functions/get-addon-instances.function.js.map +1 -0
- package/dist/src/functions/get-audits.function.d.ts +6 -0
- package/dist/src/functions/get-audits.function.d.ts.map +1 -1
- package/dist/src/functions/get-audits.function.js +15 -2
- package/dist/src/functions/get-audits.function.js.map +1 -1
- package/dist/src/functions/get-audits.function.test.d.ts +2 -0
- package/dist/src/functions/get-audits.function.test.d.ts.map +1 -0
- package/dist/src/functions/get-audits.function.test.js +43 -0
- package/dist/src/functions/get-audits.function.test.js.map +1 -0
- package/dist/src/functions/get-installed-addons.function.d.ts +10 -0
- package/dist/src/functions/get-installed-addons.function.d.ts.map +1 -0
- package/dist/src/functions/get-installed-addons.function.js +41 -0
- package/dist/src/functions/get-installed-addons.function.js.map +1 -0
- package/dist/src/functions/get-my-access.function.d.ts +11 -0
- package/dist/src/functions/get-my-access.function.d.ts.map +1 -0
- package/dist/src/functions/get-my-access.function.js +13 -0
- package/dist/src/functions/get-my-access.function.js.map +1 -0
- package/dist/src/functions/get-scorers.function.d.ts +13 -0
- package/dist/src/functions/get-scorers.function.d.ts.map +1 -0
- package/dist/src/functions/get-scorers.function.js +25 -0
- package/dist/src/functions/get-scorers.function.js.map +1 -0
- package/dist/src/functions/secret-get.function.d.ts +17 -0
- package/dist/src/functions/secret-get.function.d.ts.map +1 -0
- package/dist/src/functions/secret-get.function.js +11 -0
- package/dist/src/functions/secret-get.function.js.map +1 -0
- package/dist/src/functions/secret-has.function.d.ts +14 -0
- package/dist/src/functions/secret-has.function.d.ts.map +1 -0
- package/dist/src/functions/secret-has.function.js +12 -0
- package/dist/src/functions/secret-has.function.js.map +1 -0
- package/dist/src/functions/secret-scopes.function.test.d.ts +2 -0
- package/dist/src/functions/secret-scopes.function.test.d.ts.map +1 -0
- package/dist/src/functions/secret-scopes.function.test.js +60 -0
- package/dist/src/functions/secret-scopes.function.test.js.map +1 -0
- package/dist/src/functions/secret-set.function.d.ts +17 -0
- package/dist/src/functions/secret-set.function.d.ts.map +1 -0
- package/dist/src/functions/secret-set.function.js +12 -0
- package/dist/src/functions/secret-set.function.js.map +1 -0
- package/dist/src/functions/session-reads.function.test.d.ts +2 -0
- package/dist/src/functions/session-reads.function.test.d.ts.map +1 -0
- package/dist/src/functions/session-reads.function.test.js +71 -0
- package/dist/src/functions/session-reads.function.test.js.map +1 -0
- package/dist/src/functions/variable-get.function.d.ts +17 -0
- package/dist/src/functions/variable-get.function.d.ts.map +1 -0
- package/dist/src/functions/variable-get.function.js +14 -0
- package/dist/src/functions/variable-get.function.js.map +1 -0
- package/dist/src/functions/variable-scopes.function.test.d.ts +2 -0
- package/dist/src/functions/variable-scopes.function.test.d.ts.map +1 -0
- package/dist/src/functions/variable-scopes.function.test.js +48 -0
- package/dist/src/functions/variable-scopes.function.test.js.map +1 -0
- package/dist/src/functions/variable-set.function.d.ts +17 -0
- package/dist/src/functions/variable-set.function.d.ts.map +1 -0
- package/dist/src/functions/variable-set.function.js +12 -0
- package/dist/src/functions/variable-set.function.js.map +1 -0
- package/dist/src/scopes.js +24 -0
- package/dist/src/scopes.js.map +1 -1
- package/dist/src/services/secret-admin.service.d.ts +21 -0
- package/dist/src/services/secret-admin.service.d.ts.map +1 -0
- package/dist/src/services/secret-admin.service.js +28 -0
- package/dist/src/services/secret-admin.service.js.map +1 -0
- package/dist/src/services/secret-admin.service.test.d.ts +2 -0
- package/dist/src/services/secret-admin.service.test.d.ts.map +1 -0
- package/dist/src/services/secret-admin.service.test.js +69 -0
- package/dist/src/services/secret-admin.service.test.js.map +1 -0
- package/dist/src/services.d.ts.map +1 -1
- package/dist/src/services.js +5 -1
- package/dist/src/services.js.map +1 -1
- package/dist/types/application-types.d.ts +7 -0
- package/package.json +5 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AnalyticsSinkRegistry } from '@pikku/core/analytics';
|
|
1
2
|
import type { FlatScope } from '@pikku/core/scope';
|
|
2
3
|
import type { SystemRole } from '@pikku/core/role';
|
|
3
4
|
type WarnLogger = {
|
|
@@ -8,6 +9,8 @@ export interface LocalServicesExtras {
|
|
|
8
9
|
* A database the host has already opened, or `null` for none.
|
|
9
10
|
*/
|
|
10
11
|
kysely?: unknown | null;
|
|
12
|
+
/** The registry the host created; the local analytics sink is added to it. Created here when the host has none. */
|
|
13
|
+
analyticsSinks?: AnalyticsSinkRegistry;
|
|
11
14
|
/** Anything else the host provides, which wins over what is assembled here. */
|
|
12
15
|
[service: string]: unknown;
|
|
13
16
|
}
|
|
@@ -18,6 +21,7 @@ export interface LocalServicesOptions {
|
|
|
18
21
|
requiredServices?: ReadonlySet<string>;
|
|
19
22
|
scopes?: FlatScope[];
|
|
20
23
|
systemRoles?: SystemRole[];
|
|
24
|
+
analyticsEvents?: string[];
|
|
21
25
|
}
|
|
22
26
|
type DatabaseTarget = {
|
|
23
27
|
sqliteDb?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-local-services.gen.d.ts","sources":["../../../.pikku/addon/pikku-local-services.gen.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pikku-local-services.gen.d.ts","sources":["../../../.pikku/addon/pikku-local-services.gen.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAIlE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAGlD,KAAK,UAAU,GAAG;IAAE,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CAAE,CAAA;AAIjD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IACvB,mHAAmH;IACnH,cAAc,CAAC,EAAE,qBAAqB,CAAA;IACtC,+EAA+E;IAC/E,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;CAC3B;AAED,sFAAsF;AACtF,MAAM,WAAW,oBAAoB;IACnC,iFAAiF;IACjF,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,gBAAgB,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IACtC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAA;IACpB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;IAC1B,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;CAC3B;AAED,KAAK,cAAc,GAAG;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAGpF,eAAO,MAAM,mBAAmB,YACrB,cAAc,WACf,mBAAmB,YAClB,oBAAoB,KAC5B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA8B7B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.213
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* The services a locally run process of this app boots on top of its own
|
|
@@ -11,12 +11,13 @@
|
|
|
11
11
|
* inspector to ask. Regenerate rather than edit.
|
|
12
12
|
*/
|
|
13
13
|
import { IncomingWebhookService, InMemoryAgentRunStateService, InMemoryTriggerSourceStore, LocalEmailService, QueueWebhookService, } from '@pikku/core/services';
|
|
14
|
+
import { createAnalyticsSinks } from '@pikku/core/analytics';
|
|
14
15
|
import { InMemoryQueueService } from '@pikku/core/services/in-memory-queue';
|
|
15
16
|
import { InMemoryTriggerService } from '@pikku/core/services/in-memory-trigger';
|
|
16
17
|
import { InMemoryWorkflowService } from '@pikku/core/services/in-memory-workflow';
|
|
17
18
|
const stderr = { warn: (message) => console.error(message) };
|
|
18
19
|
export const createLocalServices = async (_config, extras = {}, options = {}) => {
|
|
19
|
-
const { kysely, ...hostServices } = extras;
|
|
20
|
+
const { kysely, analyticsSinks, ...hostServices } = extras;
|
|
20
21
|
if (kysely) {
|
|
21
22
|
// Handed a database this file was generated without: the database-backed
|
|
22
23
|
// services are only emitted for a project codegen saw a database in.
|
|
@@ -38,6 +39,7 @@ export const createLocalServices = async (_config, extras = {}, options = {}) =>
|
|
|
38
39
|
agentStorage: undefined,
|
|
39
40
|
agentRunState: new InMemoryAgentRunStateService(),
|
|
40
41
|
agentRunService: undefined,
|
|
42
|
+
analyticsSinks: analyticsSinks ?? createAnalyticsSinks(),
|
|
41
43
|
...(kysely ? { kysely } : {}),
|
|
42
44
|
...hostServices,
|
|
43
45
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-local-services.gen.js","sources":["../../../.pikku/addon/pikku-local-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;GAQG;AACH,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AAOjF,MAAM,MAAM,GAAe,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAA;
|
|
1
|
+
{"version":3,"file":"pikku-local-services.gen.js","sources":["../../../.pikku/addon/pikku-local-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;;;;;;;GAQG;AACH,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAA;AAC/E,OAAO,EAAE,uBAAuB,EAAE,MAAM,yCAAyC,CAAA;AAOjF,MAAM,MAAM,GAAe,EAAE,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,CAAA;AA0BxE,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,EACtC,OAAuB,EACvB,MAAM,GAAwB,EAAE,EAChC,OAAO,GAAyB,EAAE,EACJ,EAAE;IAChC,MAAM,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,YAAY,EAAE,GAAG,MAAM,CAAA;IAC1D,IAAI,MAAM,EAAE,CAAC;QACX,yEAAyE;QACzE,qEAAqE;QACrE,MAAM,UAAU,GAAG,OAAO,CAAC,MAAM,IAAI,MAAM,CAAA;QAC3C,UAAU,CAAC,IAAI,CACb,2MAA2M,CAC5M,CAAA;IACH,CAAC;IACD,MAAM,YAAY,GAAG,IAAI,oBAAoB,EAAE,CAAA;IAC/C,MAAM,eAAe,GAAG,IAAI,uBAAuB,EAAE,CAAA;IACrD,MAAM,kBAAkB,GAAG,IAAI,0BAA0B,EAAE,CAAA;IAE3D,OAAO;QACL,YAAY,EAAE,IAAI,iBAAiB,EAAE;QACrC,YAAY;QACZ,cAAc,EAAE,IAAI,mBAAmB,CAAC,YAAY,CAAC;QACrD,sBAAsB,EAAE,IAAI,sBAAsB,CAAC,YAAY,CAAC;QAChE,eAAe;QACf,kBAAkB,EAAE,eAAe;QACnC,cAAc,EAAE,IAAI,sBAAsB,EAAE;QAC5C,kBAAkB;QAClB,YAAY,EAAE,SAAS;QACvB,aAAa,EAAE,IAAI,4BAA4B,EAAE;QACjD,eAAe,EAAE,SAAS;QAC1B,cAAc,EAAE,cAAc,IAAI,oBAAoB,EAAE;QACxD,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC7B,GAAG,YAAY;KAChB,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.213
|
|
3
3
|
*/
|
|
4
4
|
import { pikkuState } from '@pikku/core/state';
|
|
5
5
|
import { createSingletonServices as createSingletonServices } from '../../src/services.js';
|
|
6
6
|
pikkuState('@pikku/addon-admin', 'package', 'factories', {
|
|
7
7
|
createSingletonServices,
|
|
8
8
|
});
|
|
9
|
-
pikkuState('@pikku/addon-admin', 'package', 'requiredParentServices', ["scopeService", "credentialService", "audit", "auth", "featureFlags", "triggerSourceStore", "schedulerService", "queueService", "incomingWebhookService", "workflowRunService", "agentRunService", "agentRunState", "webhookService", "virtualUserRunStore", "virtualUserScheduleStore"]);
|
|
9
|
+
pikkuState('@pikku/addon-admin', 'package', 'requiredParentServices', ["secrets", "variables", "metaService", "scopeService", "credentialService", "audit", "auth", "featureFlags", "triggerSourceStore", "schedulerService", "queueService", "incomingWebhookService", "workflowRunService", "agentRunService", "agentRunState", "webhookService", "virtualUserRunStore", "virtualUserScheduleStore"]);
|
|
10
10
|
pikkuState('@pikku/addon-admin', 'package', 'declaredSecrets', []);
|
|
11
11
|
//# sourceMappingURL=pikku-package.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-package.gen.js","sources":["../../../.pikku/addon/pikku-package.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,uBAAuB,IAAI,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAE1F,UAAU,CAAC,oBAAoB,EAAE,SAAS,EAAE,WAAW,EAAE;IACvD,uBAAuB;CACxB,CAAC,CAAA;AAEF,UAAU,CAAC,oBAAoB,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,cAAc,EAAC,mBAAmB,EAAC,OAAO,EAAC,MAAM,EAAC,cAAc,EAAC,oBAAoB,EAAC,kBAAkB,EAAC,cAAc,EAAC,wBAAwB,EAAC,oBAAoB,EAAC,iBAAiB,EAAC,eAAe,EAAC,gBAAgB,EAAC,qBAAqB,EAAC,0BAA0B,CAAC,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"pikku-package.gen.js","sources":["../../../.pikku/addon/pikku-package.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAC9C,OAAO,EAAE,uBAAuB,IAAI,uBAAuB,EAAE,MAAM,uBAAuB,CAAA;AAE1F,UAAU,CAAC,oBAAoB,EAAE,SAAS,EAAE,WAAW,EAAE;IACvD,uBAAuB;CACxB,CAAC,CAAA;AAEF,UAAU,CAAC,oBAAoB,EAAE,SAAS,EAAE,wBAAwB,EAAE,CAAC,SAAS,EAAC,WAAW,EAAC,aAAa,EAAC,cAAc,EAAC,mBAAmB,EAAC,OAAO,EAAC,MAAM,EAAC,cAAc,EAAC,oBAAoB,EAAC,kBAAkB,EAAC,cAAc,EAAC,wBAAwB,EAAC,oBAAoB,EAAC,iBAAiB,EAAC,eAAe,EAAC,gBAAgB,EAAC,qBAAqB,EAAC,0BAA0B,CAAC,CAAC,CAAA;AAEtX,UAAU,CAAC,oBAAoB,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.213
|
|
3
3
|
*/
|
|
4
4
|
import type { SingletonServices } from '../../types/application-types.d.js';
|
|
5
5
|
import type { Services } from '../../types/application-types.d.js';
|
|
@@ -11,7 +11,7 @@ export declare const requiredSingletonServices: {
|
|
|
11
11
|
readonly aiEmbedding: false;
|
|
12
12
|
readonly analytics: false;
|
|
13
13
|
readonly analyticsIdentity: false;
|
|
14
|
-
readonly
|
|
14
|
+
readonly analyticsSinks: false;
|
|
15
15
|
readonly audit: true;
|
|
16
16
|
readonly auditLog: false;
|
|
17
17
|
readonly auth: true;
|
|
@@ -22,18 +22,22 @@ export declare const requiredSingletonServices: {
|
|
|
22
22
|
readonly deploymentService: false;
|
|
23
23
|
readonly emailService: false;
|
|
24
24
|
readonly eventHub: false;
|
|
25
|
+
readonly eventHubRegistry: false;
|
|
25
26
|
readonly featureFlags: true;
|
|
26
27
|
readonly incomingWebhookService: true;
|
|
27
28
|
readonly jwt: false;
|
|
28
29
|
readonly leaseService: false;
|
|
29
30
|
readonly logger: true;
|
|
30
|
-
readonly metaService:
|
|
31
|
+
readonly metaService: true;
|
|
32
|
+
readonly otlpSinks: false;
|
|
31
33
|
readonly queueService: true;
|
|
32
34
|
readonly schedulerService: true;
|
|
33
35
|
readonly schema: true;
|
|
34
36
|
readonly scopeService: true;
|
|
37
|
+
readonly secretAdminService: true;
|
|
35
38
|
readonly secrets: true;
|
|
36
39
|
readonly sessionStore: false;
|
|
40
|
+
readonly tracer: false;
|
|
37
41
|
readonly triggerSourceStore: true;
|
|
38
42
|
readonly variables: true;
|
|
39
43
|
readonly virtualUserRunStore: true;
|
|
@@ -43,7 +47,7 @@ export declare const requiredSingletonServices: {
|
|
|
43
47
|
readonly workflowService: false;
|
|
44
48
|
};
|
|
45
49
|
export declare const requiredWireServices: {};
|
|
46
|
-
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'agentRunService' | 'agentRunState' | 'audit' | 'auth' | 'config' | 'credentialService' | 'featureFlags' | 'incomingWebhookService' | 'logger' | 'queueService' | 'schedulerService' | 'schema' | 'scopeService' | 'secrets' | 'triggerSourceStore' | 'variables' | 'virtualUserRunStore' | 'virtualUserScheduleStore' | 'webhookService' | 'workflowRunService'>> & Partial<Omit<SingletonServices, 'agentRunService' | 'agentRunState' | 'audit' | 'auth' | 'config' | 'credentialService' | 'featureFlags' | 'incomingWebhookService' | 'logger' | 'queueService' | 'schedulerService' | 'schema' | 'scopeService' | 'secrets' | 'triggerSourceStore' | 'variables' | 'virtualUserRunStore' | 'virtualUserScheduleStore' | 'webhookService' | 'workflowRunService'>>;
|
|
50
|
+
export type RequiredSingletonServices = Required<Pick<SingletonServices, 'agentRunService' | 'agentRunState' | 'audit' | 'auth' | 'config' | 'credentialService' | 'featureFlags' | 'incomingWebhookService' | 'logger' | 'metaService' | 'queueService' | 'schedulerService' | 'schema' | 'scopeService' | 'secretAdminService' | 'secrets' | 'triggerSourceStore' | 'variables' | 'virtualUserRunStore' | 'virtualUserScheduleStore' | 'webhookService' | 'workflowRunService'>> & Partial<Omit<SingletonServices, 'agentRunService' | 'agentRunState' | 'audit' | 'auth' | 'config' | 'credentialService' | 'featureFlags' | 'incomingWebhookService' | 'logger' | 'metaService' | 'queueService' | 'schedulerService' | 'schema' | 'scopeService' | 'secretAdminService' | 'secrets' | 'triggerSourceStore' | 'variables' | 'virtualUserRunStore' | 'virtualUserScheduleStore' | 'webhookService' | 'workflowRunService'>>;
|
|
47
51
|
export type RequiredWireServices = Partial<Services>;
|
|
48
|
-
export declare const requiredParentServices: readonly ["scopeService", "credentialService", "audit", "auth", "featureFlags", "triggerSourceStore", "schedulerService", "queueService", "incomingWebhookService", "workflowRunService", "agentRunService", "agentRunState", "webhookService", "virtualUserRunStore", "virtualUserScheduleStore"];
|
|
52
|
+
export declare const requiredParentServices: readonly ["secrets", "variables", "metaService", "scopeService", "credentialService", "audit", "auth", "featureFlags", "triggerSourceStore", "schedulerService", "queueService", "incomingWebhookService", "workflowRunService", "agentRunService", "agentRunState", "webhookService", "virtualUserRunStore", "virtualUserScheduleStore"];
|
|
49
53
|
//# sourceMappingURL=pikku-services.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-services.gen.d.ts","sources":["../../../.pikku/addon/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AAGlE,eAAO,MAAM,yBAAyB;aACpC,eAAiB;aACjB,aAAe;aACf,WAAa;aACb,YAAc;aACd,WAAa;aACb,SAAW;aACX,iBAAmB;aACnB,
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.d.ts","sources":["../../../.pikku/addon/pikku-services.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAA;AAGlE,eAAO,MAAM,yBAAyB;aACpC,eAAiB;aACjB,aAAe;aACf,WAAa;aACb,YAAc;aACd,WAAa;aACb,SAAW;aACX,iBAAmB;aACnB,cAAgB;aAChB,KAAO;aACP,QAAU;aACV,IAAM;aACN,MAAQ;aACR,OAAS;aACT,eAAiB;aACjB,iBAAmB;aACnB,iBAAmB;aACnB,YAAc;aACd,QAAU;aACV,gBAAkB;aAClB,YAAc;aACd,sBAAwB;aACxB,GAAK;aACL,YAAc;aACd,MAAQ;aACR,WAAa;aACb,SAAW;aACX,YAAc;aACd,gBAAkB;aAClB,MAAQ;aACR,YAAc;aACd,kBAAoB;aACpB,OAAS;aACT,YAAc;aACd,MAAQ;aACR,kBAAoB;aACpB,SAAW;aACX,mBAAqB;aACrB,wBAA0B;aAC1B,cAAgB;aAChB,kBAAoB;aACpB,eAAiB;CACT,CAAA;AAGV,eAAO,MAAM,oBAAoB,IACvB,CAAA;AAGV,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC,IAAI,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,mBAAmB,GAAG,cAAc,GAAG,wBAAwB,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc,GAAG,kBAAkB,GAAG,QAAQ,GAAG,cAAc,GAAG,oBAAoB,GAAG,SAAS,GAAG,oBAAoB,GAAG,WAAW,GAAG,qBAAqB,GAAG,0BAA0B,GAAG,gBAAgB,GAAG,oBAAoB,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,iBAAiB,EAAE,iBAAiB,GAAG,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,mBAAmB,GAAG,cAAc,GAAG,wBAAwB,GAAG,QAAQ,GAAG,aAAa,GAAG,cAAc,GAAG,kBAAkB,GAAG,QAAQ,GAAG,cAAc,GAAG,oBAAoB,GAAG,SAAS,GAAG,oBAAoB,GAAG,WAAW,GAAG,qBAAqB,GAAG,0BAA0B,GAAG,gBAAgB,GAAG,oBAAoB,CAAC,CAAC,CAAA;AAE93B,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;AAGpD,eAAO,MAAM,sBAAsB,YAAI,SAAS,EAAC,WAAW,EAAC,aAAa,EAAC,cAAc,EAAC,mBAAmB,EAAC,OAAO,EAAC,MAAM,EAAC,cAAc,EAAC,oBAAoB,EAAC,kBAAkB,EAAC,cAAc,EAAC,wBAAwB,EAAC,oBAAoB,EAAC,iBAAiB,EAAC,eAAe,EAAC,gBAAgB,EAAC,qBAAqB,EAAC,0BAA0B,CAAU,CAAA"}
|
|
@@ -7,7 +7,7 @@ export const requiredSingletonServices = {
|
|
|
7
7
|
'aiEmbedding': false,
|
|
8
8
|
'analytics': false,
|
|
9
9
|
'analyticsIdentity': false,
|
|
10
|
-
'
|
|
10
|
+
'analyticsSinks': false,
|
|
11
11
|
'audit': true,
|
|
12
12
|
'auditLog': false,
|
|
13
13
|
'auth': true,
|
|
@@ -18,18 +18,22 @@ export const requiredSingletonServices = {
|
|
|
18
18
|
'deploymentService': false,
|
|
19
19
|
'emailService': false,
|
|
20
20
|
'eventHub': false,
|
|
21
|
+
'eventHubRegistry': false,
|
|
21
22
|
'featureFlags': true,
|
|
22
23
|
'incomingWebhookService': true,
|
|
23
24
|
'jwt': false,
|
|
24
25
|
'leaseService': false,
|
|
25
26
|
'logger': true,
|
|
26
|
-
'metaService':
|
|
27
|
+
'metaService': true,
|
|
28
|
+
'otlpSinks': false,
|
|
27
29
|
'queueService': true,
|
|
28
30
|
'schedulerService': true,
|
|
29
31
|
'schema': true,
|
|
30
32
|
'scopeService': true,
|
|
33
|
+
'secretAdminService': true,
|
|
31
34
|
'secrets': true,
|
|
32
35
|
'sessionStore': false,
|
|
36
|
+
'tracer': false,
|
|
33
37
|
'triggerSourceStore': true,
|
|
34
38
|
'variables': true,
|
|
35
39
|
'virtualUserRunStore': true,
|
|
@@ -41,5 +45,5 @@ export const requiredSingletonServices = {
|
|
|
41
45
|
// Wire services map: true if required, false if available but unused
|
|
42
46
|
export const requiredWireServices = {};
|
|
43
47
|
// Services this addon needs from the parent project
|
|
44
|
-
export const requiredParentServices = ["scopeService", "credentialService", "audit", "auth", "featureFlags", "triggerSourceStore", "schedulerService", "queueService", "incomingWebhookService", "workflowRunService", "agentRunService", "agentRunState", "webhookService", "virtualUserRunStore", "virtualUserScheduleStore"];
|
|
48
|
+
export const requiredParentServices = ["secrets", "variables", "metaService", "scopeService", "credentialService", "audit", "auth", "featureFlags", "triggerSourceStore", "schedulerService", "queueService", "incomingWebhookService", "workflowRunService", "agentRunService", "agentRunState", "webhookService", "virtualUserRunStore", "virtualUserScheduleStore"];
|
|
45
49
|
//# sourceMappingURL=pikku-services.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-services.gen.js","sources":["../../../.pikku/addon/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,aAAa,EAAE,KAAK;IACpB,WAAW,EAAE,KAAK;IAClB,mBAAmB,EAAE,KAAK;IAC1B,
|
|
1
|
+
{"version":3,"file":"pikku-services.gen.js","sources":["../../../.pikku/addon/pikku-services.gen.ts"],"names":[],"mappings":"AAMA,0EAA0E;AAC1E,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,iBAAiB,EAAE,IAAI;IACvB,eAAe,EAAE,IAAI;IACrB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,KAAK;IACrB,aAAa,EAAE,KAAK;IACpB,WAAW,EAAE,KAAK;IAClB,mBAAmB,EAAE,KAAK;IAC1B,gBAAgB,EAAE,KAAK;IACvB,OAAO,EAAE,IAAI;IACb,UAAU,EAAE,KAAK;IACjB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,SAAS,EAAE,KAAK;IAChB,iBAAiB,EAAE,KAAK;IACxB,mBAAmB,EAAE,IAAI;IACzB,mBAAmB,EAAE,KAAK;IAC1B,cAAc,EAAE,KAAK;IACrB,UAAU,EAAE,KAAK;IACjB,kBAAkB,EAAE,KAAK;IACzB,cAAc,EAAE,IAAI;IACpB,wBAAwB,EAAE,IAAI;IAC9B,KAAK,EAAE,KAAK;IACZ,cAAc,EAAE,KAAK;IACrB,QAAQ,EAAE,IAAI;IACd,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,KAAK;IAClB,cAAc,EAAE,IAAI;IACpB,kBAAkB,EAAE,IAAI;IACxB,QAAQ,EAAE,IAAI;IACd,cAAc,EAAE,IAAI;IACpB,oBAAoB,EAAE,IAAI;IAC1B,SAAS,EAAE,IAAI;IACf,cAAc,EAAE,KAAK;IACrB,QAAQ,EAAE,KAAK;IACf,oBAAoB,EAAE,IAAI;IAC1B,WAAW,EAAE,IAAI;IACjB,qBAAqB,EAAE,IAAI;IAC3B,0BAA0B,EAAE,IAAI;IAChC,gBAAgB,EAAE,IAAI;IACtB,oBAAoB,EAAE,IAAI;IAC1B,iBAAiB,EAAE,KAAK;CAChB,CAAA;AAEV,qEAAqE;AACrE,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAC1B,CAAA;AAOV,oDAAoD;AACpD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,SAAS,EAAC,WAAW,EAAC,aAAa,EAAC,cAAc,EAAC,mBAAmB,EAAC,OAAO,EAAC,MAAM,EAAC,cAAc,EAAC,oBAAoB,EAAC,kBAAkB,EAAC,cAAc,EAAC,wBAAwB,EAAC,oBAAoB,EAAC,iBAAiB,EAAC,eAAe,EAAC,gBAAgB,EAAC,qBAAqB,EAAC,0BAA0B,CAAU,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.213
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -12,6 +12,8 @@ import type { IncomingWebhookReceiptRecord } from '@pikku/core/services'
|
|
|
12
12
|
import type { WebhookDeliveryWithAttempts } from '@pikku/core/services'
|
|
13
13
|
import type { AddonFilter } from '../../../src/lib/addon-scope.js'
|
|
14
14
|
import type * as __PikkuCustomTypes from '../pikku-custom-types.gen.d.js'
|
|
15
|
+
export type AgentCredentialCheckInput = __PikkuCustomTypes.AgentCredentialCheckInput
|
|
16
|
+
export type AgentCredentialCheckOutput = __PikkuCustomTypes.AgentCredentialCheckOutput
|
|
15
17
|
export type CreateUserInput = __PikkuCustomTypes.CreateUserInput
|
|
16
18
|
export type CreateUserOutput = __PikkuCustomTypes.CreateUserOutput
|
|
17
19
|
export type CredentialDeleteInput = __PikkuCustomTypes.CredentialDeleteInput
|
|
@@ -42,6 +44,8 @@ export type FlagSetOverrideOutput = __PikkuCustomTypes.FlagSetOverrideOutput
|
|
|
42
44
|
export type FlagSetRolloutInput = __PikkuCustomTypes.FlagSetRolloutInput
|
|
43
45
|
export type FlagSetRolloutOutput = __PikkuCustomTypes.FlagSetRolloutOutput
|
|
44
46
|
export type FlagSyncOutput = __PikkuCustomTypes.FlagSyncOutput
|
|
47
|
+
export type GetAddonInstancesInput = __PikkuCustomTypes.GetAddonInstancesInput
|
|
48
|
+
export type GetAddonInstancesOutput = __PikkuCustomTypes.GetAddonInstancesOutput
|
|
45
49
|
export type GetAgentRunScoresInput = __PikkuCustomTypes.GetAgentRunScoresInput
|
|
46
50
|
export type GetAgentRunScoresOutput = __PikkuCustomTypes.GetAgentRunScoresOutput
|
|
47
51
|
export type GetAgentThreadMessagesInput = __PikkuCustomTypes.GetAgentThreadMessagesInput
|
|
@@ -51,9 +55,12 @@ export type GetAgentThreadRunsOutput = __PikkuCustomTypes.GetAgentThreadRunsOutp
|
|
|
51
55
|
export type GetAgentThreadsInput = __PikkuCustomTypes.GetAgentThreadsInput
|
|
52
56
|
export type GetAgentThreadsOutput = __PikkuCustomTypes.GetAgentThreadsOutput
|
|
53
57
|
export type GetIncomingWebhookReceiptInput = __PikkuCustomTypes.GetIncomingWebhookReceiptInput
|
|
58
|
+
export type GetInstalledAddonsOutput = __PikkuCustomTypes.GetInstalledAddonsOutput
|
|
59
|
+
export type GetMyAccessOutput = __PikkuCustomTypes.GetMyAccessOutput
|
|
54
60
|
export type GetQueueHistoryInput = __PikkuCustomTypes.GetQueueHistoryInput
|
|
55
61
|
export type GetQueueHistoryOutput = __PikkuCustomTypes.GetQueueHistoryOutput
|
|
56
62
|
export type GetSchedulerHistoryOutput = __PikkuCustomTypes.GetSchedulerHistoryOutput
|
|
63
|
+
export type GetScorersOutput = __PikkuCustomTypes.GetScorersOutput
|
|
57
64
|
export type GetVirtualUserRunsInput = __PikkuCustomTypes.GetVirtualUserRunsInput
|
|
58
65
|
export type GetVirtualUserRunsOutput = __PikkuCustomTypes.GetVirtualUserRunsOutput
|
|
59
66
|
export type GetVirtualUserRunStepsInput = __PikkuCustomTypes.GetVirtualUserRunStepsInput
|
|
@@ -100,6 +107,12 @@ export type ScopeRemoveUserFromRoleInput = __PikkuCustomTypes.ScopeRemoveUserFro
|
|
|
100
107
|
export type ScopeRemoveUserFromRoleOutput = __PikkuCustomTypes.ScopeRemoveUserFromRoleOutput
|
|
101
108
|
export type ScopeSetRoleScopesInput = __PikkuCustomTypes.ScopeSetRoleScopesInput
|
|
102
109
|
export type ScopeSetRoleScopesOutput = __PikkuCustomTypes.ScopeSetRoleScopesOutput
|
|
110
|
+
export type SecretGetInput = __PikkuCustomTypes.SecretGetInput
|
|
111
|
+
export type SecretGetOutput = __PikkuCustomTypes.SecretGetOutput
|
|
112
|
+
export type SecretHasInput = __PikkuCustomTypes.SecretHasInput
|
|
113
|
+
export type SecretHasOutput = __PikkuCustomTypes.SecretHasOutput
|
|
114
|
+
export type SecretSetInput = __PikkuCustomTypes.SecretSetInput
|
|
115
|
+
export type SecretSetOutput = __PikkuCustomTypes.SecretSetOutput
|
|
103
116
|
export type SendSignInLinkInput = __PikkuCustomTypes.SendSignInLinkInput
|
|
104
117
|
export type SendSignInLinkOutput = __PikkuCustomTypes.SendSignInLinkOutput
|
|
105
118
|
export type SetUserBannedInput = __PikkuCustomTypes.SetUserBannedInput
|
|
@@ -118,6 +131,10 @@ export type TriggerSourceReconcileInput = __PikkuCustomTypes.TriggerSourceReconc
|
|
|
118
131
|
export type TriggerSourceReconcileOutput = __PikkuCustomTypes.TriggerSourceReconcileOutput
|
|
119
132
|
export type TriggerSourceTeardownInput = __PikkuCustomTypes.TriggerSourceTeardownInput
|
|
120
133
|
export type TriggerSourceTeardownOutput = __PikkuCustomTypes.TriggerSourceTeardownOutput
|
|
134
|
+
export type VariableGetInput = __PikkuCustomTypes.VariableGetInput
|
|
135
|
+
export type VariableGetOutput = __PikkuCustomTypes.VariableGetOutput
|
|
136
|
+
export type VariableSetInput = __PikkuCustomTypes.VariableSetInput
|
|
137
|
+
export type VariableSetOutput = __PikkuCustomTypes.VariableSetOutput
|
|
121
138
|
|
|
122
139
|
interface RPCHandler<I, O> {
|
|
123
140
|
input: I;
|
|
@@ -125,6 +142,7 @@ interface RPCHandler<I, O> {
|
|
|
125
142
|
}
|
|
126
143
|
|
|
127
144
|
export type RPCMap = {
|
|
145
|
+
readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
|
|
128
146
|
readonly 'createUser': RPCHandler<CreateUserInput, CreateUserOutput>,
|
|
129
147
|
readonly 'credentialDelete': RPCHandler<CredentialDeleteInput, CredentialDeleteOutput>,
|
|
130
148
|
readonly 'credentialGet': RPCHandler<CredentialGetInput, CredentialGetOutput>,
|
|
@@ -142,6 +160,7 @@ export type RPCMap = {
|
|
|
142
160
|
readonly 'flagSetOverride': RPCHandler<FlagSetOverrideInput, FlagSetOverrideOutput>,
|
|
143
161
|
readonly 'flagSetRollout': RPCHandler<FlagSetRolloutInput, FlagSetRolloutOutput>,
|
|
144
162
|
readonly 'flagSync': RPCHandler<null, FlagSyncOutput>,
|
|
163
|
+
readonly 'getAddonInstances': RPCHandler<GetAddonInstancesInput, GetAddonInstancesOutput>,
|
|
145
164
|
readonly 'getAgentRunScores': RPCHandler<GetAgentRunScoresInput, GetAgentRunScoresOutput>,
|
|
146
165
|
readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
|
|
147
166
|
readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
|
|
@@ -149,8 +168,11 @@ export type RPCMap = {
|
|
|
149
168
|
readonly 'getAuditFilters': RPCHandler<null, GetAuditFiltersOutput>,
|
|
150
169
|
readonly 'getAudits': RPCHandler<GetAuditsInput, GetAuditsOutput>,
|
|
151
170
|
readonly 'getIncomingWebhookReceipt': RPCHandler<GetIncomingWebhookReceiptInput, IncomingWebhookReceiptRecord>,
|
|
171
|
+
readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
|
|
172
|
+
readonly 'getMyAccess': RPCHandler<null, GetMyAccessOutput>,
|
|
152
173
|
readonly 'getQueueHistory': RPCHandler<GetQueueHistoryInput, GetQueueHistoryOutput>,
|
|
153
174
|
readonly 'getSchedulerHistory': RPCHandler<null, GetSchedulerHistoryOutput>,
|
|
175
|
+
readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
|
|
154
176
|
readonly 'getVirtualUserRunSteps': RPCHandler<GetVirtualUserRunStepsInput, GetVirtualUserRunStepsOutput>,
|
|
155
177
|
readonly 'getVirtualUserRuns': RPCHandler<GetVirtualUserRunsInput, GetVirtualUserRunsOutput>,
|
|
156
178
|
readonly 'getVirtualUserSchedules': RPCHandler<null, GetVirtualUserSchedulesOutput>,
|
|
@@ -177,6 +199,9 @@ export type RPCMap = {
|
|
|
177
199
|
readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
|
|
178
200
|
readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
|
|
179
201
|
readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
|
|
202
|
+
readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
|
|
203
|
+
readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
|
|
204
|
+
readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
|
|
180
205
|
readonly 'sendSignInLink': RPCHandler<SendSignInLinkInput, SendSignInLinkOutput>,
|
|
181
206
|
readonly 'setUserBanned': RPCHandler<SetUserBannedInput, SetUserBannedOutput>,
|
|
182
207
|
readonly 'setUserPassword': RPCHandler<SetUserPasswordInput, SetUserPasswordOutput>,
|
|
@@ -186,6 +211,8 @@ export type RPCMap = {
|
|
|
186
211
|
readonly 'triggerSourceList': RPCHandler<null, TriggerSourceListOutput>,
|
|
187
212
|
readonly 'triggerSourceReconcile': RPCHandler<TriggerSourceReconcileInput, TriggerSourceReconcileOutput>,
|
|
188
213
|
readonly 'triggerSourceTeardown': RPCHandler<TriggerSourceTeardownInput, TriggerSourceTeardownOutput>,
|
|
214
|
+
readonly 'variableGet': RPCHandler<VariableGetInput, VariableGetOutput>,
|
|
215
|
+
readonly 'variableSet': RPCHandler<VariableSetInput, VariableSetOutput>,
|
|
189
216
|
};
|
|
190
217
|
|
|
191
218
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.213
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -12,6 +12,8 @@ import type { IncomingWebhookReceiptRecord } from '@pikku/core/services'
|
|
|
12
12
|
import type { WebhookDeliveryWithAttempts } from '@pikku/core/services'
|
|
13
13
|
import type { AddonFilter } from '../../../src/lib/addon-scope.js'
|
|
14
14
|
import type * as __PikkuCustomTypes from '../pikku-custom-types.gen.d.js'
|
|
15
|
+
export type AgentCredentialCheckInput = __PikkuCustomTypes.AgentCredentialCheckInput
|
|
16
|
+
export type AgentCredentialCheckOutput = __PikkuCustomTypes.AgentCredentialCheckOutput
|
|
15
17
|
export type CreateUserInput = __PikkuCustomTypes.CreateUserInput
|
|
16
18
|
export type CreateUserOutput = __PikkuCustomTypes.CreateUserOutput
|
|
17
19
|
export type CredentialDeleteInput = __PikkuCustomTypes.CredentialDeleteInput
|
|
@@ -42,6 +44,8 @@ export type FlagSetOverrideOutput = __PikkuCustomTypes.FlagSetOverrideOutput
|
|
|
42
44
|
export type FlagSetRolloutInput = __PikkuCustomTypes.FlagSetRolloutInput
|
|
43
45
|
export type FlagSetRolloutOutput = __PikkuCustomTypes.FlagSetRolloutOutput
|
|
44
46
|
export type FlagSyncOutput = __PikkuCustomTypes.FlagSyncOutput
|
|
47
|
+
export type GetAddonInstancesInput = __PikkuCustomTypes.GetAddonInstancesInput
|
|
48
|
+
export type GetAddonInstancesOutput = __PikkuCustomTypes.GetAddonInstancesOutput
|
|
45
49
|
export type GetAgentRunScoresInput = __PikkuCustomTypes.GetAgentRunScoresInput
|
|
46
50
|
export type GetAgentRunScoresOutput = __PikkuCustomTypes.GetAgentRunScoresOutput
|
|
47
51
|
export type GetAgentThreadMessagesInput = __PikkuCustomTypes.GetAgentThreadMessagesInput
|
|
@@ -51,9 +55,12 @@ export type GetAgentThreadRunsOutput = __PikkuCustomTypes.GetAgentThreadRunsOutp
|
|
|
51
55
|
export type GetAgentThreadsInput = __PikkuCustomTypes.GetAgentThreadsInput
|
|
52
56
|
export type GetAgentThreadsOutput = __PikkuCustomTypes.GetAgentThreadsOutput
|
|
53
57
|
export type GetIncomingWebhookReceiptInput = __PikkuCustomTypes.GetIncomingWebhookReceiptInput
|
|
58
|
+
export type GetInstalledAddonsOutput = __PikkuCustomTypes.GetInstalledAddonsOutput
|
|
59
|
+
export type GetMyAccessOutput = __PikkuCustomTypes.GetMyAccessOutput
|
|
54
60
|
export type GetQueueHistoryInput = __PikkuCustomTypes.GetQueueHistoryInput
|
|
55
61
|
export type GetQueueHistoryOutput = __PikkuCustomTypes.GetQueueHistoryOutput
|
|
56
62
|
export type GetSchedulerHistoryOutput = __PikkuCustomTypes.GetSchedulerHistoryOutput
|
|
63
|
+
export type GetScorersOutput = __PikkuCustomTypes.GetScorersOutput
|
|
57
64
|
export type GetVirtualUserRunsInput = __PikkuCustomTypes.GetVirtualUserRunsInput
|
|
58
65
|
export type GetVirtualUserRunsOutput = __PikkuCustomTypes.GetVirtualUserRunsOutput
|
|
59
66
|
export type GetVirtualUserRunStepsInput = __PikkuCustomTypes.GetVirtualUserRunStepsInput
|
|
@@ -100,6 +107,12 @@ export type ScopeRemoveUserFromRoleInput = __PikkuCustomTypes.ScopeRemoveUserFro
|
|
|
100
107
|
export type ScopeRemoveUserFromRoleOutput = __PikkuCustomTypes.ScopeRemoveUserFromRoleOutput
|
|
101
108
|
export type ScopeSetRoleScopesInput = __PikkuCustomTypes.ScopeSetRoleScopesInput
|
|
102
109
|
export type ScopeSetRoleScopesOutput = __PikkuCustomTypes.ScopeSetRoleScopesOutput
|
|
110
|
+
export type SecretGetInput = __PikkuCustomTypes.SecretGetInput
|
|
111
|
+
export type SecretGetOutput = __PikkuCustomTypes.SecretGetOutput
|
|
112
|
+
export type SecretHasInput = __PikkuCustomTypes.SecretHasInput
|
|
113
|
+
export type SecretHasOutput = __PikkuCustomTypes.SecretHasOutput
|
|
114
|
+
export type SecretSetInput = __PikkuCustomTypes.SecretSetInput
|
|
115
|
+
export type SecretSetOutput = __PikkuCustomTypes.SecretSetOutput
|
|
103
116
|
export type SendSignInLinkInput = __PikkuCustomTypes.SendSignInLinkInput
|
|
104
117
|
export type SendSignInLinkOutput = __PikkuCustomTypes.SendSignInLinkOutput
|
|
105
118
|
export type SetUserBannedInput = __PikkuCustomTypes.SetUserBannedInput
|
|
@@ -118,6 +131,10 @@ export type TriggerSourceReconcileInput = __PikkuCustomTypes.TriggerSourceReconc
|
|
|
118
131
|
export type TriggerSourceReconcileOutput = __PikkuCustomTypes.TriggerSourceReconcileOutput
|
|
119
132
|
export type TriggerSourceTeardownInput = __PikkuCustomTypes.TriggerSourceTeardownInput
|
|
120
133
|
export type TriggerSourceTeardownOutput = __PikkuCustomTypes.TriggerSourceTeardownOutput
|
|
134
|
+
export type VariableGetInput = __PikkuCustomTypes.VariableGetInput
|
|
135
|
+
export type VariableGetOutput = __PikkuCustomTypes.VariableGetOutput
|
|
136
|
+
export type VariableSetInput = __PikkuCustomTypes.VariableSetInput
|
|
137
|
+
export type VariableSetOutput = __PikkuCustomTypes.VariableSetOutput
|
|
121
138
|
|
|
122
139
|
interface RPCHandler<I, O> {
|
|
123
140
|
input: I;
|
|
@@ -125,6 +142,7 @@ interface RPCHandler<I, O> {
|
|
|
125
142
|
}
|
|
126
143
|
|
|
127
144
|
export type RPCMap = {
|
|
145
|
+
readonly 'agentCredentialCheck': RPCHandler<AgentCredentialCheckInput, AgentCredentialCheckOutput>,
|
|
128
146
|
readonly 'createUser': RPCHandler<CreateUserInput, CreateUserOutput>,
|
|
129
147
|
readonly 'credentialDelete': RPCHandler<CredentialDeleteInput, CredentialDeleteOutput>,
|
|
130
148
|
readonly 'credentialGet': RPCHandler<CredentialGetInput, CredentialGetOutput>,
|
|
@@ -142,6 +160,7 @@ export type RPCMap = {
|
|
|
142
160
|
readonly 'flagSetOverride': RPCHandler<FlagSetOverrideInput, FlagSetOverrideOutput>,
|
|
143
161
|
readonly 'flagSetRollout': RPCHandler<FlagSetRolloutInput, FlagSetRolloutOutput>,
|
|
144
162
|
readonly 'flagSync': RPCHandler<null, FlagSyncOutput>,
|
|
163
|
+
readonly 'getAddonInstances': RPCHandler<GetAddonInstancesInput, GetAddonInstancesOutput>,
|
|
145
164
|
readonly 'getAgentRunScores': RPCHandler<GetAgentRunScoresInput, GetAgentRunScoresOutput>,
|
|
146
165
|
readonly 'getAgentThreadMessages': RPCHandler<GetAgentThreadMessagesInput, GetAgentThreadMessagesOutput>,
|
|
147
166
|
readonly 'getAgentThreadRuns': RPCHandler<GetAgentThreadRunsInput, GetAgentThreadRunsOutput>,
|
|
@@ -149,8 +168,11 @@ export type RPCMap = {
|
|
|
149
168
|
readonly 'getAuditFilters': RPCHandler<null, GetAuditFiltersOutput>,
|
|
150
169
|
readonly 'getAudits': RPCHandler<GetAuditsInput, GetAuditsOutput>,
|
|
151
170
|
readonly 'getIncomingWebhookReceipt': RPCHandler<GetIncomingWebhookReceiptInput, IncomingWebhookReceiptRecord>,
|
|
171
|
+
readonly 'getInstalledAddons': RPCHandler<null, GetInstalledAddonsOutput>,
|
|
172
|
+
readonly 'getMyAccess': RPCHandler<null, GetMyAccessOutput>,
|
|
152
173
|
readonly 'getQueueHistory': RPCHandler<GetQueueHistoryInput, GetQueueHistoryOutput>,
|
|
153
174
|
readonly 'getSchedulerHistory': RPCHandler<null, GetSchedulerHistoryOutput>,
|
|
175
|
+
readonly 'getScorers': RPCHandler<null, GetScorersOutput>,
|
|
154
176
|
readonly 'getVirtualUserRunSteps': RPCHandler<GetVirtualUserRunStepsInput, GetVirtualUserRunStepsOutput>,
|
|
155
177
|
readonly 'getVirtualUserRuns': RPCHandler<GetVirtualUserRunsInput, GetVirtualUserRunsOutput>,
|
|
156
178
|
readonly 'getVirtualUserSchedules': RPCHandler<null, GetVirtualUserSchedulesOutput>,
|
|
@@ -177,6 +199,9 @@ export type RPCMap = {
|
|
|
177
199
|
readonly 'scopeRemoveScopeFromUser': RPCHandler<ScopeRemoveScopeFromUserInput, ScopeRemoveScopeFromUserOutput>,
|
|
178
200
|
readonly 'scopeRemoveUserFromRole': RPCHandler<ScopeRemoveUserFromRoleInput, ScopeRemoveUserFromRoleOutput>,
|
|
179
201
|
readonly 'scopeSetRoleScopes': RPCHandler<ScopeSetRoleScopesInput, ScopeSetRoleScopesOutput>,
|
|
202
|
+
readonly 'secretGet': RPCHandler<SecretGetInput, SecretGetOutput>,
|
|
203
|
+
readonly 'secretHas': RPCHandler<SecretHasInput, SecretHasOutput>,
|
|
204
|
+
readonly 'secretSet': RPCHandler<SecretSetInput, SecretSetOutput>,
|
|
180
205
|
readonly 'sendSignInLink': RPCHandler<SendSignInLinkInput, SendSignInLinkOutput>,
|
|
181
206
|
readonly 'setUserBanned': RPCHandler<SetUserBannedInput, SetUserBannedOutput>,
|
|
182
207
|
readonly 'setUserPassword': RPCHandler<SetUserPasswordInput, SetUserPasswordOutput>,
|
|
@@ -187,6 +212,8 @@ export type RPCMap = {
|
|
|
187
212
|
readonly 'triggerSourceList': RPCHandler<null, TriggerSourceListOutput>,
|
|
188
213
|
readonly 'triggerSourceReconcile': RPCHandler<TriggerSourceReconcileInput, TriggerSourceReconcileOutput>,
|
|
189
214
|
readonly 'triggerSourceTeardown': RPCHandler<TriggerSourceTeardownInput, TriggerSourceTeardownOutput>,
|
|
215
|
+
readonly 'variableGet': RPCHandler<VariableGetInput, VariableGetOutput>,
|
|
216
|
+
readonly 'variableSet': RPCHandler<VariableSetInput, VariableSetOutput>,
|
|
190
217
|
};
|
|
191
218
|
|
|
192
219
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.213
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* This provides the structure needed for typescript to be aware of RPCs and their return types
|
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
import type * as __PikkuCustomTypes from '../pikku-custom-types.gen.d.js'
|
|
11
|
+
export type AgentCredentialCheckInput = __PikkuCustomTypes.AgentCredentialCheckInput
|
|
12
|
+
export type AgentCredentialCheckOutput = __PikkuCustomTypes.AgentCredentialCheckOutput
|
|
11
13
|
export type CreateUserInput = __PikkuCustomTypes.CreateUserInput
|
|
12
14
|
export type CreateUserOutput = __PikkuCustomTypes.CreateUserOutput
|
|
13
15
|
export type CredentialDeleteInput = __PikkuCustomTypes.CredentialDeleteInput
|
|
@@ -38,6 +40,8 @@ export type FlagSetOverrideOutput = __PikkuCustomTypes.FlagSetOverrideOutput
|
|
|
38
40
|
export type FlagSetRolloutInput = __PikkuCustomTypes.FlagSetRolloutInput
|
|
39
41
|
export type FlagSetRolloutOutput = __PikkuCustomTypes.FlagSetRolloutOutput
|
|
40
42
|
export type FlagSyncOutput = __PikkuCustomTypes.FlagSyncOutput
|
|
43
|
+
export type GetAddonInstancesInput = __PikkuCustomTypes.GetAddonInstancesInput
|
|
44
|
+
export type GetAddonInstancesOutput = __PikkuCustomTypes.GetAddonInstancesOutput
|
|
41
45
|
export type GetAgentRunScoresInput = __PikkuCustomTypes.GetAgentRunScoresInput
|
|
42
46
|
export type GetAgentRunScoresOutput = __PikkuCustomTypes.GetAgentRunScoresOutput
|
|
43
47
|
export type GetAgentThreadMessagesInput = __PikkuCustomTypes.GetAgentThreadMessagesInput
|
|
@@ -47,9 +51,12 @@ export type GetAgentThreadRunsOutput = __PikkuCustomTypes.GetAgentThreadRunsOutp
|
|
|
47
51
|
export type GetAgentThreadsInput = __PikkuCustomTypes.GetAgentThreadsInput
|
|
48
52
|
export type GetAgentThreadsOutput = __PikkuCustomTypes.GetAgentThreadsOutput
|
|
49
53
|
export type GetIncomingWebhookReceiptInput = __PikkuCustomTypes.GetIncomingWebhookReceiptInput
|
|
54
|
+
export type GetInstalledAddonsOutput = __PikkuCustomTypes.GetInstalledAddonsOutput
|
|
55
|
+
export type GetMyAccessOutput = __PikkuCustomTypes.GetMyAccessOutput
|
|
50
56
|
export type GetQueueHistoryInput = __PikkuCustomTypes.GetQueueHistoryInput
|
|
51
57
|
export type GetQueueHistoryOutput = __PikkuCustomTypes.GetQueueHistoryOutput
|
|
52
58
|
export type GetSchedulerHistoryOutput = __PikkuCustomTypes.GetSchedulerHistoryOutput
|
|
59
|
+
export type GetScorersOutput = __PikkuCustomTypes.GetScorersOutput
|
|
53
60
|
export type GetVirtualUserRunsInput = __PikkuCustomTypes.GetVirtualUserRunsInput
|
|
54
61
|
export type GetVirtualUserRunsOutput = __PikkuCustomTypes.GetVirtualUserRunsOutput
|
|
55
62
|
export type GetVirtualUserRunStepsInput = __PikkuCustomTypes.GetVirtualUserRunStepsInput
|
|
@@ -96,6 +103,12 @@ export type ScopeRemoveUserFromRoleInput = __PikkuCustomTypes.ScopeRemoveUserFro
|
|
|
96
103
|
export type ScopeRemoveUserFromRoleOutput = __PikkuCustomTypes.ScopeRemoveUserFromRoleOutput
|
|
97
104
|
export type ScopeSetRoleScopesInput = __PikkuCustomTypes.ScopeSetRoleScopesInput
|
|
98
105
|
export type ScopeSetRoleScopesOutput = __PikkuCustomTypes.ScopeSetRoleScopesOutput
|
|
106
|
+
export type SecretGetInput = __PikkuCustomTypes.SecretGetInput
|
|
107
|
+
export type SecretGetOutput = __PikkuCustomTypes.SecretGetOutput
|
|
108
|
+
export type SecretHasInput = __PikkuCustomTypes.SecretHasInput
|
|
109
|
+
export type SecretHasOutput = __PikkuCustomTypes.SecretHasOutput
|
|
110
|
+
export type SecretSetInput = __PikkuCustomTypes.SecretSetInput
|
|
111
|
+
export type SecretSetOutput = __PikkuCustomTypes.SecretSetOutput
|
|
99
112
|
export type SendSignInLinkInput = __PikkuCustomTypes.SendSignInLinkInput
|
|
100
113
|
export type SendSignInLinkOutput = __PikkuCustomTypes.SendSignInLinkOutput
|
|
101
114
|
export type SetUserBannedInput = __PikkuCustomTypes.SetUserBannedInput
|
|
@@ -114,6 +127,10 @@ export type TriggerSourceReconcileInput = __PikkuCustomTypes.TriggerSourceReconc
|
|
|
114
127
|
export type TriggerSourceReconcileOutput = __PikkuCustomTypes.TriggerSourceReconcileOutput
|
|
115
128
|
export type TriggerSourceTeardownInput = __PikkuCustomTypes.TriggerSourceTeardownInput
|
|
116
129
|
export type TriggerSourceTeardownOutput = __PikkuCustomTypes.TriggerSourceTeardownOutput
|
|
130
|
+
export type VariableGetInput = __PikkuCustomTypes.VariableGetInput
|
|
131
|
+
export type VariableGetOutput = __PikkuCustomTypes.VariableGetOutput
|
|
132
|
+
export type VariableSetInput = __PikkuCustomTypes.VariableSetInput
|
|
133
|
+
export type VariableSetOutput = __PikkuCustomTypes.VariableSetOutput
|
|
117
134
|
|
|
118
135
|
interface RPCHandler<I, O> {
|
|
119
136
|
input: I;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
+
"agentCredentialCheck": "agentCredentialCheck",
|
|
2
3
|
"createUser": "createUser",
|
|
3
4
|
"credentialDelete": "credentialDelete",
|
|
4
5
|
"credentialGet": "credentialGet",
|
|
@@ -16,6 +17,7 @@
|
|
|
16
17
|
"flagSetOverride": "flagSetOverride",
|
|
17
18
|
"flagSetRollout": "flagSetRollout",
|
|
18
19
|
"flagSync": "flagSync",
|
|
20
|
+
"getAddonInstances": "getAddonInstances",
|
|
19
21
|
"getAgentRunScores": "getAgentRunScores",
|
|
20
22
|
"getAgentThreadMessages": "getAgentThreadMessages",
|
|
21
23
|
"getAgentThreadRuns": "getAgentThreadRuns",
|
|
@@ -23,8 +25,11 @@
|
|
|
23
25
|
"getAuditFilters": "getAuditFilters",
|
|
24
26
|
"getAudits": "getAudits",
|
|
25
27
|
"getIncomingWebhookReceipt": "getIncomingWebhookReceipt",
|
|
28
|
+
"getInstalledAddons": "getInstalledAddons",
|
|
29
|
+
"getMyAccess": "getMyAccess",
|
|
26
30
|
"getQueueHistory": "getQueueHistory",
|
|
27
31
|
"getSchedulerHistory": "getSchedulerHistory",
|
|
32
|
+
"getScorers": "getScorers",
|
|
28
33
|
"getVirtualUserRunSteps": "getVirtualUserRunSteps",
|
|
29
34
|
"getVirtualUserRuns": "getVirtualUserRuns",
|
|
30
35
|
"getVirtualUserSchedules": "getVirtualUserSchedules",
|
|
@@ -51,6 +56,9 @@
|
|
|
51
56
|
"scopeRemoveScopeFromUser": "scopeRemoveScopeFromUser",
|
|
52
57
|
"scopeRemoveUserFromRole": "scopeRemoveUserFromRole",
|
|
53
58
|
"scopeSetRoleScopes": "scopeSetRoleScopes",
|
|
59
|
+
"secretGet": "secretGet",
|
|
60
|
+
"secretHas": "secretHas",
|
|
61
|
+
"secretSet": "secretSet",
|
|
54
62
|
"sendSignInLink": "sendSignInLink",
|
|
55
63
|
"setUserBanned": "setUserBanned",
|
|
56
64
|
"setUserPassword": "setUserPassword",
|
|
@@ -60,5 +68,7 @@
|
|
|
60
68
|
"triggerSourceForget": "triggerSourceForget",
|
|
61
69
|
"triggerSourceList": "triggerSourceList",
|
|
62
70
|
"triggerSourceReconcile": "triggerSourceReconcile",
|
|
63
|
-
"triggerSourceTeardown": "triggerSourceTeardown"
|
|
71
|
+
"triggerSourceTeardown": "triggerSourceTeardown",
|
|
72
|
+
"variableGet": "variableGet",
|
|
73
|
+
"variableSet": "variableSet"
|
|
64
74
|
}
|