20 lines
334 B
JavaScript
20 lines
334 B
JavaScript
import SimpleSchema from 'simpl-schema';
|
|
|
|
let SpellListSchema = new SimpleSchema({
|
|
name: {
|
|
type: String,
|
|
optional: true,
|
|
},
|
|
description: {
|
|
type: String,
|
|
optional: true,
|
|
},
|
|
// Calculation of how many spells in this list can be prepared
|
|
maxPrepared: {
|
|
type: String,
|
|
optional: true,
|
|
},
|
|
});
|
|
|
|
export { SpellListSchema }
|