@mastergo/plugin-typings 2.9.0 → 2.9.1-beta.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -11
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -254,8 +254,15 @@ declare global {
254
254
  | 'SLICE'
255
255
  | 'CONNECTOR'
256
256
  | 'SECTION'
257
- | 'CUSTOM';
258
-
257
+ | 'CUSTOM'
258
+ | 'Input'
259
+ | 'TABLE'
260
+ | 'Select'
261
+ | 'Chart'
262
+ | 'TOGGLE'
263
+ | 'BUTTON'
264
+ | 'TREE'
265
+ | 'TEXTSHAPE'
259
266
  /**
260
267
  * 图层的布局信息
261
268
  */
@@ -1707,6 +1714,7 @@ declare global {
1707
1714
  characters?: string,
1708
1715
  mainComponent?: string
1709
1716
  } | null
1717
+ slotInfo: { slotName: string; slotAlias: string } | null
1710
1718
  }
1711
1719
 
1712
1720
  interface ChildrenMixin<ChildrenNode = SceneNode> {
@@ -2194,6 +2202,8 @@ declare global {
2194
2202
  interface VariantProperty {
2195
2203
  property: string
2196
2204
  value: string
2205
+ componentSetProperAlias?: string
2206
+ alias?: string
2197
2207
  }
2198
2208
 
2199
2209
  interface ComponentPropertiesMixin {
@@ -2243,6 +2253,8 @@ declare global {
2243
2253
  type: ComponentPropertyType
2244
2254
  value: boolean | string
2245
2255
  preferredValues?: InstanceSwapPreferredValue[]
2256
+ alias?: string
2257
+ valueAlias?: string
2246
2258
  }
2247
2259
 
2248
2260
  interface ComponentNode extends DefaultContainerMixin, GeometryMixin, FrameContainerMixin, RectangleStrokeWeightMixin, PublishableMixin, ComponentPropertiesMixin {
@@ -2516,15 +2528,6 @@ declare global {
2516
2528
  | 'SLICE'
2517
2529
  | 'CONNECTOR'
2518
2530
  | 'SECTION'
2519
- | 'Input'
2520
- | 'TABLE'
2521
- | 'Select'
2522
- | 'Chart'
2523
- | 'TOGGLE'
2524
- | 'BUTTON'
2525
- | 'TREE'
2526
- | 'TEXTSHAPE';
2527
-
2528
2531
 
2529
2532
 
2530
2533
  // d2c
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastergo/plugin-typings",
3
- "version": "2.9.0",
3
+ "version": "2.9.1-beta.4",
4
4
  "description": "MasterGo插件API声明文件",
5
5
  "main": "",
6
6
  "types": "dist/index.d.ts",