@mastergo/plugin-typings 2.8.0-beta.2 → 2.8.0-beta.3
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/dist/index.d.ts +3 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1184,15 +1184,14 @@ declare global {
|
|
|
1184
1184
|
* @param styleName
|
|
1185
1185
|
* @param description
|
|
1186
1186
|
*/
|
|
1187
|
-
createStyleCopy<T extends StyleType =
|
|
1187
|
+
createStyleCopy<T extends StyleType = "PAINT">(sourceStyleId: string, styleName?: string, description?: string): StyleReturnType<T>
|
|
1188
1188
|
/**
|
|
1189
1189
|
* 创建某一个样式引用
|
|
1190
1190
|
* @param sourceStyleId 引用源样式id
|
|
1191
|
-
* @param type
|
|
1192
1191
|
* @param styleName
|
|
1193
1192
|
* @param description
|
|
1194
1193
|
*/
|
|
1195
|
-
createStyleRef<T extends StyleType =
|
|
1194
|
+
createStyleRef<T extends StyleType = "PAINT">(sourceStyleId: string, styleName?: string, description?: string): StyleReturnType<T>
|
|
1196
1195
|
|
|
1197
1196
|
getLocalPaintStyles(): PaintStyle[]
|
|
1198
1197
|
getLocalEffectStyles(): EffectStyle[]
|
|
@@ -1362,7 +1361,7 @@ declare global {
|
|
|
1362
1361
|
type StyleType = 'PAINT' | 'TEXT' | 'EFFECT' | 'GRID' | 'STROKE_WIDTH' | 'CORNER_RADIUS' | 'PADDING' | 'SPACING'
|
|
1363
1362
|
type NodeStyleType = 'fill' | 'strokeFill' | 'strokeWidth' | 'cornerRadius' | 'padding' | 'spacing'
|
|
1364
1363
|
|
|
1365
|
-
interface BaseStyle extends Omit<PublishableMixin, 'documentationLinks'
|
|
1364
|
+
interface BaseStyle extends Omit<PublishableMixin, 'documentationLinks'> {
|
|
1366
1365
|
readonly id: string
|
|
1367
1366
|
readonly type: StyleType
|
|
1368
1367
|
name: string
|
|
@@ -1796,7 +1795,6 @@ declare global {
|
|
|
1796
1795
|
strokeStyleId: string
|
|
1797
1796
|
strokeFillStyleId: string
|
|
1798
1797
|
strokeWidthStyleId: string
|
|
1799
|
-
borderStyleId: string
|
|
1800
1798
|
paddingStyleId: string
|
|
1801
1799
|
spacingStyleId: string
|
|
1802
1800
|
cornerRadiusStyleId: string
|