@atscript/moost-db 0.1.43 → 0.1.45
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/index.cjs +7 -3
- package/dist/index.mjs +7 -3
- package/package.json +10 -10
package/dist/index.cjs
CHANGED
|
@@ -172,19 +172,19 @@ var SelectControlDto = class {
|
|
|
172
172
|
(0, _atscript_typescript_utils.defineAnnotatedType)("object", SortControlDto).propPattern(/./, (0, _atscript_typescript_utils.defineAnnotatedType)("union").item((0, _atscript_typescript_utils.defineAnnotatedType)().designType("number").value(1).$type).item((0, _atscript_typescript_utils.defineAnnotatedType)().designType("number").value(-1).$type).$type);
|
|
173
173
|
(0, _atscript_typescript_utils.defineAnnotatedType)("object", SelectControlDto).propPattern(/./, (0, _atscript_typescript_utils.defineAnnotatedType)("union").item((0, _atscript_typescript_utils.defineAnnotatedType)().designType("number").value(1).$type).item((0, _atscript_typescript_utils.defineAnnotatedType)().designType("number").value(0).$type).$type);
|
|
174
174
|
//#endregion
|
|
175
|
-
//#region \0@oxc-project+runtime@0.
|
|
175
|
+
//#region \0@oxc-project+runtime@0.120.0/helpers/decorateMetadata.js
|
|
176
176
|
function __decorateMetadata(k, v) {
|
|
177
177
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
178
178
|
}
|
|
179
179
|
//#endregion
|
|
180
|
-
//#region \0@oxc-project+runtime@0.
|
|
180
|
+
//#region \0@oxc-project+runtime@0.120.0/helpers/decorateParam.js
|
|
181
181
|
function __decorateParam(paramIndex, decorator) {
|
|
182
182
|
return function(target, key) {
|
|
183
183
|
decorator(target, key, paramIndex);
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
186
|
//#endregion
|
|
187
|
-
//#region \0@oxc-project+runtime@0.
|
|
187
|
+
//#region \0@oxc-project+runtime@0.120.0/helpers/decorate.js
|
|
188
188
|
function __decorate(decorators, target, key, desc) {
|
|
189
189
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
190
190
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -237,6 +237,10 @@ let AsDbReadableController = class AsDbReadableController {
|
|
|
237
237
|
key,
|
|
238
238
|
value
|
|
239
239
|
};
|
|
240
|
+
if (key === "db.json" || key === "db.patch.strategy" || key.startsWith("db.default")) return {
|
|
241
|
+
key,
|
|
242
|
+
value
|
|
243
|
+
};
|
|
240
244
|
if (key.startsWith("db.")) return;
|
|
241
245
|
return {
|
|
242
246
|
key,
|
package/dist/index.mjs
CHANGED
|
@@ -171,19 +171,19 @@ defineAnnotatedType("object", WithFilterDto).propPattern(/./, defineAnnotatedTyp
|
|
|
171
171
|
defineAnnotatedType("object", SortControlDto).propPattern(/./, defineAnnotatedType("union").item(defineAnnotatedType().designType("number").value(1).$type).item(defineAnnotatedType().designType("number").value(-1).$type).$type);
|
|
172
172
|
defineAnnotatedType("object", SelectControlDto).propPattern(/./, defineAnnotatedType("union").item(defineAnnotatedType().designType("number").value(1).$type).item(defineAnnotatedType().designType("number").value(0).$type).$type);
|
|
173
173
|
//#endregion
|
|
174
|
-
//#region \0@oxc-project+runtime@0.
|
|
174
|
+
//#region \0@oxc-project+runtime@0.120.0/helpers/decorateMetadata.js
|
|
175
175
|
function __decorateMetadata(k, v) {
|
|
176
176
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
177
177
|
}
|
|
178
178
|
//#endregion
|
|
179
|
-
//#region \0@oxc-project+runtime@0.
|
|
179
|
+
//#region \0@oxc-project+runtime@0.120.0/helpers/decorateParam.js
|
|
180
180
|
function __decorateParam(paramIndex, decorator) {
|
|
181
181
|
return function(target, key) {
|
|
182
182
|
decorator(target, key, paramIndex);
|
|
183
183
|
};
|
|
184
184
|
}
|
|
185
185
|
//#endregion
|
|
186
|
-
//#region \0@oxc-project+runtime@0.
|
|
186
|
+
//#region \0@oxc-project+runtime@0.120.0/helpers/decorate.js
|
|
187
187
|
function __decorate(decorators, target, key, desc) {
|
|
188
188
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
189
189
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -236,6 +236,10 @@ let AsDbReadableController = class AsDbReadableController {
|
|
|
236
236
|
key,
|
|
237
237
|
value
|
|
238
238
|
};
|
|
239
|
+
if (key === "db.json" || key === "db.patch.strategy" || key.startsWith("db.default")) return {
|
|
240
|
+
key,
|
|
241
|
+
value
|
|
242
|
+
};
|
|
239
243
|
if (key.startsWith("db.")) return;
|
|
240
244
|
return {
|
|
241
245
|
key,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/moost-db",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.45",
|
|
4
4
|
"description": "Generic database controller for Moost with Atscript.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"annotations",
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
"@uniqu/url": "^0.1.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@atscript/core": "^0.1.
|
|
45
|
-
"@atscript/typescript": "^0.1.
|
|
46
|
-
"@moostjs/event-http": "^0.6.
|
|
44
|
+
"@atscript/core": "^0.1.44",
|
|
45
|
+
"@atscript/typescript": "^0.1.44",
|
|
46
|
+
"@moostjs/event-http": "^0.6.4",
|
|
47
47
|
"@uniqu/core": "^0.1.2",
|
|
48
|
-
"moost": "^0.6.
|
|
49
|
-
"unplugin-atscript": "^0.1.
|
|
48
|
+
"moost": "^0.6.4",
|
|
49
|
+
"unplugin-atscript": "^0.1.44"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@atscript/typescript": "^0.1.
|
|
53
|
-
"@moostjs/event-http": "^0.6.
|
|
52
|
+
"@atscript/typescript": "^0.1.44",
|
|
53
|
+
"@moostjs/event-http": "^0.6.4",
|
|
54
54
|
"@uniqu/core": "^0.1.2",
|
|
55
|
-
"moost": "^0.6.
|
|
56
|
-
"@atscript/db": "^0.1.
|
|
55
|
+
"moost": "^0.6.4",
|
|
56
|
+
"@atscript/db": "^0.1.45"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"postinstall": "asc -f dts",
|