@lingjingai/anime-cli-pre 0.1.5 → 0.1.6
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/package.json +1 -1
- package/src/commands/asset.js +1 -0
package/package.json
CHANGED
package/src/commands/asset.js
CHANGED
|
@@ -166,6 +166,7 @@ const WHITELIST_BODY_FIELDS = bodyFields([
|
|
|
166
166
|
const commands = [
|
|
167
167
|
cmd('asset', 'get', '查询项目组全部资产产物', ['--project-group-no <no>'], (a) => get(assetRoot(a))),
|
|
168
168
|
cmd('asset', 'output', '查询资产详情视图', ['--project-group-no <no>'], (a) => get([...assetRoot(a), 'output'])),
|
|
169
|
+
cmd('asset', 'name-states', '查询角色、道具、场景名称与状态', ['--project-group-no <no>'], (a) => get([...assetRoot(a), 'asset-name-states'])),
|
|
169
170
|
cmd('asset', 'style', '查询项目资产风格配置', ['--project-group-no <no>'], (a) => get([...assetRoot(a), 'style'])),
|
|
170
171
|
cmd('asset', 'upsert-style', '新增或更新项目资产风格配置', bodyCommandOptions(PROJECT_STYLE_BODY_FIELDS), (a) => post([...assetRoot(a), 'style'], a, PROJECT_STYLE_BODY_FIELDS)),
|
|
171
172
|
cmd('asset', 'delete-style', '逻辑删除项目资产风格配置', ['--project-group-no <no>'], (a) => post([...assetRoot(a), 'style', 'delete'])),
|