@cosmicdrift/kumiko-framework 0.336.1 → 0.337.1
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/dist/api/auth-middleware.js +43 -19
- package/dist/api/auth-routes.d.ts +1 -0
- package/dist/api/auth-routes.js +20 -0
- package/dist/api/redis-sse-broker.d.ts +1 -0
- package/dist/api/redis-sse-broker.js +4 -5
- package/dist/api/server.js +3 -3
- package/dist/api/sse-route.js +14 -1
- package/dist/bun-db/query.js +6 -4
- package/dist/crypto/kek-source.js +1 -0
- package/dist/db/blind-index-cleanup.js +1 -1
- package/dist/db/event-store-executor-read.js +15 -4
- package/dist/db/queries/event-consumer.d.ts +2 -2
- package/dist/db/queries/event-consumer.js +5 -4
- package/dist/db/queries/event-store.js +6 -6
- package/dist/db/queries/projection-rebuild.js +4 -4
- package/dist/db/queries/seed-context.js +6 -6
- package/dist/derivatives/derivatives-context.js +5 -2
- package/dist/engine/boot-validator/projection-list-screens.d.ts +1 -1
- package/dist/engine/boot-validator/projection-list-screens.js +13 -0
- package/dist/engine/boot-validator/screens.js +12 -0
- package/dist/engine/build-config-feature-schema.js +4 -0
- package/dist/engine/define-feature.js +1 -0
- package/dist/engine/feature-ast/extractors/index.d.ts +1 -1
- package/dist/engine/feature-ast/extractors/index.js +1 -1
- package/dist/engine/feature-ast/extractors/jobs-routes.js +6 -2
- package/dist/engine/feature-ast/extractors/round3.d.ts +2 -1
- package/dist/engine/feature-ast/extractors/round3.js +11 -0
- package/dist/engine/feature-ast/extractors/shared.js +1 -3
- package/dist/engine/feature-ast/index.d.ts +1 -1
- package/dist/engine/feature-ast/parse.js +3 -1
- package/dist/engine/feature-ast/patch.d.ts +3 -0
- package/dist/engine/feature-ast/patch.js +8 -11
- package/dist/engine/feature-ast/patcher.d.ts +6 -1
- package/dist/engine/feature-ast/patcher.js +3 -0
- package/dist/engine/feature-ast/pattern-change-schema.d.ts +590 -1
- package/dist/engine/feature-ast/pattern-change-schema.js +17 -2
- package/dist/engine/feature-ast/patterns.d.ts +8 -2
- package/dist/engine/feature-ast/patterns.js +1 -0
- package/dist/engine/feature-ast/render.js +9 -0
- package/dist/engine/feature-builder-state.d.ts +2 -1
- package/dist/engine/feature-builder-state.js +1 -0
- package/dist/engine/feature-config-events-jobs.d.ts +4 -1
- package/dist/engine/feature-config-events-jobs.js +20 -0
- package/dist/engine/feature-ui-extensions.js +15 -21
- package/dist/engine/index.d.ts +1 -1
- package/dist/engine/pattern-library/library.js +2 -1
- package/dist/engine/pattern-library/static-schemas.d.ts +1 -0
- package/dist/engine/pattern-library/static-schemas.js +47 -4
- package/dist/engine/registry-facade.js +7 -0
- package/dist/engine/registry-ingest.js +7 -0
- package/dist/engine/registry-state.d.ts +2 -1
- package/dist/engine/registry-state.js +1 -0
- package/dist/engine/registry-validate.d.ts +1 -1
- package/dist/engine/registry-validate.js +39 -17
- package/dist/engine/registry.js +2 -2
- package/dist/engine/types/index.d.ts +2 -2
- package/dist/engine/types/index.js +1 -1
- package/dist/engine/types/screen.d.ts +1 -1
- package/dist/engine/types/screen.js +1 -1
- package/dist/errors/classes.d.ts +5 -0
- package/dist/errors/classes.js +15 -0
- package/dist/errors/index.d.ts +1 -1
- package/dist/errors/index.js +1 -1
- package/dist/i18n/required-surface-keys.js +3 -5
- package/dist/migrations/pending-rebuilds.d.ts +2 -0
- package/dist/migrations/pending-rebuilds.js +3 -0
- package/dist/pipeline/dispatch-query.js +3 -5
- package/dist/pipeline/dispatch-stream.js +2 -4
- package/dist/pipeline/dispatch-write.js +2 -4
- package/dist/pipeline/event-dispatcher-delivery.d.ts +0 -1
- package/dist/pipeline/event-dispatcher-delivery.js +1 -8
- package/dist/pipeline/event-dispatcher.js +16 -25
- package/dist/pipeline/handler-access-error.d.ts +3 -0
- package/dist/pipeline/handler-access-error.js +17 -0
- package/dist/pipeline/irreversible-operation-gate.js +9 -3
- package/dist/pipeline/member-read-only-transaction.js +8 -3
- package/dist/pipeline/system-hooks.js +7 -1
- package/dist/pipeline/system-identity-switch.js +1 -1
- package/dist/search/meilisearch-adapter.js +0 -2
- package/dist/stack/push-entity-projection-tables.js +5 -3
- package/dist/stack/redis.d.ts +1 -0
- package/dist/stack/redis.js +11 -2
- package/dist/stack/table-helpers.d.ts +3 -1
- package/dist/stack/table-helpers.js +9 -7
- package/dist/stack/test-stack.js +1 -7
- package/dist/testing/handler-context.js +3 -6
- package/dist/ui-types/index.d.ts +1 -1
- package/dist/ui-types/index.js +1 -1
- package/dist/upgrade-cli.js +29 -2
- package/package.json +4 -4
- package/src/changes.json +92 -0
- package/src/scripts/codemod/collect-source-files.ts +48 -0
- package/src/scripts/codemod/migrate-cross-tenant.ts +3 -23
- package/src/scripts/codemod/migrate-db-raw.ts +6 -23
- package/src/scripts/codemod/migrate-open-to-all.ts +4 -24
- package/src/scripts/codemod/unprocessable-error-details-reason.ts +47 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import type { ConfigKeyDefinition, ConfigKeyType, JobDefinition } from "../types/config.js";
|
|
3
|
-
import type { MetricOptions, SecretOptions } from "../types/feature.js";
|
|
3
|
+
import type { MetricOptions, SecretNamespaceOptions, SecretOptions } from "../types/feature.js";
|
|
4
4
|
import type { EntityDefinition } from "../types/fields.js";
|
|
5
5
|
import type { NavDefinition } from "../types/nav.js";
|
|
6
6
|
import type { RelationDefinition } from "../types/relations.js";
|
|
@@ -94,6 +94,12 @@ export declare const PATTERN_SCHEMAS_BY_KIND: {
|
|
|
94
94
|
shortName: z.ZodString;
|
|
95
95
|
options: z.ZodType<SecretOptions, unknown, z.core.$ZodTypeInternals<SecretOptions, unknown>>;
|
|
96
96
|
}, z.core.$strict>;
|
|
97
|
+
secretNamespace: z.ZodObject<{
|
|
98
|
+
kind: z.ZodLiteral<"secretNamespace">;
|
|
99
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
100
|
+
shortName: z.ZodString;
|
|
101
|
+
options: z.ZodType<SecretNamespaceOptions, unknown, z.core.$ZodTypeInternals<SecretNamespaceOptions, unknown>>;
|
|
102
|
+
}, z.core.$strict>;
|
|
97
103
|
claimKey: z.ZodObject<{
|
|
98
104
|
kind: z.ZodLiteral<"claimKey">;
|
|
99
105
|
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
@@ -530,6 +536,481 @@ export declare const PATTERN_SCHEMAS_BY_KIND: {
|
|
|
530
536
|
methodName: z.ZodString;
|
|
531
537
|
}, z.core.$strict>;
|
|
532
538
|
};
|
|
539
|
+
export declare const patternSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
540
|
+
kind: z.ZodLiteral<"entity">;
|
|
541
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
542
|
+
entityName: z.ZodString;
|
|
543
|
+
definition: z.ZodType<EntityDefinition, unknown, z.core.$ZodTypeInternals<EntityDefinition, unknown>>;
|
|
544
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
545
|
+
kind: z.ZodLiteral<"relation">;
|
|
546
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
547
|
+
entityName: z.ZodString;
|
|
548
|
+
relationName: z.ZodString;
|
|
549
|
+
definition: z.ZodType<RelationDefinition, unknown, z.core.$ZodTypeInternals<RelationDefinition, unknown>>;
|
|
550
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
551
|
+
kind: z.ZodLiteral<"nav">;
|
|
552
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
553
|
+
definition: z.ZodType<NavDefinition, unknown, z.core.$ZodTypeInternals<NavDefinition, unknown>>;
|
|
554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
555
|
+
kind: z.ZodLiteral<"workspace">;
|
|
556
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
557
|
+
definition: z.ZodType<WorkspaceDefinition, unknown, z.core.$ZodTypeInternals<WorkspaceDefinition, unknown>>;
|
|
558
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
559
|
+
kind: z.ZodLiteral<"config">;
|
|
560
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
561
|
+
keys: z.ZodType<Readonly<Record<string, ConfigKeyDefinition<ConfigKeyType>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, ConfigKeyDefinition<ConfigKeyType>>>, unknown>>;
|
|
562
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
563
|
+
kind: z.ZodLiteral<"translations">;
|
|
564
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
565
|
+
keys: z.ZodType<Readonly<Record<string, Readonly<Record<string, import("@cosmicdrift/kumiko-types/config").TranslationValue>>>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, Readonly<Record<string, import("@cosmicdrift/kumiko-types/config").TranslationValue>>>>, unknown>>;
|
|
566
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
567
|
+
kind: z.ZodLiteral<"requires">;
|
|
568
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
569
|
+
featureNames: z.ZodType<readonly string[], unknown, z.core.$ZodTypeInternals<readonly string[], unknown>>;
|
|
570
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
571
|
+
kind: z.ZodLiteral<"optionalRequires">;
|
|
572
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
573
|
+
featureNames: z.ZodType<readonly string[], unknown, z.core.$ZodTypeInternals<readonly string[], unknown>>;
|
|
574
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
575
|
+
kind: z.ZodLiteral<"systemScope">;
|
|
576
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
577
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
578
|
+
kind: z.ZodLiteral<"toggleable">;
|
|
579
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
580
|
+
default: z.ZodBoolean;
|
|
581
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
582
|
+
kind: z.ZodLiteral<"describe">;
|
|
583
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
584
|
+
text: z.ZodString;
|
|
585
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
586
|
+
kind: z.ZodLiteral<"uiHints">;
|
|
587
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
588
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
589
|
+
kind: z.ZodLiteral<"metric">;
|
|
590
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
591
|
+
shortName: z.ZodString;
|
|
592
|
+
options: z.ZodType<MetricOptions, unknown, z.core.$ZodTypeInternals<MetricOptions, unknown>>;
|
|
593
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
594
|
+
kind: z.ZodLiteral<"secret">;
|
|
595
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
596
|
+
shortName: z.ZodString;
|
|
597
|
+
options: z.ZodType<SecretOptions, unknown, z.core.$ZodTypeInternals<SecretOptions, unknown>>;
|
|
598
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
599
|
+
kind: z.ZodLiteral<"secretNamespace">;
|
|
600
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
601
|
+
shortName: z.ZodString;
|
|
602
|
+
options: z.ZodType<SecretNamespaceOptions, unknown, z.core.$ZodTypeInternals<SecretNamespaceOptions, unknown>>;
|
|
603
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
604
|
+
kind: z.ZodLiteral<"claimKey">;
|
|
605
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
606
|
+
shortName: z.ZodString;
|
|
607
|
+
claimType: z.ZodEnum<{
|
|
608
|
+
boolean: "boolean";
|
|
609
|
+
number: "number";
|
|
610
|
+
object: "object";
|
|
611
|
+
string: "string";
|
|
612
|
+
"string[]": "string[]";
|
|
613
|
+
}>;
|
|
614
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
615
|
+
kind: z.ZodLiteral<"referenceData">;
|
|
616
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
617
|
+
entityName: z.ZodString;
|
|
618
|
+
data: z.ZodCustom<readonly Record<string, unknown>[], readonly Record<string, unknown>[]>;
|
|
619
|
+
upsertKey: z.ZodOptional<z.ZodString>;
|
|
620
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
621
|
+
kind: z.ZodLiteral<"readsConfig">;
|
|
622
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
623
|
+
qualifiedKeys: z.ZodType<readonly string[], unknown, z.core.$ZodTypeInternals<readonly string[], unknown>>;
|
|
624
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
625
|
+
kind: z.ZodLiteral<"useExtension">;
|
|
626
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
627
|
+
extensionName: z.ZodString;
|
|
628
|
+
extensionNameRaw: z.ZodOptional<z.ZodString>;
|
|
629
|
+
entityName: z.ZodString;
|
|
630
|
+
options: z.ZodOptional<z.ZodType<Readonly<Record<string, unknown>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, unknown>>, unknown>>>;
|
|
631
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
632
|
+
kind: z.ZodLiteral<"usesApi">;
|
|
633
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
634
|
+
apiName: z.ZodString;
|
|
635
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
636
|
+
kind: z.ZodLiteral<"exposesApi">;
|
|
637
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
638
|
+
apiName: z.ZodString;
|
|
639
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
640
|
+
kind: z.ZodLiteral<"treeActions">;
|
|
641
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
642
|
+
definitions: z.ZodType<Readonly<Record<string, TreeActionDef>>, unknown, z.core.$ZodTypeInternals<Readonly<Record<string, TreeActionDef>>, unknown>>;
|
|
643
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
644
|
+
kind: z.ZodLiteral<"screen">;
|
|
645
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
646
|
+
definition: z.ZodType<ScreenDefinition, unknown, z.core.$ZodTypeInternals<ScreenDefinition, unknown>>;
|
|
647
|
+
opaqueProps: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>>>;
|
|
648
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
649
|
+
description: z.ZodOptional<z.ZodString>;
|
|
650
|
+
unsafeSkipTransitionGuard: z.ZodOptional<z.ZodBoolean>;
|
|
651
|
+
access: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
652
|
+
roles: z.ZodArray<z.ZodString>;
|
|
653
|
+
personalData: z.ZodOptional<z.ZodLiteral<"public-intake">>;
|
|
654
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
655
|
+
openToAll: z.ZodObject<{
|
|
656
|
+
reason: z.ZodString;
|
|
657
|
+
personalData: z.ZodOptional<z.ZodLiteral<"tenant-members">>;
|
|
658
|
+
}, z.core.$strict>;
|
|
659
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
660
|
+
__raw: z.ZodString;
|
|
661
|
+
}, z.core.$strict>]>>;
|
|
662
|
+
agent: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
663
|
+
expose: z.ZodOptional<z.ZodBoolean>;
|
|
664
|
+
risk: z.ZodOptional<z.ZodEnum<{
|
|
665
|
+
high: "high";
|
|
666
|
+
low: "low";
|
|
667
|
+
mid: "mid";
|
|
668
|
+
}>>;
|
|
669
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
670
|
+
__raw: z.ZodString;
|
|
671
|
+
}, z.core.$strict>]>>;
|
|
672
|
+
rateLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
673
|
+
per: z.ZodEnum<{
|
|
674
|
+
ip: "ip";
|
|
675
|
+
"ip+handler": "ip+handler";
|
|
676
|
+
tenant: "tenant";
|
|
677
|
+
"tenant+handler": "tenant+handler";
|
|
678
|
+
user: "user";
|
|
679
|
+
"user+handler": "user+handler";
|
|
680
|
+
}>;
|
|
681
|
+
limit: z.ZodNumber;
|
|
682
|
+
windowSeconds: z.ZodNumber;
|
|
683
|
+
cost: z.ZodOptional<z.ZodNumber>;
|
|
684
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
685
|
+
disabled: z.ZodLiteral<true>;
|
|
686
|
+
reason: z.ZodString;
|
|
687
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
688
|
+
__raw: z.ZodString;
|
|
689
|
+
}, z.core.$strict>]>>;
|
|
690
|
+
escapeHatch: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
691
|
+
reason: z.ZodString;
|
|
692
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
693
|
+
__raw: z.ZodString;
|
|
694
|
+
}, z.core.$strict>]>>;
|
|
695
|
+
kind: z.ZodLiteral<"writeHandler">;
|
|
696
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
697
|
+
handlerName: z.ZodOptional<z.ZodString>;
|
|
698
|
+
schemaSource: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
699
|
+
handlerBody: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
700
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
701
|
+
description: z.ZodOptional<z.ZodString>;
|
|
702
|
+
access: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
703
|
+
roles: z.ZodArray<z.ZodString>;
|
|
704
|
+
personalData: z.ZodOptional<z.ZodLiteral<"public-intake">>;
|
|
705
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
706
|
+
openToAll: z.ZodObject<{
|
|
707
|
+
reason: z.ZodString;
|
|
708
|
+
personalData: z.ZodOptional<z.ZodLiteral<"tenant-members">>;
|
|
709
|
+
}, z.core.$strict>;
|
|
710
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
711
|
+
__raw: z.ZodString;
|
|
712
|
+
}, z.core.$strict>]>>;
|
|
713
|
+
agent: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
714
|
+
expose: z.ZodOptional<z.ZodBoolean>;
|
|
715
|
+
risk: z.ZodOptional<z.ZodEnum<{
|
|
716
|
+
high: "high";
|
|
717
|
+
low: "low";
|
|
718
|
+
mid: "mid";
|
|
719
|
+
}>>;
|
|
720
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
721
|
+
__raw: z.ZodString;
|
|
722
|
+
}, z.core.$strict>]>>;
|
|
723
|
+
rateLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
724
|
+
per: z.ZodEnum<{
|
|
725
|
+
ip: "ip";
|
|
726
|
+
"ip+handler": "ip+handler";
|
|
727
|
+
tenant: "tenant";
|
|
728
|
+
"tenant+handler": "tenant+handler";
|
|
729
|
+
user: "user";
|
|
730
|
+
"user+handler": "user+handler";
|
|
731
|
+
}>;
|
|
732
|
+
limit: z.ZodNumber;
|
|
733
|
+
windowSeconds: z.ZodNumber;
|
|
734
|
+
cost: z.ZodOptional<z.ZodNumber>;
|
|
735
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
736
|
+
disabled: z.ZodLiteral<true>;
|
|
737
|
+
reason: z.ZodString;
|
|
738
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
739
|
+
__raw: z.ZodString;
|
|
740
|
+
}, z.core.$strict>]>>;
|
|
741
|
+
escapeHatch: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
742
|
+
reason: z.ZodString;
|
|
743
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
744
|
+
__raw: z.ZodString;
|
|
745
|
+
}, z.core.$strict>]>>;
|
|
746
|
+
kind: z.ZodLiteral<"queryHandler">;
|
|
747
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
748
|
+
handlerName: z.ZodOptional<z.ZodString>;
|
|
749
|
+
schemaSource: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
750
|
+
handlerBody: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
751
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
752
|
+
access: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
753
|
+
roles: z.ZodArray<z.ZodString>;
|
|
754
|
+
personalData: z.ZodOptional<z.ZodLiteral<"public-intake">>;
|
|
755
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
756
|
+
openToAll: z.ZodObject<{
|
|
757
|
+
reason: z.ZodString;
|
|
758
|
+
personalData: z.ZodOptional<z.ZodLiteral<"tenant-members">>;
|
|
759
|
+
}, z.core.$strict>;
|
|
760
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
761
|
+
__raw: z.ZodString;
|
|
762
|
+
}, z.core.$strict>]>>;
|
|
763
|
+
rateLimit: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
|
|
764
|
+
per: z.ZodEnum<{
|
|
765
|
+
ip: "ip";
|
|
766
|
+
"ip+handler": "ip+handler";
|
|
767
|
+
tenant: "tenant";
|
|
768
|
+
"tenant+handler": "tenant+handler";
|
|
769
|
+
user: "user";
|
|
770
|
+
"user+handler": "user+handler";
|
|
771
|
+
}>;
|
|
772
|
+
limit: z.ZodNumber;
|
|
773
|
+
windowSeconds: z.ZodNumber;
|
|
774
|
+
cost: z.ZodOptional<z.ZodNumber>;
|
|
775
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
776
|
+
disabled: z.ZodLiteral<true>;
|
|
777
|
+
reason: z.ZodString;
|
|
778
|
+
}, z.core.$strict>]>, z.ZodObject<{
|
|
779
|
+
__raw: z.ZodString;
|
|
780
|
+
}, z.core.$strict>]>>;
|
|
781
|
+
escapeHatch: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
782
|
+
reason: z.ZodString;
|
|
783
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
784
|
+
__raw: z.ZodString;
|
|
785
|
+
}, z.core.$strict>]>>;
|
|
786
|
+
kind: z.ZodLiteral<"streamHandler">;
|
|
787
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
788
|
+
handlerName: z.ZodOptional<z.ZodString>;
|
|
789
|
+
schemaSource: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
790
|
+
handlerBody: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
791
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
792
|
+
kind: z.ZodLiteral<"hook">;
|
|
793
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
794
|
+
hookType: z.ZodEnum<{
|
|
795
|
+
postDelete: "postDelete";
|
|
796
|
+
postQuery: "postQuery";
|
|
797
|
+
postSave: "postSave";
|
|
798
|
+
preDelete: "preDelete";
|
|
799
|
+
preQuery: "preQuery";
|
|
800
|
+
preSave: "preSave";
|
|
801
|
+
validation: "validation";
|
|
802
|
+
}>;
|
|
803
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodObject<{
|
|
804
|
+
allOf: z.ZodString;
|
|
805
|
+
}, z.core.$strict>]>;
|
|
806
|
+
fnBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
807
|
+
phase: z.ZodOptional<z.ZodEnum<{
|
|
808
|
+
afterCommit: "afterCommit";
|
|
809
|
+
inTransaction: "inTransaction";
|
|
810
|
+
}>>;
|
|
811
|
+
escapeHatch: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
812
|
+
reason: z.ZodString;
|
|
813
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
814
|
+
__raw: z.ZodString;
|
|
815
|
+
}, z.core.$strict>]>>;
|
|
816
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
817
|
+
kind: z.ZodLiteral<"job">;
|
|
818
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
819
|
+
jobName: z.ZodString;
|
|
820
|
+
options: z.ZodType<Omit<JobDefinition, "handler" | "name">, unknown, z.core.$ZodTypeInternals<Omit<JobDefinition, "handler" | "name">, unknown>>;
|
|
821
|
+
handlerBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
822
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
823
|
+
kind: z.ZodLiteral<"notification">;
|
|
824
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
825
|
+
notificationName: z.ZodString;
|
|
826
|
+
trigger: z.ZodObject<{
|
|
827
|
+
on: z.ZodString;
|
|
828
|
+
}, z.core.$strict>;
|
|
829
|
+
recipientBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
830
|
+
dataBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
831
|
+
templates: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>>;
|
|
832
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
833
|
+
kind: z.ZodLiteral<"authClaims">;
|
|
834
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
835
|
+
fnBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
836
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
837
|
+
kind: z.ZodLiteral<"httpRoute">;
|
|
838
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
839
|
+
method: z.ZodEnum<{
|
|
840
|
+
DELETE: "DELETE";
|
|
841
|
+
GET: "GET";
|
|
842
|
+
HEAD: "HEAD";
|
|
843
|
+
OPTIONS: "OPTIONS";
|
|
844
|
+
PATCH: "PATCH";
|
|
845
|
+
POST: "POST";
|
|
846
|
+
PUT: "PUT";
|
|
847
|
+
}>;
|
|
848
|
+
path: z.ZodString;
|
|
849
|
+
anonymous: z.ZodBoolean;
|
|
850
|
+
handlerBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
851
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
852
|
+
kind: z.ZodLiteral<"projection">;
|
|
853
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
854
|
+
name: z.ZodString;
|
|
855
|
+
sourceEntity: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
|
|
856
|
+
applyBodies: z.ZodRecord<z.ZodString, z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
857
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
858
|
+
kind: z.ZodLiteral<"multiStreamProjection">;
|
|
859
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
860
|
+
name: z.ZodString;
|
|
861
|
+
applyBodies: z.ZodRecord<z.ZodString, z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
862
|
+
errorMode: z.ZodOptional<z.ZodObject<{
|
|
863
|
+
continuous: z.ZodOptional<z.ZodObject<{
|
|
864
|
+
skipApplyErrors: z.ZodOptional<z.ZodBoolean>;
|
|
865
|
+
}, z.core.$strict>>;
|
|
866
|
+
rebuild: z.ZodOptional<z.ZodObject<{
|
|
867
|
+
skipApplyErrors: z.ZodOptional<z.ZodBoolean>;
|
|
868
|
+
}, z.core.$strict>>;
|
|
869
|
+
}, z.core.$strict>>;
|
|
870
|
+
runIn: z.ZodOptional<z.ZodEnum<{
|
|
871
|
+
api: "api";
|
|
872
|
+
both: "both";
|
|
873
|
+
worker: "worker";
|
|
874
|
+
}>>;
|
|
875
|
+
delivery: z.ZodOptional<z.ZodEnum<{
|
|
876
|
+
"per-instance": "per-instance";
|
|
877
|
+
shared: "shared";
|
|
878
|
+
}>>;
|
|
879
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
880
|
+
kind: z.ZodLiteral<"defineEvent">;
|
|
881
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
882
|
+
eventName: z.ZodString;
|
|
883
|
+
eventNameRaw: z.ZodOptional<z.ZodString>;
|
|
884
|
+
schemaSource: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
885
|
+
version: z.ZodOptional<z.ZodNumber>;
|
|
886
|
+
piiFields: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
887
|
+
migrations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>>;
|
|
888
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
889
|
+
kind: z.ZodLiteral<"extendsRegistrar">;
|
|
890
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
891
|
+
extensionName: z.ZodString;
|
|
892
|
+
extensionNameRaw: z.ZodOptional<z.ZodString>;
|
|
893
|
+
defBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
894
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
895
|
+
kind: z.ZodLiteral<"envSchema">;
|
|
896
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
897
|
+
schemaBody: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
898
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
899
|
+
kind: z.ZodLiteral<"ai.generate">;
|
|
900
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
901
|
+
argsSource: z.ZodOptional<z.ZodCustom<{
|
|
902
|
+
readonly __raw: string;
|
|
903
|
+
}, {
|
|
904
|
+
readonly __raw: string;
|
|
905
|
+
}>>;
|
|
906
|
+
stepKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
907
|
+
readonly __raw: string;
|
|
908
|
+
}, {
|
|
909
|
+
readonly __raw: string;
|
|
910
|
+
}>]>>;
|
|
911
|
+
promptKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
912
|
+
readonly __raw: string;
|
|
913
|
+
}, {
|
|
914
|
+
readonly __raw: string;
|
|
915
|
+
}>]>>;
|
|
916
|
+
promptFallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
917
|
+
readonly __raw: string;
|
|
918
|
+
}, {
|
|
919
|
+
readonly __raw: string;
|
|
920
|
+
}>]>>;
|
|
921
|
+
defaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
922
|
+
enabled: z.ZodBoolean;
|
|
923
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
924
|
+
model: z.ZodOptional<z.ZodString>;
|
|
925
|
+
params: z.ZodCustom<Record<string, unknown>, Record<string, unknown>>;
|
|
926
|
+
}, z.core.$strict>, z.ZodCustom<{
|
|
927
|
+
readonly __raw: string;
|
|
928
|
+
}, {
|
|
929
|
+
readonly __raw: string;
|
|
930
|
+
}>]>>;
|
|
931
|
+
paramsSchemaSource: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
932
|
+
inputBody: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
933
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
934
|
+
kind: z.ZodLiteral<"ai.extract">;
|
|
935
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
936
|
+
argsSource: z.ZodOptional<z.ZodCustom<{
|
|
937
|
+
readonly __raw: string;
|
|
938
|
+
}, {
|
|
939
|
+
readonly __raw: string;
|
|
940
|
+
}>>;
|
|
941
|
+
stepKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
942
|
+
readonly __raw: string;
|
|
943
|
+
}, {
|
|
944
|
+
readonly __raw: string;
|
|
945
|
+
}>]>>;
|
|
946
|
+
promptKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
947
|
+
readonly __raw: string;
|
|
948
|
+
}, {
|
|
949
|
+
readonly __raw: string;
|
|
950
|
+
}>]>>;
|
|
951
|
+
promptFallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
952
|
+
readonly __raw: string;
|
|
953
|
+
}, {
|
|
954
|
+
readonly __raw: string;
|
|
955
|
+
}>]>>;
|
|
956
|
+
defaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
957
|
+
enabled: z.ZodBoolean;
|
|
958
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
959
|
+
model: z.ZodOptional<z.ZodString>;
|
|
960
|
+
params: z.ZodCustom<Record<string, unknown>, Record<string, unknown>>;
|
|
961
|
+
}, z.core.$strict>, z.ZodCustom<{
|
|
962
|
+
readonly __raw: string;
|
|
963
|
+
}, {
|
|
964
|
+
readonly __raw: string;
|
|
965
|
+
}>]>>;
|
|
966
|
+
paramsSchemaSource: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
967
|
+
outputSchemaSource: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
968
|
+
instructionsBody: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
969
|
+
documentBody: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
970
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
971
|
+
kind: z.ZodLiteral<"ai.classify">;
|
|
972
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
973
|
+
argsSource: z.ZodOptional<z.ZodCustom<{
|
|
974
|
+
readonly __raw: string;
|
|
975
|
+
}, {
|
|
976
|
+
readonly __raw: string;
|
|
977
|
+
}>>;
|
|
978
|
+
stepKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
979
|
+
readonly __raw: string;
|
|
980
|
+
}, {
|
|
981
|
+
readonly __raw: string;
|
|
982
|
+
}>]>>;
|
|
983
|
+
promptKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
984
|
+
readonly __raw: string;
|
|
985
|
+
}, {
|
|
986
|
+
readonly __raw: string;
|
|
987
|
+
}>]>>;
|
|
988
|
+
promptFallback: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<{
|
|
989
|
+
readonly __raw: string;
|
|
990
|
+
}, {
|
|
991
|
+
readonly __raw: string;
|
|
992
|
+
}>]>>;
|
|
993
|
+
defaults: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
994
|
+
enabled: z.ZodBoolean;
|
|
995
|
+
providerId: z.ZodOptional<z.ZodString>;
|
|
996
|
+
model: z.ZodOptional<z.ZodString>;
|
|
997
|
+
params: z.ZodCustom<Record<string, unknown>, Record<string, unknown>>;
|
|
998
|
+
}, z.core.$strict>, z.ZodCustom<{
|
|
999
|
+
readonly __raw: string;
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly __raw: string;
|
|
1002
|
+
}>]>>;
|
|
1003
|
+
paramsSchemaSource: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
1004
|
+
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1005
|
+
type: z.ZodString;
|
|
1006
|
+
description: z.ZodString;
|
|
1007
|
+
}, z.core.$strict>>>;
|
|
1008
|
+
inputBody: z.ZodOptional<z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>>;
|
|
1009
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1010
|
+
kind: z.ZodLiteral<"unknown">;
|
|
1011
|
+
source: z.ZodType<SourceLocation, unknown, z.core.$ZodTypeInternals<SourceLocation, unknown>>;
|
|
1012
|
+
methodName: z.ZodString;
|
|
1013
|
+
}, z.core.$strict>], "kind">;
|
|
533
1014
|
export declare const PATTERN_ID_SCHEMAS_BY_KIND: {
|
|
534
1015
|
entity: z.ZodObject<{
|
|
535
1016
|
kind: z.ZodLiteral<"entity">;
|
|
@@ -579,6 +1060,10 @@ export declare const PATTERN_ID_SCHEMAS_BY_KIND: {
|
|
|
579
1060
|
kind: z.ZodLiteral<"secret">;
|
|
580
1061
|
shortName: z.ZodString;
|
|
581
1062
|
}, z.core.$strict>;
|
|
1063
|
+
secretNamespace: z.ZodObject<{
|
|
1064
|
+
kind: z.ZodLiteral<"secretNamespace">;
|
|
1065
|
+
shortName: z.ZodString;
|
|
1066
|
+
}, z.core.$strict>;
|
|
582
1067
|
claimKey: z.ZodObject<{
|
|
583
1068
|
kind: z.ZodLiteral<"claimKey">;
|
|
584
1069
|
shortName: z.ZodString;
|
|
@@ -667,4 +1152,108 @@ export declare const PATTERN_ID_SCHEMAS_BY_KIND: {
|
|
|
667
1152
|
kind: z.ZodLiteral<"treeActions">;
|
|
668
1153
|
}, z.core.$strict>;
|
|
669
1154
|
};
|
|
1155
|
+
export declare const patternIdSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1156
|
+
kind: z.ZodLiteral<"entity">;
|
|
1157
|
+
entityName: z.ZodString;
|
|
1158
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1159
|
+
kind: z.ZodLiteral<"relation">;
|
|
1160
|
+
entityName: z.ZodString;
|
|
1161
|
+
relationName: z.ZodString;
|
|
1162
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1163
|
+
kind: z.ZodLiteral<"nav">;
|
|
1164
|
+
id: z.ZodString;
|
|
1165
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1166
|
+
kind: z.ZodLiteral<"workspace">;
|
|
1167
|
+
id: z.ZodString;
|
|
1168
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1169
|
+
kind: z.ZodLiteral<"screen">;
|
|
1170
|
+
id: z.ZodString;
|
|
1171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1172
|
+
kind: z.ZodLiteral<"writeHandler">;
|
|
1173
|
+
handlerName: z.ZodString;
|
|
1174
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1175
|
+
kind: z.ZodLiteral<"queryHandler">;
|
|
1176
|
+
handlerName: z.ZodString;
|
|
1177
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1178
|
+
kind: z.ZodLiteral<"streamHandler">;
|
|
1179
|
+
handlerName: z.ZodString;
|
|
1180
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1181
|
+
kind: z.ZodLiteral<"hook">;
|
|
1182
|
+
hookType: z.ZodString;
|
|
1183
|
+
target: z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
1184
|
+
allOf: z.ZodString;
|
|
1185
|
+
}, z.core.$strict>]>;
|
|
1186
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1187
|
+
kind: z.ZodLiteral<"metric">;
|
|
1188
|
+
shortName: z.ZodString;
|
|
1189
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1190
|
+
kind: z.ZodLiteral<"secret">;
|
|
1191
|
+
shortName: z.ZodString;
|
|
1192
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1193
|
+
kind: z.ZodLiteral<"secretNamespace">;
|
|
1194
|
+
shortName: z.ZodString;
|
|
1195
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1196
|
+
kind: z.ZodLiteral<"claimKey">;
|
|
1197
|
+
shortName: z.ZodString;
|
|
1198
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1199
|
+
kind: z.ZodLiteral<"referenceData">;
|
|
1200
|
+
entityName: z.ZodString;
|
|
1201
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1202
|
+
kind: z.ZodLiteral<"useExtension">;
|
|
1203
|
+
extensionName: z.ZodString;
|
|
1204
|
+
entityName: z.ZodString;
|
|
1205
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1206
|
+
kind: z.ZodLiteral<"job">;
|
|
1207
|
+
jobName: z.ZodString;
|
|
1208
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1209
|
+
kind: z.ZodLiteral<"notification">;
|
|
1210
|
+
notificationName: z.ZodString;
|
|
1211
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1212
|
+
kind: z.ZodLiteral<"httpRoute">;
|
|
1213
|
+
method: z.ZodString;
|
|
1214
|
+
path: z.ZodString;
|
|
1215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1216
|
+
kind: z.ZodLiteral<"projection">;
|
|
1217
|
+
name: z.ZodString;
|
|
1218
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1219
|
+
kind: z.ZodLiteral<"multiStreamProjection">;
|
|
1220
|
+
name: z.ZodString;
|
|
1221
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1222
|
+
kind: z.ZodLiteral<"defineEvent">;
|
|
1223
|
+
eventName: z.ZodString;
|
|
1224
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1225
|
+
kind: z.ZodLiteral<"extendsRegistrar">;
|
|
1226
|
+
extensionName: z.ZodString;
|
|
1227
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1228
|
+
kind: z.ZodLiteral<"ai.generate">;
|
|
1229
|
+
stepKey: z.ZodString;
|
|
1230
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1231
|
+
kind: z.ZodLiteral<"ai.extract">;
|
|
1232
|
+
stepKey: z.ZodString;
|
|
1233
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1234
|
+
kind: z.ZodLiteral<"ai.classify">;
|
|
1235
|
+
stepKey: z.ZodString;
|
|
1236
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1237
|
+
kind: z.ZodLiteral<"requires">;
|
|
1238
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1239
|
+
kind: z.ZodLiteral<"optionalRequires">;
|
|
1240
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1241
|
+
kind: z.ZodLiteral<"readsConfig">;
|
|
1242
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1243
|
+
kind: z.ZodLiteral<"systemScope">;
|
|
1244
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1245
|
+
kind: z.ZodLiteral<"toggleable">;
|
|
1246
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1247
|
+
kind: z.ZodLiteral<"describe">;
|
|
1248
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1249
|
+
kind: z.ZodLiteral<"uiHints">;
|
|
1250
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1251
|
+
kind: z.ZodLiteral<"config">;
|
|
1252
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1253
|
+
kind: z.ZodLiteral<"translations">;
|
|
1254
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1255
|
+
kind: z.ZodLiteral<"authClaims">;
|
|
1256
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1257
|
+
kind: z.ZodLiteral<"treeActions">;
|
|
1258
|
+
}, z.core.$strict>], "kind">;
|
|
670
1259
|
export declare function parsePatternChanges(input: unknown): PatternChangesParseResult;
|