@sequenceholdings/orm 2.4.0 → 2.5.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/authoring.cjs +53 -7
- package/dist/authoring.cjs.map +1 -1
- package/dist/authoring.d.cts +11 -7
- package/dist/authoring.d.ts +11 -7
- package/dist/authoring.js +53 -7
- package/dist/authoring.js.map +1 -1
- package/dist/canonical.cjs +48 -2
- package/dist/canonical.cjs.map +1 -1
- package/dist/canonical.d.cts +72 -72
- package/dist/canonical.d.ts +72 -72
- package/dist/canonical.js +48 -2
- package/dist/canonical.js.map +1 -1
- package/dist/cli.cjs +237 -20
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +237 -20
- package/dist/cli.js.map +1 -1
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/compiler.cjs +386 -14
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +16 -3
- package/dist/compiler.d.ts +16 -3
- package/dist/compiler.js +386 -15
- package/dist/compiler.js.map +1 -1
- package/dist/{constants-C6EG6Wq7.d.cts → constants-Dou1RkTo.d.cts} +7 -2
- package/dist/{constants-C6EG6Wq7.d.ts → constants-Dou1RkTo.d.ts} +7 -2
- package/dist/dynamic-input.d.cts +1 -1
- package/dist/dynamic-input.d.ts +1 -1
- package/dist/index.cjs +329 -130
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +66 -58
- package/dist/index.d.ts +66 -58
- package/dist/index.js +329 -131
- package/dist/index.js.map +1 -1
- package/dist/ir.cjs +50 -3
- package/dist/ir.cjs.map +1 -1
- package/dist/ir.d.cts +71 -71
- package/dist/ir.d.ts +71 -71
- package/dist/ir.js +50 -3
- package/dist/ir.js.map +1 -1
- package/dist/predicate-v2.cjs +50 -3
- package/dist/predicate-v2.cjs.map +1 -1
- package/dist/predicate-v2.d.cts +1 -1
- package/dist/predicate-v2.d.ts +1 -1
- package/dist/predicate-v2.js +50 -3
- package/dist/predicate-v2.js.map +1 -1
- package/dist/sdl.cjs +53 -3
- package/dist/sdl.cjs.map +1 -1
- package/dist/sdl.d.cts +3 -1
- package/dist/sdl.d.ts +3 -1
- package/dist/sdl.js +53 -3
- package/dist/sdl.js.map +1 -1
- package/package.json +1 -1
- package/dist/{definition-DjfC7Lll.d.cts → definition-B99BsOAO.d.cts} +4 -4
- package/dist/{definition-DjfC7Lll.d.ts → definition-B99BsOAO.d.ts} +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AuthoringContext, AuthoringRegistration, COLUMN_BRAND, COLUMN_DEFAULT_FNS, CatalogFolders, CheckInput, ColumnBuilder, ColumnDefaultFn, ColumnDefaultLiteral, ColumnTypeSpec, Comparator, CowMutationInput, DrizzleRelation, DurationInput, ENUM_BRAND, EnumRef, EtlSourceInput, ExternalObjectRef, ForeignKeyInput, FunctionRef, IndexInput, LINK_BRAND, LinkKind, LoadNamespaceOptions, LoadedNamespaceV2, ManualSourceInput, NAMESPACE_CONFIG_BRAND, NAMESPACE_CONFIG_FILE, NamespaceCapabilitiesInput, NamespaceCatalog, NamespaceConfigInput, ORM_TO_PIPELINE_TYPE, OrmContractColumnMap, OrmContractPipelineColumn, OrmSyncedTableContract, OrmToPipelineType, OverlayTableRef, OverlayWinsUnionInput, OverrideRowMutationInput, PolicyInput, PolicyVariantInput, PolicyWithVariantsInput, PrefetchSourceInput, ReferentialAction, RelationRef, ResolvedSourceInput, ResolvedTableConfig, ResolvedTablePoliciesInput, RevertOverlayMutationInput, SCHEMA_DIR, SYNCED_CONTRACT_HASH_DOMAIN, SeqLink, SeqNamespaceConfig, SeqTable, SeqView, SerializeNamespaceInput, SyncedTableConfig, SyncedTablePoliciesInput, TABLE_BRAND, TableConfig, TablePoliciesInput, TableRef, ToManyOptions, ToOneOptions, ToPlatformUserOptions, TypedSyncedTableConfig, VIEW_BRAND, ViewConfig, ViewPoliciesInput, ViewQueryContext, ViewSelectQuery, activeAuthoringContext, beginAuthoringContext, computeCanonicalHash, computeSyncedContractHash, custom, defineEnum, defineNamespace, defineResolvedTable, defineSyncedTable, defineTable, defineView, deriveColumnName, endAuthoringContext, etlSource, extractOrmSyncedTableContract, highest, isColumnBuilder, isEnumRef, isSeqLink, isSeqNamespaceConfig, isSeqTable, isSeqView, latest, loadNamespaceFromDir, lowest, managedFn, manualSource, nonNullFirst, objectRef, overlayWinsUnion, overrideRowMutation, prefetchSource, priority, revertOverlayMutation, serializeNamespace, syncedContractSurface, t, toMany, toOne, toPlatformUser, validateNamespaceCatalog } from './authoring.cjs';
|
|
2
|
-
export { S as SqlOperationDefinition, d as defineOperation } from './definition-
|
|
2
|
+
export { S as SqlOperationDefinition, d as defineOperation } from './definition-B99BsOAO.cjs';
|
|
3
3
|
import { CanonicalDefinition } from './canonical.cjs';
|
|
4
4
|
export { CANONICAL_FORMAT, CanonicalColumn, CanonicalEnum, CanonicalLink, CanonicalTable, CanonicalView, IDENTIFIER_RE, OntologyContract, canonicalActionSchema, canonicalColumnSchema, canonicalDefinitionSchema, canonicalEnumSchema, canonicalIndexSchema, canonicalLinkSchema, canonicalPoliciesSchema, canonicalRelations, canonicalTableSchema, canonicalViewSchema, normalizeCanonical, ontologyContractSchema, readOntologyContract } from './canonical.cjs';
|
|
5
5
|
import { CustomRolesBlock } from '@sequenceholdings/custom-roles-manifest';
|
|
@@ -7,7 +7,7 @@ export { CustomRolesBlock, capabilityPinsSchema, customRolesBlockSchema, customR
|
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { PredIr } from './ir.cjs';
|
|
9
9
|
export { CLAIMS_CONTRACT, CMP_OPS, COMPOSED_IR_VERSION, CellSelectionIr, ClaimKey, CmpOp, CompiledArtifact, CompiledOperation, DATE_BUCKETS, DateBucket, EXTERNAL_POLICY_CLAIM_KEYS, ExternalPolicyClaimKey, GUARDED_IR_VERSION, GroupByKeyIr, INPUT_REF_KINDS, IR_VERSION, InputRefKind, IrVersionError, LEGACY_IR_VERSION, LimitIr, OrderIr, PrefetchPlanIr, RUNTIME_SQL_IR_VERSION, ResolvedMetaIr, ResolvedSourceIr, RootIr, SQL_IR_VERSION, SelectionIr, TableMetaIr, ValueIr, VariableDefaultIr, VariableIr, compiledArtifactSchema, compiledOperationSchema, indexByHash, isExternalPolicyClaimKey, limitIrSchema, normalizeIr, orderIrSchema, predIrSchema, prefetchPlanIrSchema, requiredArtifactIrVersion, resolvedMetaIrSchema, resolvedSourceIrSchema, rootIrSchema, selectionIrSchema, tableMetaIrSchema, valueIrSchema, variableDefaultIrSchema, variableIrSchema } from './ir.cjs';
|
|
10
|
-
export { e as CAPABILITY_KEY_PATTERN, C as CELLS_FIELD, a as CELL_PARTS, f as CELL_PART_SUFFIX, g as CLAIM_KEY_PATTERN, h as COLUMN_IDENTIFIER_PATTERN, i as CONSUMER_ROLE_SUFFIX, b as CellPart, D as DEFINITION_FILE_EXTENSIONS, H as HASH_DOMAIN, I as IDENTIFIER_PATTERN, M as MATERIALIZE_ACTOR, j as MATERIALIZE_CLAIMS_JSON, k as MAX_DEFINITION_FILE_BYTES, l as MAX_GENERATED_SDL_BYTES, m as MAX_IDENTIFIER_LENGTH, n as
|
|
10
|
+
export { e as CAPABILITY_KEY_PATTERN, C as CELLS_FIELD, a as CELL_PARTS, f as CELL_PART_SUFFIX, g as CLAIM_KEY_PATTERN, h as COLUMN_IDENTIFIER_PATTERN, i as CONSUMER_ROLE_SUFFIX, b as CellPart, D as DEFINITION_FILE_EXTENSIONS, H as HASH_DOMAIN, I as IDENTIFIER_PATTERN, M as MATERIALIZE_ACTOR, j as MATERIALIZE_CLAIMS_JSON, k as MAX_DEFINITION_FILE_BYTES, l as MAX_GENERATED_SDL_BYTES, m as MAX_IDENTIFIER_LENGTH, n as MAX_PERSISTED_READ_ROWS, o as MAX_TRACKED_COLUMN_NAME, p as NAMESPACE_CONFIG_FILENAMES, N as NAMESPACE_PATTERN, O as ORM_DATA_TOKEN_HEADER, q as ORM_REGISTRATION_MAX_BYTES, r as ORM_SCHEMA_PREFIX, d as ORM_SERVICE_DATA_TOKEN_HEADER, Q as QUALIFIED_TABLE_PATTERN, R as RESERVED_COLUMN_NAMES, s as RESERVED_TABLE_NAMES, S as SYNCED_SOURCE_PATTERN, c as cellColumnName, t as consumerRoleName, u as materializeLockKey, v as materializedRefreshFunctionName, w as ormSchemaName } from './constants-Dou1RkTo.cjs';
|
|
11
11
|
import { generateDrizzleJson } from 'drizzle-kit/api';
|
|
12
12
|
import { PgTableWithColumns } from 'drizzle-orm/pg-core';
|
|
13
13
|
export { P as PolicyExpression, p as policyExpressionSchema, a as policyVariantSchema } from './policy-1iZbGnZZ.cjs';
|
|
@@ -53,13 +53,13 @@ declare const actionParamSchema: z.ZodObject<{
|
|
|
53
53
|
bigint: "bigint";
|
|
54
54
|
boolean: "boolean";
|
|
55
55
|
date: "date";
|
|
56
|
-
text: "text";
|
|
57
|
-
timestamptz: "timestamptz";
|
|
58
|
-
jsonb: "jsonb";
|
|
59
56
|
uuid: "uuid";
|
|
57
|
+
text: "text";
|
|
60
58
|
integer: "integer";
|
|
61
59
|
numeric: "numeric";
|
|
62
60
|
double: "double";
|
|
61
|
+
timestamptz: "timestamptz";
|
|
62
|
+
jsonb: "jsonb";
|
|
63
63
|
}>;
|
|
64
64
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
65
65
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -78,13 +78,13 @@ declare const actionSchema: z.ZodObject<{
|
|
|
78
78
|
bigint: "bigint";
|
|
79
79
|
boolean: "boolean";
|
|
80
80
|
date: "date";
|
|
81
|
-
text: "text";
|
|
82
|
-
timestamptz: "timestamptz";
|
|
83
|
-
jsonb: "jsonb";
|
|
84
81
|
uuid: "uuid";
|
|
82
|
+
text: "text";
|
|
85
83
|
integer: "integer";
|
|
86
84
|
numeric: "numeric";
|
|
87
85
|
double: "double";
|
|
86
|
+
timestamptz: "timestamptz";
|
|
87
|
+
jsonb: "jsonb";
|
|
88
88
|
}>;
|
|
89
89
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
90
90
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -95,19 +95,19 @@ declare const actionSchema: z.ZodObject<{
|
|
|
95
95
|
bigint: "bigint";
|
|
96
96
|
boolean: "boolean";
|
|
97
97
|
date: "date";
|
|
98
|
-
text: "text";
|
|
99
|
-
timestamptz: "timestamptz";
|
|
100
|
-
jsonb: "jsonb";
|
|
101
98
|
uuid: "uuid";
|
|
99
|
+
text: "text";
|
|
102
100
|
integer: "integer";
|
|
103
101
|
numeric: "numeric";
|
|
104
102
|
double: "double";
|
|
103
|
+
timestamptz: "timestamptz";
|
|
104
|
+
jsonb: "jsonb";
|
|
105
105
|
}>>>;
|
|
106
106
|
audit: z.ZodOptional<z.ZodObject<{
|
|
107
107
|
action: z.ZodEnum<{
|
|
108
108
|
update: "update";
|
|
109
|
-
create: "create";
|
|
110
109
|
delete: "delete";
|
|
110
|
+
create: "create";
|
|
111
111
|
}>;
|
|
112
112
|
resource: z.ZodOptional<z.ZodString>;
|
|
113
113
|
}, z.core.$strict>>;
|
|
@@ -130,13 +130,13 @@ declare const columnTypeSchema: z.ZodEnum<{
|
|
|
130
130
|
bigint: "bigint";
|
|
131
131
|
boolean: "boolean";
|
|
132
132
|
date: "date";
|
|
133
|
-
text: "text";
|
|
134
|
-
timestamptz: "timestamptz";
|
|
135
|
-
jsonb: "jsonb";
|
|
136
133
|
uuid: "uuid";
|
|
134
|
+
text: "text";
|
|
137
135
|
integer: "integer";
|
|
138
136
|
numeric: "numeric";
|
|
139
137
|
double: "double";
|
|
138
|
+
timestamptz: "timestamptz";
|
|
139
|
+
jsonb: "jsonb";
|
|
140
140
|
}>;
|
|
141
141
|
/**
|
|
142
142
|
* True when the default is one of the allowlisted SQL function calls for its
|
|
@@ -162,13 +162,13 @@ declare const columnSchema: z.ZodObject<{
|
|
|
162
162
|
bigint: "bigint";
|
|
163
163
|
boolean: "boolean";
|
|
164
164
|
date: "date";
|
|
165
|
-
text: "text";
|
|
166
|
-
timestamptz: "timestamptz";
|
|
167
|
-
jsonb: "jsonb";
|
|
168
165
|
uuid: "uuid";
|
|
166
|
+
text: "text";
|
|
169
167
|
integer: "integer";
|
|
170
168
|
numeric: "numeric";
|
|
171
169
|
double: "double";
|
|
170
|
+
timestamptz: "timestamptz";
|
|
171
|
+
jsonb: "jsonb";
|
|
172
172
|
}>;
|
|
173
173
|
primary_key: z.ZodOptional<z.ZodBoolean>;
|
|
174
174
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -212,13 +212,13 @@ declare const tableFileSchema: z.ZodObject<{
|
|
|
212
212
|
bigint: "bigint";
|
|
213
213
|
boolean: "boolean";
|
|
214
214
|
date: "date";
|
|
215
|
-
text: "text";
|
|
216
|
-
timestamptz: "timestamptz";
|
|
217
|
-
jsonb: "jsonb";
|
|
218
215
|
uuid: "uuid";
|
|
216
|
+
text: "text";
|
|
219
217
|
integer: "integer";
|
|
220
218
|
numeric: "numeric";
|
|
221
219
|
double: "double";
|
|
220
|
+
timestamptz: "timestamptz";
|
|
221
|
+
jsonb: "jsonb";
|
|
222
222
|
}>;
|
|
223
223
|
primary_key: z.ZodOptional<z.ZodBoolean>;
|
|
224
224
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -263,13 +263,13 @@ declare const tableFileSchema: z.ZodObject<{
|
|
|
263
263
|
bigint: "bigint";
|
|
264
264
|
boolean: "boolean";
|
|
265
265
|
date: "date";
|
|
266
|
-
text: "text";
|
|
267
|
-
timestamptz: "timestamptz";
|
|
268
|
-
jsonb: "jsonb";
|
|
269
266
|
uuid: "uuid";
|
|
267
|
+
text: "text";
|
|
270
268
|
integer: "integer";
|
|
271
269
|
numeric: "numeric";
|
|
272
270
|
double: "double";
|
|
271
|
+
timestamptz: "timestamptz";
|
|
272
|
+
jsonb: "jsonb";
|
|
273
273
|
}>;
|
|
274
274
|
optional: z.ZodOptional<z.ZodBoolean>;
|
|
275
275
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -280,19 +280,19 @@ declare const tableFileSchema: z.ZodObject<{
|
|
|
280
280
|
bigint: "bigint";
|
|
281
281
|
boolean: "boolean";
|
|
282
282
|
date: "date";
|
|
283
|
-
text: "text";
|
|
284
|
-
timestamptz: "timestamptz";
|
|
285
|
-
jsonb: "jsonb";
|
|
286
283
|
uuid: "uuid";
|
|
284
|
+
text: "text";
|
|
287
285
|
integer: "integer";
|
|
288
286
|
numeric: "numeric";
|
|
289
287
|
double: "double";
|
|
288
|
+
timestamptz: "timestamptz";
|
|
289
|
+
jsonb: "jsonb";
|
|
290
290
|
}>>>;
|
|
291
291
|
audit: z.ZodOptional<z.ZodObject<{
|
|
292
292
|
action: z.ZodEnum<{
|
|
293
293
|
update: "update";
|
|
294
|
-
create: "create";
|
|
295
294
|
delete: "delete";
|
|
295
|
+
create: "create";
|
|
296
296
|
}>;
|
|
297
297
|
resource: z.ZodOptional<z.ZodString>;
|
|
298
298
|
}, z.core.$strict>>;
|
|
@@ -563,6 +563,14 @@ interface SyncedBacking {
|
|
|
563
563
|
readonly physicalRelation: string;
|
|
564
564
|
/** Column name → ORM column type, for claim casts in the view's WHERE. */
|
|
565
565
|
readonly columnTypes?: PredicateColumnTypes;
|
|
566
|
+
/** Operator-approved physical column privilege ceiling for a native backing.
|
|
567
|
+
* Requires a typed projection; never grants table-wide SELECT.
|
|
568
|
+
*/
|
|
569
|
+
readonly selectColumns?: readonly string[];
|
|
570
|
+
/** Server-owned query-time guard. The source owner alone enrolls this value;
|
|
571
|
+
* the proof is minted by the trusted host inside its guarded transaction.
|
|
572
|
+
*/
|
|
573
|
+
readonly readGuard?: 'crm-serving-v2';
|
|
566
574
|
}
|
|
567
575
|
/**
|
|
568
576
|
* Emit CREATE OR REPLACE VIEW + SELECT-only grants for synced tables that have
|
|
@@ -772,13 +780,13 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
772
780
|
bigint: "bigint";
|
|
773
781
|
boolean: "boolean";
|
|
774
782
|
date: "date";
|
|
775
|
-
text: "text";
|
|
776
|
-
timestamptz: "timestamptz";
|
|
777
|
-
jsonb: "jsonb";
|
|
778
783
|
uuid: "uuid";
|
|
784
|
+
text: "text";
|
|
779
785
|
integer: "integer";
|
|
780
786
|
numeric: "numeric";
|
|
781
787
|
double: "double";
|
|
788
|
+
timestamptz: "timestamptz";
|
|
789
|
+
jsonb: "jsonb";
|
|
782
790
|
}>, z.ZodObject<{
|
|
783
791
|
enum: z.ZodString;
|
|
784
792
|
}, z.core.$strip>]>;
|
|
@@ -800,10 +808,10 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
800
808
|
of: z.ZodString;
|
|
801
809
|
part: z.ZodEnum<{
|
|
802
810
|
at: "at";
|
|
803
|
-
by: "by";
|
|
804
|
-
rev: "rev";
|
|
805
811
|
source: "source";
|
|
812
|
+
by: "by";
|
|
806
813
|
conflicts: "conflicts";
|
|
814
|
+
rev: "rev";
|
|
807
815
|
}>;
|
|
808
816
|
}, z.core.$strict>>;
|
|
809
817
|
}, z.core.$strip>>>;
|
|
@@ -887,21 +895,21 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
887
895
|
bigint: "bigint";
|
|
888
896
|
boolean: "boolean";
|
|
889
897
|
date: "date";
|
|
890
|
-
text: "text";
|
|
891
|
-
timestamptz: "timestamptz";
|
|
892
|
-
jsonb: "jsonb";
|
|
893
898
|
uuid: "uuid";
|
|
899
|
+
text: "text";
|
|
894
900
|
integer: "integer";
|
|
895
901
|
numeric: "numeric";
|
|
896
902
|
double: "double";
|
|
903
|
+
timestamptz: "timestamptz";
|
|
904
|
+
jsonb: "jsonb";
|
|
897
905
|
}>;
|
|
898
906
|
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
899
907
|
}, z.core.$strip>>>;
|
|
900
908
|
executes: z.ZodString;
|
|
901
909
|
returns: z.ZodDefault<z.ZodEnum<{
|
|
902
910
|
rows: "rows";
|
|
903
|
-
rowsAffected: "rowsAffected";
|
|
904
911
|
scalar: "scalar";
|
|
912
|
+
rowsAffected: "rowsAffected";
|
|
905
913
|
}>>;
|
|
906
914
|
audit: z.ZodOptional<z.ZodObject<{
|
|
907
915
|
action: z.ZodString;
|
|
@@ -957,13 +965,13 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
957
965
|
bigint: "bigint";
|
|
958
966
|
boolean: "boolean";
|
|
959
967
|
date: "date";
|
|
960
|
-
text: "text";
|
|
961
|
-
timestamptz: "timestamptz";
|
|
962
|
-
jsonb: "jsonb";
|
|
963
968
|
uuid: "uuid";
|
|
969
|
+
text: "text";
|
|
964
970
|
integer: "integer";
|
|
965
971
|
numeric: "numeric";
|
|
966
972
|
double: "double";
|
|
973
|
+
timestamptz: "timestamptz";
|
|
974
|
+
jsonb: "jsonb";
|
|
967
975
|
}>, z.ZodObject<{
|
|
968
976
|
enum: z.ZodString;
|
|
969
977
|
}, z.core.$strip>]>;
|
|
@@ -985,10 +993,10 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
985
993
|
of: z.ZodString;
|
|
986
994
|
part: z.ZodEnum<{
|
|
987
995
|
at: "at";
|
|
988
|
-
by: "by";
|
|
989
|
-
rev: "rev";
|
|
990
996
|
source: "source";
|
|
997
|
+
by: "by";
|
|
991
998
|
conflicts: "conflicts";
|
|
999
|
+
rev: "rev";
|
|
992
1000
|
}>;
|
|
993
1001
|
}, z.core.$strict>>;
|
|
994
1002
|
}, z.core.$strip>>;
|
|
@@ -1037,8 +1045,8 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
1037
1045
|
sources: z.ZodArray<z.ZodObject<{
|
|
1038
1046
|
name: z.ZodString;
|
|
1039
1047
|
kind: z.ZodEnum<{
|
|
1040
|
-
manual: "manual";
|
|
1041
1048
|
prefetch: "prefetch";
|
|
1049
|
+
manual: "manual";
|
|
1042
1050
|
etl: "etl";
|
|
1043
1051
|
}>;
|
|
1044
1052
|
table: z.ZodString;
|
|
@@ -1160,13 +1168,13 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
1160
1168
|
bigint: "bigint";
|
|
1161
1169
|
boolean: "boolean";
|
|
1162
1170
|
date: "date";
|
|
1163
|
-
text: "text";
|
|
1164
|
-
timestamptz: "timestamptz";
|
|
1165
|
-
jsonb: "jsonb";
|
|
1166
1171
|
uuid: "uuid";
|
|
1172
|
+
text: "text";
|
|
1167
1173
|
integer: "integer";
|
|
1168
1174
|
numeric: "numeric";
|
|
1169
1175
|
double: "double";
|
|
1176
|
+
timestamptz: "timestamptz";
|
|
1177
|
+
jsonb: "jsonb";
|
|
1170
1178
|
}>, z.ZodObject<{
|
|
1171
1179
|
enum: z.ZodString;
|
|
1172
1180
|
}, z.core.$strip>]>;
|
|
@@ -1188,10 +1196,10 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
1188
1196
|
of: z.ZodString;
|
|
1189
1197
|
part: z.ZodEnum<{
|
|
1190
1198
|
at: "at";
|
|
1191
|
-
by: "by";
|
|
1192
|
-
rev: "rev";
|
|
1193
1199
|
source: "source";
|
|
1200
|
+
by: "by";
|
|
1194
1201
|
conflicts: "conflicts";
|
|
1202
|
+
rev: "rev";
|
|
1195
1203
|
}>;
|
|
1196
1204
|
}, z.core.$strict>>;
|
|
1197
1205
|
}, z.core.$strip>>>;
|
|
@@ -1275,21 +1283,21 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
1275
1283
|
bigint: "bigint";
|
|
1276
1284
|
boolean: "boolean";
|
|
1277
1285
|
date: "date";
|
|
1278
|
-
text: "text";
|
|
1279
|
-
timestamptz: "timestamptz";
|
|
1280
|
-
jsonb: "jsonb";
|
|
1281
1286
|
uuid: "uuid";
|
|
1287
|
+
text: "text";
|
|
1282
1288
|
integer: "integer";
|
|
1283
1289
|
numeric: "numeric";
|
|
1284
1290
|
double: "double";
|
|
1291
|
+
timestamptz: "timestamptz";
|
|
1292
|
+
jsonb: "jsonb";
|
|
1285
1293
|
}>;
|
|
1286
1294
|
nullable: z.ZodDefault<z.ZodBoolean>;
|
|
1287
1295
|
}, z.core.$strip>>>;
|
|
1288
1296
|
executes: z.ZodString;
|
|
1289
1297
|
returns: z.ZodDefault<z.ZodEnum<{
|
|
1290
1298
|
rows: "rows";
|
|
1291
|
-
rowsAffected: "rowsAffected";
|
|
1292
1299
|
scalar: "scalar";
|
|
1300
|
+
rowsAffected: "rowsAffected";
|
|
1293
1301
|
}>>;
|
|
1294
1302
|
audit: z.ZodOptional<z.ZodObject<{
|
|
1295
1303
|
action: z.ZodString;
|
|
@@ -1345,13 +1353,13 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
1345
1353
|
bigint: "bigint";
|
|
1346
1354
|
boolean: "boolean";
|
|
1347
1355
|
date: "date";
|
|
1348
|
-
text: "text";
|
|
1349
|
-
timestamptz: "timestamptz";
|
|
1350
|
-
jsonb: "jsonb";
|
|
1351
1356
|
uuid: "uuid";
|
|
1357
|
+
text: "text";
|
|
1352
1358
|
integer: "integer";
|
|
1353
1359
|
numeric: "numeric";
|
|
1354
1360
|
double: "double";
|
|
1361
|
+
timestamptz: "timestamptz";
|
|
1362
|
+
jsonb: "jsonb";
|
|
1355
1363
|
}>, z.ZodObject<{
|
|
1356
1364
|
enum: z.ZodString;
|
|
1357
1365
|
}, z.core.$strip>]>;
|
|
@@ -1373,10 +1381,10 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
1373
1381
|
of: z.ZodString;
|
|
1374
1382
|
part: z.ZodEnum<{
|
|
1375
1383
|
at: "at";
|
|
1376
|
-
by: "by";
|
|
1377
|
-
rev: "rev";
|
|
1378
1384
|
source: "source";
|
|
1385
|
+
by: "by";
|
|
1379
1386
|
conflicts: "conflicts";
|
|
1387
|
+
rev: "rev";
|
|
1380
1388
|
}>;
|
|
1381
1389
|
}, z.core.$strict>>;
|
|
1382
1390
|
}, z.core.$strip>>;
|
|
@@ -1425,8 +1433,8 @@ declare const ormMigrationExportSchema: z.ZodObject<{
|
|
|
1425
1433
|
sources: z.ZodArray<z.ZodObject<{
|
|
1426
1434
|
name: z.ZodString;
|
|
1427
1435
|
kind: z.ZodEnum<{
|
|
1428
|
-
manual: "manual";
|
|
1429
1436
|
prefetch: "prefetch";
|
|
1437
|
+
manual: "manual";
|
|
1430
1438
|
etl: "etl";
|
|
1431
1439
|
}>;
|
|
1432
1440
|
table: z.ZodString;
|