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': {
|
||||
type: String,
|
||||
optional: true,
|
||||
max: STORAGE_LIMITS.color,
|
||||
regEx: /^#([a-f0-9]{3}){1,2}\b$/i,
|
||||
removeBeforeCompute: true,
|
||||
},
|
||||
'resources.attributesConsumed': {
|
||||
|
||||
@@ -49,7 +49,7 @@ const ComputedOnlyItemConsumedSchema = new SimpleSchema({
|
||||
itemColor: {
|
||||
type: String,
|
||||
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
|
||||
calculation: 1024,
|
||||
collectionName: 64,
|
||||
color: 10000,
|
||||
description: 49473, //the length of the Bee Movie script
|
||||
inlineCalculationField: 49473,
|
||||
errorMessage: 256,
|
||||
|
||||
Reference in New Issue
Block a user