Changed Meteor.Collection to Mongo.Collection
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Actions = new Meteor.Collection("actions");
|
||||
Actions = new Mongo.Collection("actions");
|
||||
|
||||
/*
|
||||
* Actions are given to a character by items and features
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Attacks = new Meteor.Collection("attacks");
|
||||
Attacks = new Mongo.Collection("attacks");
|
||||
|
||||
/*
|
||||
* Attacks are given to a character by items and features
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Buffs = new Meteor.Collection("buffs");
|
||||
Buffs = new Mongo.Collection("buffs");
|
||||
|
||||
//buffs are temporary once applied and store things which expire and their expiry time
|
||||
Schemas.Buff = new SimpleSchema({
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Classes = new Meteor.Collection("classes");
|
||||
Classes = new Mongo.Collection("classes");
|
||||
|
||||
Schemas.Class = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Effects = new Meteor.Collection("effects");
|
||||
Effects = new Mongo.Collection("effects");
|
||||
|
||||
/*
|
||||
* Effects are reason-value attached to skills and abilities
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Experiences = new Meteor.Collection("experience");
|
||||
Experiences = new Mongo.Collection("experience");
|
||||
|
||||
Schemas.Experience = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Features = new Meteor.Collection("features");
|
||||
Features = new Mongo.Collection("features");
|
||||
|
||||
Schemas.Feature = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Notes = new Meteor.Collection("notes");
|
||||
Notes = new Mongo.Collection("notes");
|
||||
|
||||
Schemas.Note = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Proficiencies = new Meteor.Collection("proficiencies");
|
||||
Proficiencies = new Mongo.Collection("proficiencies");
|
||||
|
||||
Schemas.Proficiency = new SimpleSchema({
|
||||
charId: {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
SpellLists = new Meteor.Collection("spellLists");
|
||||
SpellLists = new Mongo.Collection("spellLists");
|
||||
|
||||
Schemas.SpellLists = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Spells = new Meteor.Collection("spells");
|
||||
Spells = new Mongo.Collection("spells");
|
||||
|
||||
Schemas.Spell = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//set up the collection for characters
|
||||
Characters = new Meteor.Collection("characters");
|
||||
Characters = new Mongo.Collection("characters");
|
||||
|
||||
Schemas.Character = new SimpleSchema({
|
||||
//strings
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TemporaryHitPoints = new Meteor.Collection("temporaryHitPoints");
|
||||
TemporaryHitPoints = new Mongo.Collection("temporaryHitPoints");
|
||||
|
||||
Schemas.TemporaryHitPoints = new SimpleSchema({
|
||||
charId: {type: String, regEx: SimpleSchema.RegEx.Id},
|
||||
|
||||
Reference in New Issue
Block a user