Hunted the last of the \t's to extinction

This commit is contained in:
Stefan Zermatten
2022-10-09 16:56:28 +02:00
parent 2fa913b09a
commit aa8f2d230d
19 changed files with 1044 additions and 1024 deletions

View File

@@ -1,12 +1,12 @@
import SimpleSchema from 'simpl-schema';
const ColorSchema = new SimpleSchema({
color: {
type: String,
// match hex colors of the form #A23 or #A23f56
regEx: /^#([a-f0-9]{3}){1,2}\b$/i,
optional: true,
},
color: {
type: String,
// match hex colors of the form #A23 or #A23f56
regEx: /^#([a-f0-9]{3}){1,2}\b$/i,
optional: true,
},
});
export default ColorSchema;

View File

@@ -1,26 +1,26 @@
import SimpleSchema from 'simpl-schema';
const DeathSavesSchema = new SimpleSchema({
pass: {
type: SimpleSchema.Integer,
min: 0,
max: 3,
defaultValue: 0,
},
fail: {
type: SimpleSchema.Integer,
min: 0,
max: 3,
defaultValue: 0,
},
canDeathSave: {
type: Boolean,
defaultValue: true,
},
stable: {
type: Boolean,
defaultValue: false,
},
pass: {
type: SimpleSchema.Integer,
min: 0,
max: 3,
defaultValue: 0,
},
fail: {
type: SimpleSchema.Integer,
min: 0,
max: 3,
defaultValue: 0,
},
canDeathSave: {
type: Boolean,
defaultValue: true,
},
stable: {
type: Boolean,
defaultValue: false,
},
});
export default DeathSavesSchema;