Commit fe4f853f authored by anton's avatar anton
Browse files

Clean up

parent 6b4faf90
......@@ -25,6 +25,7 @@ const bodySchema = (opts = {}) => {
},
value: { type: String },
language: [{ type: String }],
textDirection: { type: String, enum: ['ltr', 'rtl', 'auto'] },
processingLanguage: { type: String },
......
......@@ -8,8 +8,10 @@ const targetSchema = (opts = {}) => {
type: String
},
id: {
type: String
type: String,
required: true
},
source: {
type: sourceSchema({
Schema: opts.Schema,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment