@mastergo/plugin-typings 2.15.1-beta.0 → 2.15.1-beta.2
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 +4 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1127,7 +1127,7 @@ declare global {
|
|
|
1127
1127
|
): void
|
|
1128
1128
|
|
|
1129
1129
|
// --- Group ---
|
|
1130
|
-
getGroupList(collectionId?: string):
|
|
1130
|
+
getGroupList(collectionId?: string): VariableGroupNode[]
|
|
1131
1131
|
createGroup(
|
|
1132
1132
|
collectionId: string,
|
|
1133
1133
|
variableIds: string[],
|
|
@@ -1731,10 +1731,6 @@ declare global {
|
|
|
1731
1731
|
| 'CORNER_RADIUS'
|
|
1732
1732
|
| 'PADDING'
|
|
1733
1733
|
| 'SPACING'
|
|
1734
|
-
| 'NUMBER'
|
|
1735
|
-
| 'STRING'
|
|
1736
|
-
| 'BOOLEAN'
|
|
1737
|
-
| 'COLOR'
|
|
1738
1734
|
type NodeStyleType =
|
|
1739
1735
|
| 'fill'
|
|
1740
1736
|
| 'strokeFill'
|
|
@@ -1817,13 +1813,13 @@ declare global {
|
|
|
1817
1813
|
readonly collectionId: string
|
|
1818
1814
|
}
|
|
1819
1815
|
|
|
1820
|
-
interface
|
|
1816
|
+
interface VariableGroupNode {
|
|
1821
1817
|
readonly id: string
|
|
1822
1818
|
readonly name: string
|
|
1823
1819
|
readonly currentPath?: string
|
|
1824
1820
|
readonly level: number
|
|
1825
1821
|
readonly isLeaf: boolean
|
|
1826
|
-
readonly children?: ReadonlyArray<
|
|
1822
|
+
readonly children?: ReadonlyArray<VariableGroupNode>
|
|
1827
1823
|
}
|
|
1828
1824
|
|
|
1829
1825
|
interface FontFamilyInfo {
|
|
@@ -2027,6 +2023,7 @@ declare global {
|
|
|
2027
2023
|
}
|
|
2028
2024
|
|
|
2029
2025
|
interface MotionBlurEffect {
|
|
2026
|
+
readonly type: 'MOTION_BLUR'
|
|
2030
2027
|
readonly isVisible: boolean
|
|
2031
2028
|
readonly radius: number
|
|
2032
2029
|
readonly angle: number
|
|
@@ -3296,8 +3293,6 @@ declare global {
|
|
|
3296
3293
|
? PaddingStyle
|
|
3297
3294
|
: T extends 'SPACING'
|
|
3298
3295
|
? SpacingStyle
|
|
3299
|
-
: T extends 'NUMBER' | 'STRING' | 'BOOLEAN' | 'COLOR'
|
|
3300
|
-
? Variable
|
|
3301
3296
|
: never
|
|
3302
3297
|
|
|
3303
3298
|
type NodeStyleReturnType<T extends NodeStyleType> = T extends 'fill'
|