@nocobase/plugin-data-source-main 2.0.0-alpha.8 → 2.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/client/index.js +1 -1
  2. package/dist/externalVersion.js +8 -6
  3. package/dist/locale/de-DE.json +46 -2
  4. package/dist/locale/en-US.json +46 -2
  5. package/dist/locale/es-ES.json +48 -0
  6. package/dist/locale/fr-FR.json +48 -0
  7. package/dist/locale/hu-HU.json +48 -0
  8. package/dist/locale/id-ID.json +48 -0
  9. package/dist/locale/it-IT.json +46 -2
  10. package/dist/locale/ja-JP.json +45 -1
  11. package/dist/locale/ko-KR.json +48 -0
  12. package/dist/locale/nl-NL.json +46 -2
  13. package/dist/locale/pt-BR.json +48 -0
  14. package/dist/locale/ru-RU.json +48 -0
  15. package/dist/locale/tr-TR.json +48 -0
  16. package/dist/locale/uk-UA.json +48 -0
  17. package/dist/locale/vi-VN.json +48 -0
  18. package/dist/locale/zh-CN.json +46 -2
  19. package/dist/locale/zh-TW.json +48 -0
  20. package/dist/server/{hooks/afterCreateForReverseField.d.ts → constants.d.ts} +1 -4
  21. package/dist/server/{hooks/afterCreateForReverseField.js → constants.js} +6 -16
  22. package/dist/server/hooks/afterCreateForForeignKeyField.js +5 -3
  23. package/dist/server/hooks/index.d.ts +0 -1
  24. package/dist/server/hooks/index.js +0 -2
  25. package/dist/server/migrations/20251214100636-id2integer.d.ts +14 -0
  26. package/dist/server/migrations/20251214100636-id2integer.js +48 -0
  27. package/dist/server/models/collection.js +16 -10
  28. package/dist/server/resourcers/main-data-source.d.ts +17 -0
  29. package/dist/server/resourcers/main-data-source.js +52 -0
  30. package/dist/server/resourcers/views.js +1 -1
  31. package/dist/server/server.d.ts +1 -0
  32. package/dist/server/server.js +138 -52
  33. package/package.json +5 -2
