@rytass/cms-base-nestjs-graphql-module 0.0.4 → 0.0.5
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/dto/base-article.dto.js +4 -1
- package/dto/base-category.dto.js +4 -1
- package/index.cjs.js +6 -0
- package/package.json +1 -1
package/dto/base-article.dto.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Field, ID } from '@nestjs/graphql';
|
|
1
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
2
2
|
|
|
3
3
|
function _ts_decorate(decorators, target, key, desc) {
|
|
4
4
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
@@ -28,5 +28,8 @@ _ts_decorate([
|
|
|
28
28
|
Field(()=>Date),
|
|
29
29
|
_ts_metadata("design:type", typeof Date === "undefined" ? Object : Date)
|
|
30
30
|
], BaseArticleDto.prototype, "createdAt", void 0);
|
|
31
|
+
BaseArticleDto = _ts_decorate([
|
|
32
|
+
ObjectType('BaseArticle')
|
|
33
|
+
], BaseArticleDto);
|
|
31
34
|
|
|
32
35
|
export { BaseArticleDto };
|
package/dto/base-category.dto.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Field, ID } from '@nestjs/graphql';
|
|
1
|
+
import { Field, ID, ObjectType } from '@nestjs/graphql';
|
|
2
2
|
|
|
3
3
|
function _ts_decorate(decorators, target, key, desc) {
|
|
4
4
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
@@ -26,5 +26,8 @@ _ts_decorate([
|
|
|
26
26
|
Field(()=>Date),
|
|
27
27
|
_ts_metadata("design:type", typeof Date === "undefined" ? Object : Date)
|
|
28
28
|
], BaseCategoryDto.prototype, "updatedAt", void 0);
|
|
29
|
+
BaseCategoryDto = _ts_decorate([
|
|
30
|
+
ObjectType('BaseCategory')
|
|
31
|
+
], BaseCategoryDto);
|
|
29
32
|
|
|
30
33
|
export { BaseCategoryDto };
|
package/index.cjs.js
CHANGED
|
@@ -34,6 +34,9 @@ _ts_decorate$i([
|
|
|
34
34
|
graphql.Field(()=>Date),
|
|
35
35
|
_ts_metadata$g("design:type", typeof Date === "undefined" ? Object : Date)
|
|
36
36
|
], BaseArticleDto.prototype, "createdAt", void 0);
|
|
37
|
+
BaseArticleDto = _ts_decorate$i([
|
|
38
|
+
graphql.ObjectType('BaseArticle')
|
|
39
|
+
], BaseArticleDto);
|
|
37
40
|
|
|
38
41
|
function _ts_decorate$h(decorators, target, key, desc) {
|
|
39
42
|
var c = arguments.length, r = c < 3 ? target : desc, d;
|
|
@@ -458,6 +461,9 @@ _ts_decorate$c([
|
|
|
458
461
|
graphql.Field(()=>Date),
|
|
459
462
|
_ts_metadata$a("design:type", typeof Date === "undefined" ? Object : Date)
|
|
460
463
|
], BaseCategoryDto.prototype, "updatedAt", void 0);
|
|
464
|
+
BaseCategoryDto = _ts_decorate$c([
|
|
465
|
+
graphql.ObjectType('BaseCategory')
|
|
466
|
+
], BaseCategoryDto);
|
|
461
467
|
|
|
462
468
|
function _ts_decorate$b(decorators, target, key, desc) {
|
|
463
469
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|