@vibeorm/schema 4.0.0 → 4.1.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/errors.d.ts +8 -0
- package/dist/extension.d.ts +19 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +263 -197
- package/dist/index.js.map +10 -8
- package/dist/model-sql-namespace.d.ts +8 -0
- package/dist/native-rls-admission.d.ts +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Dialect, ModelIR, SchemaIR } from "./ir.ts";
|
|
2
|
+
/** Resolve declared public-only ownership without changing unrelated unqualified models. */
|
|
3
|
+
export declare function modelSqlNamespace(params: {
|
|
4
|
+
schema: SchemaIR;
|
|
5
|
+
model: ModelIR;
|
|
6
|
+
dialect?: Dialect;
|
|
7
|
+
}): string | undefined;
|
|
8
|
+
//# sourceMappingURL=model-sql-namespace.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Dialect, SchemaIR } from "./ir.ts";
|
|
2
|
+
/** Admit only the public-table native RLS contract shared by every consumer. */
|
|
3
|
+
export declare function assertNativeRlsAdmission(params: {
|
|
4
|
+
schema: SchemaIR;
|
|
5
|
+
dialect?: Dialect;
|
|
6
|
+
}): void;
|
|
7
|
+
//# sourceMappingURL=native-rls-admission.d.ts.map
|