@rxdrag/website-lib-core 0.0.66 → 0.0.67

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.66",
3
+ "version": "0.0.67",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -25,8 +25,8 @@
25
25
  "eslint": "^7.32.0",
26
26
  "typescript": "^5",
27
27
  "@rxdrag/slate-preview": "1.2.58",
28
- "@rxdrag/eslint-config-custom": "0.2.12",
29
- "@rxdrag/tsconfig": "0.2.0"
28
+ "@rxdrag/tsconfig": "0.2.0",
29
+ "@rxdrag/eslint-config-custom": "0.2.12"
30
30
  },
31
31
  "dependencies": {
32
32
  "clsx": "^2.1.0",
@@ -1,5 +1,3 @@
1
- import { IEntify } from "../entify";
2
-
3
1
  // 背景样式类型定义,支持tailwind类
4
2
  export type ColorBackgroundConfig = {
5
3
  id?: string;
@@ -19,7 +17,6 @@ export type ImageBackgroundConfig = {
19
17
  className?: string; // 图片,如 "bg-cover bg-center bg-no-repeat"
20
18
  mediaRef?: string; // 图片ref
21
19
  //url?: string; // 图片 URL
22
- rx: IEntify,
23
20
  };
24
21
 
25
22
  export type SvgBackgroundConfig = {
@@ -37,7 +34,6 @@ export type VideoBackgroundConfig = {
37
34
  posterRef?: string; // 视频封面Ref
38
35
  //url?: string; // 视频 URL
39
36
  //poster?: string; // 视频封面图 URL
40
- rx: IEntify,
41
37
  };
42
38
 
43
39
  export type SplineBackgroundConfig = {
@@ -1,4 +1,11 @@
1
+ import { EnvVariables } from "./variables";
2
+
1
3
  export type TSize = {
2
4
  width: number
3
5
  height: number
4
- }
6
+ }
7
+
8
+ //astro传递上下文用
9
+ export type Locals = {
10
+ env: EnvVariables;
11
+ };