smartbi-toolkit 1.2.3 → 1.2.4
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/README.md +4 -4
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -51,11 +51,11 @@ noop()
|
|
|
51
51
|
该工具为vite插件,可以一键生成ext扩展包,但需要有java和Apache Ant环境
|
|
52
52
|
|
|
53
53
|
```javascript
|
|
54
|
-
import
|
|
54
|
+
import { VitePluginSmartbi } from 'smartbi-toolkit/vite-plugin/vite-plugin-smartbi'
|
|
55
55
|
|
|
56
56
|
export default defineConfig({
|
|
57
57
|
plugins: [
|
|
58
|
-
|
|
58
|
+
VitePluginSmartbi({
|
|
59
59
|
name:'ext-test',
|
|
60
60
|
})
|
|
61
61
|
],
|
|
@@ -104,11 +104,11 @@ export type VitePluginSmartbiOptions = {
|
|
|
104
104
|
环境同上,构建工具封装
|
|
105
105
|
|
|
106
106
|
```javascript
|
|
107
|
-
import
|
|
107
|
+
import { vitePluginSmartbiX } from 'smartbi-toolkit/vite-plugin/vite-plugin-smartbix'
|
|
108
108
|
|
|
109
109
|
export default defineConfig({
|
|
110
110
|
plugins: [
|
|
111
|
-
|
|
111
|
+
vitePluginSmartbiX({
|
|
112
112
|
name:'ext-test',
|
|
113
113
|
})
|
|
114
114
|
],
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as axios0 from "axios";
|
|
2
2
|
|
|
3
3
|
//#region src/index.d.ts
|
|
4
4
|
type SmartbiDev = {
|
|
@@ -34,6 +34,6 @@ declare const login: (form?: {
|
|
|
34
34
|
/**
|
|
35
35
|
* 心跳
|
|
36
36
|
*/
|
|
37
|
-
declare const noop: () => Promise<
|
|
37
|
+
declare const noop: () => Promise<axios0.AxiosResponse<any, any, {}>>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { SmartbiDev, login, noop, setSmartbiEnv, setStatus, smartbi, startHeatBeat, stopHeatBeat };
|