From 63a20b2befdb0bd8a116edf7f04c96be9318accb Mon Sep 17 00:00:00 2001 From: Stefan Zermatten Date: Mon, 16 Sep 2019 10:24:13 +0200 Subject: [PATCH] Moved subschema folder --- app/imports/api/creature/Creatures.js | 4 ++-- app/imports/api/properties/Actions.js | 2 +- app/imports/api/properties/Attacks.js | 2 +- app/imports/api/properties/SavingThrows.js | 2 +- .../{creature => properties}/subSchemas/AdjustmentSchema.js | 0 .../api/{creature => properties}/subSchemas/ColorSchema.js | 0 .../{creature => properties}/subSchemas/DeathSavesSchema.js | 0 app/imports/ui/properties/forms/AdjustmentListForm.vue | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename app/imports/api/{creature => properties}/subSchemas/AdjustmentSchema.js (100%) rename app/imports/api/{creature => properties}/subSchemas/ColorSchema.js (100%) rename app/imports/api/{creature => properties}/subSchemas/DeathSavesSchema.js (100%) diff --git a/app/imports/api/creature/Creatures.js b/app/imports/api/creature/Creatures.js index 8621c678..b3b2f394 100644 --- a/app/imports/api/creature/Creatures.js +++ b/app/imports/api/creature/Creatures.js @@ -1,6 +1,6 @@ import SimpleSchema from 'simpl-schema'; -import deathSaveSchema from "/imports/api/creature/subSchemas/DeathSavesSchema.js" -import ColorSchema from "/imports/api/creature/subSchemas/ColorSchema.js"; +import deathSaveSchema from "/imports/api/properties/subSchemas/DeathSavesSchema.js" +import ColorSchema from "/imports/api/properties/subSchemas/ColorSchema.js"; import SharingSchema from '/imports/api/sharing/SharingSchema.js'; //Methods diff --git a/app/imports/api/properties/Actions.js b/app/imports/api/properties/Actions.js index 2a960776..16a02879 100644 --- a/app/imports/api/properties/Actions.js +++ b/app/imports/api/properties/Actions.js @@ -1,5 +1,5 @@ import SimpleSchema from 'simpl-schema'; -import AdjustmentSchema from '/imports/api/creature/subSchemas/AdjustmentSchema.js'; +import AdjustmentSchema from '/imports/api/properties/subSchemas/AdjustmentSchema.js'; import { StoredBuffWithIdSchema } from '/imports/api/properties/Buffs.js'; /* diff --git a/app/imports/api/properties/Attacks.js b/app/imports/api/properties/Attacks.js index 4df61496..b6460266 100644 --- a/app/imports/api/properties/Attacks.js +++ b/app/imports/api/properties/Attacks.js @@ -1,5 +1,5 @@ import SimpleSchema from 'simpl-schema'; -import AdjustmentSchema from '/imports/api/creature/subSchemas/AdjustmentSchema.js'; +import AdjustmentSchema from '/imports/api/properties/subSchemas/AdjustmentSchema.js'; import { ActionSchema } from '/imports/api/properties/Actions.js'; // Attacks are special instances of actions diff --git a/app/imports/api/properties/SavingThrows.js b/app/imports/api/properties/SavingThrows.js index 8cfa2a2d..5d234c0e 100644 --- a/app/imports/api/properties/SavingThrows.js +++ b/app/imports/api/properties/SavingThrows.js @@ -1,5 +1,5 @@ import SimpleSchema from 'simpl-schema'; -import AdjustmentSchema from '/imports/api/creature/subSchemas/AdjustmentSchema.js'; +import AdjustmentSchema from '/imports/api/properties/subSchemas/AdjustmentSchema.js'; import { StoredBuffWithIdSchema } from '/imports/api/properties/Buffs.js'; // These are the rolls made when saves are called for diff --git a/app/imports/api/creature/subSchemas/AdjustmentSchema.js b/app/imports/api/properties/subSchemas/AdjustmentSchema.js similarity index 100% rename from app/imports/api/creature/subSchemas/AdjustmentSchema.js rename to app/imports/api/properties/subSchemas/AdjustmentSchema.js diff --git a/app/imports/api/creature/subSchemas/ColorSchema.js b/app/imports/api/properties/subSchemas/ColorSchema.js similarity index 100% rename from app/imports/api/creature/subSchemas/ColorSchema.js rename to app/imports/api/properties/subSchemas/ColorSchema.js diff --git a/app/imports/api/creature/subSchemas/DeathSavesSchema.js b/app/imports/api/properties/subSchemas/DeathSavesSchema.js similarity index 100% rename from app/imports/api/creature/subSchemas/DeathSavesSchema.js rename to app/imports/api/properties/subSchemas/DeathSavesSchema.js diff --git a/app/imports/ui/properties/forms/AdjustmentListForm.vue b/app/imports/ui/properties/forms/AdjustmentListForm.vue index b21e98cd..b316197a 100644 --- a/app/imports/ui/properties/forms/AdjustmentListForm.vue +++ b/app/imports/ui/properties/forms/AdjustmentListForm.vue @@ -35,7 +35,7 @@