iconRepo.js 801 B

123456789101112131415161718192021222324
  1. // 字体图标库信息表
  2. module.exports = {
  3. repoId: { type: Number, unique: true }, // 字体图标库Id, 唯一
  4. repoUrl: String, // 字体图标库git地址
  5. repoName: String, // 字体图标库名称
  6. repoDescription: String, // 字体图标库描述
  7. iconPrefix: { type: String }, // 字体图标前缀
  8. fontPath: String, // css文件中引用字体文件的路径
  9. createTime: Date, // 创建时间
  10. updateTime: Date, // 最后更新时间
  11. isPublic: Boolean, // 是否公开
  12. unSync: Boolean, // 是否有未更新
  13. cssUrl: String, // css的nos链接
  14. cssContent: String, // css的内容
  15. svgSpriteContent: String, // svgSprite的内容
  16. iconIds: [
  17. {
  18. iconId: { type: Number },
  19. iconName: { type: String },
  20. },
  21. ],
  22. ownerId: Number, // 归属者用户Id
  23. };