Merge branch 'version-2-dev' of https://github.com/ThaumRystra/DiceCloud into version-2-dev
This commit is contained in:
@@ -175,7 +175,7 @@ const ComputedOnlyActionSchema = createPropertySchema({
|
|||||||
'resources.itemsConsumed.$.itemColor': {
|
'resources.itemsConsumed.$.itemColor': {
|
||||||
type: String,
|
type: String,
|
||||||
optional: true,
|
optional: true,
|
||||||
max: STORAGE_LIMITS.color,
|
regEx: /^#([a-f0-9]{3}){1,2}\b$/i,
|
||||||
removeBeforeCompute: true,
|
removeBeforeCompute: true,
|
||||||
},
|
},
|
||||||
'resources.attributesConsumed': {
|
'resources.attributesConsumed': {
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const ComputedOnlyItemConsumedSchema = new SimpleSchema({
|
|||||||
itemColor: {
|
itemColor: {
|
||||||
type: String,
|
type: String,
|
||||||
optional: true,
|
optional: true,
|
||||||
max: STORAGE_LIMITS.color,
|
regEx: /^#([a-f0-9]{3}){1,2}\b$/i,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ const STORAGE_LIMITS = Object.freeze({
|
|||||||
// String lengths
|
// String lengths
|
||||||
calculation: 1024,
|
calculation: 1024,
|
||||||
collectionName: 64,
|
collectionName: 64,
|
||||||
color: 10000,
|
|
||||||
description: 49473, //the length of the Bee Movie script
|
description: 49473, //the length of the Bee Movie script
|
||||||
inlineCalculationField: 49473,
|
inlineCalculationField: 49473,
|
||||||
errorMessage: 256,
|
errorMessage: 256,
|
||||||
|
|||||||
Reference in New Issue
Block a user