@mastergo/plugin-typings 1.7.1 → 1.8.0
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/CHANGELOG.md +9 -0
- package/dist/index.d.ts +4 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
# [1.8.0](https://github.com/mastergo-design/plugin-typings/compare/v1.7.1...v1.8.0) (2022-11-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* 添加clientStorage的deleteAsync和keysAsync方法 ([481d020](https://github.com/mastergo-design/plugin-typings/commit/481d020c0d7816ebab85290b5b36437474f30761))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [1.7.1](https://github.com/mastergo-design/plugin-typings/compare/v1.7.0...v1.7.1) (2022-11-16)
|
|
2
11
|
|
|
3
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -134,6 +134,8 @@ declare global {
|
|
|
134
134
|
interface ClientStorageAPI {
|
|
135
135
|
getAsync(key: string): Promise<any | undefined>
|
|
136
136
|
setAsync(key: string, value: any): Promise<void>
|
|
137
|
+
deleteAsync(key: string): Promise<void>
|
|
138
|
+
keysAsync(): Promise<string[]>
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
type ShowUIOptions = {
|
|
@@ -295,7 +297,6 @@ declare global {
|
|
|
295
297
|
readonly color: RGBA
|
|
296
298
|
// Effect的 x, y;
|
|
297
299
|
readonly offset: Vector
|
|
298
|
-
// spread和radius待确定
|
|
299
300
|
readonly spread: number
|
|
300
301
|
readonly radius: number
|
|
301
302
|
readonly isVisible: boolean
|
|
@@ -1130,3 +1131,5 @@ declare global {
|
|
|
1130
1131
|
| 'SLICE'
|
|
1131
1132
|
| 'CONNECTOR'
|
|
1132
1133
|
}
|
|
1134
|
+
|
|
1135
|
+
export { }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastergo/plugin-typings",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "MasterGo插件API声明文件",
|
|
5
5
|
"main": "",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"prepare": "husky install",
|
|
9
9
|
"dev": "node scripts/dev.js",
|
|
10
10
|
"build": "node scripts/build.js",
|
|
11
|
+
"postbuild": "node scripts/concat-typings",
|
|
11
12
|
"release": "node scripts/release.js",
|
|
12
13
|
"publish-to-npm": "node scripts/publish.js",
|
|
13
14
|
"verify-commit": "node scripts/verify-commit.js",
|