@akanjs/cli 0.0.138 → 0.0.140
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/index.js +795 -463
- package/cjs/src/templates/module/__model__.constant.js +10 -1
- package/cjs/src/templates/module/__model__.dictionary.js +5 -0
- package/esm/index.js +795 -463
- package/esm/src/templates/module/__model__.constant.js +10 -1
- package/esm/src/templates/module/__model__.dictionary.js +5 -0
- package/package.json +1 -1
- package/src/application/application.command.d.ts +2 -2
- package/src/application/application.runner.d.ts +6 -3
- package/src/application/application.script.d.ts +3 -2
- package/src/cloud/cloud.command.d.ts +5 -5
- package/src/cloud/cloud.script.d.ts +5 -5
- package/src/library/library.command.d.ts +3 -4
- package/src/library/library.script.d.ts +0 -1
- package/src/module/module.command.d.ts +4 -6
- package/src/module/module.prompt.d.ts +7 -48
- package/src/module/module.request.d.ts +59 -0
- package/src/module/module.runner.d.ts +7 -1
- package/src/module/module.script.d.ts +7 -6
- package/src/package/package.command.d.ts +1 -1
- package/src/package/package.script.d.ts +1 -1
- package/src/workspace/workspace.command.d.ts +1 -1
|
@@ -64,6 +64,15 @@ export class ${dict.Model}Summary {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
@Model.Filter("${dict.Model}Filter")
|
|
67
|
-
export class ${dict.Model}Filter extends sortOf(${dict.Model}, {}) {
|
|
67
|
+
export class ${dict.Model}Filter extends sortOf(${dict.Model}, {}) {
|
|
68
|
+
@Filter.Mongo()
|
|
69
|
+
inStatus(
|
|
70
|
+
@Filter.Arg("status", () => String) status: ${dict.Model}Status,
|
|
71
|
+
) {
|
|
72
|
+
return {
|
|
73
|
+
status,
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
}
|
|
68
77
|
`;
|
|
69
78
|
}
|
|
@@ -66,6 +66,11 @@ export const ${dict.model}SummaryDictionary = {
|
|
|
66
66
|
// * ==================== Summary ==================== * //
|
|
67
67
|
total${dict.Model}: ["Total${dict.Model}", "\uCD1D \uBC30\uB108 \uC218"],
|
|
68
68
|
"desc-total${dict.Model}": ["Total ${dict.model} count in the database", "\uB370\uC774\uD130\uBCA0\uC774\uC2A4\uC5D0 \uC800\uC7A5\uB41C \uCD1D \uBC30\uB108 \uC218"],
|
|
69
|
+
|
|
70
|
+
"qry-inStatus": ["In Status", "\uC0C1\uD0DC"],
|
|
71
|
+
"qrydesc-inStatus": ["Filter by status", "\uC0C1\uD0DC\uBCC4 \uD544\uD130\uB9C1"],
|
|
72
|
+
"qarg-inStatus-status": ["Status", "\uC0C1\uD0DC"],
|
|
73
|
+
"qargdesc-inStatus-status": ["Filter by status", "\uC0C1\uD0DC\uBCC4 \uD544\uD130\uB9C1"],
|
|
69
74
|
// * ==================== Summary ==================== * //
|
|
70
75
|
} satisfies SummaryDictionary<${dict.Model}Summary>;
|
|
71
76
|
|