@rxdrag/website-lib-core 0.0.35 → 0.0.36
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 +4 -4
- package/src/entify/Entify.ts +1 -1
- package/src/entify/IEntify.ts +1 -1
- package/src/entify/lib/createEntifyClient.ts +1 -1
- package/src/entify/lib/fulltextSearch.ts +1 -1
- package/src/entify/lib/queryAllProducts.ts +1 -1
- package/src/entify/lib/queryEntityList.ts +1 -1
- package/src/entify/lib/queryFeaturedProducts.ts +1 -1
- package/src/entify/lib/queryLangs.ts +1 -1
- package/src/entify/lib/queryLatestPosts.ts +1 -1
- package/src/entify/lib/queryOneEntity.ts +1 -1
- package/src/entify/lib/queryPostCategories.ts +1 -1
- package/src/entify/lib/queryPostSlugs.ts +1 -1
- package/src/entify/lib/queryPosts.ts +1 -1
- package/src/entify/lib/queryProductCategories.ts +1 -1
- package/src/entify/lib/queryProducts.ts +1 -1
- package/src/entify/lib/queryUserIds.ts +1 -1
- package/src/entify/lib/queryUserPosts.ts +1 -1
- package/src/entify/lib/sendEmail.ts +1 -1
- package/src/entify/lib/toQueryOptions.ts +1 -1
- package/src/entify/view-model/funcs.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rxdrag/website-lib-core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": "./index.ts"
|
|
@@ -24,10 +24,9 @@
|
|
|
24
24
|
"@types/react-dom": "^18.2.7",
|
|
25
25
|
"eslint": "^7.32.0",
|
|
26
26
|
"typescript": "^5",
|
|
27
|
-
"@rxdrag/slate-preview": "1.2.57",
|
|
28
27
|
"@rxdrag/tsconfig": "0.2.0",
|
|
29
28
|
"@rxdrag/eslint-config-custom": "0.2.12",
|
|
30
|
-
"@rxdrag/
|
|
29
|
+
"@rxdrag/slate-preview": "1.2.57"
|
|
31
30
|
},
|
|
32
31
|
"dependencies": {
|
|
33
32
|
"clsx": "^2.1.0",
|
|
@@ -35,7 +34,8 @@
|
|
|
35
34
|
"lodash-es": "^4.17.21",
|
|
36
35
|
"react": "^18.2.0",
|
|
37
36
|
"react-dom": "^18.2.0",
|
|
38
|
-
"@rxdrag/rxcms-models": "0.3.
|
|
37
|
+
"@rxdrag/rxcms-models": "0.3.63",
|
|
38
|
+
"@rxdrag/entify-lib": "0.0.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"astro": "^4.0.0 || ^5.0.0"
|
package/src/entify/Entify.ts
CHANGED
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
queryUserPosts,
|
|
19
19
|
fulltextSearch,
|
|
20
20
|
} from "./lib";
|
|
21
|
-
import { IQueryOptions } from "@rxdrag/entify-
|
|
21
|
+
import { IQueryOptions } from "@rxdrag/entify-lib";
|
|
22
22
|
import { queryAllProducts } from "./lib/queryAllProducts";
|
|
23
23
|
import { queryPostSlugs } from "./lib/queryPostSlugs";
|
|
24
24
|
import { queryUserIds } from "./lib/queryUserIds";
|
package/src/entify/IEntify.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
MediaQueryOptions,
|
|
10
10
|
} from "@rxdrag/rxcms-models";
|
|
11
11
|
import { queryEntityList } from "./queryEntityList";
|
|
12
|
-
import { ListResult } from "@rxdrag/entify-
|
|
12
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
13
13
|
import { EnvVariables, TSize } from "../types";
|
|
14
14
|
|
|
15
15
|
export async function fulltextSearch(
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PublishableStatus,
|
|
9
9
|
} from "@rxdrag/rxcms-models";
|
|
10
10
|
import { EnvVariables } from "../types";
|
|
11
|
-
import { ListResult } from "@rxdrag/entify-
|
|
11
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
12
12
|
import { TProduct } from "../view-model";
|
|
13
13
|
import { queryEntityList } from "./queryEntityList";
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IQueryOptions, ListResult } from "@rxdrag/entify-
|
|
1
|
+
import { IQueryOptions, ListResult } from "@rxdrag/entify-lib";
|
|
2
2
|
import { createEntifyClient } from "./createEntifyClient";
|
|
3
3
|
import { EnvVariables } from "../types";
|
|
4
4
|
import { MediaEntityName, Post, PostCategoryEntityName, PostEntityName, Product, ProductCategoryEntityName, ProductEntityName, UserEntityName } from "@rxdrag/rxcms-models";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import { queryEntityList } from "./queryEntityList";
|
|
10
10
|
import { newQueryProductsMediaOptions } from "./newQueryProductsMediaOptions";
|
|
11
11
|
import { EnvVariables, TSize } from "../types";
|
|
12
|
-
import { ListResult } from "@rxdrag/entify-
|
|
12
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
13
13
|
import { TProduct } from "../view-model";
|
|
14
14
|
|
|
15
15
|
export async function queryFeaturedProducts(
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
ThemeConfigFields,
|
|
11
11
|
ThemeAssciations,
|
|
12
12
|
} from "@rxdrag/rxcms-models";
|
|
13
|
-
import { ListResult } from "@rxdrag/entify-
|
|
13
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
14
14
|
import { EnvVariables } from "../types";
|
|
15
15
|
import { createEntifyClient } from "./createEntifyClient";
|
|
16
16
|
import { langFields } from "./langFields";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
PostFields,
|
|
12
12
|
} from "@rxdrag/rxcms-models";
|
|
13
13
|
import { queryEntityList } from "./queryEntityList";
|
|
14
|
-
import { ListResult } from "@rxdrag/entify-
|
|
14
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
15
15
|
import { EnvVariables } from "../types";
|
|
16
16
|
import { TPostCategory } from "../view-model";
|
|
17
17
|
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PublishableStatus,
|
|
9
9
|
} from "@rxdrag/rxcms-models";
|
|
10
10
|
import { EnvVariables } from "../types";
|
|
11
|
-
import { ListResult } from "@rxdrag/entify-
|
|
11
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
12
12
|
import { TPost } from "../view-model";
|
|
13
13
|
import { queryEntityList } from "./queryEntityList";
|
|
14
14
|
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
ProductOrderBy,
|
|
14
14
|
} from "@rxdrag/rxcms-models";
|
|
15
15
|
import { queryEntityList } from "./queryEntityList";
|
|
16
|
-
import { ListResult } from "@rxdrag/entify-
|
|
16
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
17
17
|
import { EnvVariables, TSize } from "../types";
|
|
18
18
|
import { TPost } from "../view-model";
|
|
19
19
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ProductCategory, ProductCategoryBoolExp, ProductCategoryOrderBy, ProductCategoryDistinctExp, ProductCategoryFields, ProductCategoryQueryOptions, ProductFields, ProductQueryOptions, PublishableStatus } from "@rxdrag/rxcms-models";
|
|
2
2
|
import { queryEntityList } from "./queryEntityList";
|
|
3
|
-
import { ListResult } from "@rxdrag/entify-
|
|
3
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
4
4
|
import { EnvVariables } from "../types";
|
|
5
5
|
import { TProductCategory } from "../view-model";
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import { ListConditions } from "./queryPosts";
|
|
12
12
|
import { queryEntityList } from "./queryEntityList";
|
|
13
13
|
import { newQueryProductsMediaOptions } from "./newQueryProductsMediaOptions";
|
|
14
|
-
import { ListResult } from "@rxdrag/entify-
|
|
14
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
15
15
|
import { EnvVariables, TSize } from "../types";
|
|
16
16
|
import { TProduct } from "../view-model";
|
|
17
17
|
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
TUser,
|
|
19
19
|
TWebsiteSettings,
|
|
20
20
|
} from "./models";
|
|
21
|
-
import { ListResult } from "@rxdrag/entify-
|
|
21
|
+
import { ListResult } from "@rxdrag/entify-lib";
|
|
22
22
|
|
|
23
23
|
export function mediaToViewModel(media?: Media): TMedia | undefined {
|
|
24
24
|
if (!media) {
|