Changed Meteor.Collection to Mongo.Collection

This commit is contained in:
Thaum
2015-03-18 06:18:27 +00:00
parent 6be823ad15
commit 06b0ad7eba
20 changed files with 84 additions and 80 deletions

View File

@@ -1,4 +1,4 @@
Instances = new Meteor.Collection("instances");
Instances = new Mongo.Collection("instances");
Schemas.Instance = new SimpleSchema({
//an instance is a single flow of time all parties in an instance are in-sync time wise

View File

@@ -1,4 +1,4 @@
Parties = new Meteor.Collection("parties");
Parties = new Mongo.Collection("parties");
Schemas.Party = new SimpleSchema({
//each character/monster can only be in one party at a time

View File

@@ -1,4 +1,4 @@
Actions = new Meteor.Collection("actions");
Actions = new Mongo.Collection("actions");
/*
* Actions are given to a character by items and features

View File

@@ -1,4 +1,4 @@
Attacks = new Meteor.Collection("attacks");
Attacks = new Mongo.Collection("attacks");
/*
* Attacks are given to a character by items and features

View File

@@ -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({

View File

@@ -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},

View File

@@ -1,4 +1,4 @@
Effects = new Meteor.Collection("effects");
Effects = new Mongo.Collection("effects");
/*
* Effects are reason-value attached to skills and abilities

View File

@@ -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},

View File

@@ -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},

View File

@@ -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},

View File

@@ -1,4 +1,4 @@
Proficiencies = new Meteor.Collection("proficiencies");
Proficiencies = new Mongo.Collection("proficiencies");
Schemas.Proficiency = new SimpleSchema({
charId: {

View File

@@ -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},

View File

@@ -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},

View File

@@ -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

View File

@@ -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},

View File

@@ -1,5 +1,5 @@
//set up the collection for containers
Containers = new Meteor.Collection("containers");
Containers = new Mongo.Collection("containers");
Schemas.Container = new SimpleSchema({
name: { type: String, trim: false },

View File

@@ -1,4 +1,4 @@
Items = new Meteor.Collection('items');
Items = new Mongo.Collection('items');
Schemas.Item = new SimpleSchema({
name: {type: String, defaultValue: "New Item", trim: false},