@rxdrag/website-lib-core 0.0.35 → 0.0.37

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.35",
3
+ "version": "0.0.37",
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
- "@rxdrag/tsconfig": "0.2.0",
29
27
  "@rxdrag/eslint-config-custom": "0.2.12",
30
- "@rxdrag/entify-hooks": "0.2.53"
28
+ "@rxdrag/slate-preview": "1.2.57",
29
+ "@rxdrag/tsconfig": "0.2.0"
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.62"
37
+ "@rxdrag/rxcms-models": "0.3.64",
38
+ "@rxdrag/entify-lib": "0.0.3"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "astro": "^4.0.0 || ^5.0.0"
@@ -18,7 +18,7 @@ import {
18
18
  queryUserPosts,
19
19
  fulltextSearch,
20
20
  } from "./lib";
21
- import { IQueryOptions } from "@rxdrag/entify-hooks";
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";
@@ -1,4 +1,4 @@
1
- import { IQueryOptions, ListResult } from "@rxdrag/entify-hooks";
1
+ import { IQueryOptions, ListResult } from "@rxdrag/entify-lib";
2
2
  import { TSize } from "./types";
3
3
  import { ListConditions } from "./lib";
4
4
  import {
@@ -1,4 +1,4 @@
1
- import { EntifyClient } from "@rxdrag/entify-hooks";
1
+ import { EntifyClient } from "@rxdrag/entify-lib";
2
2
  import { EnvVariables } from "../types";
3
3
 
4
4
 
@@ -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-hooks";
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-hooks";
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-hooks";
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-hooks";
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-hooks";
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";
@@ -1,4 +1,4 @@
1
- import { ListResult } from "@rxdrag/entify-hooks";
1
+ import { ListResult } from "@rxdrag/entify-lib";
2
2
  import {
3
3
  PostBoolExp,
4
4
  PostOrderBy,
@@ -1,4 +1,4 @@
1
- import { IQueryOptions } from "@rxdrag/entify-hooks";
1
+ import { IQueryOptions } from "@rxdrag/entify-lib";
2
2
  import { createEntifyClient } from "./createEntifyClient";
3
3
  import {
4
4
  MediaEntityName,
@@ -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-hooks";
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-hooks";
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-hooks";
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-hooks";
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-hooks";
14
+ import { ListResult } from "@rxdrag/entify-lib";
15
15
  import { EnvVariables, TSize } from "../types";
16
16
  import { TProduct } from "../view-model";
17
17
 
@@ -1,4 +1,4 @@
1
- import { ListResult } from "@rxdrag/entify-hooks";
1
+ import { ListResult } from "@rxdrag/entify-lib";
2
2
  import {
3
3
  User,
4
4
  UserBoolExp,
@@ -1,4 +1,4 @@
1
- import { ListResult } from "@rxdrag/entify-hooks";
1
+ import { ListResult } from "@rxdrag/entify-lib";
2
2
  import {
3
3
  PostBoolExp,
4
4
  PostOrderBy,
@@ -1,4 +1,4 @@
1
- import { IEmail } from "@rxdrag/entify-hooks";
1
+ import { IEmail } from "@rxdrag/entify-lib";
2
2
  import { createEntifyClient } from "./createEntifyClient";
3
3
  import { EnvVariables } from "../types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { IEntity, IQueryOptions } from "@rxdrag/entify-hooks";
1
+ import { IEntity, IQueryOptions } from "@rxdrag/entify-lib";
2
2
  import { ICustomizedDataSource } from "../types";
3
3
  import { QueryOptions } from "@rxdrag/rxcms-models";
4
4
 
@@ -18,7 +18,7 @@ import {
18
18
  TUser,
19
19
  TWebsiteSettings,
20
20
  } from "./models";
21
- import { ListResult } from "@rxdrag/entify-hooks";
21
+ import { ListResult } from "@rxdrag/entify-lib";
22
22
 
23
23
  export function mediaToViewModel(media?: Media): TMedia | undefined {
24
24
  if (!media) {