feat(plugin.d.ts): add collectionId and collectionName to style type#149
Open
muzi131313 wants to merge 2 commits into
Open
feat(plugin.d.ts): add collectionId and collectionName to style type#149muzi131313 wants to merge 2 commits into
muzi131313 wants to merge 2 commits into
Conversation
z1441275629
approved these changes
Jul 15, 2026
muzi131313
force-pushed
the
feat_team_library_collection
branch
from
July 15, 2026 03:38
4322bf4 to
1128efc
Compare
Add two new readonly optional properties to the style type declaration: collectionId for the variable's collection ID, and collectionName for the collection's name, both only present for variable type items like color/number/string/bool
Add getLayerVariableModes API to fetch variable modes for a target layer, add new LayerVariableMode interface to define the returned data structure, and improve setVariableReferenceInLayer doc with more details about supported id types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更摘要
为插件类型定义的 Style 接口新增 collectionId 和 collectionName 字段。
文件变更
提交历史