Skip to content

Commit

Permalink
rename game data objects
Browse files Browse the repository at this point in the history
  • Loading branch information
rsek committed Apr 21, 2022
1 parent 5623746 commit a79e487
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dataforged-tools/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* eslint-disable no-restricted-imports */
export { dataStarforged } from "./dataStarforged.js";
export { dataIronsworn } from "./dataIronsworn.js";
export { starforged } from "./starforged.js";
export { ironsworn } from "./ironsworn.js";
export * from "@json_out/index.js";
export * from "@utils/index.js";
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import oracles_is from "./json/ironsworn/oracles.json" assert { type: "json" };
/**
* @public
*/
const dataIronsworn = {
const ironsworn = {
assets: assets_is as IAssetType[],
encounters: encounters_is as IEncounterNatureInfo[],
moves: moves_is as IMoveCategory[],
oracles: oracles_is as IOracleCategory[],
};

export { dataIronsworn };
export { ironsworn };
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import truthsJson from "./json/starforged/setting_truths.json" assert { type: "j
/**
* @public
*/
const dataStarforged = {
const starforged = {
assets: assetsJson as IAssetType[],
encounters: encountersJson as IEncounterStarforged[],
moves: movesJson as IMoveCategory[],
oracles: oraclesJson as IOracleCategory[],
truths: truthsJson as ISettingTruth[],
};

export { dataStarforged };
export { starforged };
4 changes: 2 additions & 2 deletions dataforged-tools/src/start-md.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MD_PATH } from "@constants/index.js";
import { buildMarkdown } from "@utils/buildMarkdown.js";
import { dataStarforged } from "src/dataStarforged.js";
import { starforged } from "src/starforged.js";

buildMarkdown(dataStarforged, MD_PATH);
buildMarkdown(starforged, MD_PATH);

0 comments on commit a79e487

Please sign in to comment.