@yimingliao/cms 0.0.154 → 0.0.155

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.
@@ -61,21 +61,21 @@ function createPostQueryRepository(prisma) {
61
61
  // type
62
62
  ...type ? { type } : {},
63
63
  // states
64
- ...isActive !== void 0 ? { isActive } : {},
65
- ...isIndexActive !== void 0 ? { isIndexActive } : {},
66
- ...isSlugActive !== void 0 ? { isSlugActive } : {},
67
- ...isFeatured !== void 0 ? { isFeatured } : {},
68
- ...isShownOnHome !== void 0 ? { isShownOnHome } : {},
69
- ...state1 !== void 0 ? { state1 } : {},
70
- ...state2 !== void 0 ? { state2 } : {},
71
- ...state3 !== void 0 ? { state3 } : {},
72
- ...state4 !== void 0 ? { state4 } : {},
73
- ...state5 !== void 0 ? { state5 } : {},
74
- ...state6 !== void 0 ? { state6 } : {},
75
- ...state7 !== void 0 ? { state7 } : {},
76
- ...state8 !== void 0 ? { state8 } : {},
77
- ...state9 !== void 0 ? { state9 } : {},
78
- ...state10 !== void 0 ? { state10 } : {},
64
+ ...isActive ? { isActive: true } : {},
65
+ ...isIndexActive ? { isIndexActive: true } : {},
66
+ ...isSlugActive ? { isSlugActive: true } : {},
67
+ ...isFeatured ? { isFeatured: true } : {},
68
+ ...isShownOnHome ? { isShownOnHome: true } : {},
69
+ ...state1 ? { state1: true } : {},
70
+ ...state2 ? { state2: true } : {},
71
+ ...state3 ? { state3: true } : {},
72
+ ...state4 ? { state4: true } : {},
73
+ ...state5 ? { state5: true } : {},
74
+ ...state6 ? { state6: true } : {},
75
+ ...state7 ? { state7: true } : {},
76
+ ...state8 ? { state8: true } : {},
77
+ ...state9 ? { state9: true } : {},
78
+ ...state10 ? { state10: true } : {},
79
79
  // relations
80
80
  ...topicId ? { topicId } : {},
81
81
  ...topicSlug ? { topic: { slug: topicSlug } } : {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yimingliao/cms",
3
- "version": "0.0.154",
3
+ "version": "0.0.155",
4
4
  "author": "Yiming Liao",
5
5
  "license": "MIT",
6
6
  "type": "module",