@@ -7,4 +7,4 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
 
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash"),require("@nocobase/client")):"function"==typeof define&&define.amd?define("@nocobase/plugin-data-source-main",["lodash","@nocobase/client"],t):"object"==typeof exports?exports["@nocobase/plugin-data-source-main"]=t(require("lodash"),require("@nocobase/client")):e["@nocobase/plugin-data-source-main"]=t(e.lodash,e["@nocobase/client"])}(self,function(e,t){return function(){"use strict";var r={772:function(e){e.exports=t},467:function(t){t.exports=e}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return r[e](i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return!function(){o.r(i);var e=o(772),t=o(467);function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){r(e);return}c.done?t(u):Promise.resolve(u).then(n,o)}function n(e,t,r){return(n=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&c(o,r.prototype),o}).apply(null,arguments)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return n(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)})(e)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}i.default=function(e){var n;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function o(){var e,t,r,n,i;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return t=o,r=arguments,t=a(t),e=function(e,t){var r;if(t&&("object"==((r=t)&&"undefined"!=typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,l()?Reflect.construct(t,r||[],a(this).constructor):t.apply(this,r)),i=[],(n="collectionPresetFields")in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&c(o,e),n=[{key:"addCollectionPresetField",value:function(e){this.collectionPresetFields.push(e)}},{key:"removeCollectionPresetField",value:function(e){this.collectionPresetFields=(0,t.reject)(this.collectionPresetFields,function(t){return t.value.name===e})}},{key:"getCollectionPresetFields",value:function(){return(0,t.orderBy)(this.collectionPresetFields,["order"],["asc"])}},{key:"load",value:function(){var e,t=this;return(e=function(){return function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){var u=[i,c];if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){return t.addCollectionPresetField({order:100,description:'{{t("Primary key, unique identifier, self growth") }}',value:{name:"id",type:"bigInt",autoIncrement:!0,primaryKey:!0,allowNull:!1,uiSchema:{type:"number",title:'{{t("ID")}}',"x-component":"InputNumber","x-read-pretty":!0},interface:"integer"}}),t.addCollectionPresetField({order:200,description:'{{t("Store the creation time of each record")}}',value:{name:"createdAt",interface:"createdAt",type:"date",field:"createdAt",uiSchema:{type:"datetime",title:'{{t("Created at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}}}),t.addCollectionPresetField({order:300,description:'{{t("Store the creation user of each record") }}',value:{name:"createdBy",interface:"createdBy",type:"belongsTo",target:"users",foreignKey:"createdById",uiSchema:{type:"object",title:'{{t("Created by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}}}),t.addCollectionPresetField({order:400,description:'{{t("Store the last update time of each record")}}',value:{type:"date",field:"updatedAt",name:"updatedAt",interface:"updatedAt",uiSchema:{type:"datetime",title:'{{t("Last updated at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}}}),t.addCollectionPresetField({order:500,description:'{{t("Store the last update user of each record")}}',value:{type:"belongsTo",target:"users",foreignKey:"updatedById",name:"updatedBy",interface:"updatedBy",uiSchema:{type:"object",title:'{{t("Last updated by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}}}),[2]})},function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,"next",e)}function u(e){r(a,o,i,c,u,"throw",e)}c(void 0)})})()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(o.prototype,n),o}(u(e.Plugin))}(),i}()});
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("lodash"),require("@nocobase/client")):"function"==typeof define&&define.amd?define("@nocobase/plugin-data-source-main",["lodash","@nocobase/client"],t):"object"==typeof exports?exports["@nocobase/plugin-data-source-main"]=t(require("lodash"),require("@nocobase/client")):e["@nocobase/plugin-data-source-main"]=t(e.lodash,e["@nocobase/client"])}(self,function(e,t){return function(){"use strict";var r={772:function(e){e.exports=t},467:function(t){t.exports=e}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return r[e](i,i.exports,o),i.exports}o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},o.d=function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return!function(){o.r(i);var e=o(772),t=o(467);function r(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){r(e);return}c.done?t(u):Promise.resolve(u).then(n,o)}function n(e,t,r){return(n=l()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&c(o,r.prototype),o}).apply(null,arguments)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return n(e,arguments,a(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),c(r,e)})(e)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}i.default=function(e){var n;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function o(){var e,t,r,n,i;if(!(this instanceof o))throw TypeError("Cannot call a class as a function");return t=o,r=arguments,t=a(t),e=function(e,t){var r;if(t&&("object"==((r=t)&&"undefined"!=typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,l()?Reflect.construct(t,r||[],a(this).constructor):t.apply(this,r)),i=[],(n="collectionPresetFields")in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}return o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),e&&c(o,e),n=[{key:"addCollectionPresetField",value:function(e){this.collectionPresetFields.push(e)}},{key:"removeCollectionPresetField",value:function(e){this.collectionPresetFields=(0,t.reject)(this.collectionPresetFields,function(t){return t.value.name===e})}},{key:"getCollectionPresetFields",value:function(){return(0,t.orderBy)(this.collectionPresetFields,["order"],["asc"])}},{key:"load",value:function(){var e,t=this;return(e=function(){return function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){var u=[i,c];if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&u[0]?n.return:u[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,u[1])).done)return o;switch(n=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){a.label=u[1];break}if(6===u[0]&&a.label<o[1]){a.label=o[1],o=u;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(u);break}o[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}catch(e){u=[6,e],n=0}finally{r=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){return t.addCollectionPresetField({order:100,description:'{{t("Primary key, distributed uniqueness, time-ordering") }}',value:{name:"id",type:"snowflakeId",autoIncrement:!1,primaryKey:!0,allowNull:!1,uiSchema:{type:"number",title:'{{t("ID")}}',"x-component":"InputNumber","x-component-props":{stringMode:!0,separator:"0.00",step:"1"},"x-validator":"integer"},interface:"snowflakeId"}}),t.addCollectionPresetField({order:200,description:'{{t("Store the creation time of each record")}}',value:{name:"createdAt",interface:"createdAt",type:"date",field:"createdAt",uiSchema:{type:"datetime",title:'{{t("Created at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}}}),t.addCollectionPresetField({order:300,description:'{{t("Store the creation user of each record") }}',value:{name:"createdBy",interface:"createdBy",type:"belongsTo",target:"users",foreignKey:"createdById",uiSchema:{type:"object",title:'{{t("Created by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}}}),t.addCollectionPresetField({order:400,description:'{{t("Store the last update time of each record")}}',value:{type:"date",field:"updatedAt",name:"updatedAt",interface:"updatedAt",uiSchema:{type:"datetime",title:'{{t("Last updated at")}}',"x-component":"DatePicker","x-component-props":{},"x-read-pretty":!0}}}),t.addCollectionPresetField({order:500,description:'{{t("Store the last update user of each record")}}',value:{type:"belongsTo",target:"users",foreignKey:"updatedById",name:"updatedBy",interface:"updatedBy",uiSchema:{type:"object",title:'{{t("Last updated by")}}',"x-component":"AssociationField","x-component-props":{fieldNames:{value:"id",label:"nickname"}},"x-read-pretty":!0}}}),[2]})},function(){var t=this,n=arguments;return new Promise(function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,u,"next",e)}function u(e){r(a,o,i,c,u,"throw",e)}c(void 0)})})()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(o.prototype,n),o}(u(e.Plugin))}(),i}()});
@@ -8,13 +8,15 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.0.0-alpha.8",
11
+ "@nocobase/client": "2.0.0-beta.1",
12
12
  "lodash": "4.17.21",
13
- "@nocobase/database": "2.0.0-alpha.8",
14
- "@nocobase/plugin-error-handler": "2.0.0-alpha.8",
15
- "@nocobase/server": "2.0.0-alpha.8",
16
- "@nocobase/test": "2.0.0-alpha.8",
17
- "@nocobase/utils": "2.0.0-alpha.8",
13
+ "@nocobase/database": "2.0.0-beta.1",
14
+ "@nocobase/plugin-error-handler": "2.0.0-beta.1",
15
+ "@nocobase/server": "2.0.0-beta.1",
18
16
  "sequelize": "6.35.2",
17
+ "@formily/json-schema": "2.3.7",
18
+ "@nocobase/test": "2.0.0-beta.1",
19
+ "@nocobase/utils": "2.0.0-beta.1",
20
+ "@nocobase/actions": "2.0.0-beta.1",
19
21
  "dayjs": "1.11.13"
20
22
  };
@@ -1,4 +1,48 @@
1
1
  {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "Feld \"{{fieldName}}\" in \"{{fieldCollectionName}}\" kann nicht gelöscht werden, es wird von Feld \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" als \"{{dependedFieldAs}}\" verwendet",
2
10
  "field-name-exists": "Feldname \"{{name}}\" existiert bereits in der Sammlung \"{{collectionName}}\"",
3
- "field-is-depended-on-by-other": "Feld \"{{fieldName}}\" in \"{{fieldCollectionName}}\" kann nicht gelöscht werden, es wird von Feld \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" als \"{{dependedFieldAs}}\" verwendet"
4
- }
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -1,4 +1,48 @@
1
1
  {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "Can not delete field \"{{fieldName}}\" in \"{{fieldCollectionName}}\", it is used by field \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" as \"{{dependedFieldAs}}\"",
2
10
  "field-name-exists": "Field name \"{{name}}\" already exists in collection \"{{collectionName}}\"",
3
- "field-is-depended-on-by-other": "Can not delete field \"{{fieldName}}\" in \"{{fieldCollectionName}}\", it is used by field \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" as \"{{dependedFieldAs}}\""
4
- }
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "Can not delete field \"{{fieldName}}\" in \"{{fieldCollectionName}}\", it is used by field \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" as \"{{dependedFieldAs}}\"",
10
+ "field-name-exists": "Field name \"{{name}}\" already exists in collection \"{{collectionName}}\"",
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "Can not delete field \"{{fieldName}}\" in \"{{fieldCollectionName}}\", it is used by field \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" as \"{{dependedFieldAs}}\"",
10
+ "field-name-exists": "Field name \"{{name}}\" already exists in collection \"{{collectionName}}\"",
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "A(z) \"{{fieldName}}\" mező nem törölhető a(z) \"{{fieldCollectionName}}\"-ban, mert a(z) \"{{dependedFieldName}}\" mező használja a(z) \"{{dependedFieldCollectionName}}\"-ban mint \"{{dependedFieldAs}}\"",
10
+ "field-name-exists": "A(z) \"{{name}}\" mező neve már létezik a(z) \"{{collectionName}}\" gyűjteményben",
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "Tidak dapat menghapus bidang \"{{fieldName}}\" di \"{{fieldCollectionName}}\", digunakan oleh bidang \"{{dependedFieldName}}\" di \"{{dependedFieldCollectionName}}\" sebagai \"{{dependedFieldAs}}\"",
10
+ "field-name-exists": "Nama bidang \"{{name}}\" sudah ada di koleksi \"{{collectionName}}\"",
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -1,4 +1,48 @@
1
1
  {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "Impossibile eliminare il campo \"{{fieldName}}\" in \"{{fieldCollectionName}}\", è utilizzato dal campo \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" come \"{{dependedFieldAs}}\"",
2
10
  "field-name-exists": "Il nome del campo \"{{name}}\" esiste già nella raccolta \"{{collectionName}}\"",
3
- "field-is-depended-on-by-other": "Impossibile eliminare il campo \"{{fieldName}}\" in \"{{fieldCollectionName}}\", è utilizzato dal campo \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" come \"{{dependedFieldAs}}\""
4
- }
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -1,4 +1,48 @@
1
1
  {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "{{fieldCollectionName}} の \"{{fieldName}}\" フィールドは削除できません",
2
10
  "field-name-exists": "フィールド名 \"{{name}}\" は \"{{collectionName}}\" に既に存在します",
3
- "field-is-depended-on-by-other": "{{fieldCollectionName}} \"{{fieldName}}\" フィールドは削除できません"
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
4
48
  }
@@ -0,0 +1,48 @@
1
+ {
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "\"{{fieldCollectionName}}\"의 \"{{fieldName}}\" 필드는 \"{{dependedFieldCollectionName}}\"의 \"{{dependedFieldName}}\" 필드에서 \"{{dependedFieldAs}}\"로 사용되고 있으므로 삭제할 수 없습니다.",
10
+ "field-name-exists": "\"{{collectionName}}\" 컬렉션에 \"{{name}}\" 필드 이름이 이미 존재합니다.",
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
48
+ }
@@ -1,4 +1,48 @@
1
1
  {
2
- "field-name-exists": "De veldnaam \"{{name}}\" bestaat al in de collectie \"{{collectionName}}\"",
3
- "field-is-depended-on-by-other": "Kan de veldnaam \"{{fieldName}}\" niet verwijderen in \"{{fieldCollectionName}}\", het wordt gebruikt door het veld \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" als \"{{dependedFieldAs}}\""
2
+ "any.required": "{{label}} is required",
3
+ "date.base": "{{label}} must be a valid date",
4
+ "date.format": "{{label}} must be in {{format}} format",
5
+ "date.greater": "{{label}} must be greater than {{limit}}",
6
+ "date.less": "{{label}} must be less than {{limit}}",
7
+ "date.max": "{{label}} must be less than or equal to {{limit}}",
8
+ "date.min": "{{label}} must be greater than or equal to {{limit}}",
9
+ "field-is-depended-on-by-other": "Kan de veldnaam \"{{fieldName}}\" niet verwijderen in \"{{fieldCollectionName}}\", het wordt gebruikt door het veld \"{{dependedFieldName}}\" in \"{{dependedFieldCollectionName}}\" als \"{{dependedFieldAs}}\"",
10
+ "field-name-exists": "De veldnaam \"{{name}}\" bestaat al in de collectie \"{{collectionName}}\"",
11
+ "number.base": "{{label}} must be a number",
12
+ "number.float": "{{label}} must be a float or double",
13
+ "number.greater": "{{label}} must be greater than {{limit}}",
14
+ "number.integer": "{{label}} must be an integer",
15
+ "number.less": "{{label}} must be less than {{limit}}",
16
+ "number.max": "{{label}} must be less than or equal to {{limit}}",
17
+ "number.min": "{{label}} must be greater than or equal to {{limit}}",
18
+ "number.multiple": "{{label}} must be a multiple of {{multiple}}",
19
+ "number.negative": "{{label}} must be a negative number",
20
+ "number.port": "{{label}} must be a valid port",
21
+ "number.positive": "{{label}} must be a positive number",
22
+ "number.precision": "{{label}} must not have more than {{limit}} decimal places",
23
+ "number.unsafe": "{{label}} must be a safe number",
24
+ "string.alphanum": "{{label}} must only contain alpha-numeric characters",
25
+ "string.base": "{{label}} must be a string",
26
+ "string.creditCard": "{{label}} must be a credit card",
27
+ "string.email": "{{label}} email address doesn’t meet the required format",
28
+ "string.empty": "{{label}} is not allowed to be empty",
29
+ "string.guid": "{{label}} must be a valid UUID",
30
+ "string.hex": "{{label}} must only contain hexadecimal characters",
31
+ "string.hostname": "{{label}} must be a valid hostname",
32
+ "string.isoDate": "{{label}} must be a valid ISO 8601 date",
33
+ "string.length": "{{label}} length must be {{limit}} characters long",
34
+ "string.lowercase": "{{label}} must only contain lowercase characters",
35
+ "string.max": "{{label}} length must be less than or equal to {{limit}} characters long",
36
+ "string.min": "{{label}} length must be at least {{limit}} characters long",
37
+ "string.pattern.base": "{{label}} with value \"{{value}}\" fails to match the required pattern: {{regex}}",
38
+ "string.pattern.invert.base": "{{label}} with value \"{{value}}\" matches the inverted pattern",
39
+ "string.pattern.invert.name": "{{label}} with value \"{{value}}\" matches the inverted {{name}} pattern",
40
+ "string.pattern.name": "{{label}} with value \"{{value}}\" fails to match the {{name}} pattern",
41
+ "string.regex": "{{label}} with value {{value}} fails to match the required pattern",
42
+ "string.token": "{{label}} must only contain alpha-numeric and underscore characters",
43
+ "string.trim": "{{label}} must not have leading or trailing whitespace",
44
+ "string.uppercase": "{{label}} must only contain uppercase characters",
45
+ "string.uri": "{{label}} must be a valid uri",
46
+ "string.uriCustomScheme": "{{label}} must be a valid uri with a scheme matching the {{scheme}} pattern",
47
+ "string.uriRelativeOnly": "{{label}} must be a valid relative uri"
4
48
  }