alibaba / ice

🚀 ice.js: The Progressive App Framework Based On React(基于 React 的渐进式应用框架)
https://ice.work
MIT License
17.84k stars 2.09k forks source link

物料源数据 category 字段兼容 #2759

Closed chenbin92 closed 4 years ago

chenbin92 commented 5 years ago

背景

新版本物料中心要改版会精简字段,需要检查 iceworks 的字段进行兼容

字段

bindoon commented 5 years ago

字段打算扁平化

{
appId: null,
bu: null,
category: "MigrateFromV1",
componentLibrary: 1,
description: "",
designable: 0,
devMode: 2,
downloads: 0,
extends: null,
gmtCreate: "2019-08-08T11:54:32.000Z",
gmtModified: "2019-08-08T11:54:32.000Z",
homepage: "https://unpkg.alibaba-inc.com/@alifd/ice-pro-scaffold@0.0.1/build/index.html",
id: 226,
jsLibrary: 1,
materialSchema: null,
name: "@alifd/ice-pro-scaffold",
npm: "@alifd/ice-pro-scaffold",
owners: null,
platform: 1,
relateId: null,
repository: null,
screenshot: "https://unpkg.com/@alifd/ice-pro-scaffold/screenshot.png",
stars: 0,
tags: [],
title: "@alifd/ice-pro-scaffold",
type: 1,
version: "0.0.1"
}
chenbin92 commented 5 years ago

小结: ice 站点和 iceworks 只需要兼容 category 字段即可

chenbin92 commented 4 years ago

Fusion 物料生成物料数据做兼容