@smart100/spu-web-plugin 0.0.5 → 0.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/README.md +2 -0
- package/dist/index.d.ts +3 -2
- package/dist/spu-web-plugin.mjs +2 -2
- package/package.json +1 -1
- package/src/index.ts +2 -2
- package/src/types/index.d.ts +0 -95
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ interface IAMapLoader {
|
|
|
17
17
|
}) => Promise<any>
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
type StorageType = 'storage' | 'storage-1d' | 'storage-3m' | 'storage-1y'
|
|
20
21
|
|
|
21
22
|
type Cope = { width?: number, height?: number } | string | boolean
|
|
22
23
|
|
|
@@ -45,7 +46,7 @@ interface IUpload {
|
|
|
45
46
|
source?: string,
|
|
46
47
|
datetime?: string | number,
|
|
47
48
|
storagetype?: StorageType,
|
|
48
|
-
onprogress?: (p: number, _checkpoint?:
|
|
49
|
+
onprogress?: (p: number, _checkpoint?: any) => void
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
interface IUploadService {
|
|
@@ -78,7 +79,7 @@ export const apaasAxios: any
|
|
|
78
79
|
export const downloadService: IDownloadService
|
|
79
80
|
export const uploadService: IUploadService
|
|
80
81
|
export const getUniqueid: () => string
|
|
81
|
-
export const
|
|
82
|
+
export const getUuid: () => string
|
|
82
83
|
export const AMapLoader: IAMapLoader
|
|
83
84
|
export const getToken: () => string
|
|
84
85
|
export const getTokenExpires: () => string
|