Initial commit: Angular frontend and Expressjs backend
This commit is contained in:
13
worklenz-backend/src/json_schemas/project-folder-schema.ts
Normal file
13
worklenz-backend/src/json_schemas/project-folder-schema.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
export default {
|
||||
type: "object",
|
||||
properties: {
|
||||
name: {
|
||||
type: "string",
|
||||
minLength: 2,
|
||||
maxLength: 20,
|
||||
message: "Invalid folder name"
|
||||
},
|
||||
color_code: {type: ["string", "null"]}
|
||||
},
|
||||
required: ["name"]
|
||||
};
|
||||
Reference in New Issue
Block a user