@pikku/addon-mindee 0.0.7 → 0.0.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.
- package/README.md +1 -1
- package/dist/.pikku/addon/agent/index.d.ts +1 -1
- package/dist/.pikku/addon/agent/index.js +1 -1
- package/dist/.pikku/addon/agent/index.ts +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 +47 -6
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js +41 -0
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.js.map +1 -1
- package/dist/.pikku/addon/agent/pikku-agent-types.gen.ts +42 -1
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.js +1 -1
- package/dist/.pikku/addon/agent/pikku-model-aliases.gen.ts +1 -1
- package/dist/.pikku/addon/agent/pikku-scorer-names.gen.d.ts +1 -1
- package/dist/.pikku/addon/analytics/index.d.ts +8 -0
- package/dist/.pikku/addon/analytics/index.d.ts.map +1 -0
- package/dist/.pikku/addon/analytics/index.js +8 -0
- package/dist/.pikku/addon/analytics/index.js.map +1 -0
- package/dist/.pikku/addon/analytics/index.ts +8 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts +6 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js +5 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.js.map +1 -0
- package/dist/.pikku/addon/analytics/pikku-analytics-types.gen.ts +25 -0
- package/dist/.pikku/addon/auth/index.d.ts +1 -1
- package/dist/.pikku/addon/auth/index.js +1 -1
- package/dist/.pikku/addon/auth/index.ts +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts +2 -19
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js +2 -19
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.js.map +1 -1
- package/dist/.pikku/addon/auth/pikku-auth-types.gen.ts +2 -19
- package/dist/.pikku/addon/channel/index.d.ts +1 -1
- package/dist/.pikku/addon/channel/index.js +1 -1
- package/dist/.pikku/addon/channel/index.ts +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts +10 -20
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js +7 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.js.map +1 -1
- package/dist/.pikku/addon/channel/pikku-channel-types.gen.ts +8 -18
- package/dist/.pikku/addon/cli/index.d.ts +8 -0
- package/dist/.pikku/addon/cli/index.d.ts.map +1 -0
- package/dist/.pikku/addon/cli/index.js +8 -0
- package/dist/.pikku/addon/cli/index.js.map +1 -0
- package/dist/.pikku/addon/cli/index.ts +8 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts +62 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.js +49 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.js.map +1 -0
- package/dist/.pikku/addon/cli/pikku-cli-types.gen.ts +88 -0
- package/dist/.pikku/addon/console/pikku-addon-meta.gen.json +5 -1
- package/dist/.pikku/addon/credentials/index.d.ts +1 -1
- package/dist/.pikku/addon/credentials/index.js +1 -1
- package/dist/.pikku/addon/credentials/index.ts +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.d.ts +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.js +1 -1
- package/dist/.pikku/addon/credentials/pikku-credentials.gen.ts +1 -1
- package/dist/.pikku/addon/db/pikku-db-meta.gen.json +1 -0
- package/dist/.pikku/addon/error/index.d.ts +1 -1
- package/dist/.pikku/addon/error/index.js +1 -1
- package/dist/.pikku/addon/error/index.ts +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/error/pikku-error-types.gen.ts +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/index.ts +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts +47 -47
- package/dist/.pikku/addon/function/pikku-function-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.js +21 -9
- package/dist/.pikku/addon/function/pikku-function-types.gen.js.map +1 -1
- package/dist/.pikku/addon/function/pikku-function-types.gen.ts +46 -44
- package/dist/.pikku/addon/function/pikku-functions-meta-verbose.gen.json +4 -2
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.json +2 -0
- package/dist/.pikku/addon/function/pikku-functions-meta.gen.ts +1 -1
- package/dist/.pikku/addon/function/pikku-functions.gen.js +1 -1
- package/dist/.pikku/addon/function/pikku-functions.gen.ts +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/index.ts +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts +3 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.js +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.js.map +1 -1
- package/dist/.pikku/addon/http/pikku-http-types.gen.ts +3 -1
- package/dist/.pikku/addon/mcp/index.d.ts +1 -1
- package/dist/.pikku/addon/mcp/index.js +1 -1
- package/dist/.pikku/addon/mcp/index.ts +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts +7 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.js.map +1 -1
- package/dist/.pikku/addon/mcp/pikku-mcp-types.gen.ts +7 -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/index.ts +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts +33 -24
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js +29 -24
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.js.map +1 -1
- package/dist/.pikku/addon/middleware/pikku-middleware-types.gen.ts +33 -24
- 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-scenarios.gen.ts +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-bootstrap.gen.ts +1 -1
- package/dist/.pikku/addon/pikku-local-services.gen.d.ts +29 -0
- package/dist/.pikku/addon/pikku-local-services.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/pikku-local-services.gen.js +42 -0
- package/dist/.pikku/addon/pikku-local-services.gen.js.map +1 -0
- package/dist/.pikku/addon/pikku-local-services.gen.ts +85 -0
- package/dist/.pikku/addon/pikku-package.gen.js +2 -1
- package/dist/.pikku/addon/pikku-package.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-package.gen.ts +3 -1
- package/dist/.pikku/addon/pikku-services.gen.d.ts +12 -3
- package/dist/.pikku/addon/pikku-services.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.js +11 -1
- package/dist/.pikku/addon/pikku-services.gen.js.map +1 -1
- package/dist/.pikku/addon/pikku-services.gen.ts +14 -3
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.gen.d.ts +2 -2
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.internal.gen.d.ts +2 -2
- package/dist/.pikku/addon/rpc/pikku-rpc-wirings-map.remote.gen.d.ts +2 -2
- 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.ts +1 -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/index.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions-meta.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-functions.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts +53 -35
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js +7 -3
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.js.map +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-types.gen.ts +57 -40
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings-meta.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.d.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-scenario-wirings.gen.ts +1 -1
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.d.ts +33 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js +29 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.js.map +1 -0
- package/dist/.pikku/addon/scenarios/pikku-virtual-users.gen.ts +52 -0
- 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/scenarios/schemas/register.gen.ts +1 -1
- package/dist/.pikku/addon/schemas/register.gen.js +1 -1
- package/dist/.pikku/addon/schemas/register.gen.ts +1 -1
- package/dist/.pikku/addon/scopes/index.d.ts +2 -1
- package/dist/.pikku/addon/scopes/index.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/index.js +2 -1
- package/dist/.pikku/addon/scopes/index.js.map +1 -1
- package/dist/.pikku/addon/scopes/index.ts +2 -1
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts +41 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.js +35 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags-manifest.gen.ts +52 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts +9 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.js +2 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-flags.gen.ts +8 -0
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-roles.gen.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts +2 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js +2 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.js.map +1 -1
- package/dist/.pikku/addon/scopes/pikku-scope-types.gen.ts +2 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.d.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-scopes.gen.ts +1 -1
- package/dist/.pikku/addon/scopes/pikku-virtual-users-meta.gen.json +1 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.d.ts +27 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js +16 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.js.map +1 -0
- package/dist/.pikku/addon/scopes/pikku-virtual-users.gen.ts +39 -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/index.ts +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-secret-types.gen.ts +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts +9 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js +5 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.js.map +1 -1
- package/dist/.pikku/addon/secrets/pikku-secrets.gen.ts +9 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.js +1 -1
- package/dist/.pikku/addon/services/pikku-meta-service.gen.ts +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/index.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts +4 -4
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.js +1 -1
- package/dist/.pikku/addon/setup/pikku-addon-setup-types.gen.ts +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts +8 -20
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js +11 -19
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.js.map +1 -1
- package/dist/.pikku/addon/setup/pikku-setup-types.gen.ts +19 -19
- package/dist/.pikku/addon/surface-usage.gen.json +326 -16
- package/dist/.pikku/addon/trigger/index.d.ts +1 -1
- package/dist/.pikku/addon/trigger/index.js +1 -1
- package/dist/.pikku/addon/trigger/index.ts +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts +64 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js +17 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.js.map +1 -1
- package/dist/.pikku/addon/trigger/pikku-trigger-types.gen.ts +58 -1
- package/dist/.pikku/addon/utils/index.d.ts +8 -0
- package/dist/.pikku/addon/utils/index.d.ts.map +1 -0
- package/dist/.pikku/addon/utils/index.js +8 -0
- package/dist/.pikku/addon/utils/index.js.map +1 -0
- package/dist/.pikku/addon/utils/index.ts +8 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts +5 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.js +5 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.js.map +1 -0
- package/dist/.pikku/addon/utils/pikku-utils-types.gen.ts +4 -0
- package/dist/.pikku/addon/variables/index.d.ts +1 -1
- package/dist/.pikku/addon/variables/index.js +1 -1
- package/dist/.pikku/addon/variables/index.ts +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-variable-types.gen.ts +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts +9 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.js +7 -2
- package/dist/.pikku/addon/variables/pikku-variables.gen.js.map +1 -1
- package/dist/.pikku/addon/variables/pikku-variables.gen.ts +10 -2
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks-meta.gen.json +1 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts +12 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.d.ts.map +1 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.js +3 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.js.map +1 -0
- package/dist/.pikku/addon/webhooks/pikku-outgoing-webhooks.gen.ts +15 -0
- package/dist/.pikku/addon/workflow/index.d.ts +1 -1
- package/dist/.pikku/addon/workflow/index.js +1 -1
- package/dist/.pikku/addon/workflow/index.ts +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 +30 -6
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.d.ts.map +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js +8 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.js.map +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-types.gen.ts +33 -2
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.js +1 -1
- package/dist/.pikku/addon/workflow/pikku-workflow-wirings-meta.gen.ts +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/.pikku/addon/workflow/pikku-workflow-wirings.gen.ts +1 -1
- package/dist/.pikku/addon/workflow/virtual-users.gen.json +1 -0
- package/dist/.pikku/runs/mvcet6gb.all.jsonl +3 -0
- package/dist/.pikku/runs/mvcf0qu1.all.jsonl +3 -0
- package/dist/src/functions/invoicePredict.function.d.ts +3 -3
- package/dist/src/functions/invoicePredict.function.d.ts.map +1 -1
- package/dist/src/functions/receiptPredict.function.d.ts +3 -3
- package/dist/src/functions/receiptPredict.function.d.ts.map +1 -1
- package/dist/src/mindee-api.service.d.ts.map +1 -1
- package/dist/src/mindee-api.service.js.map +1 -1
- package/package.json +6 -6
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts +0 -18
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.d.ts.map +0 -1
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js +0 -18
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.js.map +0 -1
- package/dist/.pikku/addon/scenarios/pikku-personas.gen.ts +0 -36
- package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts +0 -29
- package/dist/.pikku/addon/scopes/pikku-personas.gen.d.ts.map +0 -1
- package/dist/.pikku/addon/scopes/pikku-personas.gen.js +0 -18
- package/dist/.pikku/addon/scopes/pikku-personas.gen.js.map +0 -1
- package/dist/.pikku/addon/scopes/pikku-personas.gen.ts +0 -41
- /package/dist/.pikku/addon/{scopes/pikku-personas-meta.gen.json → analytics/pikku-analytics-meta.gen.json} +0 -0
- /package/dist/.pikku/addon/{workflow/personas.gen.json → scopes/pikku-flags-meta.gen.json} +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { HttpVirtualUsersConfig } from '@pikku/core/virtual-user';
|
|
2
|
+
import type { ScenarioVirtualUser } from '@pikku/core/services';
|
|
3
|
+
import type { ResolvedVirtualUser } from '@pikku/core/services';
|
|
4
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js';
|
|
5
|
+
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js';
|
|
6
|
+
export declare const virtualUserConfigs: {};
|
|
7
|
+
export type VirtualUserName = keyof typeof virtualUserConfigs;
|
|
8
|
+
/**
|
|
9
|
+
* The same virtual users as a list, widened to `ResolvedVirtualUser`. Iterating
|
|
10
|
+
* `virtualUserConfigs` directly yields the literal type of each entry, on which an
|
|
11
|
+
* optional field a virtual user did not declare does not exist — so a seed reading
|
|
12
|
+
* `roles` off every virtual user needs this instead.
|
|
13
|
+
*/
|
|
14
|
+
export declare const virtualUserList: ResolvedVirtualUser[];
|
|
15
|
+
/**
|
|
16
|
+
* The `environments` block of pikku.config.json, carried into the runtime.
|
|
17
|
+
*
|
|
18
|
+
* A virtual user's environments are checked twice: at build time against the config,
|
|
19
|
+
* and again wherever a virtual user is signed in or provisioned, against the
|
|
20
|
+
* environment the running process says it is (`PIKKU_ENV`). The second check
|
|
21
|
+
* is not the first one repeated — the build check trusts the file, and the run
|
|
22
|
+
* check does not trust which artifact got deployed — so the rule needs the
|
|
23
|
+
* config on both sides of the build.
|
|
24
|
+
*/
|
|
25
|
+
export declare const virtualUserEnvironments: {};
|
|
26
|
+
export type AgentName = keyof AgentMap & string;
|
|
27
|
+
/**
|
|
28
|
+
* The virtual users this project declares, keyed by name — the `virtual users` a scenario
|
|
29
|
+
* step runs as.
|
|
30
|
+
*/
|
|
31
|
+
export type TypedVirtualUsers = Record<VirtualUserName, ScenarioVirtualUser<AgentName, FlattenedRPCMap>>;
|
|
32
|
+
export declare const createVirtualUsers: (options: Omit<HttpVirtualUsersConfig, 'virtualUsers'>) => TypedVirtualUsers;
|
|
33
|
+
//# sourceMappingURL=pikku-virtual-users.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-virtual-users.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scenarios/pikku-virtual-users.gen.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAA;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AAE5E,eAAO,MAAM,kBAAkB,IAA4D,CAAA;AAE3F,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,kBAAkB,CAAA;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,eAAe,EAAE,mBAAmB,EAAsC,CAAA;AAEvF;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,IAAiE,CAAA;AAErG,MAAM,MAAM,SAAS,GAAG,MAAM,QAAQ,GAAG,MAAM,CAAA;AAC/C;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CACpC,eAAe,EACf,mBAAmB,CAAC,SAAS,EAAE,eAAe,CAAC,CAChD,CAAA;AAED,eAAO,MAAM,kBAAkB,YACpB,IAAI,CAAC,sBAAsB,EAAE,cAAc,CAAC,KACpD,iBAIsB,CAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
|
+
*/
|
|
4
|
+
/** Virtual users declared with defineVirtualUsers() */
|
|
5
|
+
import { createHttpVirtualUsers } from '@pikku/core/virtual-user';
|
|
6
|
+
export const virtualUserConfigs = {};
|
|
7
|
+
/**
|
|
8
|
+
* The same virtual users as a list, widened to `ResolvedVirtualUser`. Iterating
|
|
9
|
+
* `virtualUserConfigs` directly yields the literal type of each entry, on which an
|
|
10
|
+
* optional field a virtual user did not declare does not exist — so a seed reading
|
|
11
|
+
* `roles` off every virtual user needs this instead.
|
|
12
|
+
*/
|
|
13
|
+
export const virtualUserList = Object.values(virtualUserConfigs);
|
|
14
|
+
/**
|
|
15
|
+
* The `environments` block of pikku.config.json, carried into the runtime.
|
|
16
|
+
*
|
|
17
|
+
* A virtual user's environments are checked twice: at build time against the config,
|
|
18
|
+
* and again wherever a virtual user is signed in or provisioned, against the
|
|
19
|
+
* environment the running process says it is (`PIKKU_ENV`). The second check
|
|
20
|
+
* is not the first one repeated — the build check trusts the file, and the run
|
|
21
|
+
* check does not trust which artifact got deployed — so the rule needs the
|
|
22
|
+
* config on both sides of the build.
|
|
23
|
+
*/
|
|
24
|
+
export const virtualUserEnvironments = {};
|
|
25
|
+
export const createVirtualUsers = (options) => createHttpVirtualUsers({
|
|
26
|
+
...options,
|
|
27
|
+
virtualUsers: virtualUserConfigs,
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=pikku-virtual-users.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-virtual-users.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scenarios/pikku-virtual-users.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,uDAAuD;AACvD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAOjE,MAAM,CAAC,MAAM,kBAAkB,GAAG,EAAyD,CAAA;AAI3F;;;;;GAKG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAA;AAEvF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,EAA8D,CAAA;AAYrG,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,OAAqD,EAClC,EAAE,CACrB,sBAAsB,CAAC;IACrB,GAAG,OAAO;IACV,YAAY,EAAE,kBAAkB;CACjC,CAAsB,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
|
+
*/
|
|
4
|
+
/** Virtual users declared with defineVirtualUsers() */
|
|
5
|
+
import { createHttpVirtualUsers } from '@pikku/core/virtual-user'
|
|
6
|
+
import type { HttpVirtualUsersConfig } from '@pikku/core/virtual-user'
|
|
7
|
+
import type { ScenarioVirtualUser } from '@pikku/core/services'
|
|
8
|
+
import type { ResolvedVirtualUser } from '@pikku/core/services'
|
|
9
|
+
import type { AgentMap } from '../agent/pikku-agent-map.gen.d.js'
|
|
10
|
+
import type { FlattenedRPCMap } from '../rpc/pikku-rpc-wirings-map.gen.d.js'
|
|
11
|
+
|
|
12
|
+
export const virtualUserConfigs = {} as const satisfies Record<string, ResolvedVirtualUser>
|
|
13
|
+
|
|
14
|
+
export type VirtualUserName = keyof typeof virtualUserConfigs
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The same virtual users as a list, widened to `ResolvedVirtualUser`. Iterating
|
|
18
|
+
* `virtualUserConfigs` directly yields the literal type of each entry, on which an
|
|
19
|
+
* optional field a virtual user did not declare does not exist — so a seed reading
|
|
20
|
+
* `roles` off every virtual user needs this instead.
|
|
21
|
+
*/
|
|
22
|
+
export const virtualUserList: ResolvedVirtualUser[] = Object.values(virtualUserConfigs)
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* The `environments` block of pikku.config.json, carried into the runtime.
|
|
26
|
+
*
|
|
27
|
+
* A virtual user's environments are checked twice: at build time against the config,
|
|
28
|
+
* and again wherever a virtual user is signed in or provisioned, against the
|
|
29
|
+
* environment the running process says it is (`PIKKU_ENV`). The second check
|
|
30
|
+
* is not the first one repeated — the build check trusts the file, and the run
|
|
31
|
+
* check does not trust which artifact got deployed — so the rule needs the
|
|
32
|
+
* config on both sides of the build.
|
|
33
|
+
*/
|
|
34
|
+
export const virtualUserEnvironments = {} as const satisfies Record<string, { production?: boolean }>
|
|
35
|
+
|
|
36
|
+
export type AgentName = keyof AgentMap & string
|
|
37
|
+
/**
|
|
38
|
+
* The virtual users this project declares, keyed by name — the `virtual users` a scenario
|
|
39
|
+
* step runs as.
|
|
40
|
+
*/
|
|
41
|
+
export type TypedVirtualUsers = Record<
|
|
42
|
+
VirtualUserName,
|
|
43
|
+
ScenarioVirtualUser<AgentName, FlattenedRPCMap>
|
|
44
|
+
>
|
|
45
|
+
|
|
46
|
+
export const createVirtualUsers = (
|
|
47
|
+
options: Omit<HttpVirtualUsersConfig, 'virtualUsers'>
|
|
48
|
+
): TypedVirtualUsers =>
|
|
49
|
+
createHttpVirtualUsers({
|
|
50
|
+
...options,
|
|
51
|
+
virtualUsers: virtualUserConfigs,
|
|
52
|
+
}) as TypedVirtualUsers
|
|
@@ -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.190
|
|
3
3
|
*/
|
|
4
4
|
import { addSchema } from '@pikku/core/schema';
|
|
5
5
|
import * as CredentialSchema_mindee from './schemas/CredentialSchema_mindee.schema.json' with { type: 'json' };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Subpath entry — `#pikku/scopes` resolves here.
|
|
6
6
|
*/
|
|
7
7
|
export * from './pikku-scope-types.gen.js';
|
|
8
|
+
export * from './pikku-flags.gen.js';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
5
|
* Subpath entry — `#pikku/scopes` resolves here.
|
|
6
6
|
*/
|
|
7
7
|
export * from './pikku-scope-types.gen.js';
|
|
8
|
+
export * from './pikku-flags.gen.js';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AAEH,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This file was generated by the @pikku/cli
|
|
6
|
+
*/
|
|
7
|
+
import type { DeclaredFlag } from '@pikku/core/flag';
|
|
8
|
+
import type { FeatureFlagName } from './pikku-flags.gen.js';
|
|
9
|
+
/**
|
|
10
|
+
* The declared flag set, for a FeatureFlagStore to sync into its store.
|
|
11
|
+
*
|
|
12
|
+
* Derived from the metadata sidecar rather than inlined, so the import above
|
|
13
|
+
* forces tsc to emit the .json alongside this file — an addon publishes only
|
|
14
|
+
* its compiled output, and a host reads that .json to merge the addon's flags
|
|
15
|
+
* into its own union.
|
|
16
|
+
*
|
|
17
|
+
* Additive on removal: a deleted declaration leaves the row marked
|
|
18
|
+
* `declared: false` rather than switching a feature off on deploy. Use
|
|
19
|
+
* `pikku flags prune` to remove them.
|
|
20
|
+
*/
|
|
21
|
+
export declare const declaredFeatureFlags: DeclaredFlag[];
|
|
22
|
+
/**
|
|
23
|
+
* Declared flags, keyed by name. Rendered by the console beside each switch.
|
|
24
|
+
*
|
|
25
|
+
* Keyed by `FeatureFlagName` so a misspelled lookup is a type error, which is
|
|
26
|
+
* the whole point of generating the union. The assertion is what
|
|
27
|
+
* `Object.fromEntries` costs — it returns an index signature — and it is
|
|
28
|
+
* sound here because both this object and the union are built from
|
|
29
|
+
* `declaredFeatureFlags`, so every key of the union is present.
|
|
30
|
+
*/
|
|
31
|
+
export declare const featureFlagsMeta: Record<FeatureFlagName, DeclaredFlag>;
|
|
32
|
+
/**
|
|
33
|
+
* What a flag source falls back to when its backing store cannot be read: every
|
|
34
|
+
* declared flag on, no rollout, no overrides.
|
|
35
|
+
*
|
|
36
|
+
* Failing open is deliberate. A flag store is not an authorization boundary —
|
|
37
|
+
* `scopes:` is — so an unreadable config must not take the product down with
|
|
38
|
+
* it.
|
|
39
|
+
*/
|
|
40
|
+
export declare const featureFlagsFallback: import("@pikku/core/flag").FlagConfigSnapshot;
|
|
41
|
+
//# sourceMappingURL=pikku-flags-manifest.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-flags-manifest.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-flags-manifest.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,OAAO,KAAK,EAAE,YAAY,EAA8B,MAAM,kBAAkB,CAAA;AAKhF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG3D;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,EAAE,YAAY,EAE9C,CAAA;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAExB,MAAM,CAAC,eAAe,EAAE,YAAY,CAAC,CAAA;AAE1C;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,+CAAiD,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { compiledFallbackSnapshot, flattenFeatureFlagDefinitions, } from '@pikku/core/flag';
|
|
2
|
+
import definitions from './pikku-flags-meta.gen.json' with { type: 'json' };
|
|
3
|
+
/**
|
|
4
|
+
* The declared flag set, for a FeatureFlagStore 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 flags
|
|
9
|
+
* into its own union.
|
|
10
|
+
*
|
|
11
|
+
* Additive on removal: a deleted declaration leaves the row marked
|
|
12
|
+
* `declared: false` rather than switching a feature off on deploy. Use
|
|
13
|
+
* `pikku flags prune` to remove them.
|
|
14
|
+
*/
|
|
15
|
+
export const declaredFeatureFlags = flattenFeatureFlagDefinitions(Object.values(definitions));
|
|
16
|
+
/**
|
|
17
|
+
* Declared flags, keyed by name. Rendered by the console beside each switch.
|
|
18
|
+
*
|
|
19
|
+
* Keyed by `FeatureFlagName` so a misspelled lookup is a type error, which is
|
|
20
|
+
* the whole point of generating the union. The assertion is what
|
|
21
|
+
* `Object.fromEntries` costs — it returns an index signature — and it is
|
|
22
|
+
* sound here because both this object and the union are built from
|
|
23
|
+
* `declaredFeatureFlags`, so every key of the union is present.
|
|
24
|
+
*/
|
|
25
|
+
export const featureFlagsMeta = Object.fromEntries(declaredFeatureFlags.map((flag) => [flag.name, flag]));
|
|
26
|
+
/**
|
|
27
|
+
* What a flag source falls back to when its backing store cannot be read: every
|
|
28
|
+
* declared flag on, no rollout, no overrides.
|
|
29
|
+
*
|
|
30
|
+
* Failing open is deliberate. A flag store is not an authorization boundary —
|
|
31
|
+
* `scopes:` is — so an unreadable config must not take the product down with
|
|
32
|
+
* it.
|
|
33
|
+
*/
|
|
34
|
+
export const featureFlagsFallback = compiledFallbackSnapshot(declaredFeatureFlags);
|
|
35
|
+
//# sourceMappingURL=pikku-flags-manifest.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-flags-manifest.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-flags-manifest.gen.ts"],"names":[],"mappings":"AAOA,OAAO,EACL,wBAAwB,EACxB,6BAA6B,GAC9B,MAAM,kBAAkB,CAAA;AAEzB,OAAO,WAAW,MAAM,6BAA6B,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAE3E;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAmB,6BAA6B,CAC/E,MAAM,CAAC,MAAM,CAAC,WAAyC,CAAC,CACzD,CAAA;AAED;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,WAAW,CAChD,oBAAoB,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CACb,CAAA;AAE1C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,wBAAwB,CAAC,oBAAoB,CAAC,CAAA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This file was generated by the @pikku/cli
|
|
6
|
+
*/
|
|
7
|
+
import type { DeclaredFlag, FeatureFlagDefinitionsMeta } from '@pikku/core/flag'
|
|
8
|
+
import {
|
|
9
|
+
compiledFallbackSnapshot,
|
|
10
|
+
flattenFeatureFlagDefinitions,
|
|
11
|
+
} from '@pikku/core/flag'
|
|
12
|
+
import type { FeatureFlagName } from './pikku-flags.gen.js'
|
|
13
|
+
import definitions from './pikku-flags-meta.gen.json' with { type: 'json' }
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* The declared flag set, for a FeatureFlagStore 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 flags
|
|
21
|
+
* into its own union.
|
|
22
|
+
*
|
|
23
|
+
* Additive on removal: a deleted declaration leaves the row marked
|
|
24
|
+
* `declared: false` rather than switching a feature off on deploy. Use
|
|
25
|
+
* `pikku flags prune` to remove them.
|
|
26
|
+
*/
|
|
27
|
+
export const declaredFeatureFlags: DeclaredFlag[] = flattenFeatureFlagDefinitions(
|
|
28
|
+
Object.values(definitions as FeatureFlagDefinitionsMeta)
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Declared flags, keyed by name. Rendered by the console beside each switch.
|
|
33
|
+
*
|
|
34
|
+
* Keyed by `FeatureFlagName` so a misspelled lookup is a type error, which is
|
|
35
|
+
* the whole point of generating the union. The assertion is what
|
|
36
|
+
* `Object.fromEntries` costs — it returns an index signature — and it is
|
|
37
|
+
* sound here because both this object and the union are built from
|
|
38
|
+
* `declaredFeatureFlags`, so every key of the union is present.
|
|
39
|
+
*/
|
|
40
|
+
export const featureFlagsMeta = Object.fromEntries(
|
|
41
|
+
declaredFeatureFlags.map((flag) => [flag.name, flag])
|
|
42
|
+
) as Record<FeatureFlagName, DeclaredFlag>
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* What a flag source falls back to when its backing store cannot be read: every
|
|
46
|
+
* declared flag on, no rollout, no overrides.
|
|
47
|
+
*
|
|
48
|
+
* Failing open is deliberate. A flag store is not an authorization boundary —
|
|
49
|
+
* `scopes:` is — so an unreadable config must not take the product down with
|
|
50
|
+
* it.
|
|
51
|
+
*/
|
|
52
|
+
export const featureFlagsFallback = compiledFallbackSnapshot(declaredFeatureFlags)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-flags.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-flags.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,uDAAuD;AACvD,MAAM,MAAM,eAAe,GAAG,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-flags.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-flags.gen.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-roles.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/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,
|
|
1
|
+
{"version":3,"file":"pikku-roles.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/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,SAAU,MAAM,KAAG,OACmB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
3
|
*/
|
|
4
4
|
export { defineScope } from '@pikku/core/scope';
|
|
5
5
|
export { defineSystemRole } from '@pikku/core/role';
|
|
6
|
+
export { defineFeatureFlags } from '@pikku/core/flag';
|
|
6
7
|
//# sourceMappingURL=pikku-scope-types.gen.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-scope-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-scope-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"pikku-scope-types.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-scope-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
3
|
*/
|
|
4
4
|
export { defineScope } from '@pikku/core/scope';
|
|
5
5
|
export { defineSystemRole } from '@pikku/core/role';
|
|
6
|
+
export { defineFeatureFlags } from '@pikku/core/flag';
|
|
6
7
|
//# sourceMappingURL=pikku-scope-types.gen.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pikku-scope-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-scope-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
1
|
+
{"version":3,"file":"pikku-scope-types.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-scope-types.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file was generated by @pikku/cli@0.12.
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
3
|
*/
|
|
4
4
|
export { defineScope } from '@pikku/core/scope'
|
|
5
5
|
export { defineSystemRole } from '@pikku/core/role'
|
|
6
|
+
export { defineFeatureFlags } from '@pikku/core/flag'
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { VirtualUserMeta, VirtualUsersMeta } from '@pikku/core/virtual-user';
|
|
2
|
+
import type { CoreVirtualUser } from '@pikku/core/virtual-user';
|
|
3
|
+
import type { SystemRoleName } from './pikku-roles.gen.js';
|
|
4
|
+
/** Every environment configured in pikku.config.json. */
|
|
5
|
+
type EnvironmentName = never;
|
|
6
|
+
/**
|
|
7
|
+
* A virtual user whose roles are checked against `defineSystemRole` and whose
|
|
8
|
+
* environments are checked against the config.
|
|
9
|
+
*
|
|
10
|
+
* Omitting `environments` means every environment except the ones flagged
|
|
11
|
+
* `production: true`. Naming a production one additionally requires
|
|
12
|
+
* `disposition: 'accountable'`, which the type cannot express and `pikku`
|
|
13
|
+
* refuses at build time.
|
|
14
|
+
*/
|
|
15
|
+
type TypedVirtualUser = Omit<CoreVirtualUser, 'roles' | 'environments'> & {
|
|
16
|
+
roles?: SystemRoleName[];
|
|
17
|
+
environments?: EnvironmentName[];
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Declare the people who use this application.
|
|
21
|
+
*/
|
|
22
|
+
export declare const defineVirtualUsers: (virtualUsers: Record<string, TypedVirtualUser>) => void;
|
|
23
|
+
/** Declared virtual users, keyed by id. Read by the console and `pikku virtual-user`. */
|
|
24
|
+
export declare const VIRTUAL_USERS: VirtualUsersMeta;
|
|
25
|
+
export declare const VIRTUAL_USER_LIST: VirtualUserMeta[];
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=pikku-virtual-users.gen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-virtual-users.gen.d.ts","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-virtual-users.gen.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAA;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAG1D,yDAAyD;AACzD,KAAK,eAAe,GAAG,KAAK,CAAA;AAE5B;;;;;;;;GAQG;AACH,KAAK,gBAAgB,GAAG,IAAI,CAAC,eAAe,EAAE,OAAO,GAAG,cAAc,CAAC,GAAG;IACxE,KAAK,CAAC,EAAE,cAAc,EAAE,CAAA;IACxB,YAAY,CAAC,EAAE,eAAe,EAAE,CAAA;CACjC,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,iBAAkB,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,KAAG,IAC9C,CAAA;AAEtC,yFAAyF;AACzF,eAAO,MAAM,aAAa,EAAE,gBAA6D,CAAA;AAEzF,eAAO,MAAM,iBAAiB,EAAE,eAAe,EAAiC,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This file was generated by the @pikku/cli
|
|
6
|
+
*/
|
|
7
|
+
import { defineVirtualUsers as defineVirtualUsersCore } from '@pikku/core/virtual-user';
|
|
8
|
+
import definitions from './pikku-virtual-users-meta.gen.json' with { type: 'json' };
|
|
9
|
+
/**
|
|
10
|
+
* Declare the people who use this application.
|
|
11
|
+
*/
|
|
12
|
+
export const defineVirtualUsers = (virtualUsers) => defineVirtualUsersCore(virtualUsers);
|
|
13
|
+
/** Declared virtual users, keyed by id. Read by the console and `pikku virtual-user`. */
|
|
14
|
+
export const VIRTUAL_USERS = definitions;
|
|
15
|
+
export const VIRTUAL_USER_LIST = Object.values(VIRTUAL_USERS);
|
|
16
|
+
//# sourceMappingURL=pikku-virtual-users.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pikku-virtual-users.gen.js","sourceRoot":"","sources":["../../../../.pikku/addon/scopes/pikku-virtual-users.gen.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH;;GAEG;AACH,OAAO,EAAE,kBAAkB,IAAI,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AAIvF,OAAO,WAAW,MAAM,qCAAqC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAmBnF;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,YAA8C,EAAQ,EAAE,CACzF,sBAAsB,CAAC,YAAY,CAAC,CAAA;AAEtC,yFAAyF;AACzF,MAAM,CAAC,MAAM,aAAa,GAAqB,WAA0C,CAAA;AAEzF,MAAM,CAAC,MAAM,iBAAiB,GAAsB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was generated by @pikku/cli@0.12.190
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* This file was generated by the @pikku/cli
|
|
6
|
+
*/
|
|
7
|
+
import { defineVirtualUsers as defineVirtualUsersCore } from '@pikku/core/virtual-user'
|
|
8
|
+
import type { VirtualUserMeta, VirtualUsersMeta } from '@pikku/core/virtual-user'
|
|
9
|
+
import type { CoreVirtualUser } from '@pikku/core/virtual-user'
|
|
10
|
+
import type { SystemRoleName } from './pikku-roles.gen.js'
|
|
11
|
+
import definitions from './pikku-virtual-users-meta.gen.json' with { type: 'json' }
|
|
12
|
+
|
|
13
|
+
/** Every environment configured in pikku.config.json. */
|
|
14
|
+
type EnvironmentName = never
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* A virtual user whose roles are checked against `defineSystemRole` and whose
|
|
18
|
+
* environments are checked against the config.
|
|
19
|
+
*
|
|
20
|
+
* Omitting `environments` means every environment except the ones flagged
|
|
21
|
+
* `production: true`. Naming a production one additionally requires
|
|
22
|
+
* `disposition: 'accountable'`, which the type cannot express and `pikku`
|
|
23
|
+
* refuses at build time.
|
|
24
|
+
*/
|
|
25
|
+
type TypedVirtualUser = Omit<CoreVirtualUser, 'roles' | 'environments'> & {
|
|
26
|
+
roles?: SystemRoleName[]
|
|
27
|
+
environments?: EnvironmentName[]
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Declare the people who use this application.
|
|
32
|
+
*/
|
|
33
|
+
export const defineVirtualUsers = (virtualUsers: Record<string, TypedVirtualUser>): void =>
|
|
34
|
+
defineVirtualUsersCore(virtualUsers)
|
|
35
|
+
|
|
36
|
+
/** Declared virtual users, keyed by id. Read by the console and `pikku virtual-user`. */
|
|
37
|
+
export const VIRTUAL_USERS: VirtualUsersMeta = definitions as unknown as VirtualUsersMeta
|
|
38
|
+
|
|
39
|
+
export const VIRTUAL_USER_LIST: VirtualUserMeta[] = Object.values(VIRTUAL_USERS)
|