@rxdrag/website-lib-core 0.0.65 → 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.65",
3
+ "version": "0.0.67",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./index.ts"
@@ -16,7 +16,7 @@ export type ImageBackgroundConfig = {
16
16
  type: "image";
17
17
  className?: string; // 图片,如 "bg-cover bg-center bg-no-repeat"
18
18
  mediaRef?: string; // 图片ref
19
- url?: string; // 图片 URL
19
+ //url?: string; // 图片 URL
20
20
  };
21
21
 
22
22
  export type SvgBackgroundConfig = {
@@ -32,8 +32,8 @@ export type VideoBackgroundConfig = {
32
32
  className?: string; // 视频,如 "bg-cover bg-center bg-no-repeat"
33
33
  mediaRef?: string; // 视频Ref
34
34
  posterRef?: string; // 视频封面Ref
35
- url?: string; // 视频 URL
36
- poster?: string; // 视频封面图 URL
35
+ //url?: string; // 视频 URL
36
+ //poster?: string; // 视频封面图 URL
37
37
  };
38
38
 
39
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
+ };