@warlock.js/cascade 4.0.88 → 4.0.92
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/cjs/validation/database-seal-plugins.d.ts +11 -1
- package/cjs/validation/database-seal-plugins.d.ts.map +1 -1
- package/cjs/validation/database-seal-plugins.js +1 -4
- package/cjs/validation/database-seal-plugins.js.map +1 -1
- package/esm/validation/database-seal-plugins.d.ts +11 -1
- package/esm/validation/database-seal-plugins.d.ts.map +1 -1
- package/esm/validation/database-seal-plugins.js +1 -4
- package/esm/validation/database-seal-plugins.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { embedValidator } from "./plugins/embed-validator-plugin";
|
|
2
|
+
/**
|
|
3
|
+
* This file registers database seal plugins as a side effect.
|
|
4
|
+
* Import this file to ensure the plugins are registered.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* import "./validation/database-seal-plugins";
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export type DatabaseSealPlugins = typeof embedValidator;
|
|
2
12
|
//# sourceMappingURL=database-seal-plugins.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-seal-plugins.d.ts","sourceRoot":"","sources":["../../src/validation/database-seal-plugins.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"database-seal-plugins.d.ts","sourceRoot":"","sources":["../../src/validation/database-seal-plugins.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,cAAc,CAAC"}
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
'use strict';var seal=require('@warlock.js/seal'),embedValidatorPlugin=require('./plugins/embed-validator-plugin.js')
|
|
2
|
-
// 1. v.embed(model: typeof Model, options: EmbedOptions)
|
|
3
|
-
// 2. v.embedMany(model: typeof Model, options: EmbedManyOptions)
|
|
4
|
-
seal.registerPlugin(embedValidatorPlugin.embedValidator);//# sourceMappingURL=database-seal-plugins.js.map
|
|
1
|
+
'use strict';var seal=require('@warlock.js/seal'),embedValidatorPlugin=require('./plugins/embed-validator-plugin.js');seal.registerPlugin(embedValidatorPlugin.embedValidator);//# sourceMappingURL=database-seal-plugins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-seal-plugins.js","sources":["../../src/validation/database-seal-plugins.ts"],"sourcesContent":[null],"names":["registerPlugin","embedValidator"],"mappings":"
|
|
1
|
+
{"version":3,"file":"database-seal-plugins.js","sources":["../../src/validation/database-seal-plugins.ts"],"sourcesContent":[null],"names":["registerPlugin","embedValidator"],"mappings":"sHAGAA,mBAAc,CAACC,mCAAc,CAAC"}
|
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { embedValidator } from "./plugins/embed-validator-plugin";
|
|
2
|
+
/**
|
|
3
|
+
* This file registers database seal plugins as a side effect.
|
|
4
|
+
* Import this file to ensure the plugins are registered.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* ```ts
|
|
8
|
+
* import "./validation/database-seal-plugins";
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export type DatabaseSealPlugins = typeof embedValidator;
|
|
2
12
|
//# sourceMappingURL=database-seal-plugins.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-seal-plugins.d.ts","sourceRoot":"","sources":["../../src/validation/database-seal-plugins.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"database-seal-plugins.d.ts","sourceRoot":"","sources":["../../src/validation/database-seal-plugins.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAIlE;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,cAAc,CAAC"}
|
|
@@ -1,4 +1 @@
|
|
|
1
|
-
import {registerPlugin}from'@warlock.js/seal';import {embedValidator}from'./plugins/embed-validator-plugin.js'
|
|
2
|
-
// 1. v.embed(model: typeof Model, options: EmbedOptions)
|
|
3
|
-
// 2. v.embedMany(model: typeof Model, options: EmbedManyOptions)
|
|
4
|
-
registerPlugin(embedValidator);//# sourceMappingURL=database-seal-plugins.js.map
|
|
1
|
+
import {registerPlugin}from'@warlock.js/seal';import {embedValidator}from'./plugins/embed-validator-plugin.js';registerPlugin(embedValidator);//# sourceMappingURL=database-seal-plugins.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-seal-plugins.js","sources":["../../src/validation/database-seal-plugins.ts"],"sourcesContent":[null],"names":[],"mappings":"+GAGA
|
|
1
|
+
{"version":3,"file":"database-seal-plugins.js","sources":["../../src/validation/database-seal-plugins.ts"],"sourcesContent":[null],"names":[],"mappings":"+GAGA,cAAc,CAAC,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warlock.js/cascade",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.92",
|
|
4
4
|
"description": "ORM for managing databases",
|
|
5
5
|
"main": "./esm/index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
"@mongez/events": "^2.1.0",
|
|
9
9
|
"@mongez/reinforcements": "^2.3.17",
|
|
10
10
|
"@mongez/supportive-is": "^2.0.0",
|
|
11
|
-
"@warlock.js/context": "4.0.
|
|
12
|
-
"@warlock.js/logger": "4.0.
|
|
13
|
-
"@warlock.js/seal": "4.0.
|
|
11
|
+
"@warlock.js/context": "4.0.92",
|
|
12
|
+
"@warlock.js/logger": "4.0.92",
|
|
13
|
+
"@warlock.js/seal": "4.0.92"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"update": "npx ncu -u",
|