sonamu 0.10.13 → 0.11.0
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/ai/agents/agent.d.ts.map +1 -1
- package/dist/ai/providers/rtzr/error.d.ts.map +1 -1
- package/dist/ai/providers/rtzr/model.d.ts.map +1 -1
- package/dist/ai/providers/rtzr/utils.d.ts.map +1 -1
- package/dist/api/base-frame.d.ts.map +1 -1
- package/dist/api/decorators.d.ts.map +1 -1
- package/dist/api/sonamu.d.ts.map +1 -1
- package/dist/api/sonamu.js +3 -2
- package/dist/api/validator.d.ts.map +1 -1
- package/dist/auth/audit-log/events.d.ts.map +1 -1
- package/dist/auth/index.d.ts +1 -1
- package/dist/auth/index.d.ts.map +1 -1
- package/dist/auth/index.js +3 -3
- package/dist/auth/knex-adapter.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/admin.d.ts +4 -4
- package/dist/auth/plugins/wrappers/admin.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/anonymous.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/api-key.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/jwt.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/organization.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/passkey.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/phone-number.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/sso.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/two-factor.d.ts.map +1 -1
- package/dist/auth/plugins/wrappers/username.d.ts.map +1 -1
- package/dist/bin/build-config.d.ts +10 -0
- package/dist/bin/build-config.d.ts.map +1 -1
- package/dist/bin/build-config.js +130 -6
- package/dist/bin/fixture.d.ts +7 -4
- package/dist/bin/fixture.d.ts.map +1 -1
- package/dist/bin/fixture.js +161 -13
- package/dist/bin/test-command.d.ts +7 -0
- package/dist/bin/test-command.d.ts.map +1 -1
- package/dist/bin/test-command.js +18 -4
- package/dist/bin/typecheck-web.d.ts +2 -0
- package/dist/bin/typecheck-web.d.ts.map +1 -0
- package/dist/bin/typecheck-web.js +36 -0
- package/dist/cache/decorator.d.ts.map +1 -1
- package/dist/cache/drivers.d.ts.map +1 -1
- package/dist/cache-control/cache-control.d.ts.map +1 -1
- package/dist/compress/compress.d.ts.map +1 -1
- package/dist/cone/cone-generator.js +1 -1
- package/dist/database/base-model.d.ts.map +1 -1
- package/dist/database/base-model.types.d.ts +0 -1
- package/dist/database/base-model.types.d.ts.map +1 -1
- package/dist/database/db.d.ts.map +1 -1
- package/dist/database/puri-subset.types.d.ts +0 -1
- package/dist/database/puri-subset.types.d.ts.map +1 -1
- package/dist/database/puri-wrapper.d.ts +0 -1
- package/dist/database/puri-wrapper.d.ts.map +1 -1
- package/dist/database/puri.d.ts +0 -1
- package/dist/database/puri.d.ts.map +1 -1
- package/dist/database/puri.types.d.ts +0 -1
- package/dist/database/puri.types.d.ts.map +1 -1
- package/dist/database/transaction-context.d.ts.map +1 -1
- package/dist/database/upsert-builder.d.ts.map +1 -1
- package/dist/dict/en.d.ts +58 -58
- package/dist/dict/en.d.ts.map +1 -1
- package/dist/dict/ko.d.ts +58 -58
- package/dist/dict/ko.d.ts.map +1 -1
- package/dist/dict/rc-keys.d.ts.map +1 -1
- package/dist/dict/sonamu-dictionary.d.ts.map +1 -1
- package/dist/dict/sonamu-dictionary.js +2 -2
- package/dist/dict/utils.d.ts.map +1 -1
- package/dist/entity/entity-manager.d.ts +115 -113
- package/dist/entity/entity-manager.d.ts.map +1 -1
- package/dist/entity/entity-manager.js +25 -19
- package/dist/entity/entity-template-cone.d.ts +4 -4
- package/dist/entity/entity.d.ts +6 -1
- package/dist/entity/entity.d.ts.map +1 -1
- package/dist/entity/entity.js +8 -3
- package/dist/env.d.ts.map +1 -1
- package/dist/exceptions/so-exceptions.d.ts.map +1 -1
- package/dist/filter/types.d.ts.map +1 -1
- package/dist/index.js +6 -6
- package/dist/logger/configure.d.ts +10 -1
- package/dist/logger/configure.d.ts.map +1 -1
- package/dist/logger/configure.js +30 -5
- package/dist/migration/migrator.d.ts +12 -1
- package/dist/migration/migrator.d.ts.map +1 -1
- package/dist/migration/migrator.js +77 -30
- package/dist/migration/postgresql-schema-reader.d.ts.map +1 -1
- package/dist/migration/slack-confirm.d.ts.map +1 -1
- package/dist/naite/messaging-types.d.ts +0 -1
- package/dist/naite/messaging-types.d.ts.map +1 -1
- package/dist/naite/naite-reporter.d.ts +0 -1
- package/dist/naite/naite-reporter.d.ts.map +1 -1
- package/dist/naite/naite.d.ts.map +1 -1
- package/dist/storage/base-file.d.ts.map +1 -1
- package/dist/storage/buffered-file.d.ts.map +1 -1
- package/dist/storage/drivers.d.ts.map +1 -1
- package/dist/storage/s3-driver.d.ts.map +1 -1
- package/dist/storage/storage-manager.d.ts.map +1 -1
- package/dist/storage/uploaded-file.d.ts.map +1 -1
- package/dist/stream/ws-audience-resolver.d.ts.map +1 -1
- package/dist/stream/ws-audience.d.ts.map +1 -1
- package/dist/stream/ws-cluster-bus.d.ts.map +1 -1
- package/dist/stream/ws-delivery.d.ts.map +1 -1
- package/dist/stream/ws-local-connection-store.d.ts.map +1 -1
- package/dist/stream/ws-presence-store.d.ts.map +1 -1
- package/dist/stream/ws-registry.d.ts.map +1 -1
- package/dist/stream/ws-telemetry-memory.d.ts.map +1 -1
- package/dist/stream/ws-telemetry.d.ts.map +1 -1
- package/dist/stream/ws.d.ts.map +1 -1
- package/dist/syncer/api-parser.js +2 -2
- package/dist/syncer/file-patterns.d.ts +17 -17
- package/dist/syncer/filesystem-dependencies.js +1 -1
- package/dist/syncer/syncer.d.ts.map +1 -1
- package/dist/tasks/step-wrapper.d.ts.map +1 -1
- package/dist/tasks/workflow-manager.d.ts.map +1 -1
- package/dist/template/implementations/entity.template.d.ts +2 -2
- package/dist/template/implementations/entity.template.d.ts.map +1 -1
- package/dist/template/implementations/entry-server.template.d.ts +2 -2
- package/dist/template/implementations/entry-server.template.d.ts.map +1 -1
- package/dist/template/implementations/generated.template.d.ts +2 -2
- package/dist/template/implementations/generated.template.d.ts.map +1 -1
- package/dist/template/implementations/generated_http.template.d.ts +2 -2
- package/dist/template/implementations/generated_http.template.d.ts.map +1 -1
- package/dist/template/implementations/generated_sso.template.d.ts +2 -2
- package/dist/template/implementations/generated_sso.template.d.ts.map +1 -1
- package/dist/template/implementations/http_validators.template.d.ts +2 -2
- package/dist/template/implementations/http_validators.template.d.ts.map +1 -1
- package/dist/template/implementations/init_types.template.d.ts +2 -2
- package/dist/template/implementations/init_types.template.d.ts.map +1 -1
- package/dist/template/implementations/model.template.d.ts +2 -2
- package/dist/template/implementations/model.template.d.ts.map +1 -1
- package/dist/template/implementations/model_test.template.d.ts +2 -2
- package/dist/template/implementations/model_test.template.d.ts.map +1 -1
- package/dist/template/implementations/queries.template.d.ts +2 -2
- package/dist/template/implementations/queries.template.d.ts.map +1 -1
- package/dist/template/implementations/sd.template.d.ts +2 -2
- package/dist/template/implementations/sd.template.d.ts.map +1 -1
- package/dist/template/implementations/sd.template.js +1 -1
- package/dist/template/implementations/services.template.d.ts +2 -2
- package/dist/template/implementations/services.template.d.ts.map +1 -1
- package/dist/template/implementations/view_form.template.d.ts +3 -3
- package/dist/template/implementations/view_form.template.d.ts.map +1 -1
- package/dist/template/implementations/view_id_all_select.template.d.ts +2 -2
- package/dist/template/implementations/view_id_all_select.template.d.ts.map +1 -1
- package/dist/template/implementations/view_list.template.d.ts +2 -2
- package/dist/template/implementations/view_list.template.d.ts.map +1 -1
- package/dist/template/implementations/view_search_input.template.d.ts +2 -2
- package/dist/template/implementations/view_search_input.template.d.ts.map +1 -1
- package/dist/template/template-manager.d.ts.map +1 -1
- package/dist/template/template.d.ts.map +1 -1
- package/dist/template/zod-converter.d.ts.map +1 -1
- package/dist/testing/_relation-graph.d.ts.map +1 -1
- package/dist/testing/data-explorer.d.ts +2 -2
- package/dist/testing/data-explorer.d.ts.map +1 -1
- package/dist/testing/dev-vitest-manager.d.ts.map +1 -1
- package/dist/testing/faker-mappings.d.ts.map +1 -1
- package/dist/testing/fixture-generator.d.ts.map +1 -1
- package/dist/testing/fixture-generator.js +1 -1
- package/dist/testing/fixture-loader.d.ts.map +1 -1
- package/dist/testing/fixture-manager.d.ts +4 -0
- package/dist/testing/fixture-manager.d.ts.map +1 -1
- package/dist/testing/fixture-manager.js +99 -25
- package/dist/testing/naite-vitest-reporter.d.ts.map +1 -1
- package/dist/testing/parallel-db-manager.d.ts.map +1 -1
- package/dist/tooling/__tests__/helpers/sonamu-test-root.d.ts +10 -0
- package/dist/tooling/__tests__/helpers/sonamu-test-root.d.ts.map +1 -0
- package/dist/tooling/__tests__/helpers/sonamu-test-root.js +42 -0
- package/dist/tooling/cdd-service.d.ts +87 -0
- package/dist/tooling/cdd-service.d.ts.map +1 -0
- package/dist/tooling/cdd-service.js +215 -0
- package/dist/tooling/cli-tooling.d.ts +11 -0
- package/dist/tooling/cli-tooling.d.ts.map +1 -0
- package/dist/tooling/cli-tooling.js +901 -0
- package/dist/tooling/fixture-service.d.ts +29 -0
- package/dist/tooling/fixture-service.d.ts.map +1 -0
- package/dist/tooling/fixture-service.js +53 -0
- package/dist/tooling/index.d.ts +2 -0
- package/dist/tooling/index.d.ts.map +1 -0
- package/dist/tooling/index.js +2 -0
- package/dist/tooling/test-run-client.d.ts +27 -0
- package/dist/tooling/test-run-client.d.ts.map +1 -0
- package/dist/tooling/test-run-client.js +120 -0
- package/dist/tsdown.api.config.js +48 -0
- package/dist/types/types.d.ts +527 -527
- package/dist/types/types.d.ts.map +1 -1
- package/dist/ui/ai-client.d.ts.map +1 -1
- package/dist/utils/formatter.d.ts +6 -0
- package/dist/utils/formatter.d.ts.map +1 -1
- package/dist/utils/formatter.js +42 -11
- package/dist/utils/model.d.ts +1 -1
- package/dist/vector/chunking.d.ts.map +1 -1
- package/dist/vector/embedding.d.ts.map +1 -1
- package/package.json +13 -12
- package/src/api/sonamu.ts +2 -1
- package/src/auth/index.ts +1 -1
- package/src/bin/__tests__/zod-compiler-build.test.ts +67 -0
- package/src/bin/build-config.ts +151 -5
- package/src/bin/fixture.ts +204 -21
- package/src/bin/test-command.ts +27 -4
- package/src/bin/typecheck-web.ts +56 -0
- package/src/dict/sonamu-dictionary.ts +1 -1
- package/src/entity/__tests__/entity-manager-autoload.contract.test.ts +55 -0
- package/src/entity/__tests__/entity-manager-explicit-root-registration.contract.test.ts +107 -0
- package/src/entity/entity-manager.ts +31 -19
- package/src/entity/entity.ts +7 -2
- package/src/logger/__tests__/configure.test.ts +33 -0
- package/src/logger/configure.ts +45 -3
- package/src/migration/__tests__/migrator.test.ts +51 -0
- package/src/migration/migrator.ts +103 -34
- package/src/syncer/api-parser.ts +1 -1
- package/src/testing/fixture-manager.ts +124 -32
- package/src/tooling/__tests__/cdd-rule-bootstrap.contract.test.ts +118 -0
- package/src/tooling/__tests__/cli-tooling-auth.contract.test.ts +72 -0
- package/src/tooling/__tests__/cli-tooling-cone-locale.contract.test.ts +150 -0
- package/src/tooling/__tests__/cli-tooling-entity-patch.contract.test.ts +131 -0
- package/src/tooling/__tests__/cli-tooling-fixture-transfer.contract.test.ts +255 -0
- package/src/tooling/__tests__/cli-tooling-i18n-update.contract.test.ts +104 -0
- package/src/tooling/__tests__/cli-tooling-scaffold.contract.test.ts +86 -0
- package/src/tooling/__tests__/cli-tooling-stub-practice.contract.test.ts +147 -0
- package/src/tooling/__tests__/default-cdd-adapter.contract.test.ts +73 -0
- package/src/tooling/__tests__/helpers/sonamu-test-root.ts +42 -0
- package/src/tooling/__tests__/test-run-client-config.contract.test.ts +154 -0
- package/src/tooling/cdd-service.ts +256 -0
- package/src/tooling/cli-tooling.ts +937 -0
- package/src/tooling/fixture-service.ts +72 -0
- package/src/tooling/index.ts +1 -0
- package/src/tooling/test-run-client.ts +196 -0
- package/src/utils/__tests__/formatter-bin.test.ts +99 -0
- package/src/utils/formatter.ts +74 -10
- package/tsdown.api.config.ts +8 -10
- package/bin/cli.js +0 -75
- package/dist/bin/cli.d.ts +0 -2
- package/dist/bin/cli.d.ts.map +0 -1
- package/dist/bin/cli.js +0 -956
- package/src/bin/cli.ts +0 -1166
package/dist/types/types.d.ts
CHANGED
|
@@ -34,11 +34,11 @@ declare const ConeSchema: z.ZodObject<{
|
|
|
34
34
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
35
35
|
strategy: z.ZodEnum<{
|
|
36
36
|
file: "file";
|
|
37
|
-
sample: "sample";
|
|
38
37
|
ids: "ids";
|
|
39
38
|
query: "query";
|
|
40
|
-
recent: "recent";
|
|
41
39
|
random: "random";
|
|
40
|
+
recent: "recent";
|
|
41
|
+
sample: "sample";
|
|
42
42
|
}>;
|
|
43
43
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
44
44
|
}, z.core.$strip>>;
|
|
@@ -88,32 +88,32 @@ export type BigIntegerArrayProp = CommonProp & {
|
|
|
88
88
|
export declare const ZodStringFormat: z.ZodEnum<{
|
|
89
89
|
base64: "base64";
|
|
90
90
|
base64url: "base64url";
|
|
91
|
-
hex: "hex";
|
|
92
|
-
uuid: "uuid";
|
|
93
|
-
email: "email";
|
|
94
|
-
url: "url";
|
|
95
|
-
httpUrl: "httpUrl";
|
|
96
|
-
hostname: "hostname";
|
|
97
|
-
emoji: "emoji";
|
|
98
|
-
jwt: "jwt";
|
|
99
|
-
nanoid: "nanoid";
|
|
100
|
-
cuid: "cuid";
|
|
101
|
-
cuid2: "cuid2";
|
|
102
|
-
ulid: "ulid";
|
|
103
|
-
ipv4: "ipv4";
|
|
104
|
-
ipv6: "ipv6";
|
|
105
|
-
mac: "mac";
|
|
106
91
|
cidrv4: "cidrv4";
|
|
107
92
|
cidrv6: "cidrv6";
|
|
93
|
+
cuid: "cuid";
|
|
94
|
+
cuid2: "cuid2";
|
|
95
|
+
email: "email";
|
|
96
|
+
emoji: "emoji";
|
|
108
97
|
hashMd5: "hashMd5";
|
|
109
98
|
hashSha1: "hashSha1";
|
|
110
99
|
hashSha256: "hashSha256";
|
|
111
100
|
hashSha384: "hashSha384";
|
|
112
101
|
hashSha512: "hashSha512";
|
|
102
|
+
hex: "hex";
|
|
103
|
+
hostname: "hostname";
|
|
104
|
+
httpUrl: "httpUrl";
|
|
105
|
+
ipv4: "ipv4";
|
|
106
|
+
ipv6: "ipv6";
|
|
113
107
|
isoDate: "isoDate";
|
|
114
|
-
isoTime: "isoTime";
|
|
115
108
|
isoDatetime: "isoDatetime";
|
|
116
109
|
isoDuration: "isoDuration";
|
|
110
|
+
isoTime: "isoTime";
|
|
111
|
+
jwt: "jwt";
|
|
112
|
+
mac: "mac";
|
|
113
|
+
nanoid: "nanoid";
|
|
114
|
+
ulid: "ulid";
|
|
115
|
+
url: "url";
|
|
116
|
+
uuid: "uuid";
|
|
117
117
|
}>;
|
|
118
118
|
export type ZodStringFormat = z.infer<typeof ZodStringFormat>;
|
|
119
119
|
export type StringProp = CommonProp & {
|
|
@@ -543,8 +543,8 @@ export type SubsetQuery = {
|
|
|
543
543
|
loaders: SubsetLoader[];
|
|
544
544
|
};
|
|
545
545
|
export declare const SonamuQueryMode: z.ZodEnum<{
|
|
546
|
-
count: "count";
|
|
547
546
|
both: "both";
|
|
547
|
+
count: "count";
|
|
548
548
|
list: "list";
|
|
549
549
|
}>;
|
|
550
550
|
export type SonamuQueryMode = z.infer<typeof SonamuQueryMode>;
|
|
@@ -554,8 +554,8 @@ export declare const SonamuSemanticParams: z.ZodObject<{
|
|
|
554
554
|
threshold: z.ZodOptional<z.ZodNumber>;
|
|
555
555
|
method: z.ZodOptional<z.ZodEnum<{
|
|
556
556
|
cosine: "cosine";
|
|
557
|
-
l2: "l2";
|
|
558
557
|
inner_product: "inner_product";
|
|
558
|
+
l2: "l2";
|
|
559
559
|
}>>;
|
|
560
560
|
}, z.core.$strip>;
|
|
561
561
|
}, z.core.$strip>;
|
|
@@ -752,25 +752,62 @@ export type RenderingNode = {
|
|
|
752
752
|
nullable?: boolean;
|
|
753
753
|
};
|
|
754
754
|
export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
755
|
+
name: z.ZodString;
|
|
756
|
+
desc: z.ZodOptional<z.ZodString>;
|
|
757
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
758
|
+
toFilter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
759
|
+
dbDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
760
|
+
generated: z.ZodOptional<z.ZodObject<{
|
|
761
|
+
type: z.ZodEnum<{
|
|
762
|
+
STORED: "STORED";
|
|
763
|
+
VIRTUAL: "VIRTUAL";
|
|
764
|
+
}>;
|
|
765
|
+
expression: z.ZodString;
|
|
766
|
+
}, z.core.$strip>>;
|
|
767
|
+
cone: z.ZodOptional<z.ZodObject<{
|
|
768
|
+
note: z.ZodOptional<z.ZodString>;
|
|
769
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
770
|
+
fixtureGenerator: z.ZodOptional<z.ZodString>;
|
|
771
|
+
fixtureDefault: z.ZodOptional<z.ZodUnknown>;
|
|
772
|
+
fixtureStrategy: z.ZodOptional<z.ZodLiteral<"sequence">>;
|
|
773
|
+
fixtureCompanions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
774
|
+
entity: z.ZodString;
|
|
775
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
776
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
777
|
+
}, z.core.$strip>>>;
|
|
778
|
+
fixtureParentOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
779
|
+
dataSource: z.ZodOptional<z.ZodObject<{
|
|
780
|
+
strategy: z.ZodEnum<{
|
|
781
|
+
file: "file";
|
|
782
|
+
ids: "ids";
|
|
783
|
+
query: "query";
|
|
784
|
+
random: "random";
|
|
785
|
+
recent: "recent";
|
|
786
|
+
sample: "sample";
|
|
787
|
+
}>;
|
|
788
|
+
config: z.ZodOptional<z.ZodUnknown>;
|
|
789
|
+
}, z.core.$strip>>;
|
|
790
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
791
|
+
type: z.ZodLiteral<"relation">;
|
|
792
|
+
with: z.ZodString;
|
|
755
793
|
relationType: z.ZodLiteral<"BelongsToOne">;
|
|
756
794
|
customJoinClause: z.ZodOptional<z.ZodString>;
|
|
757
795
|
useConstraint: z.ZodOptional<z.ZodBoolean>;
|
|
758
796
|
onUpdate: z.ZodOptional<z.ZodEnum<{
|
|
759
797
|
CASCADE: "CASCADE";
|
|
760
|
-
"SET NULL": "SET NULL";
|
|
761
798
|
"NO ACTION": "NO ACTION";
|
|
762
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
763
799
|
RESTRICT: "RESTRICT";
|
|
800
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
801
|
+
"SET NULL": "SET NULL";
|
|
764
802
|
}>>;
|
|
765
803
|
onDelete: z.ZodOptional<z.ZodEnum<{
|
|
766
804
|
CASCADE: "CASCADE";
|
|
767
|
-
"SET NULL": "SET NULL";
|
|
768
805
|
"NO ACTION": "NO ACTION";
|
|
769
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
770
806
|
RESTRICT: "RESTRICT";
|
|
807
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
808
|
+
"SET NULL": "SET NULL";
|
|
771
809
|
}>>;
|
|
772
|
-
|
|
773
|
-
with: z.ZodString;
|
|
810
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
774
811
|
name: z.ZodString;
|
|
775
812
|
desc: z.ZodOptional<z.ZodString>;
|
|
776
813
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -798,21 +835,21 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
798
835
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
799
836
|
strategy: z.ZodEnum<{
|
|
800
837
|
file: "file";
|
|
801
|
-
sample: "sample";
|
|
802
838
|
ids: "ids";
|
|
803
839
|
query: "query";
|
|
804
|
-
recent: "recent";
|
|
805
840
|
random: "random";
|
|
841
|
+
recent: "recent";
|
|
842
|
+
sample: "sample";
|
|
806
843
|
}>;
|
|
807
844
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
808
845
|
}, z.core.$strip>>;
|
|
809
846
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
810
|
-
|
|
847
|
+
type: z.ZodLiteral<"relation">;
|
|
848
|
+
with: z.ZodString;
|
|
811
849
|
relationType: z.ZodLiteral<"HasMany">;
|
|
812
850
|
joinColumn: z.ZodString;
|
|
813
851
|
fromColumn: z.ZodOptional<z.ZodString>;
|
|
814
|
-
|
|
815
|
-
with: z.ZodString;
|
|
852
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
816
853
|
name: z.ZodString;
|
|
817
854
|
desc: z.ZodOptional<z.ZodString>;
|
|
818
855
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -840,34 +877,34 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
840
877
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
841
878
|
strategy: z.ZodEnum<{
|
|
842
879
|
file: "file";
|
|
843
|
-
sample: "sample";
|
|
844
880
|
ids: "ids";
|
|
845
881
|
query: "query";
|
|
846
|
-
recent: "recent";
|
|
847
882
|
random: "random";
|
|
883
|
+
recent: "recent";
|
|
884
|
+
sample: "sample";
|
|
848
885
|
}>;
|
|
849
886
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
850
887
|
}, z.core.$strip>>;
|
|
851
888
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
852
|
-
|
|
889
|
+
type: z.ZodLiteral<"relation">;
|
|
890
|
+
with: z.ZodString;
|
|
853
891
|
relationType: z.ZodLiteral<"ManyToMany">;
|
|
854
892
|
joinTable: z.ZodString;
|
|
855
893
|
onUpdate: z.ZodEnum<{
|
|
856
894
|
CASCADE: "CASCADE";
|
|
857
|
-
"SET NULL": "SET NULL";
|
|
858
895
|
"NO ACTION": "NO ACTION";
|
|
859
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
860
896
|
RESTRICT: "RESTRICT";
|
|
897
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
898
|
+
"SET NULL": "SET NULL";
|
|
861
899
|
}>;
|
|
862
900
|
onDelete: z.ZodEnum<{
|
|
863
901
|
CASCADE: "CASCADE";
|
|
864
|
-
"SET NULL": "SET NULL";
|
|
865
902
|
"NO ACTION": "NO ACTION";
|
|
866
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
867
903
|
RESTRICT: "RESTRICT";
|
|
904
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
905
|
+
"SET NULL": "SET NULL";
|
|
868
906
|
}>;
|
|
869
|
-
|
|
870
|
-
with: z.ZodString;
|
|
907
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
871
908
|
name: z.ZodString;
|
|
872
909
|
desc: z.ZodOptional<z.ZodString>;
|
|
873
910
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -895,36 +932,37 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
895
932
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
896
933
|
strategy: z.ZodEnum<{
|
|
897
934
|
file: "file";
|
|
898
|
-
sample: "sample";
|
|
899
935
|
ids: "ids";
|
|
900
936
|
query: "query";
|
|
901
|
-
recent: "recent";
|
|
902
937
|
random: "random";
|
|
938
|
+
recent: "recent";
|
|
939
|
+
sample: "sample";
|
|
903
940
|
}>;
|
|
904
941
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
905
942
|
}, z.core.$strip>>;
|
|
906
943
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
907
|
-
|
|
944
|
+
type: z.ZodLiteral<"relation">;
|
|
945
|
+
with: z.ZodString;
|
|
908
946
|
relationType: z.ZodLiteral<"OneToOne">;
|
|
909
947
|
customJoinClause: z.ZodOptional<z.ZodString>;
|
|
910
948
|
hasJoinColumn: z.ZodOptional<z.ZodBoolean>;
|
|
911
949
|
useConstraint: z.ZodOptional<z.ZodBoolean>;
|
|
912
950
|
onUpdate: z.ZodOptional<z.ZodEnum<{
|
|
913
951
|
CASCADE: "CASCADE";
|
|
914
|
-
"SET NULL": "SET NULL";
|
|
915
952
|
"NO ACTION": "NO ACTION";
|
|
916
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
917
953
|
RESTRICT: "RESTRICT";
|
|
954
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
955
|
+
"SET NULL": "SET NULL";
|
|
918
956
|
}>>;
|
|
919
957
|
onDelete: z.ZodOptional<z.ZodEnum<{
|
|
920
958
|
CASCADE: "CASCADE";
|
|
921
|
-
"SET NULL": "SET NULL";
|
|
922
959
|
"NO ACTION": "NO ACTION";
|
|
923
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
924
960
|
RESTRICT: "RESTRICT";
|
|
961
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
962
|
+
"SET NULL": "SET NULL";
|
|
925
963
|
}>>;
|
|
926
|
-
|
|
927
|
-
|
|
964
|
+
}, z.core.$strict>], "relationType">;
|
|
965
|
+
export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
928
966
|
name: z.ZodString;
|
|
929
967
|
desc: z.ZodOptional<z.ZodString>;
|
|
930
968
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -952,18 +990,17 @@ export declare const RelationPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
952
990
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
953
991
|
strategy: z.ZodEnum<{
|
|
954
992
|
file: "file";
|
|
955
|
-
sample: "sample";
|
|
956
993
|
ids: "ids";
|
|
957
994
|
query: "query";
|
|
958
|
-
recent: "recent";
|
|
959
995
|
random: "random";
|
|
996
|
+
recent: "recent";
|
|
997
|
+
sample: "sample";
|
|
960
998
|
}>;
|
|
961
999
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
962
1000
|
}, z.core.$strip>>;
|
|
963
1001
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
964
|
-
}, z.core.$strict>], "relationType">;
|
|
965
|
-
export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
966
1002
|
type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
|
|
1003
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
967
1004
|
name: z.ZodString;
|
|
968
1005
|
desc: z.ZodOptional<z.ZodString>;
|
|
969
1006
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -991,48 +1028,48 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
991
1028
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
992
1029
|
strategy: z.ZodEnum<{
|
|
993
1030
|
file: "file";
|
|
994
|
-
sample: "sample";
|
|
995
1031
|
ids: "ids";
|
|
996
1032
|
query: "query";
|
|
997
|
-
recent: "recent";
|
|
998
1033
|
random: "random";
|
|
1034
|
+
recent: "recent";
|
|
1035
|
+
sample: "sample";
|
|
999
1036
|
}>;
|
|
1000
1037
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1001
1038
|
}, z.core.$strip>>;
|
|
1002
1039
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1003
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1004
1040
|
type: z.ZodLiteral<"string">;
|
|
1005
1041
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1006
1042
|
zodFormat: z.ZodOptional<z.ZodEnum<{
|
|
1007
1043
|
base64: "base64";
|
|
1008
1044
|
base64url: "base64url";
|
|
1009
|
-
hex: "hex";
|
|
1010
|
-
uuid: "uuid";
|
|
1011
|
-
email: "email";
|
|
1012
|
-
url: "url";
|
|
1013
|
-
httpUrl: "httpUrl";
|
|
1014
|
-
hostname: "hostname";
|
|
1015
|
-
emoji: "emoji";
|
|
1016
|
-
jwt: "jwt";
|
|
1017
|
-
nanoid: "nanoid";
|
|
1018
|
-
cuid: "cuid";
|
|
1019
|
-
cuid2: "cuid2";
|
|
1020
|
-
ulid: "ulid";
|
|
1021
|
-
ipv4: "ipv4";
|
|
1022
|
-
ipv6: "ipv6";
|
|
1023
|
-
mac: "mac";
|
|
1024
1045
|
cidrv4: "cidrv4";
|
|
1025
1046
|
cidrv6: "cidrv6";
|
|
1047
|
+
cuid: "cuid";
|
|
1048
|
+
cuid2: "cuid2";
|
|
1049
|
+
email: "email";
|
|
1050
|
+
emoji: "emoji";
|
|
1026
1051
|
hashMd5: "hashMd5";
|
|
1027
1052
|
hashSha1: "hashSha1";
|
|
1028
1053
|
hashSha256: "hashSha256";
|
|
1029
1054
|
hashSha384: "hashSha384";
|
|
1030
1055
|
hashSha512: "hashSha512";
|
|
1056
|
+
hex: "hex";
|
|
1057
|
+
hostname: "hostname";
|
|
1058
|
+
httpUrl: "httpUrl";
|
|
1059
|
+
ipv4: "ipv4";
|
|
1060
|
+
ipv6: "ipv6";
|
|
1031
1061
|
isoDate: "isoDate";
|
|
1032
|
-
isoTime: "isoTime";
|
|
1033
1062
|
isoDatetime: "isoDatetime";
|
|
1034
1063
|
isoDuration: "isoDuration";
|
|
1064
|
+
isoTime: "isoTime";
|
|
1065
|
+
jwt: "jwt";
|
|
1066
|
+
mac: "mac";
|
|
1067
|
+
nanoid: "nanoid";
|
|
1068
|
+
ulid: "ulid";
|
|
1069
|
+
url: "url";
|
|
1070
|
+
uuid: "uuid";
|
|
1035
1071
|
}>>;
|
|
1072
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1036
1073
|
name: z.ZodString;
|
|
1037
1074
|
desc: z.ZodOptional<z.ZodString>;
|
|
1038
1075
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1060,48 +1097,48 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1060
1097
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1061
1098
|
strategy: z.ZodEnum<{
|
|
1062
1099
|
file: "file";
|
|
1063
|
-
sample: "sample";
|
|
1064
1100
|
ids: "ids";
|
|
1065
1101
|
query: "query";
|
|
1066
|
-
recent: "recent";
|
|
1067
1102
|
random: "random";
|
|
1103
|
+
recent: "recent";
|
|
1104
|
+
sample: "sample";
|
|
1068
1105
|
}>;
|
|
1069
1106
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1070
1107
|
}, z.core.$strip>>;
|
|
1071
1108
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1072
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1073
1109
|
type: z.ZodLiteral<"string[]">;
|
|
1074
1110
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1075
1111
|
zodFormat: z.ZodOptional<z.ZodEnum<{
|
|
1076
1112
|
base64: "base64";
|
|
1077
1113
|
base64url: "base64url";
|
|
1078
|
-
hex: "hex";
|
|
1079
|
-
uuid: "uuid";
|
|
1080
|
-
email: "email";
|
|
1081
|
-
url: "url";
|
|
1082
|
-
httpUrl: "httpUrl";
|
|
1083
|
-
hostname: "hostname";
|
|
1084
|
-
emoji: "emoji";
|
|
1085
|
-
jwt: "jwt";
|
|
1086
|
-
nanoid: "nanoid";
|
|
1087
|
-
cuid: "cuid";
|
|
1088
|
-
cuid2: "cuid2";
|
|
1089
|
-
ulid: "ulid";
|
|
1090
|
-
ipv4: "ipv4";
|
|
1091
|
-
ipv6: "ipv6";
|
|
1092
|
-
mac: "mac";
|
|
1093
1114
|
cidrv4: "cidrv4";
|
|
1094
1115
|
cidrv6: "cidrv6";
|
|
1116
|
+
cuid: "cuid";
|
|
1117
|
+
cuid2: "cuid2";
|
|
1118
|
+
email: "email";
|
|
1119
|
+
emoji: "emoji";
|
|
1095
1120
|
hashMd5: "hashMd5";
|
|
1096
1121
|
hashSha1: "hashSha1";
|
|
1097
1122
|
hashSha256: "hashSha256";
|
|
1098
1123
|
hashSha384: "hashSha384";
|
|
1099
1124
|
hashSha512: "hashSha512";
|
|
1125
|
+
hex: "hex";
|
|
1126
|
+
hostname: "hostname";
|
|
1127
|
+
httpUrl: "httpUrl";
|
|
1128
|
+
ipv4: "ipv4";
|
|
1129
|
+
ipv6: "ipv6";
|
|
1100
1130
|
isoDate: "isoDate";
|
|
1101
|
-
isoTime: "isoTime";
|
|
1102
1131
|
isoDatetime: "isoDatetime";
|
|
1103
1132
|
isoDuration: "isoDuration";
|
|
1133
|
+
isoTime: "isoTime";
|
|
1134
|
+
jwt: "jwt";
|
|
1135
|
+
mac: "mac";
|
|
1136
|
+
nanoid: "nanoid";
|
|
1137
|
+
ulid: "ulid";
|
|
1138
|
+
url: "url";
|
|
1139
|
+
uuid: "uuid";
|
|
1104
1140
|
}>>;
|
|
1141
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1105
1142
|
name: z.ZodString;
|
|
1106
1143
|
desc: z.ZodOptional<z.ZodString>;
|
|
1107
1144
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1129,19 +1166,19 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1129
1166
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1130
1167
|
strategy: z.ZodEnum<{
|
|
1131
1168
|
file: "file";
|
|
1132
|
-
sample: "sample";
|
|
1133
1169
|
ids: "ids";
|
|
1134
1170
|
query: "query";
|
|
1135
|
-
recent: "recent";
|
|
1136
1171
|
random: "random";
|
|
1172
|
+
recent: "recent";
|
|
1173
|
+
sample: "sample";
|
|
1137
1174
|
}>;
|
|
1138
1175
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1139
1176
|
}, z.core.$strip>>;
|
|
1140
1177
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1141
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1142
1178
|
type: z.ZodLiteral<"enum">;
|
|
1143
1179
|
id: z.ZodString;
|
|
1144
1180
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1181
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1145
1182
|
name: z.ZodString;
|
|
1146
1183
|
desc: z.ZodOptional<z.ZodString>;
|
|
1147
1184
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1169,18 +1206,18 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1169
1206
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1170
1207
|
strategy: z.ZodEnum<{
|
|
1171
1208
|
file: "file";
|
|
1172
|
-
sample: "sample";
|
|
1173
1209
|
ids: "ids";
|
|
1174
1210
|
query: "query";
|
|
1175
|
-
recent: "recent";
|
|
1176
1211
|
random: "random";
|
|
1212
|
+
recent: "recent";
|
|
1213
|
+
sample: "sample";
|
|
1177
1214
|
}>;
|
|
1178
1215
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1179
1216
|
}, z.core.$strip>>;
|
|
1180
1217
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1181
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1182
1218
|
type: z.ZodLiteral<"enum[]">;
|
|
1183
1219
|
id: z.ZodString;
|
|
1220
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1184
1221
|
name: z.ZodString;
|
|
1185
1222
|
desc: z.ZodOptional<z.ZodString>;
|
|
1186
1223
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1208,24 +1245,24 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1208
1245
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1209
1246
|
strategy: z.ZodEnum<{
|
|
1210
1247
|
file: "file";
|
|
1211
|
-
sample: "sample";
|
|
1212
1248
|
ids: "ids";
|
|
1213
1249
|
query: "query";
|
|
1214
|
-
recent: "recent";
|
|
1215
1250
|
random: "random";
|
|
1251
|
+
recent: "recent";
|
|
1252
|
+
sample: "sample";
|
|
1216
1253
|
}>;
|
|
1217
1254
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1218
1255
|
}, z.core.$strip>>;
|
|
1219
1256
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1220
|
-
|
|
1257
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1258
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1259
|
+
type: z.ZodLiteral<"number">;
|
|
1221
1260
|
numberType: z.ZodOptional<z.ZodEnum<{
|
|
1261
|
+
"double precision": "double precision";
|
|
1222
1262
|
numeric: "numeric";
|
|
1223
1263
|
real: "real";
|
|
1224
|
-
"double precision": "double precision";
|
|
1225
1264
|
}>>;
|
|
1226
|
-
|
|
1227
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
1228
|
-
type: z.ZodLiteral<"number">;
|
|
1265
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1229
1266
|
name: z.ZodString;
|
|
1230
1267
|
desc: z.ZodOptional<z.ZodString>;
|
|
1231
1268
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1253,24 +1290,24 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1253
1290
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1254
1291
|
strategy: z.ZodEnum<{
|
|
1255
1292
|
file: "file";
|
|
1256
|
-
sample: "sample";
|
|
1257
1293
|
ids: "ids";
|
|
1258
1294
|
query: "query";
|
|
1259
|
-
recent: "recent";
|
|
1260
1295
|
random: "random";
|
|
1296
|
+
recent: "recent";
|
|
1297
|
+
sample: "sample";
|
|
1261
1298
|
}>;
|
|
1262
1299
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1263
1300
|
}, z.core.$strip>>;
|
|
1264
1301
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1265
|
-
|
|
1302
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1303
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1304
|
+
type: z.ZodLiteral<"number[]">;
|
|
1266
1305
|
numberType: z.ZodOptional<z.ZodEnum<{
|
|
1306
|
+
"double precision": "double precision";
|
|
1267
1307
|
numeric: "numeric";
|
|
1268
1308
|
real: "real";
|
|
1269
|
-
"double precision": "double precision";
|
|
1270
1309
|
}>>;
|
|
1271
|
-
|
|
1272
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
1273
|
-
type: z.ZodLiteral<"number[]">;
|
|
1310
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1274
1311
|
name: z.ZodString;
|
|
1275
1312
|
desc: z.ZodOptional<z.ZodString>;
|
|
1276
1313
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1298,18 +1335,18 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1298
1335
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1299
1336
|
strategy: z.ZodEnum<{
|
|
1300
1337
|
file: "file";
|
|
1301
|
-
sample: "sample";
|
|
1302
1338
|
ids: "ids";
|
|
1303
1339
|
query: "query";
|
|
1304
|
-
recent: "recent";
|
|
1305
1340
|
random: "random";
|
|
1341
|
+
recent: "recent";
|
|
1342
|
+
sample: "sample";
|
|
1306
1343
|
}>;
|
|
1307
1344
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1308
1345
|
}, z.core.$strip>>;
|
|
1309
1346
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1310
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1311
1347
|
type: z.ZodLiteral<"date">;
|
|
1312
1348
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
1349
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1313
1350
|
name: z.ZodString;
|
|
1314
1351
|
desc: z.ZodOptional<z.ZodString>;
|
|
1315
1352
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1337,18 +1374,18 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1337
1374
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1338
1375
|
strategy: z.ZodEnum<{
|
|
1339
1376
|
file: "file";
|
|
1340
|
-
sample: "sample";
|
|
1341
1377
|
ids: "ids";
|
|
1342
1378
|
query: "query";
|
|
1343
|
-
recent: "recent";
|
|
1344
1379
|
random: "random";
|
|
1380
|
+
recent: "recent";
|
|
1381
|
+
sample: "sample";
|
|
1345
1382
|
}>;
|
|
1346
1383
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1347
1384
|
}, z.core.$strip>>;
|
|
1348
1385
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1349
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1350
1386
|
type: z.ZodLiteral<"date[]">;
|
|
1351
1387
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
1388
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1352
1389
|
name: z.ZodString;
|
|
1353
1390
|
desc: z.ZodOptional<z.ZodString>;
|
|
1354
1391
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1376,19 +1413,19 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1376
1413
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1377
1414
|
strategy: z.ZodEnum<{
|
|
1378
1415
|
file: "file";
|
|
1379
|
-
sample: "sample";
|
|
1380
1416
|
ids: "ids";
|
|
1381
1417
|
query: "query";
|
|
1382
|
-
recent: "recent";
|
|
1383
1418
|
random: "random";
|
|
1419
|
+
recent: "recent";
|
|
1420
|
+
sample: "sample";
|
|
1384
1421
|
}>;
|
|
1385
1422
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1386
1423
|
}, z.core.$strip>>;
|
|
1387
1424
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1388
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1389
1425
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
1390
1426
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
1391
1427
|
type: z.ZodLiteral<"numeric">;
|
|
1428
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1392
1429
|
name: z.ZodString;
|
|
1393
1430
|
desc: z.ZodOptional<z.ZodString>;
|
|
1394
1431
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1416,19 +1453,19 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1416
1453
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1417
1454
|
strategy: z.ZodEnum<{
|
|
1418
1455
|
file: "file";
|
|
1419
|
-
sample: "sample";
|
|
1420
1456
|
ids: "ids";
|
|
1421
1457
|
query: "query";
|
|
1422
|
-
recent: "recent";
|
|
1423
1458
|
random: "random";
|
|
1459
|
+
recent: "recent";
|
|
1460
|
+
sample: "sample";
|
|
1424
1461
|
}>;
|
|
1425
1462
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1426
1463
|
}, z.core.$strip>>;
|
|
1427
1464
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1428
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1429
1465
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
1430
1466
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
1431
1467
|
type: z.ZodLiteral<"numeric[]">;
|
|
1468
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1432
1469
|
name: z.ZodString;
|
|
1433
1470
|
desc: z.ZodOptional<z.ZodString>;
|
|
1434
1471
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1456,18 +1493,18 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1456
1493
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1457
1494
|
strategy: z.ZodEnum<{
|
|
1458
1495
|
file: "file";
|
|
1459
|
-
sample: "sample";
|
|
1460
1496
|
ids: "ids";
|
|
1461
1497
|
query: "query";
|
|
1462
|
-
recent: "recent";
|
|
1463
1498
|
random: "random";
|
|
1499
|
+
recent: "recent";
|
|
1500
|
+
sample: "sample";
|
|
1464
1501
|
}>;
|
|
1465
1502
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1466
1503
|
}, z.core.$strip>>;
|
|
1467
1504
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1468
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1469
1505
|
type: z.ZodLiteral<"json">;
|
|
1470
1506
|
id: z.ZodString;
|
|
1507
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1471
1508
|
name: z.ZodString;
|
|
1472
1509
|
desc: z.ZodOptional<z.ZodString>;
|
|
1473
1510
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1495,21 +1532,21 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1495
1532
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1496
1533
|
strategy: z.ZodEnum<{
|
|
1497
1534
|
file: "file";
|
|
1498
|
-
sample: "sample";
|
|
1499
1535
|
ids: "ids";
|
|
1500
1536
|
query: "query";
|
|
1501
|
-
recent: "recent";
|
|
1502
1537
|
random: "random";
|
|
1538
|
+
recent: "recent";
|
|
1539
|
+
sample: "sample";
|
|
1503
1540
|
}>;
|
|
1504
1541
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1505
1542
|
}, z.core.$strip>>;
|
|
1506
1543
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1507
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1508
1544
|
type: z.ZodLiteral<"searchText">;
|
|
1509
1545
|
sourceColumns: z.ZodArray<z.ZodObject<{
|
|
1510
1546
|
name: z.ZodString;
|
|
1511
1547
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
1512
1548
|
}, z.core.$strict>>;
|
|
1549
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1513
1550
|
name: z.ZodString;
|
|
1514
1551
|
desc: z.ZodOptional<z.ZodString>;
|
|
1515
1552
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1537,22 +1574,22 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1537
1574
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1538
1575
|
strategy: z.ZodEnum<{
|
|
1539
1576
|
file: "file";
|
|
1540
|
-
sample: "sample";
|
|
1541
1577
|
ids: "ids";
|
|
1542
1578
|
query: "query";
|
|
1543
|
-
recent: "recent";
|
|
1544
1579
|
random: "random";
|
|
1580
|
+
recent: "recent";
|
|
1581
|
+
sample: "sample";
|
|
1545
1582
|
}>;
|
|
1546
1583
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1547
1584
|
}, z.core.$strip>>;
|
|
1548
1585
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1549
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1550
1586
|
type: z.ZodLiteral<"virtual">;
|
|
1551
1587
|
id: z.ZodString;
|
|
1552
1588
|
virtualType: z.ZodOptional<z.ZodEnum<{
|
|
1553
|
-
query: "query";
|
|
1554
1589
|
code: "code";
|
|
1590
|
+
query: "query";
|
|
1555
1591
|
}>>;
|
|
1592
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1556
1593
|
name: z.ZodString;
|
|
1557
1594
|
desc: z.ZodOptional<z.ZodString>;
|
|
1558
1595
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1580,18 +1617,18 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1580
1617
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1581
1618
|
strategy: z.ZodEnum<{
|
|
1582
1619
|
file: "file";
|
|
1583
|
-
sample: "sample";
|
|
1584
1620
|
ids: "ids";
|
|
1585
1621
|
query: "query";
|
|
1586
|
-
recent: "recent";
|
|
1587
1622
|
random: "random";
|
|
1623
|
+
recent: "recent";
|
|
1624
|
+
sample: "sample";
|
|
1588
1625
|
}>;
|
|
1589
1626
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1590
1627
|
}, z.core.$strip>>;
|
|
1591
1628
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1592
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1593
1629
|
type: z.ZodLiteral<"vector">;
|
|
1594
1630
|
dimensions: z.ZodNumber;
|
|
1631
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1595
1632
|
name: z.ZodString;
|
|
1596
1633
|
desc: z.ZodOptional<z.ZodString>;
|
|
1597
1634
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1619,54 +1656,17 @@ export declare const NormalPropSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1619
1656
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1620
1657
|
strategy: z.ZodEnum<{
|
|
1621
1658
|
file: "file";
|
|
1622
|
-
sample: "sample";
|
|
1623
1659
|
ids: "ids";
|
|
1624
1660
|
query: "query";
|
|
1625
|
-
recent: "recent";
|
|
1626
1661
|
random: "random";
|
|
1662
|
+
recent: "recent";
|
|
1663
|
+
sample: "sample";
|
|
1627
1664
|
}>;
|
|
1628
1665
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1629
1666
|
}, z.core.$strip>>;
|
|
1630
1667
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1631
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1632
1668
|
type: z.ZodLiteral<"vector[]">;
|
|
1633
1669
|
dimensions: z.ZodNumber;
|
|
1634
|
-
name: z.ZodString;
|
|
1635
|
-
desc: z.ZodOptional<z.ZodString>;
|
|
1636
|
-
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
1637
|
-
toFilter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1638
|
-
dbDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1639
|
-
generated: z.ZodOptional<z.ZodObject<{
|
|
1640
|
-
type: z.ZodEnum<{
|
|
1641
|
-
STORED: "STORED";
|
|
1642
|
-
VIRTUAL: "VIRTUAL";
|
|
1643
|
-
}>;
|
|
1644
|
-
expression: z.ZodString;
|
|
1645
|
-
}, z.core.$strip>>;
|
|
1646
|
-
cone: z.ZodOptional<z.ZodObject<{
|
|
1647
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1648
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1649
|
-
fixtureGenerator: z.ZodOptional<z.ZodString>;
|
|
1650
|
-
fixtureDefault: z.ZodOptional<z.ZodUnknown>;
|
|
1651
|
-
fixtureStrategy: z.ZodOptional<z.ZodLiteral<"sequence">>;
|
|
1652
|
-
fixtureCompanions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1653
|
-
entity: z.ZodString;
|
|
1654
|
-
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1655
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
1656
|
-
}, z.core.$strip>>>;
|
|
1657
|
-
fixtureParentOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1658
|
-
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1659
|
-
strategy: z.ZodEnum<{
|
|
1660
|
-
file: "file";
|
|
1661
|
-
sample: "sample";
|
|
1662
|
-
ids: "ids";
|
|
1663
|
-
query: "query";
|
|
1664
|
-
recent: "recent";
|
|
1665
|
-
random: "random";
|
|
1666
|
-
}>;
|
|
1667
|
-
config: z.ZodOptional<z.ZodUnknown>;
|
|
1668
|
-
}, z.core.$strip>>;
|
|
1669
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1670
1670
|
}, z.core.$strict>], "type">;
|
|
1671
1671
|
export declare function isSearchTextJsonSourceZodType(zodType: z.ZodTypeAny): boolean;
|
|
1672
1672
|
export declare const EntityJsonSchema: z.ZodObject<{
|
|
@@ -1689,17 +1689,16 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
1689
1689
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1690
1690
|
strategy: z.ZodEnum<{
|
|
1691
1691
|
file: "file";
|
|
1692
|
-
sample: "sample";
|
|
1693
1692
|
ids: "ids";
|
|
1694
1693
|
query: "query";
|
|
1695
|
-
recent: "recent";
|
|
1696
1694
|
random: "random";
|
|
1695
|
+
recent: "recent";
|
|
1696
|
+
sample: "sample";
|
|
1697
1697
|
}>;
|
|
1698
1698
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1699
1699
|
}, z.core.$strip>>;
|
|
1700
1700
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1701
1701
|
props: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1702
|
-
type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
|
|
1703
1702
|
name: z.ZodString;
|
|
1704
1703
|
desc: z.ZodOptional<z.ZodString>;
|
|
1705
1704
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1727,48 +1726,86 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
1727
1726
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1728
1727
|
strategy: z.ZodEnum<{
|
|
1729
1728
|
file: "file";
|
|
1730
|
-
sample: "sample";
|
|
1731
1729
|
ids: "ids";
|
|
1732
1730
|
query: "query";
|
|
1733
|
-
recent: "recent";
|
|
1734
1731
|
random: "random";
|
|
1732
|
+
recent: "recent";
|
|
1733
|
+
sample: "sample";
|
|
1735
1734
|
}>;
|
|
1736
1735
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1737
1736
|
}, z.core.$strip>>;
|
|
1738
1737
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1738
|
+
type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
|
|
1739
1739
|
}, z.core.$strict>, z.ZodObject<{
|
|
1740
|
+
name: z.ZodString;
|
|
1741
|
+
desc: z.ZodOptional<z.ZodString>;
|
|
1742
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
1743
|
+
toFilter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1744
|
+
dbDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
1745
|
+
generated: z.ZodOptional<z.ZodObject<{
|
|
1746
|
+
type: z.ZodEnum<{
|
|
1747
|
+
STORED: "STORED";
|
|
1748
|
+
VIRTUAL: "VIRTUAL";
|
|
1749
|
+
}>;
|
|
1750
|
+
expression: z.ZodString;
|
|
1751
|
+
}, z.core.$strip>>;
|
|
1752
|
+
cone: z.ZodOptional<z.ZodObject<{
|
|
1753
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1754
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1755
|
+
fixtureGenerator: z.ZodOptional<z.ZodString>;
|
|
1756
|
+
fixtureDefault: z.ZodOptional<z.ZodUnknown>;
|
|
1757
|
+
fixtureStrategy: z.ZodOptional<z.ZodLiteral<"sequence">>;
|
|
1758
|
+
fixtureCompanions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1759
|
+
entity: z.ZodString;
|
|
1760
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1761
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
1762
|
+
}, z.core.$strip>>>;
|
|
1763
|
+
fixtureParentOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1764
|
+
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1765
|
+
strategy: z.ZodEnum<{
|
|
1766
|
+
file: "file";
|
|
1767
|
+
ids: "ids";
|
|
1768
|
+
query: "query";
|
|
1769
|
+
random: "random";
|
|
1770
|
+
recent: "recent";
|
|
1771
|
+
sample: "sample";
|
|
1772
|
+
}>;
|
|
1773
|
+
config: z.ZodOptional<z.ZodUnknown>;
|
|
1774
|
+
}, z.core.$strip>>;
|
|
1775
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1740
1776
|
type: z.ZodLiteral<"string">;
|
|
1741
1777
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1742
1778
|
zodFormat: z.ZodOptional<z.ZodEnum<{
|
|
1743
1779
|
base64: "base64";
|
|
1744
1780
|
base64url: "base64url";
|
|
1745
|
-
hex: "hex";
|
|
1746
|
-
uuid: "uuid";
|
|
1747
|
-
email: "email";
|
|
1748
|
-
url: "url";
|
|
1749
|
-
httpUrl: "httpUrl";
|
|
1750
|
-
hostname: "hostname";
|
|
1751
|
-
emoji: "emoji";
|
|
1752
|
-
jwt: "jwt";
|
|
1753
|
-
nanoid: "nanoid";
|
|
1754
|
-
cuid: "cuid";
|
|
1755
|
-
cuid2: "cuid2";
|
|
1756
|
-
ulid: "ulid";
|
|
1757
|
-
ipv4: "ipv4";
|
|
1758
|
-
ipv6: "ipv6";
|
|
1759
|
-
mac: "mac";
|
|
1760
1781
|
cidrv4: "cidrv4";
|
|
1761
1782
|
cidrv6: "cidrv6";
|
|
1783
|
+
cuid: "cuid";
|
|
1784
|
+
cuid2: "cuid2";
|
|
1785
|
+
email: "email";
|
|
1786
|
+
emoji: "emoji";
|
|
1762
1787
|
hashMd5: "hashMd5";
|
|
1763
1788
|
hashSha1: "hashSha1";
|
|
1764
1789
|
hashSha256: "hashSha256";
|
|
1765
1790
|
hashSha384: "hashSha384";
|
|
1766
1791
|
hashSha512: "hashSha512";
|
|
1792
|
+
hex: "hex";
|
|
1793
|
+
hostname: "hostname";
|
|
1794
|
+
httpUrl: "httpUrl";
|
|
1795
|
+
ipv4: "ipv4";
|
|
1796
|
+
ipv6: "ipv6";
|
|
1767
1797
|
isoDate: "isoDate";
|
|
1768
|
-
isoTime: "isoTime";
|
|
1769
1798
|
isoDatetime: "isoDatetime";
|
|
1770
1799
|
isoDuration: "isoDuration";
|
|
1800
|
+
isoTime: "isoTime";
|
|
1801
|
+
jwt: "jwt";
|
|
1802
|
+
mac: "mac";
|
|
1803
|
+
nanoid: "nanoid";
|
|
1804
|
+
ulid: "ulid";
|
|
1805
|
+
url: "url";
|
|
1806
|
+
uuid: "uuid";
|
|
1771
1807
|
}>>;
|
|
1808
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1772
1809
|
name: z.ZodString;
|
|
1773
1810
|
desc: z.ZodOptional<z.ZodString>;
|
|
1774
1811
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1796,48 +1833,48 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
1796
1833
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1797
1834
|
strategy: z.ZodEnum<{
|
|
1798
1835
|
file: "file";
|
|
1799
|
-
sample: "sample";
|
|
1800
1836
|
ids: "ids";
|
|
1801
1837
|
query: "query";
|
|
1802
|
-
recent: "recent";
|
|
1803
1838
|
random: "random";
|
|
1839
|
+
recent: "recent";
|
|
1840
|
+
sample: "sample";
|
|
1804
1841
|
}>;
|
|
1805
1842
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1806
1843
|
}, z.core.$strip>>;
|
|
1807
1844
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1808
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1809
1845
|
type: z.ZodLiteral<"string[]">;
|
|
1810
1846
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1811
1847
|
zodFormat: z.ZodOptional<z.ZodEnum<{
|
|
1812
1848
|
base64: "base64";
|
|
1813
1849
|
base64url: "base64url";
|
|
1814
|
-
hex: "hex";
|
|
1815
|
-
uuid: "uuid";
|
|
1816
|
-
email: "email";
|
|
1817
|
-
url: "url";
|
|
1818
|
-
httpUrl: "httpUrl";
|
|
1819
|
-
hostname: "hostname";
|
|
1820
|
-
emoji: "emoji";
|
|
1821
|
-
jwt: "jwt";
|
|
1822
|
-
nanoid: "nanoid";
|
|
1823
|
-
cuid: "cuid";
|
|
1824
|
-
cuid2: "cuid2";
|
|
1825
|
-
ulid: "ulid";
|
|
1826
|
-
ipv4: "ipv4";
|
|
1827
|
-
ipv6: "ipv6";
|
|
1828
|
-
mac: "mac";
|
|
1829
1850
|
cidrv4: "cidrv4";
|
|
1830
1851
|
cidrv6: "cidrv6";
|
|
1852
|
+
cuid: "cuid";
|
|
1853
|
+
cuid2: "cuid2";
|
|
1854
|
+
email: "email";
|
|
1855
|
+
emoji: "emoji";
|
|
1831
1856
|
hashMd5: "hashMd5";
|
|
1832
1857
|
hashSha1: "hashSha1";
|
|
1833
1858
|
hashSha256: "hashSha256";
|
|
1834
1859
|
hashSha384: "hashSha384";
|
|
1835
1860
|
hashSha512: "hashSha512";
|
|
1861
|
+
hex: "hex";
|
|
1862
|
+
hostname: "hostname";
|
|
1863
|
+
httpUrl: "httpUrl";
|
|
1864
|
+
ipv4: "ipv4";
|
|
1865
|
+
ipv6: "ipv6";
|
|
1836
1866
|
isoDate: "isoDate";
|
|
1837
|
-
isoTime: "isoTime";
|
|
1838
1867
|
isoDatetime: "isoDatetime";
|
|
1839
1868
|
isoDuration: "isoDuration";
|
|
1869
|
+
isoTime: "isoTime";
|
|
1870
|
+
jwt: "jwt";
|
|
1871
|
+
mac: "mac";
|
|
1872
|
+
nanoid: "nanoid";
|
|
1873
|
+
ulid: "ulid";
|
|
1874
|
+
url: "url";
|
|
1875
|
+
uuid: "uuid";
|
|
1840
1876
|
}>>;
|
|
1877
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1841
1878
|
name: z.ZodString;
|
|
1842
1879
|
desc: z.ZodOptional<z.ZodString>;
|
|
1843
1880
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1865,19 +1902,19 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
1865
1902
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1866
1903
|
strategy: z.ZodEnum<{
|
|
1867
1904
|
file: "file";
|
|
1868
|
-
sample: "sample";
|
|
1869
1905
|
ids: "ids";
|
|
1870
1906
|
query: "query";
|
|
1871
|
-
recent: "recent";
|
|
1872
1907
|
random: "random";
|
|
1908
|
+
recent: "recent";
|
|
1909
|
+
sample: "sample";
|
|
1873
1910
|
}>;
|
|
1874
1911
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1875
1912
|
}, z.core.$strip>>;
|
|
1876
1913
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1877
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1878
1914
|
type: z.ZodLiteral<"enum">;
|
|
1879
1915
|
id: z.ZodString;
|
|
1880
1916
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1917
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1881
1918
|
name: z.ZodString;
|
|
1882
1919
|
desc: z.ZodOptional<z.ZodString>;
|
|
1883
1920
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1905,18 +1942,18 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
1905
1942
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1906
1943
|
strategy: z.ZodEnum<{
|
|
1907
1944
|
file: "file";
|
|
1908
|
-
sample: "sample";
|
|
1909
1945
|
ids: "ids";
|
|
1910
1946
|
query: "query";
|
|
1911
|
-
recent: "recent";
|
|
1912
1947
|
random: "random";
|
|
1948
|
+
recent: "recent";
|
|
1949
|
+
sample: "sample";
|
|
1913
1950
|
}>;
|
|
1914
1951
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1915
1952
|
}, z.core.$strip>>;
|
|
1916
1953
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1917
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1918
1954
|
type: z.ZodLiteral<"enum[]">;
|
|
1919
1955
|
id: z.ZodString;
|
|
1956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1920
1957
|
name: z.ZodString;
|
|
1921
1958
|
desc: z.ZodOptional<z.ZodString>;
|
|
1922
1959
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1944,24 +1981,24 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
1944
1981
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1945
1982
|
strategy: z.ZodEnum<{
|
|
1946
1983
|
file: "file";
|
|
1947
|
-
sample: "sample";
|
|
1948
1984
|
ids: "ids";
|
|
1949
1985
|
query: "query";
|
|
1950
|
-
recent: "recent";
|
|
1951
1986
|
random: "random";
|
|
1987
|
+
recent: "recent";
|
|
1988
|
+
sample: "sample";
|
|
1952
1989
|
}>;
|
|
1953
1990
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1954
1991
|
}, z.core.$strip>>;
|
|
1955
1992
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
1956
|
-
|
|
1993
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
1994
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
1995
|
+
type: z.ZodLiteral<"number">;
|
|
1957
1996
|
numberType: z.ZodOptional<z.ZodEnum<{
|
|
1997
|
+
"double precision": "double precision";
|
|
1958
1998
|
numeric: "numeric";
|
|
1959
1999
|
real: "real";
|
|
1960
|
-
"double precision": "double precision";
|
|
1961
2000
|
}>>;
|
|
1962
|
-
|
|
1963
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
1964
|
-
type: z.ZodLiteral<"number">;
|
|
2001
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1965
2002
|
name: z.ZodString;
|
|
1966
2003
|
desc: z.ZodOptional<z.ZodString>;
|
|
1967
2004
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1989,24 +2026,24 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
1989
2026
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
1990
2027
|
strategy: z.ZodEnum<{
|
|
1991
2028
|
file: "file";
|
|
1992
|
-
sample: "sample";
|
|
1993
2029
|
ids: "ids";
|
|
1994
2030
|
query: "query";
|
|
1995
|
-
recent: "recent";
|
|
1996
2031
|
random: "random";
|
|
2032
|
+
recent: "recent";
|
|
2033
|
+
sample: "sample";
|
|
1997
2034
|
}>;
|
|
1998
2035
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
1999
2036
|
}, z.core.$strip>>;
|
|
2000
2037
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2001
|
-
|
|
2038
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
2039
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
2040
|
+
type: z.ZodLiteral<"number[]">;
|
|
2002
2041
|
numberType: z.ZodOptional<z.ZodEnum<{
|
|
2042
|
+
"double precision": "double precision";
|
|
2003
2043
|
numeric: "numeric";
|
|
2004
2044
|
real: "real";
|
|
2005
|
-
"double precision": "double precision";
|
|
2006
2045
|
}>>;
|
|
2007
|
-
|
|
2008
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
2009
|
-
type: z.ZodLiteral<"number[]">;
|
|
2046
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2010
2047
|
name: z.ZodString;
|
|
2011
2048
|
desc: z.ZodOptional<z.ZodString>;
|
|
2012
2049
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2034,18 +2071,18 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2034
2071
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2035
2072
|
strategy: z.ZodEnum<{
|
|
2036
2073
|
file: "file";
|
|
2037
|
-
sample: "sample";
|
|
2038
2074
|
ids: "ids";
|
|
2039
2075
|
query: "query";
|
|
2040
|
-
recent: "recent";
|
|
2041
2076
|
random: "random";
|
|
2077
|
+
recent: "recent";
|
|
2078
|
+
sample: "sample";
|
|
2042
2079
|
}>;
|
|
2043
2080
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2044
2081
|
}, z.core.$strip>>;
|
|
2045
2082
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2046
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2047
2083
|
type: z.ZodLiteral<"date">;
|
|
2048
2084
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
2085
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2049
2086
|
name: z.ZodString;
|
|
2050
2087
|
desc: z.ZodOptional<z.ZodString>;
|
|
2051
2088
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2073,18 +2110,18 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2073
2110
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2074
2111
|
strategy: z.ZodEnum<{
|
|
2075
2112
|
file: "file";
|
|
2076
|
-
sample: "sample";
|
|
2077
2113
|
ids: "ids";
|
|
2078
2114
|
query: "query";
|
|
2079
|
-
recent: "recent";
|
|
2080
2115
|
random: "random";
|
|
2116
|
+
recent: "recent";
|
|
2117
|
+
sample: "sample";
|
|
2081
2118
|
}>;
|
|
2082
2119
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2083
2120
|
}, z.core.$strip>>;
|
|
2084
2121
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2085
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2086
2122
|
type: z.ZodLiteral<"date[]">;
|
|
2087
2123
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
2124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2088
2125
|
name: z.ZodString;
|
|
2089
2126
|
desc: z.ZodOptional<z.ZodString>;
|
|
2090
2127
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2112,19 +2149,19 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2112
2149
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2113
2150
|
strategy: z.ZodEnum<{
|
|
2114
2151
|
file: "file";
|
|
2115
|
-
sample: "sample";
|
|
2116
2152
|
ids: "ids";
|
|
2117
2153
|
query: "query";
|
|
2118
|
-
recent: "recent";
|
|
2119
2154
|
random: "random";
|
|
2155
|
+
recent: "recent";
|
|
2156
|
+
sample: "sample";
|
|
2120
2157
|
}>;
|
|
2121
2158
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2122
2159
|
}, z.core.$strip>>;
|
|
2123
2160
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2124
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2125
2161
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
2126
2162
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
2127
2163
|
type: z.ZodLiteral<"numeric">;
|
|
2164
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2128
2165
|
name: z.ZodString;
|
|
2129
2166
|
desc: z.ZodOptional<z.ZodString>;
|
|
2130
2167
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2152,19 +2189,19 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2152
2189
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2153
2190
|
strategy: z.ZodEnum<{
|
|
2154
2191
|
file: "file";
|
|
2155
|
-
sample: "sample";
|
|
2156
2192
|
ids: "ids";
|
|
2157
2193
|
query: "query";
|
|
2158
|
-
recent: "recent";
|
|
2159
2194
|
random: "random";
|
|
2195
|
+
recent: "recent";
|
|
2196
|
+
sample: "sample";
|
|
2160
2197
|
}>;
|
|
2161
2198
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2162
2199
|
}, z.core.$strip>>;
|
|
2163
2200
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2164
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2165
2201
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
2166
2202
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
2167
2203
|
type: z.ZodLiteral<"numeric[]">;
|
|
2204
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2168
2205
|
name: z.ZodString;
|
|
2169
2206
|
desc: z.ZodOptional<z.ZodString>;
|
|
2170
2207
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2192,18 +2229,18 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2192
2229
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2193
2230
|
strategy: z.ZodEnum<{
|
|
2194
2231
|
file: "file";
|
|
2195
|
-
sample: "sample";
|
|
2196
2232
|
ids: "ids";
|
|
2197
2233
|
query: "query";
|
|
2198
|
-
recent: "recent";
|
|
2199
2234
|
random: "random";
|
|
2235
|
+
recent: "recent";
|
|
2236
|
+
sample: "sample";
|
|
2200
2237
|
}>;
|
|
2201
2238
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2202
2239
|
}, z.core.$strip>>;
|
|
2203
2240
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2204
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2205
2241
|
type: z.ZodLiteral<"json">;
|
|
2206
2242
|
id: z.ZodString;
|
|
2243
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2207
2244
|
name: z.ZodString;
|
|
2208
2245
|
desc: z.ZodOptional<z.ZodString>;
|
|
2209
2246
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2231,21 +2268,21 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2231
2268
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2232
2269
|
strategy: z.ZodEnum<{
|
|
2233
2270
|
file: "file";
|
|
2234
|
-
sample: "sample";
|
|
2235
2271
|
ids: "ids";
|
|
2236
2272
|
query: "query";
|
|
2237
|
-
recent: "recent";
|
|
2238
2273
|
random: "random";
|
|
2274
|
+
recent: "recent";
|
|
2275
|
+
sample: "sample";
|
|
2239
2276
|
}>;
|
|
2240
2277
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2241
2278
|
}, z.core.$strip>>;
|
|
2242
2279
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2243
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2244
2280
|
type: z.ZodLiteral<"searchText">;
|
|
2245
2281
|
sourceColumns: z.ZodArray<z.ZodObject<{
|
|
2246
2282
|
name: z.ZodString;
|
|
2247
2283
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
2248
2284
|
}, z.core.$strict>>;
|
|
2285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2249
2286
|
name: z.ZodString;
|
|
2250
2287
|
desc: z.ZodOptional<z.ZodString>;
|
|
2251
2288
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2273,22 +2310,22 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2273
2310
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2274
2311
|
strategy: z.ZodEnum<{
|
|
2275
2312
|
file: "file";
|
|
2276
|
-
sample: "sample";
|
|
2277
2313
|
ids: "ids";
|
|
2278
2314
|
query: "query";
|
|
2279
|
-
recent: "recent";
|
|
2280
2315
|
random: "random";
|
|
2316
|
+
recent: "recent";
|
|
2317
|
+
sample: "sample";
|
|
2281
2318
|
}>;
|
|
2282
2319
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2283
2320
|
}, z.core.$strip>>;
|
|
2284
2321
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2285
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2286
2322
|
type: z.ZodLiteral<"virtual">;
|
|
2287
2323
|
id: z.ZodString;
|
|
2288
2324
|
virtualType: z.ZodOptional<z.ZodEnum<{
|
|
2289
|
-
query: "query";
|
|
2290
2325
|
code: "code";
|
|
2326
|
+
query: "query";
|
|
2291
2327
|
}>>;
|
|
2328
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2292
2329
|
name: z.ZodString;
|
|
2293
2330
|
desc: z.ZodOptional<z.ZodString>;
|
|
2294
2331
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2316,18 +2353,18 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2316
2353
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2317
2354
|
strategy: z.ZodEnum<{
|
|
2318
2355
|
file: "file";
|
|
2319
|
-
sample: "sample";
|
|
2320
2356
|
ids: "ids";
|
|
2321
2357
|
query: "query";
|
|
2322
|
-
recent: "recent";
|
|
2323
2358
|
random: "random";
|
|
2359
|
+
recent: "recent";
|
|
2360
|
+
sample: "sample";
|
|
2324
2361
|
}>;
|
|
2325
2362
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2326
2363
|
}, z.core.$strip>>;
|
|
2327
2364
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2328
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2329
2365
|
type: z.ZodLiteral<"vector">;
|
|
2330
2366
|
dimensions: z.ZodNumber;
|
|
2367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2331
2368
|
name: z.ZodString;
|
|
2332
2369
|
desc: z.ZodOptional<z.ZodString>;
|
|
2333
2370
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2355,18 +2392,18 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2355
2392
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2356
2393
|
strategy: z.ZodEnum<{
|
|
2357
2394
|
file: "file";
|
|
2358
|
-
sample: "sample";
|
|
2359
2395
|
ids: "ids";
|
|
2360
2396
|
query: "query";
|
|
2361
|
-
recent: "recent";
|
|
2362
2397
|
random: "random";
|
|
2398
|
+
recent: "recent";
|
|
2399
|
+
sample: "sample";
|
|
2363
2400
|
}>;
|
|
2364
2401
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2365
2402
|
}, z.core.$strip>>;
|
|
2366
2403
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2367
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2368
2404
|
type: z.ZodLiteral<"vector[]">;
|
|
2369
2405
|
dimensions: z.ZodNumber;
|
|
2406
|
+
}, z.core.$strict>], "type">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2370
2407
|
name: z.ZodString;
|
|
2371
2408
|
desc: z.ZodOptional<z.ZodString>;
|
|
2372
2409
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2394,35 +2431,35 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2394
2431
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2395
2432
|
strategy: z.ZodEnum<{
|
|
2396
2433
|
file: "file";
|
|
2397
|
-
sample: "sample";
|
|
2398
2434
|
ids: "ids";
|
|
2399
2435
|
query: "query";
|
|
2400
|
-
recent: "recent";
|
|
2401
2436
|
random: "random";
|
|
2437
|
+
recent: "recent";
|
|
2438
|
+
sample: "sample";
|
|
2402
2439
|
}>;
|
|
2403
2440
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2404
2441
|
}, z.core.$strip>>;
|
|
2405
2442
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2406
|
-
|
|
2443
|
+
type: z.ZodLiteral<"relation">;
|
|
2444
|
+
with: z.ZodString;
|
|
2407
2445
|
relationType: z.ZodLiteral<"BelongsToOne">;
|
|
2408
2446
|
customJoinClause: z.ZodOptional<z.ZodString>;
|
|
2409
2447
|
useConstraint: z.ZodOptional<z.ZodBoolean>;
|
|
2410
2448
|
onUpdate: z.ZodOptional<z.ZodEnum<{
|
|
2411
2449
|
CASCADE: "CASCADE";
|
|
2412
|
-
"SET NULL": "SET NULL";
|
|
2413
2450
|
"NO ACTION": "NO ACTION";
|
|
2414
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
2415
2451
|
RESTRICT: "RESTRICT";
|
|
2452
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
2453
|
+
"SET NULL": "SET NULL";
|
|
2416
2454
|
}>>;
|
|
2417
2455
|
onDelete: z.ZodOptional<z.ZodEnum<{
|
|
2418
2456
|
CASCADE: "CASCADE";
|
|
2419
|
-
"SET NULL": "SET NULL";
|
|
2420
2457
|
"NO ACTION": "NO ACTION";
|
|
2421
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
2422
2458
|
RESTRICT: "RESTRICT";
|
|
2459
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
2460
|
+
"SET NULL": "SET NULL";
|
|
2423
2461
|
}>>;
|
|
2424
|
-
|
|
2425
|
-
with: z.ZodString;
|
|
2462
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2426
2463
|
name: z.ZodString;
|
|
2427
2464
|
desc: z.ZodOptional<z.ZodString>;
|
|
2428
2465
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2450,21 +2487,21 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2450
2487
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2451
2488
|
strategy: z.ZodEnum<{
|
|
2452
2489
|
file: "file";
|
|
2453
|
-
sample: "sample";
|
|
2454
2490
|
ids: "ids";
|
|
2455
2491
|
query: "query";
|
|
2456
|
-
recent: "recent";
|
|
2457
2492
|
random: "random";
|
|
2493
|
+
recent: "recent";
|
|
2494
|
+
sample: "sample";
|
|
2458
2495
|
}>;
|
|
2459
2496
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2460
2497
|
}, z.core.$strip>>;
|
|
2461
2498
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2462
|
-
|
|
2499
|
+
type: z.ZodLiteral<"relation">;
|
|
2500
|
+
with: z.ZodString;
|
|
2463
2501
|
relationType: z.ZodLiteral<"HasMany">;
|
|
2464
2502
|
joinColumn: z.ZodString;
|
|
2465
2503
|
fromColumn: z.ZodOptional<z.ZodString>;
|
|
2466
|
-
|
|
2467
|
-
with: z.ZodString;
|
|
2504
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2468
2505
|
name: z.ZodString;
|
|
2469
2506
|
desc: z.ZodOptional<z.ZodString>;
|
|
2470
2507
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2492,34 +2529,34 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2492
2529
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2493
2530
|
strategy: z.ZodEnum<{
|
|
2494
2531
|
file: "file";
|
|
2495
|
-
sample: "sample";
|
|
2496
2532
|
ids: "ids";
|
|
2497
2533
|
query: "query";
|
|
2498
|
-
recent: "recent";
|
|
2499
2534
|
random: "random";
|
|
2535
|
+
recent: "recent";
|
|
2536
|
+
sample: "sample";
|
|
2500
2537
|
}>;
|
|
2501
2538
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2502
2539
|
}, z.core.$strip>>;
|
|
2503
2540
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2504
|
-
|
|
2541
|
+
type: z.ZodLiteral<"relation">;
|
|
2542
|
+
with: z.ZodString;
|
|
2505
2543
|
relationType: z.ZodLiteral<"ManyToMany">;
|
|
2506
2544
|
joinTable: z.ZodString;
|
|
2507
2545
|
onUpdate: z.ZodEnum<{
|
|
2508
2546
|
CASCADE: "CASCADE";
|
|
2509
|
-
"SET NULL": "SET NULL";
|
|
2510
2547
|
"NO ACTION": "NO ACTION";
|
|
2511
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
2512
2548
|
RESTRICT: "RESTRICT";
|
|
2549
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
2550
|
+
"SET NULL": "SET NULL";
|
|
2513
2551
|
}>;
|
|
2514
2552
|
onDelete: z.ZodEnum<{
|
|
2515
2553
|
CASCADE: "CASCADE";
|
|
2516
|
-
"SET NULL": "SET NULL";
|
|
2517
2554
|
"NO ACTION": "NO ACTION";
|
|
2518
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
2519
2555
|
RESTRICT: "RESTRICT";
|
|
2556
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
2557
|
+
"SET NULL": "SET NULL";
|
|
2520
2558
|
}>;
|
|
2521
|
-
|
|
2522
|
-
with: z.ZodString;
|
|
2559
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2523
2560
|
name: z.ZodString;
|
|
2524
2561
|
desc: z.ZodOptional<z.ZodString>;
|
|
2525
2562
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2547,79 +2584,42 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2547
2584
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2548
2585
|
strategy: z.ZodEnum<{
|
|
2549
2586
|
file: "file";
|
|
2550
|
-
sample: "sample";
|
|
2551
2587
|
ids: "ids";
|
|
2552
2588
|
query: "query";
|
|
2553
|
-
recent: "recent";
|
|
2554
2589
|
random: "random";
|
|
2590
|
+
recent: "recent";
|
|
2591
|
+
sample: "sample";
|
|
2555
2592
|
}>;
|
|
2556
2593
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2557
2594
|
}, z.core.$strip>>;
|
|
2558
2595
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2559
|
-
|
|
2596
|
+
type: z.ZodLiteral<"relation">;
|
|
2597
|
+
with: z.ZodString;
|
|
2560
2598
|
relationType: z.ZodLiteral<"OneToOne">;
|
|
2561
2599
|
customJoinClause: z.ZodOptional<z.ZodString>;
|
|
2562
2600
|
hasJoinColumn: z.ZodOptional<z.ZodBoolean>;
|
|
2563
2601
|
useConstraint: z.ZodOptional<z.ZodBoolean>;
|
|
2564
2602
|
onUpdate: z.ZodOptional<z.ZodEnum<{
|
|
2565
2603
|
CASCADE: "CASCADE";
|
|
2566
|
-
"SET NULL": "SET NULL";
|
|
2567
2604
|
"NO ACTION": "NO ACTION";
|
|
2568
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
2569
2605
|
RESTRICT: "RESTRICT";
|
|
2606
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
2607
|
+
"SET NULL": "SET NULL";
|
|
2570
2608
|
}>>;
|
|
2571
2609
|
onDelete: z.ZodOptional<z.ZodEnum<{
|
|
2572
2610
|
CASCADE: "CASCADE";
|
|
2573
|
-
"SET NULL": "SET NULL";
|
|
2574
2611
|
"NO ACTION": "NO ACTION";
|
|
2575
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
2576
2612
|
RESTRICT: "RESTRICT";
|
|
2613
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
2614
|
+
"SET NULL": "SET NULL";
|
|
2577
2615
|
}>>;
|
|
2578
|
-
type: z.ZodLiteral<"relation">;
|
|
2579
|
-
with: z.ZodString;
|
|
2580
|
-
name: z.ZodString;
|
|
2581
|
-
desc: z.ZodOptional<z.ZodString>;
|
|
2582
|
-
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
2583
|
-
toFilter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2584
|
-
dbDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2585
|
-
generated: z.ZodOptional<z.ZodObject<{
|
|
2586
|
-
type: z.ZodEnum<{
|
|
2587
|
-
STORED: "STORED";
|
|
2588
|
-
VIRTUAL: "VIRTUAL";
|
|
2589
|
-
}>;
|
|
2590
|
-
expression: z.ZodString;
|
|
2591
|
-
}, z.core.$strip>>;
|
|
2592
|
-
cone: z.ZodOptional<z.ZodObject<{
|
|
2593
|
-
note: z.ZodOptional<z.ZodString>;
|
|
2594
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2595
|
-
fixtureGenerator: z.ZodOptional<z.ZodString>;
|
|
2596
|
-
fixtureDefault: z.ZodOptional<z.ZodUnknown>;
|
|
2597
|
-
fixtureStrategy: z.ZodOptional<z.ZodLiteral<"sequence">>;
|
|
2598
|
-
fixtureCompanions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2599
|
-
entity: z.ZodString;
|
|
2600
|
-
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2601
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
2602
|
-
}, z.core.$strip>>>;
|
|
2603
|
-
fixtureParentOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2604
|
-
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2605
|
-
strategy: z.ZodEnum<{
|
|
2606
|
-
file: "file";
|
|
2607
|
-
sample: "sample";
|
|
2608
|
-
ids: "ids";
|
|
2609
|
-
query: "query";
|
|
2610
|
-
recent: "recent";
|
|
2611
|
-
random: "random";
|
|
2612
|
-
}>;
|
|
2613
|
-
config: z.ZodOptional<z.ZodUnknown>;
|
|
2614
|
-
}, z.core.$strip>>;
|
|
2615
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2616
2616
|
}, z.core.$strict>], "relationType">], "type">>;
|
|
2617
2617
|
indexes: z.ZodArray<z.ZodObject<{
|
|
2618
2618
|
type: z.ZodEnum<{
|
|
2619
|
-
unique: "unique";
|
|
2620
|
-
index: "index";
|
|
2621
2619
|
hnsw: "hnsw";
|
|
2620
|
+
index: "index";
|
|
2622
2621
|
ivfflat: "ivfflat";
|
|
2622
|
+
unique: "unique";
|
|
2623
2623
|
}>;
|
|
2624
2624
|
columns: z.ZodArray<z.ZodObject<{
|
|
2625
2625
|
name: z.ZodString;
|
|
@@ -2634,22 +2634,22 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2634
2634
|
vector_l2_ops: "vector_l2_ops";
|
|
2635
2635
|
}>>;
|
|
2636
2636
|
opclass: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2637
|
-
|
|
2638
|
-
vector_ip_ops: "vector_ip_ops";
|
|
2639
|
-
vector_l2_ops: "vector_l2_ops";
|
|
2637
|
+
gin_bigm_ops: "gin_bigm_ops";
|
|
2640
2638
|
gin_trgm_ops: "gin_trgm_ops";
|
|
2641
2639
|
gist_trgm_ops: "gist_trgm_ops";
|
|
2642
|
-
gin_bigm_ops: "gin_bigm_ops";
|
|
2643
|
-
pgroonga_varchar_full_text_search_ops_v2: "pgroonga_varchar_full_text_search_ops_v2";
|
|
2644
2640
|
pgroonga_jsonb_full_text_search_ops_v2: "pgroonga_jsonb_full_text_search_ops_v2";
|
|
2641
|
+
pgroonga_varchar_full_text_search_ops_v2: "pgroonga_varchar_full_text_search_ops_v2";
|
|
2642
|
+
vector_cosine_ops: "vector_cosine_ops";
|
|
2643
|
+
vector_ip_ops: "vector_ip_ops";
|
|
2644
|
+
vector_l2_ops: "vector_l2_ops";
|
|
2645
2645
|
}>, z.ZodString]>>;
|
|
2646
2646
|
}, z.core.$strip>>;
|
|
2647
2647
|
name: z.ZodString;
|
|
2648
2648
|
using: z.ZodOptional<z.ZodEnum<{
|
|
2649
2649
|
btree: "btree";
|
|
2650
|
-
hash: "hash";
|
|
2651
2650
|
gin: "gin";
|
|
2652
2651
|
gist: "gist";
|
|
2652
|
+
hash: "hash";
|
|
2653
2653
|
pgroonga: "pgroonga";
|
|
2654
2654
|
}>>;
|
|
2655
2655
|
nullsNotDistinct: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2681,11 +2681,11 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2681
2681
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2682
2682
|
strategy: z.ZodEnum<{
|
|
2683
2683
|
file: "file";
|
|
2684
|
-
sample: "sample";
|
|
2685
2684
|
ids: "ids";
|
|
2686
2685
|
query: "query";
|
|
2687
|
-
recent: "recent";
|
|
2688
2686
|
random: "random";
|
|
2687
|
+
recent: "recent";
|
|
2688
|
+
sample: "sample";
|
|
2689
2689
|
}>;
|
|
2690
2690
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2691
2691
|
}, z.core.$strip>>;
|
|
@@ -2708,11 +2708,11 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2708
2708
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2709
2709
|
strategy: z.ZodEnum<{
|
|
2710
2710
|
file: "file";
|
|
2711
|
-
sample: "sample";
|
|
2712
2711
|
ids: "ids";
|
|
2713
2712
|
query: "query";
|
|
2714
|
-
recent: "recent";
|
|
2715
2713
|
random: "random";
|
|
2714
|
+
recent: "recent";
|
|
2715
|
+
sample: "sample";
|
|
2716
2716
|
}>;
|
|
2717
2717
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2718
2718
|
}, z.core.$strip>>;
|
|
@@ -2721,6 +2721,9 @@ export declare const EntityJsonSchema: z.ZodObject<{
|
|
|
2721
2721
|
}, z.core.$strict>;
|
|
2722
2722
|
export declare const TemplateOptions: z.ZodObject<{
|
|
2723
2723
|
entity: z.ZodObject<{
|
|
2724
|
+
title: z.ZodString;
|
|
2725
|
+
table: z.ZodOptional<z.ZodString>;
|
|
2726
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
2724
2727
|
cone: z.ZodOptional<z.ZodObject<{
|
|
2725
2728
|
note: z.ZodOptional<z.ZodString>;
|
|
2726
2729
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2736,20 +2739,16 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
2736
2739
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2737
2740
|
strategy: z.ZodEnum<{
|
|
2738
2741
|
file: "file";
|
|
2739
|
-
sample: "sample";
|
|
2740
2742
|
ids: "ids";
|
|
2741
2743
|
query: "query";
|
|
2742
|
-
recent: "recent";
|
|
2743
2744
|
random: "random";
|
|
2745
|
+
recent: "recent";
|
|
2746
|
+
sample: "sample";
|
|
2744
2747
|
}>;
|
|
2745
2748
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2746
2749
|
}, z.core.$strip>>;
|
|
2747
2750
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2748
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
2749
|
-
title: z.ZodString;
|
|
2750
|
-
table: z.ZodOptional<z.ZodString>;
|
|
2751
2751
|
props: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2752
|
-
type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
|
|
2753
2752
|
name: z.ZodString;
|
|
2754
2753
|
desc: z.ZodOptional<z.ZodString>;
|
|
2755
2754
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2777,48 +2776,86 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
2777
2776
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2778
2777
|
strategy: z.ZodEnum<{
|
|
2779
2778
|
file: "file";
|
|
2780
|
-
sample: "sample";
|
|
2781
2779
|
ids: "ids";
|
|
2782
2780
|
query: "query";
|
|
2783
|
-
recent: "recent";
|
|
2784
2781
|
random: "random";
|
|
2782
|
+
recent: "recent";
|
|
2783
|
+
sample: "sample";
|
|
2785
2784
|
}>;
|
|
2786
2785
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2787
2786
|
}, z.core.$strip>>;
|
|
2788
2787
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2788
|
+
type: z.ZodUnion<readonly [z.ZodLiteral<"integer">, z.ZodLiteral<"integer[]">, z.ZodLiteral<"bigInteger">, z.ZodLiteral<"bigInteger[]">, z.ZodLiteral<"boolean">, z.ZodLiteral<"boolean[]">, z.ZodLiteral<"uuid">, z.ZodLiteral<"uuid[]">, z.ZodLiteral<"tsvector">]>;
|
|
2789
2789
|
}, z.core.$strict>, z.ZodObject<{
|
|
2790
|
+
name: z.ZodString;
|
|
2791
|
+
desc: z.ZodOptional<z.ZodString>;
|
|
2792
|
+
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
2793
|
+
toFilter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
2794
|
+
dbDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2795
|
+
generated: z.ZodOptional<z.ZodObject<{
|
|
2796
|
+
type: z.ZodEnum<{
|
|
2797
|
+
STORED: "STORED";
|
|
2798
|
+
VIRTUAL: "VIRTUAL";
|
|
2799
|
+
}>;
|
|
2800
|
+
expression: z.ZodString;
|
|
2801
|
+
}, z.core.$strip>>;
|
|
2802
|
+
cone: z.ZodOptional<z.ZodObject<{
|
|
2803
|
+
note: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2805
|
+
fixtureGenerator: z.ZodOptional<z.ZodString>;
|
|
2806
|
+
fixtureDefault: z.ZodOptional<z.ZodUnknown>;
|
|
2807
|
+
fixtureStrategy: z.ZodOptional<z.ZodLiteral<"sequence">>;
|
|
2808
|
+
fixtureCompanions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2809
|
+
entity: z.ZodString;
|
|
2810
|
+
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2811
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
2812
|
+
}, z.core.$strip>>>;
|
|
2813
|
+
fixtureParentOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2814
|
+
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2815
|
+
strategy: z.ZodEnum<{
|
|
2816
|
+
file: "file";
|
|
2817
|
+
ids: "ids";
|
|
2818
|
+
query: "query";
|
|
2819
|
+
random: "random";
|
|
2820
|
+
recent: "recent";
|
|
2821
|
+
sample: "sample";
|
|
2822
|
+
}>;
|
|
2823
|
+
config: z.ZodOptional<z.ZodUnknown>;
|
|
2824
|
+
}, z.core.$strip>>;
|
|
2825
|
+
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2790
2826
|
type: z.ZodLiteral<"string">;
|
|
2791
2827
|
length: z.ZodOptional<z.ZodNumber>;
|
|
2792
2828
|
zodFormat: z.ZodOptional<z.ZodEnum<{
|
|
2793
2829
|
base64: "base64";
|
|
2794
2830
|
base64url: "base64url";
|
|
2795
|
-
hex: "hex";
|
|
2796
|
-
uuid: "uuid";
|
|
2797
|
-
email: "email";
|
|
2798
|
-
url: "url";
|
|
2799
|
-
httpUrl: "httpUrl";
|
|
2800
|
-
hostname: "hostname";
|
|
2801
|
-
emoji: "emoji";
|
|
2802
|
-
jwt: "jwt";
|
|
2803
|
-
nanoid: "nanoid";
|
|
2804
|
-
cuid: "cuid";
|
|
2805
|
-
cuid2: "cuid2";
|
|
2806
|
-
ulid: "ulid";
|
|
2807
|
-
ipv4: "ipv4";
|
|
2808
|
-
ipv6: "ipv6";
|
|
2809
|
-
mac: "mac";
|
|
2810
2831
|
cidrv4: "cidrv4";
|
|
2811
2832
|
cidrv6: "cidrv6";
|
|
2833
|
+
cuid: "cuid";
|
|
2834
|
+
cuid2: "cuid2";
|
|
2835
|
+
email: "email";
|
|
2836
|
+
emoji: "emoji";
|
|
2812
2837
|
hashMd5: "hashMd5";
|
|
2813
2838
|
hashSha1: "hashSha1";
|
|
2814
2839
|
hashSha256: "hashSha256";
|
|
2815
2840
|
hashSha384: "hashSha384";
|
|
2816
2841
|
hashSha512: "hashSha512";
|
|
2842
|
+
hex: "hex";
|
|
2843
|
+
hostname: "hostname";
|
|
2844
|
+
httpUrl: "httpUrl";
|
|
2845
|
+
ipv4: "ipv4";
|
|
2846
|
+
ipv6: "ipv6";
|
|
2817
2847
|
isoDate: "isoDate";
|
|
2818
|
-
isoTime: "isoTime";
|
|
2819
2848
|
isoDatetime: "isoDatetime";
|
|
2820
2849
|
isoDuration: "isoDuration";
|
|
2850
|
+
isoTime: "isoTime";
|
|
2851
|
+
jwt: "jwt";
|
|
2852
|
+
mac: "mac";
|
|
2853
|
+
nanoid: "nanoid";
|
|
2854
|
+
ulid: "ulid";
|
|
2855
|
+
url: "url";
|
|
2856
|
+
uuid: "uuid";
|
|
2821
2857
|
}>>;
|
|
2858
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2822
2859
|
name: z.ZodString;
|
|
2823
2860
|
desc: z.ZodOptional<z.ZodString>;
|
|
2824
2861
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2846,48 +2883,48 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
2846
2883
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2847
2884
|
strategy: z.ZodEnum<{
|
|
2848
2885
|
file: "file";
|
|
2849
|
-
sample: "sample";
|
|
2850
2886
|
ids: "ids";
|
|
2851
2887
|
query: "query";
|
|
2852
|
-
recent: "recent";
|
|
2853
2888
|
random: "random";
|
|
2889
|
+
recent: "recent";
|
|
2890
|
+
sample: "sample";
|
|
2854
2891
|
}>;
|
|
2855
2892
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2856
2893
|
}, z.core.$strip>>;
|
|
2857
2894
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2858
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2859
2895
|
type: z.ZodLiteral<"string[]">;
|
|
2860
2896
|
length: z.ZodOptional<z.ZodNumber>;
|
|
2861
2897
|
zodFormat: z.ZodOptional<z.ZodEnum<{
|
|
2862
2898
|
base64: "base64";
|
|
2863
2899
|
base64url: "base64url";
|
|
2864
|
-
hex: "hex";
|
|
2865
|
-
uuid: "uuid";
|
|
2866
|
-
email: "email";
|
|
2867
|
-
url: "url";
|
|
2868
|
-
httpUrl: "httpUrl";
|
|
2869
|
-
hostname: "hostname";
|
|
2870
|
-
emoji: "emoji";
|
|
2871
|
-
jwt: "jwt";
|
|
2872
|
-
nanoid: "nanoid";
|
|
2873
|
-
cuid: "cuid";
|
|
2874
|
-
cuid2: "cuid2";
|
|
2875
|
-
ulid: "ulid";
|
|
2876
|
-
ipv4: "ipv4";
|
|
2877
|
-
ipv6: "ipv6";
|
|
2878
|
-
mac: "mac";
|
|
2879
2900
|
cidrv4: "cidrv4";
|
|
2880
2901
|
cidrv6: "cidrv6";
|
|
2902
|
+
cuid: "cuid";
|
|
2903
|
+
cuid2: "cuid2";
|
|
2904
|
+
email: "email";
|
|
2905
|
+
emoji: "emoji";
|
|
2881
2906
|
hashMd5: "hashMd5";
|
|
2882
2907
|
hashSha1: "hashSha1";
|
|
2883
2908
|
hashSha256: "hashSha256";
|
|
2884
2909
|
hashSha384: "hashSha384";
|
|
2885
2910
|
hashSha512: "hashSha512";
|
|
2911
|
+
hex: "hex";
|
|
2912
|
+
hostname: "hostname";
|
|
2913
|
+
httpUrl: "httpUrl";
|
|
2914
|
+
ipv4: "ipv4";
|
|
2915
|
+
ipv6: "ipv6";
|
|
2886
2916
|
isoDate: "isoDate";
|
|
2887
|
-
isoTime: "isoTime";
|
|
2888
2917
|
isoDatetime: "isoDatetime";
|
|
2889
2918
|
isoDuration: "isoDuration";
|
|
2919
|
+
isoTime: "isoTime";
|
|
2920
|
+
jwt: "jwt";
|
|
2921
|
+
mac: "mac";
|
|
2922
|
+
nanoid: "nanoid";
|
|
2923
|
+
ulid: "ulid";
|
|
2924
|
+
url: "url";
|
|
2925
|
+
uuid: "uuid";
|
|
2890
2926
|
}>>;
|
|
2927
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2891
2928
|
name: z.ZodString;
|
|
2892
2929
|
desc: z.ZodOptional<z.ZodString>;
|
|
2893
2930
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2915,19 +2952,19 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
2915
2952
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2916
2953
|
strategy: z.ZodEnum<{
|
|
2917
2954
|
file: "file";
|
|
2918
|
-
sample: "sample";
|
|
2919
2955
|
ids: "ids";
|
|
2920
2956
|
query: "query";
|
|
2921
|
-
recent: "recent";
|
|
2922
2957
|
random: "random";
|
|
2958
|
+
recent: "recent";
|
|
2959
|
+
sample: "sample";
|
|
2923
2960
|
}>;
|
|
2924
2961
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2925
2962
|
}, z.core.$strip>>;
|
|
2926
2963
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2927
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2928
2964
|
type: z.ZodLiteral<"enum">;
|
|
2929
2965
|
id: z.ZodString;
|
|
2930
2966
|
length: z.ZodOptional<z.ZodNumber>;
|
|
2967
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2931
2968
|
name: z.ZodString;
|
|
2932
2969
|
desc: z.ZodOptional<z.ZodString>;
|
|
2933
2970
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2955,18 +2992,18 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
2955
2992
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2956
2993
|
strategy: z.ZodEnum<{
|
|
2957
2994
|
file: "file";
|
|
2958
|
-
sample: "sample";
|
|
2959
2995
|
ids: "ids";
|
|
2960
2996
|
query: "query";
|
|
2961
|
-
recent: "recent";
|
|
2962
2997
|
random: "random";
|
|
2998
|
+
recent: "recent";
|
|
2999
|
+
sample: "sample";
|
|
2963
3000
|
}>;
|
|
2964
3001
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
2965
3002
|
}, z.core.$strip>>;
|
|
2966
3003
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
2967
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
2968
3004
|
type: z.ZodLiteral<"enum[]">;
|
|
2969
3005
|
id: z.ZodString;
|
|
3006
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2970
3007
|
name: z.ZodString;
|
|
2971
3008
|
desc: z.ZodOptional<z.ZodString>;
|
|
2972
3009
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2994,24 +3031,24 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
2994
3031
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
2995
3032
|
strategy: z.ZodEnum<{
|
|
2996
3033
|
file: "file";
|
|
2997
|
-
sample: "sample";
|
|
2998
3034
|
ids: "ids";
|
|
2999
3035
|
query: "query";
|
|
3000
|
-
recent: "recent";
|
|
3001
3036
|
random: "random";
|
|
3037
|
+
recent: "recent";
|
|
3038
|
+
sample: "sample";
|
|
3002
3039
|
}>;
|
|
3003
3040
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3004
3041
|
}, z.core.$strip>>;
|
|
3005
3042
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3006
|
-
|
|
3043
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
3044
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
3045
|
+
type: z.ZodLiteral<"number">;
|
|
3007
3046
|
numberType: z.ZodOptional<z.ZodEnum<{
|
|
3047
|
+
"double precision": "double precision";
|
|
3008
3048
|
numeric: "numeric";
|
|
3009
3049
|
real: "real";
|
|
3010
|
-
"double precision": "double precision";
|
|
3011
3050
|
}>>;
|
|
3012
|
-
|
|
3013
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
3014
|
-
type: z.ZodLiteral<"number">;
|
|
3051
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3015
3052
|
name: z.ZodString;
|
|
3016
3053
|
desc: z.ZodOptional<z.ZodString>;
|
|
3017
3054
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3039,24 +3076,24 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3039
3076
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3040
3077
|
strategy: z.ZodEnum<{
|
|
3041
3078
|
file: "file";
|
|
3042
|
-
sample: "sample";
|
|
3043
3079
|
ids: "ids";
|
|
3044
3080
|
query: "query";
|
|
3045
|
-
recent: "recent";
|
|
3046
3081
|
random: "random";
|
|
3082
|
+
recent: "recent";
|
|
3083
|
+
sample: "sample";
|
|
3047
3084
|
}>;
|
|
3048
3085
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3049
3086
|
}, z.core.$strip>>;
|
|
3050
3087
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3051
|
-
|
|
3088
|
+
precision: z.ZodOptional<z.ZodNumber>;
|
|
3089
|
+
scale: z.ZodOptional<z.ZodNumber>;
|
|
3090
|
+
type: z.ZodLiteral<"number[]">;
|
|
3052
3091
|
numberType: z.ZodOptional<z.ZodEnum<{
|
|
3092
|
+
"double precision": "double precision";
|
|
3053
3093
|
numeric: "numeric";
|
|
3054
3094
|
real: "real";
|
|
3055
|
-
"double precision": "double precision";
|
|
3056
3095
|
}>>;
|
|
3057
|
-
|
|
3058
|
-
scale: z.ZodOptional<z.ZodNumber>;
|
|
3059
|
-
type: z.ZodLiteral<"number[]">;
|
|
3096
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3060
3097
|
name: z.ZodString;
|
|
3061
3098
|
desc: z.ZodOptional<z.ZodString>;
|
|
3062
3099
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3084,18 +3121,18 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3084
3121
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3085
3122
|
strategy: z.ZodEnum<{
|
|
3086
3123
|
file: "file";
|
|
3087
|
-
sample: "sample";
|
|
3088
3124
|
ids: "ids";
|
|
3089
3125
|
query: "query";
|
|
3090
|
-
recent: "recent";
|
|
3091
3126
|
random: "random";
|
|
3127
|
+
recent: "recent";
|
|
3128
|
+
sample: "sample";
|
|
3092
3129
|
}>;
|
|
3093
3130
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3094
3131
|
}, z.core.$strip>>;
|
|
3095
3132
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3096
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3097
3133
|
type: z.ZodLiteral<"date">;
|
|
3098
3134
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
3135
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3099
3136
|
name: z.ZodString;
|
|
3100
3137
|
desc: z.ZodOptional<z.ZodString>;
|
|
3101
3138
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3123,18 +3160,18 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3123
3160
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3124
3161
|
strategy: z.ZodEnum<{
|
|
3125
3162
|
file: "file";
|
|
3126
|
-
sample: "sample";
|
|
3127
3163
|
ids: "ids";
|
|
3128
3164
|
query: "query";
|
|
3129
|
-
recent: "recent";
|
|
3130
3165
|
random: "random";
|
|
3166
|
+
recent: "recent";
|
|
3167
|
+
sample: "sample";
|
|
3131
3168
|
}>;
|
|
3132
3169
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3133
3170
|
}, z.core.$strip>>;
|
|
3134
3171
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3135
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3136
3172
|
type: z.ZodLiteral<"date[]">;
|
|
3137
3173
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
3174
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3138
3175
|
name: z.ZodString;
|
|
3139
3176
|
desc: z.ZodOptional<z.ZodString>;
|
|
3140
3177
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3162,19 +3199,19 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3162
3199
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3163
3200
|
strategy: z.ZodEnum<{
|
|
3164
3201
|
file: "file";
|
|
3165
|
-
sample: "sample";
|
|
3166
3202
|
ids: "ids";
|
|
3167
3203
|
query: "query";
|
|
3168
|
-
recent: "recent";
|
|
3169
3204
|
random: "random";
|
|
3205
|
+
recent: "recent";
|
|
3206
|
+
sample: "sample";
|
|
3170
3207
|
}>;
|
|
3171
3208
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3172
3209
|
}, z.core.$strip>>;
|
|
3173
3210
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3174
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3175
3211
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
3176
3212
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
3177
3213
|
type: z.ZodLiteral<"numeric">;
|
|
3214
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3178
3215
|
name: z.ZodString;
|
|
3179
3216
|
desc: z.ZodOptional<z.ZodString>;
|
|
3180
3217
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3202,19 +3239,19 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3202
3239
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3203
3240
|
strategy: z.ZodEnum<{
|
|
3204
3241
|
file: "file";
|
|
3205
|
-
sample: "sample";
|
|
3206
3242
|
ids: "ids";
|
|
3207
3243
|
query: "query";
|
|
3208
|
-
recent: "recent";
|
|
3209
3244
|
random: "random";
|
|
3245
|
+
recent: "recent";
|
|
3246
|
+
sample: "sample";
|
|
3210
3247
|
}>;
|
|
3211
3248
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3212
3249
|
}, z.core.$strip>>;
|
|
3213
3250
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3214
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3215
3251
|
precision: z.ZodOptional<z.ZodNumber>;
|
|
3216
3252
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
3217
3253
|
type: z.ZodLiteral<"numeric[]">;
|
|
3254
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3218
3255
|
name: z.ZodString;
|
|
3219
3256
|
desc: z.ZodOptional<z.ZodString>;
|
|
3220
3257
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3242,18 +3279,18 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3242
3279
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3243
3280
|
strategy: z.ZodEnum<{
|
|
3244
3281
|
file: "file";
|
|
3245
|
-
sample: "sample";
|
|
3246
3282
|
ids: "ids";
|
|
3247
3283
|
query: "query";
|
|
3248
|
-
recent: "recent";
|
|
3249
3284
|
random: "random";
|
|
3285
|
+
recent: "recent";
|
|
3286
|
+
sample: "sample";
|
|
3250
3287
|
}>;
|
|
3251
3288
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3252
3289
|
}, z.core.$strip>>;
|
|
3253
3290
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3254
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3255
3291
|
type: z.ZodLiteral<"json">;
|
|
3256
3292
|
id: z.ZodString;
|
|
3293
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3257
3294
|
name: z.ZodString;
|
|
3258
3295
|
desc: z.ZodOptional<z.ZodString>;
|
|
3259
3296
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3281,21 +3318,21 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3281
3318
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3282
3319
|
strategy: z.ZodEnum<{
|
|
3283
3320
|
file: "file";
|
|
3284
|
-
sample: "sample";
|
|
3285
3321
|
ids: "ids";
|
|
3286
3322
|
query: "query";
|
|
3287
|
-
recent: "recent";
|
|
3288
3323
|
random: "random";
|
|
3324
|
+
recent: "recent";
|
|
3325
|
+
sample: "sample";
|
|
3289
3326
|
}>;
|
|
3290
3327
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3291
3328
|
}, z.core.$strip>>;
|
|
3292
3329
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3293
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3294
3330
|
type: z.ZodLiteral<"searchText">;
|
|
3295
3331
|
sourceColumns: z.ZodArray<z.ZodObject<{
|
|
3296
3332
|
name: z.ZodString;
|
|
3297
3333
|
caseInsensitive: z.ZodOptional<z.ZodBoolean>;
|
|
3298
3334
|
}, z.core.$strict>>;
|
|
3335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3299
3336
|
name: z.ZodString;
|
|
3300
3337
|
desc: z.ZodOptional<z.ZodString>;
|
|
3301
3338
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3323,22 +3360,22 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3323
3360
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3324
3361
|
strategy: z.ZodEnum<{
|
|
3325
3362
|
file: "file";
|
|
3326
|
-
sample: "sample";
|
|
3327
3363
|
ids: "ids";
|
|
3328
3364
|
query: "query";
|
|
3329
|
-
recent: "recent";
|
|
3330
3365
|
random: "random";
|
|
3366
|
+
recent: "recent";
|
|
3367
|
+
sample: "sample";
|
|
3331
3368
|
}>;
|
|
3332
3369
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3333
3370
|
}, z.core.$strip>>;
|
|
3334
3371
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3335
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3336
3372
|
type: z.ZodLiteral<"virtual">;
|
|
3337
3373
|
id: z.ZodString;
|
|
3338
3374
|
virtualType: z.ZodOptional<z.ZodEnum<{
|
|
3339
|
-
query: "query";
|
|
3340
3375
|
code: "code";
|
|
3376
|
+
query: "query";
|
|
3341
3377
|
}>>;
|
|
3378
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3342
3379
|
name: z.ZodString;
|
|
3343
3380
|
desc: z.ZodOptional<z.ZodString>;
|
|
3344
3381
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3366,18 +3403,18 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3366
3403
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3367
3404
|
strategy: z.ZodEnum<{
|
|
3368
3405
|
file: "file";
|
|
3369
|
-
sample: "sample";
|
|
3370
3406
|
ids: "ids";
|
|
3371
3407
|
query: "query";
|
|
3372
|
-
recent: "recent";
|
|
3373
3408
|
random: "random";
|
|
3409
|
+
recent: "recent";
|
|
3410
|
+
sample: "sample";
|
|
3374
3411
|
}>;
|
|
3375
3412
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3376
3413
|
}, z.core.$strip>>;
|
|
3377
3414
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3378
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3379
3415
|
type: z.ZodLiteral<"vector">;
|
|
3380
3416
|
dimensions: z.ZodNumber;
|
|
3417
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3381
3418
|
name: z.ZodString;
|
|
3382
3419
|
desc: z.ZodOptional<z.ZodString>;
|
|
3383
3420
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3405,18 +3442,18 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3405
3442
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3406
3443
|
strategy: z.ZodEnum<{
|
|
3407
3444
|
file: "file";
|
|
3408
|
-
sample: "sample";
|
|
3409
3445
|
ids: "ids";
|
|
3410
3446
|
query: "query";
|
|
3411
|
-
recent: "recent";
|
|
3412
3447
|
random: "random";
|
|
3448
|
+
recent: "recent";
|
|
3449
|
+
sample: "sample";
|
|
3413
3450
|
}>;
|
|
3414
3451
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3415
3452
|
}, z.core.$strip>>;
|
|
3416
3453
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3417
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
3418
3454
|
type: z.ZodLiteral<"vector[]">;
|
|
3419
3455
|
dimensions: z.ZodNumber;
|
|
3456
|
+
}, z.core.$strict>], "type">, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3420
3457
|
name: z.ZodString;
|
|
3421
3458
|
desc: z.ZodOptional<z.ZodString>;
|
|
3422
3459
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3444,35 +3481,35 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3444
3481
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3445
3482
|
strategy: z.ZodEnum<{
|
|
3446
3483
|
file: "file";
|
|
3447
|
-
sample: "sample";
|
|
3448
3484
|
ids: "ids";
|
|
3449
3485
|
query: "query";
|
|
3450
|
-
recent: "recent";
|
|
3451
3486
|
random: "random";
|
|
3487
|
+
recent: "recent";
|
|
3488
|
+
sample: "sample";
|
|
3452
3489
|
}>;
|
|
3453
3490
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3454
3491
|
}, z.core.$strip>>;
|
|
3455
3492
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3456
|
-
|
|
3493
|
+
type: z.ZodLiteral<"relation">;
|
|
3494
|
+
with: z.ZodString;
|
|
3457
3495
|
relationType: z.ZodLiteral<"BelongsToOne">;
|
|
3458
3496
|
customJoinClause: z.ZodOptional<z.ZodString>;
|
|
3459
3497
|
useConstraint: z.ZodOptional<z.ZodBoolean>;
|
|
3460
3498
|
onUpdate: z.ZodOptional<z.ZodEnum<{
|
|
3461
3499
|
CASCADE: "CASCADE";
|
|
3462
|
-
"SET NULL": "SET NULL";
|
|
3463
3500
|
"NO ACTION": "NO ACTION";
|
|
3464
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
3465
3501
|
RESTRICT: "RESTRICT";
|
|
3502
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
3503
|
+
"SET NULL": "SET NULL";
|
|
3466
3504
|
}>>;
|
|
3467
3505
|
onDelete: z.ZodOptional<z.ZodEnum<{
|
|
3468
3506
|
CASCADE: "CASCADE";
|
|
3469
|
-
"SET NULL": "SET NULL";
|
|
3470
3507
|
"NO ACTION": "NO ACTION";
|
|
3471
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
3472
3508
|
RESTRICT: "RESTRICT";
|
|
3509
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
3510
|
+
"SET NULL": "SET NULL";
|
|
3473
3511
|
}>>;
|
|
3474
|
-
|
|
3475
|
-
with: z.ZodString;
|
|
3512
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3476
3513
|
name: z.ZodString;
|
|
3477
3514
|
desc: z.ZodOptional<z.ZodString>;
|
|
3478
3515
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3500,21 +3537,21 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3500
3537
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3501
3538
|
strategy: z.ZodEnum<{
|
|
3502
3539
|
file: "file";
|
|
3503
|
-
sample: "sample";
|
|
3504
3540
|
ids: "ids";
|
|
3505
3541
|
query: "query";
|
|
3506
|
-
recent: "recent";
|
|
3507
3542
|
random: "random";
|
|
3543
|
+
recent: "recent";
|
|
3544
|
+
sample: "sample";
|
|
3508
3545
|
}>;
|
|
3509
3546
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3510
3547
|
}, z.core.$strip>>;
|
|
3511
3548
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3512
|
-
|
|
3549
|
+
type: z.ZodLiteral<"relation">;
|
|
3550
|
+
with: z.ZodString;
|
|
3513
3551
|
relationType: z.ZodLiteral<"HasMany">;
|
|
3514
3552
|
joinColumn: z.ZodString;
|
|
3515
3553
|
fromColumn: z.ZodOptional<z.ZodString>;
|
|
3516
|
-
|
|
3517
|
-
with: z.ZodString;
|
|
3554
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3518
3555
|
name: z.ZodString;
|
|
3519
3556
|
desc: z.ZodOptional<z.ZodString>;
|
|
3520
3557
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3542,34 +3579,34 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3542
3579
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3543
3580
|
strategy: z.ZodEnum<{
|
|
3544
3581
|
file: "file";
|
|
3545
|
-
sample: "sample";
|
|
3546
3582
|
ids: "ids";
|
|
3547
3583
|
query: "query";
|
|
3548
|
-
recent: "recent";
|
|
3549
3584
|
random: "random";
|
|
3585
|
+
recent: "recent";
|
|
3586
|
+
sample: "sample";
|
|
3550
3587
|
}>;
|
|
3551
3588
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3552
3589
|
}, z.core.$strip>>;
|
|
3553
3590
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3554
|
-
|
|
3591
|
+
type: z.ZodLiteral<"relation">;
|
|
3592
|
+
with: z.ZodString;
|
|
3555
3593
|
relationType: z.ZodLiteral<"ManyToMany">;
|
|
3556
3594
|
joinTable: z.ZodString;
|
|
3557
3595
|
onUpdate: z.ZodEnum<{
|
|
3558
3596
|
CASCADE: "CASCADE";
|
|
3559
|
-
"SET NULL": "SET NULL";
|
|
3560
3597
|
"NO ACTION": "NO ACTION";
|
|
3561
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
3562
3598
|
RESTRICT: "RESTRICT";
|
|
3599
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
3600
|
+
"SET NULL": "SET NULL";
|
|
3563
3601
|
}>;
|
|
3564
3602
|
onDelete: z.ZodEnum<{
|
|
3565
3603
|
CASCADE: "CASCADE";
|
|
3566
|
-
"SET NULL": "SET NULL";
|
|
3567
3604
|
"NO ACTION": "NO ACTION";
|
|
3568
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
3569
3605
|
RESTRICT: "RESTRICT";
|
|
3606
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
3607
|
+
"SET NULL": "SET NULL";
|
|
3570
3608
|
}>;
|
|
3571
|
-
|
|
3572
|
-
with: z.ZodString;
|
|
3609
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3573
3610
|
name: z.ZodString;
|
|
3574
3611
|
desc: z.ZodOptional<z.ZodString>;
|
|
3575
3612
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3597,79 +3634,42 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3597
3634
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3598
3635
|
strategy: z.ZodEnum<{
|
|
3599
3636
|
file: "file";
|
|
3600
|
-
sample: "sample";
|
|
3601
3637
|
ids: "ids";
|
|
3602
3638
|
query: "query";
|
|
3603
|
-
recent: "recent";
|
|
3604
3639
|
random: "random";
|
|
3640
|
+
recent: "recent";
|
|
3641
|
+
sample: "sample";
|
|
3605
3642
|
}>;
|
|
3606
3643
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3607
3644
|
}, z.core.$strip>>;
|
|
3608
3645
|
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3609
|
-
|
|
3646
|
+
type: z.ZodLiteral<"relation">;
|
|
3647
|
+
with: z.ZodString;
|
|
3610
3648
|
relationType: z.ZodLiteral<"OneToOne">;
|
|
3611
3649
|
customJoinClause: z.ZodOptional<z.ZodString>;
|
|
3612
3650
|
hasJoinColumn: z.ZodOptional<z.ZodBoolean>;
|
|
3613
3651
|
useConstraint: z.ZodOptional<z.ZodBoolean>;
|
|
3614
3652
|
onUpdate: z.ZodOptional<z.ZodEnum<{
|
|
3615
3653
|
CASCADE: "CASCADE";
|
|
3616
|
-
"SET NULL": "SET NULL";
|
|
3617
3654
|
"NO ACTION": "NO ACTION";
|
|
3618
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
3619
3655
|
RESTRICT: "RESTRICT";
|
|
3656
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
3657
|
+
"SET NULL": "SET NULL";
|
|
3620
3658
|
}>>;
|
|
3621
3659
|
onDelete: z.ZodOptional<z.ZodEnum<{
|
|
3622
3660
|
CASCADE: "CASCADE";
|
|
3623
|
-
"SET NULL": "SET NULL";
|
|
3624
3661
|
"NO ACTION": "NO ACTION";
|
|
3625
|
-
"SET DEFAULT": "SET DEFAULT";
|
|
3626
3662
|
RESTRICT: "RESTRICT";
|
|
3663
|
+
"SET DEFAULT": "SET DEFAULT";
|
|
3664
|
+
"SET NULL": "SET NULL";
|
|
3627
3665
|
}>>;
|
|
3628
|
-
type: z.ZodLiteral<"relation">;
|
|
3629
|
-
with: z.ZodString;
|
|
3630
|
-
name: z.ZodString;
|
|
3631
|
-
desc: z.ZodOptional<z.ZodString>;
|
|
3632
|
-
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
3633
|
-
toFilter: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
3634
|
-
dbDefault: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3635
|
-
generated: z.ZodOptional<z.ZodObject<{
|
|
3636
|
-
type: z.ZodEnum<{
|
|
3637
|
-
STORED: "STORED";
|
|
3638
|
-
VIRTUAL: "VIRTUAL";
|
|
3639
|
-
}>;
|
|
3640
|
-
expression: z.ZodString;
|
|
3641
|
-
}, z.core.$strip>>;
|
|
3642
|
-
cone: z.ZodOptional<z.ZodObject<{
|
|
3643
|
-
note: z.ZodOptional<z.ZodString>;
|
|
3644
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3645
|
-
fixtureGenerator: z.ZodOptional<z.ZodString>;
|
|
3646
|
-
fixtureDefault: z.ZodOptional<z.ZodUnknown>;
|
|
3647
|
-
fixtureStrategy: z.ZodOptional<z.ZodLiteral<"sequence">>;
|
|
3648
|
-
fixtureCompanions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3649
|
-
entity: z.ZodString;
|
|
3650
|
-
overrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3651
|
-
count: z.ZodOptional<z.ZodNumber>;
|
|
3652
|
-
}, z.core.$strip>>>;
|
|
3653
|
-
fixtureParentOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3654
|
-
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3655
|
-
strategy: z.ZodEnum<{
|
|
3656
|
-
file: "file";
|
|
3657
|
-
sample: "sample";
|
|
3658
|
-
ids: "ids";
|
|
3659
|
-
query: "query";
|
|
3660
|
-
recent: "recent";
|
|
3661
|
-
random: "random";
|
|
3662
|
-
}>;
|
|
3663
|
-
config: z.ZodOptional<z.ZodUnknown>;
|
|
3664
|
-
}, z.core.$strip>>;
|
|
3665
|
-
}, z.core.$catchall<z.ZodUnknown>>>;
|
|
3666
3666
|
}, z.core.$strict>], "relationType">], "type">>>;
|
|
3667
3667
|
indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3668
3668
|
type: z.ZodEnum<{
|
|
3669
|
-
unique: "unique";
|
|
3670
|
-
index: "index";
|
|
3671
3669
|
hnsw: "hnsw";
|
|
3670
|
+
index: "index";
|
|
3672
3671
|
ivfflat: "ivfflat";
|
|
3672
|
+
unique: "unique";
|
|
3673
3673
|
}>;
|
|
3674
3674
|
columns: z.ZodArray<z.ZodObject<{
|
|
3675
3675
|
name: z.ZodString;
|
|
@@ -3684,22 +3684,22 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3684
3684
|
vector_l2_ops: "vector_l2_ops";
|
|
3685
3685
|
}>>;
|
|
3686
3686
|
opclass: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3687
|
-
|
|
3688
|
-
vector_ip_ops: "vector_ip_ops";
|
|
3689
|
-
vector_l2_ops: "vector_l2_ops";
|
|
3687
|
+
gin_bigm_ops: "gin_bigm_ops";
|
|
3690
3688
|
gin_trgm_ops: "gin_trgm_ops";
|
|
3691
3689
|
gist_trgm_ops: "gist_trgm_ops";
|
|
3692
|
-
gin_bigm_ops: "gin_bigm_ops";
|
|
3693
|
-
pgroonga_varchar_full_text_search_ops_v2: "pgroonga_varchar_full_text_search_ops_v2";
|
|
3694
3690
|
pgroonga_jsonb_full_text_search_ops_v2: "pgroonga_jsonb_full_text_search_ops_v2";
|
|
3691
|
+
pgroonga_varchar_full_text_search_ops_v2: "pgroonga_varchar_full_text_search_ops_v2";
|
|
3692
|
+
vector_cosine_ops: "vector_cosine_ops";
|
|
3693
|
+
vector_ip_ops: "vector_ip_ops";
|
|
3694
|
+
vector_l2_ops: "vector_l2_ops";
|
|
3695
3695
|
}>, z.ZodString]>>;
|
|
3696
3696
|
}, z.core.$strip>>;
|
|
3697
3697
|
name: z.ZodString;
|
|
3698
3698
|
using: z.ZodOptional<z.ZodEnum<{
|
|
3699
3699
|
btree: "btree";
|
|
3700
|
-
hash: "hash";
|
|
3701
3700
|
gin: "gin";
|
|
3702
3701
|
gist: "gist";
|
|
3702
|
+
hash: "hash";
|
|
3703
3703
|
pgroonga: "pgroonga";
|
|
3704
3704
|
}>>;
|
|
3705
3705
|
nullsNotDistinct: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3731,11 +3731,11 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3731
3731
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3732
3732
|
strategy: z.ZodEnum<{
|
|
3733
3733
|
file: "file";
|
|
3734
|
-
sample: "sample";
|
|
3735
3734
|
ids: "ids";
|
|
3736
3735
|
query: "query";
|
|
3737
|
-
recent: "recent";
|
|
3738
3736
|
random: "random";
|
|
3737
|
+
recent: "recent";
|
|
3738
|
+
sample: "sample";
|
|
3739
3739
|
}>;
|
|
3740
3740
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3741
3741
|
}, z.core.$strip>>;
|
|
@@ -3758,11 +3758,11 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3758
3758
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
3759
3759
|
strategy: z.ZodEnum<{
|
|
3760
3760
|
file: "file";
|
|
3761
|
-
sample: "sample";
|
|
3762
3761
|
ids: "ids";
|
|
3763
3762
|
query: "query";
|
|
3764
|
-
recent: "recent";
|
|
3765
3763
|
random: "random";
|
|
3764
|
+
recent: "recent";
|
|
3765
|
+
sample: "sample";
|
|
3766
3766
|
}>;
|
|
3767
3767
|
config: z.ZodOptional<z.ZodUnknown>;
|
|
3768
3768
|
}, z.core.$strip>>;
|
|
@@ -3822,32 +3822,32 @@ export declare const TemplateOptions: z.ZodObject<{
|
|
|
3822
3822
|
sd: z.ZodObject<{
|
|
3823
3823
|
target: z.ZodEnum<{
|
|
3824
3824
|
api: "api";
|
|
3825
|
-
web: "web";
|
|
3826
3825
|
app: "app";
|
|
3826
|
+
web: "web";
|
|
3827
3827
|
}>;
|
|
3828
3828
|
}, z.core.$strip>;
|
|
3829
3829
|
}, z.core.$strip>;
|
|
3830
3830
|
export type TemplateOptions = z.infer<typeof TemplateOptions>;
|
|
3831
3831
|
export declare const TemplateKey: z.ZodEnum<{
|
|
3832
|
-
|
|
3832
|
+
bridge: "bridge";
|
|
3833
3833
|
entity: "entity";
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
init_types: "init_types";
|
|
3837
|
-
generated_sso: "generated_sso";
|
|
3834
|
+
entry_server: "entry_server";
|
|
3835
|
+
generated: "generated";
|
|
3838
3836
|
generated_http: "generated_http";
|
|
3837
|
+
generated_sso: "generated_sso";
|
|
3839
3838
|
http_validators: "http_validators";
|
|
3839
|
+
init_types: "init_types";
|
|
3840
|
+
model: "model";
|
|
3840
3841
|
model_test: "model_test";
|
|
3841
|
-
|
|
3842
|
+
queries: "queries";
|
|
3843
|
+
sd: "sd";
|
|
3844
|
+
services: "services";
|
|
3845
|
+
view_enums_buttonset: "view_enums_buttonset";
|
|
3846
|
+
view_form: "view_form";
|
|
3847
|
+
view_id_all_select: "view_id_all_select";
|
|
3842
3848
|
view_list: "view_list";
|
|
3843
3849
|
view_list_columns: "view_list_columns";
|
|
3844
3850
|
view_search_input: "view_search_input";
|
|
3845
|
-
view_form: "view_form";
|
|
3846
|
-
view_id_all_select: "view_id_all_select";
|
|
3847
|
-
view_enums_buttonset: "view_enums_buttonset";
|
|
3848
|
-
queries: "queries";
|
|
3849
|
-
entry_server: "entry_server";
|
|
3850
|
-
sd: "sd";
|
|
3851
3851
|
}>;
|
|
3852
3852
|
export type TemplateKey = z.infer<typeof TemplateKey>;
|
|
3853
3853
|
export declare const GenerateOptions: z.ZodObject<{
|