@vibeorm/sql 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/ast.d.ts +5 -2
- package/dist/ast.d.ts.map +1 -1
- package/dist/dialects/external-dependents.d.ts +28 -0
- package/dist/dialects/external-dependents.d.ts.map +1 -0
- package/dist/dialects/external-ownership.d.ts +8 -0
- package/dist/dialects/external-ownership.d.ts.map +1 -0
- package/dist/dialects/migration-inventory.d.ts.map +1 -1
- package/dist/dialects/migration-objects.d.ts.map +1 -1
- package/dist/dialects/migration-shadow.d.ts +5 -0
- package/dist/dialects/migration-shadow.d.ts.map +1 -1
- package/dist/dialects/postgres-index-keys.d.ts +9 -0
- package/dist/dialects/postgres-index-keys.d.ts.map +1 -0
- package/dist/dialects/postgres-physical-catalog.d.ts +11 -0
- package/dist/dialects/postgres-physical-catalog.d.ts.map +1 -0
- package/dist/exclusion.d.ts +2 -0
- package/dist/exclusion.d.ts.map +1 -1
- package/dist/index-columns.d.ts +15 -0
- package/dist/index-columns.d.ts.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +375 -189
- package/dist/index.js.map +18 -12
- package/dist/native-enum-parameter.d.ts +17 -0
- package/dist/native-enum-parameter.d.ts.map +1 -0
- package/dist/params.d.ts.map +1 -1
- package/dist/render.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { QualifiedSqlName } from "@vibeorm/schema";
|
|
2
|
+
declare const NATIVE_ENUM_ARRAY_PARAMETER: unique symbol;
|
|
3
|
+
/** Encoded enum-array text plus its immutable physical type; never passed to a driver. */
|
|
4
|
+
export type NativeEnumArrayParameter = {
|
|
5
|
+
readonly [NATIVE_ENUM_ARRAY_PARAMETER]: true;
|
|
6
|
+
readonly value: string;
|
|
7
|
+
readonly type: QualifiedSqlName;
|
|
8
|
+
};
|
|
9
|
+
/** Attach a typed native enum identity to centralized codec output, without re-encoding values. */
|
|
10
|
+
export declare function nativeEnumArrayParameter(params: {
|
|
11
|
+
value: string;
|
|
12
|
+
type: QualifiedSqlName;
|
|
13
|
+
}): NativeEnumArrayParameter;
|
|
14
|
+
/** Narrow the internal typed parameter before collecting its plain wire value. */
|
|
15
|
+
export declare function isNativeEnumArrayParameter(value: unknown): value is NativeEnumArrayParameter;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=native-enum-parameter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native-enum-parameter.d.ts","sourceRoot":"","sources":["../src/native-enum-parameter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,QAAA,MAAM,2BAA2B,EAAE,OAAO,MAAmD,CAAC;AAE9F,0FAA0F;AAC1F,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,CAAC,2BAA2B,CAAC,EAAE,IAAI,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;CACjC,CAAC;AAEF,mGAAmG;AACnG,wBAAgB,wBAAwB,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,gBAAgB,CAAA;CAAE,GAAG,wBAAwB,CAEpH;AAED,kFAAkF;AAClF,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,wBAAwB,CAE5F"}
|
package/dist/params.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../src/params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"params.d.ts","sourceRoot":"","sources":["../src/params.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,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+
"version": "2.5.0",
|
|
4
4
|
"description": "Dialect-aware SQL layer for VibeORM v2 — SQL AST, renderers and capability tables for postgres, sqlite and mysql",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"orm",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"bun": ">=1.2.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@vibeorm/schema": "2.
|
|
47
|
+
"@vibeorm/schema": "2.5.0"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|