diff --git a/src/editorTable/editorData.ts b/src/editorTable/editorData.ts index e9b1fd7..f1e587f 100644 --- a/src/editorTable/editorData.ts +++ b/src/editorTable/editorData.ts @@ -1,13 +1,13 @@ import { Table } from "../constants"; -import { UnitData as Unit } from "../meta/editor_meta/unit"; -import { SoundData as Sound } from "../meta/editor_meta/sound"; -import { AbilityData as Ability } from "../meta/editor_meta/ability"; -import { DecorationData as Decoration } from "../meta/editor_meta/decoration"; -import { DestructibleData as Destructible } from "../meta/editor_meta/destructible"; -import { ItemData as Item } from "../meta/editor_meta/item"; -import { ModifierData as Modifier } from "../meta/editor_meta/modifier"; -import { ProjectileData as Projectile } from "../meta/editor_meta/projectile"; -import { TechData as Tech } from "../meta/editor_meta/tech"; +import { UnitData as Unit } from "../meta/editor/unit"; +import { SoundData as Sound } from "../meta/editor/sound"; +import { AbilityData as Ability } from "../meta/editor/ability"; +import { DecorationData as Decoration } from "../meta/editor/decoration"; +import { DestructibleData as Destructible } from "../meta/editor/destructible"; +import { ItemData as Item } from "../meta/editor/item"; +import { ModifierData as Modifier } from "../meta/editor/modifier"; +import { ProjectileData as Projectile } from "../meta/editor/projectile"; +import { TechData as Tech } from "../meta/editor/tech"; import * as y3 from 'y3-helper'; import { hash } from "../utility"; diff --git a/src/editorTable/editorTable.ts b/src/editorTable/editorTable.ts index 1a257d0..53aa8e7 100644 --- a/src/editorTable/editorTable.ts +++ b/src/editorTable/editorTable.ts @@ -6,7 +6,7 @@ import { EditorData, valueOnGet, valueOnSet } from "./editorData"; export { EditorData } from "./editorData"; const template_dir = 'template\\json_template'; -const meta_dir = 'src\\meta\\editor_meta'; +const meta_dir = 'src\\meta\\editor'; type ActionType = 'create' | 'delete' | 'change'; diff --git a/src/meta/editor_meta/ability.json b/src/meta/editor/ability.json similarity index 100% rename from src/meta/editor_meta/ability.json rename to src/meta/editor/ability.json diff --git a/src/meta/editor_meta/ability.ts b/src/meta/editor/ability.ts similarity index 100% rename from src/meta/editor_meta/ability.ts rename to src/meta/editor/ability.ts diff --git a/src/meta/editor_meta/decoration.json b/src/meta/editor/decoration.json similarity index 100% rename from src/meta/editor_meta/decoration.json rename to src/meta/editor/decoration.json diff --git a/src/meta/editor_meta/decoration.ts b/src/meta/editor/decoration.ts similarity index 100% rename from src/meta/editor_meta/decoration.ts rename to src/meta/editor/decoration.ts diff --git a/src/meta/editor_meta/destructible.json b/src/meta/editor/destructible.json similarity index 100% rename from src/meta/editor_meta/destructible.json rename to src/meta/editor/destructible.json diff --git a/src/meta/editor_meta/destructible.ts b/src/meta/editor/destructible.ts similarity index 100% rename from src/meta/editor_meta/destructible.ts rename to src/meta/editor/destructible.ts diff --git a/src/meta/editor_meta/item.json b/src/meta/editor/item.json similarity index 100% rename from src/meta/editor_meta/item.json rename to src/meta/editor/item.json diff --git a/src/meta/editor_meta/item.ts b/src/meta/editor/item.ts similarity index 100% rename from src/meta/editor_meta/item.ts rename to src/meta/editor/item.ts diff --git a/src/meta/editor_meta/modifier.json b/src/meta/editor/modifier.json similarity index 100% rename from src/meta/editor_meta/modifier.json rename to src/meta/editor/modifier.json diff --git a/src/meta/editor_meta/modifier.ts b/src/meta/editor/modifier.ts similarity index 100% rename from src/meta/editor_meta/modifier.ts rename to src/meta/editor/modifier.ts diff --git a/src/meta/editor_meta/projectile.json b/src/meta/editor/projectile.json similarity index 100% rename from src/meta/editor_meta/projectile.json rename to src/meta/editor/projectile.json diff --git a/src/meta/editor_meta/projectile.ts b/src/meta/editor/projectile.ts similarity index 100% rename from src/meta/editor_meta/projectile.ts rename to src/meta/editor/projectile.ts diff --git a/src/meta/editor_meta/sound.json b/src/meta/editor/sound.json similarity index 100% rename from src/meta/editor_meta/sound.json rename to src/meta/editor/sound.json diff --git a/src/meta/editor_meta/sound.ts b/src/meta/editor/sound.ts similarity index 100% rename from src/meta/editor_meta/sound.ts rename to src/meta/editor/sound.ts diff --git a/src/meta/editor_meta/tech.json b/src/meta/editor/tech.json similarity index 100% rename from src/meta/editor_meta/tech.json rename to src/meta/editor/tech.json diff --git a/src/meta/editor_meta/tech.ts b/src/meta/editor/tech.ts similarity index 100% rename from src/meta/editor_meta/tech.ts rename to src/meta/editor/tech.ts diff --git a/src/meta/editor_meta/unit.json b/src/meta/editor/unit.json similarity index 100% rename from src/meta/editor_meta/unit.json rename to src/meta/editor/unit.json diff --git a/src/meta/editor_meta/unit.ts b/src/meta/editor/unit.ts similarity index 100% rename from src/meta/editor_meta/unit.ts rename to src/meta/editor/unit.ts