Added dependency grouping, but commented out for now until it's needed
This commit is contained in:
@@ -82,6 +82,14 @@ const DenormalisedOnlyCreaturePropertySchema = new SimpleSchema({
|
||||
index: 1,
|
||||
removeBeforeCompute: true,
|
||||
},
|
||||
// Dependency tree, the ID of the lowest ordered doc connected to this doc
|
||||
// via dependencies
|
||||
/*depGroupId: {
|
||||
type: String,
|
||||
regEx: SimpleSchema.RegEx.Id,
|
||||
index: 1,
|
||||
removeBeforeCompute: true,
|
||||
}*/
|
||||
});
|
||||
|
||||
CreaturePropertySchema.extend(DenormalisedOnlyCreaturePropertySchema);
|
||||
@@ -98,10 +106,6 @@ for (let key in propertySchemasIndex){
|
||||
});
|
||||
}
|
||||
|
||||
import '/imports/api/creature/creatureProperties/methods/index.js';
|
||||
//import '/imports/api/creature/actions/doAction.js';
|
||||
//import '/imports/api/creature/actions/castSpellWithSlot.js';
|
||||
|
||||
export default CreatureProperties;
|
||||
export {
|
||||
DenormalisedOnlyCreaturePropertySchema,
|
||||
|
||||
Reference in New Issue
Block a user