sd-render 1.0.5 → 1.0.6
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 +3 -2
- package/types/src/vite-env.d.ts +15 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sd-render",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "initcraft",
|
|
6
6
|
"email": "iencoded@gmail.com"
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"./style.css": "./sd-render.style.css"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
|
|
27
|
+
"vue": "^3.5.22",
|
|
28
|
+
"element-plus": "^2.11.5"
|
|
28
29
|
}
|
|
29
30
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
interface ImportMetaEnv {
|
|
3
|
+
readonly VITE_SERVER_HOST: string;
|
|
4
|
+
readonly VITE_API_PATH: string;
|
|
5
|
+
readonly VITE_ASSETS_PATH: string;
|
|
6
|
+
readonly VITE_KEY_ENCRIPT: string;
|
|
7
|
+
readonly VITE_IV_ENCRIPT: string;
|
|
8
|
+
readonly VITE_PUBLIC_KEY: string;
|
|
9
|
+
readonly VITE_LICENSE_TOKEN: string;
|
|
10
|
+
// more env variables...
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface ImportMeta {
|
|
14
|
+
readonly env: ImportMetaEnv;
|
|
15
|
+
}
|