@rxdrag/website-lib-core 0.0.86 → 0.0.87

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rxdrag/website-lib-core",
3
- "version": "0.0.86",
3
+ "version": "0.0.87",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -24,9 +24,9 @@
24
24
  "@types/react-dom": "^19.1.0",
25
25
  "eslint": "^7.32.0",
26
26
  "typescript": "^5",
27
- "@rxdrag/slate-preview": "1.2.61",
27
+ "@rxdrag/eslint-config-custom": "0.2.12",
28
28
  "@rxdrag/tsconfig": "0.2.0",
29
- "@rxdrag/eslint-config-custom": "0.2.12"
29
+ "@rxdrag/slate-preview": "1.2.61"
30
30
  },
31
31
  "dependencies": {
32
32
  "@iconify/utils": "^3.0.2",
@@ -66,7 +66,7 @@ export async function queryPosts(
66
66
  new PostCategoryQueryOptions([
67
67
  PostCategoryFields.id,
68
68
  PostCategoryFields.slug,
69
- ]).children([])
69
+ ]).children([PostCategoryFields.id])
70
70
  ),
71
71
  envVariables
72
72
  );
@@ -63,15 +63,8 @@ export async function queryProducts(
63
63
  [
64
64
  ProductCategoryFields.id,
65
65
  ProductCategoryFields.slug,
66
- ],
67
- {
68
- where: {
69
- slug: {
70
- _eq: categorySlug,
71
- },
72
- },
73
- }
74
- ).children([])),
66
+ ]
67
+ ).children([ProductCategoryFields.id])),
75
68
  envVariables
76
69
  );
77
70
  if (category) {