Merge pull request #889 from EBEN4REAL/custom-tag-colors

Custom tag colors
This commit is contained in:
vmatsiiako
2023-08-23 21:03:46 -07:00
committed by GitHub
18 changed files with 443 additions and 137 deletions
+6
View File
@@ -3,6 +3,7 @@ import { Schema, Types, model } from "mongoose";
export interface ITag {
_id: Types.ObjectId;
name: string;
tagColor: string;
slug: string;
user: Types.ObjectId;
workspace: Types.ObjectId;
@@ -15,6 +16,11 @@ const tagSchema = new Schema<ITag>(
required: true,
trim: true,
},
tagColor: {
type: String,
required: false,
trim: true,
},
slug: {
type: String,
required: true,