Skip to content

Commit

Permalink
New Data Format
Browse files Browse the repository at this point in the history
  • Loading branch information
nuuuwan committed Aug 1, 2024
1 parent 58ce928 commit f15f5db
Show file tree
Hide file tree
Showing 8 changed files with 106 additions and 123 deletions.
2 changes: 1 addition & 1 deletion .eslintcache

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions src/nonview/base/index.js
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
// Auto-generated by add_indices.py
import AudioX from './AudioX'
import Cache from './Cache'
import DICTIONARY from './DICTIONARY'
import DictUtils from './DictUtils'
import I18N from './I18N'
import IDX from './IDX'
import MathX from './MathX'
import Random from './Random'
import TimeX from './TimeX'
import URLContext from './URLContext'
import WWW from './WWW'

export {
AudioX,
Cache,
DICTIONARY,
DictUtils,
I18N,
IDX,
MathX,
Random,
TimeX,
URLContext,
WWW,
}
// Auto-generated by add_indices.py
import AudioX from "./AudioX";
import Cache from "./Cache";
import DICTIONARY from "./DICTIONARY";
import DictUtils from "./DictUtils";
import I18N from "./I18N";
import IDX from "./IDX";
import MathX from "./MathX";
import Random from "./Random";
import TimeX from "./TimeX";
import URLContext from "./URLContext";
import WWW from "./WWW";

export {
AudioX,
Cache,
DICTIONARY,
DictUtils,
I18N,
IDX,
MathX,
Random,
TimeX,
URLContext,
WWW,
};
14 changes: 6 additions & 8 deletions src/nonview/constants/VERSION.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@

// Auto-generated by javascript_version.py
export const DATETIME_STR = '2024-08-01 16:05:00';
export const VERSION_DATETIME = new Date(DATETIME_STR);

const VERSION = {DATETIME_STR, VERSION_DATETIME};
export default VERSION;

// Auto-generated by javascript_version.py
export const DATETIME_STR = "2024-08-01 16:05:00";
export const VERSION_DATETIME = new Date(DATETIME_STR);

const VERSION = { DATETIME_STR, VERSION_DATETIME };
export default VERSION;
10 changes: 4 additions & 6 deletions src/nonview/constants/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
// Auto-generated by add_indices.py
import VERSION from './VERSION'

export {
VERSION,
}
// Auto-generated by add_indices.py
import VERSION from "./VERSION";

export { VERSION };
25 changes: 9 additions & 16 deletions src/nonview/core/index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
// Auto-generated by add_indices.py
import Candidate from './Candidate'
import Criterion from './Criterion'
import GroundTruth from './GroundTruth'
import Party from './Party'
import Version from './Version'
import Weight from './Weight'

export {
Candidate,
Criterion,
GroundTruth,
Party,
Version,
Weight,
}
// Auto-generated by add_indices.py
import Candidate from "./Candidate";
import Criterion from "./Criterion";
import GroundTruth from "./GroundTruth";
import Party from "./Party";
import Version from "./Version";
import Weight from "./Weight";

export { Candidate, Criterion, GroundTruth, Party, Version, Weight };
22 changes: 8 additions & 14 deletions src/view/atoms/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
// Auto-generated by add_indices.py
import AlignCenter from './AlignCenter'
import AlignRight from './AlignRight'
import TimeView from './TimeView'
import WikipediaPageView from './WikipediaPageView'
import XHandleView from './XHandleView'

export {
AlignCenter,
AlignRight,
TimeView,
WikipediaPageView,
XHandleView,
}
// Auto-generated by add_indices.py
import AlignCenter from "./AlignCenter";
import AlignRight from "./AlignRight";
import TimeView from "./TimeView";
import WikipediaPageView from "./WikipediaPageView";
import XHandleView from "./XHandleView";

export { AlignCenter, AlignRight, TimeView, WikipediaPageView, XHandleView };
76 changes: 38 additions & 38 deletions src/view/molecules/index.js
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
// Auto-generated by add_indices.py
import CandidateView from './CandidateView'
import CandidatesLeaderBoard from './CandidatesLeaderBoard'
import CandidatesLeaderBoardShort from './CandidatesLeaderBoardShort'
import CriteriaView from './CriteriaView'
import CriterionView from './CriterionView'
import CustomAppBar from './CustomAppBar'
import HelpMenu from './HelpMenu'
import HomePageBottomNavigation from './HomePageBottomNavigation'
import IconLabel from './IconLabel'
import LabelledText from './LabelledText'
import LabelledTextInput from './LabelledTextInput'
import PageLink from './PageLink'
import PartyView from './PartyView'
import ScreenshotView from './ScreenshotView'
import VersionMenu from './VersionMenu'
import VersionView from './VersionView'
import WeightView from './WeightView'

export {
CandidateView,
CandidatesLeaderBoard,
CandidatesLeaderBoardShort,
CriteriaView,
CriterionView,
CustomAppBar,
HelpMenu,
HomePageBottomNavigation,
IconLabel,
LabelledText,
LabelledTextInput,
PageLink,
PartyView,
ScreenshotView,
VersionMenu,
VersionView,
WeightView,
}
// Auto-generated by add_indices.py
import CandidateView from "./CandidateView";
import CandidatesLeaderBoard from "./CandidatesLeaderBoard";
import CandidatesLeaderBoardShort from "./CandidatesLeaderBoardShort";
import CriteriaView from "./CriteriaView";
import CriterionView from "./CriterionView";
import CustomAppBar from "./CustomAppBar";
import HelpMenu from "./HelpMenu";
import HomePageBottomNavigation from "./HomePageBottomNavigation";
import IconLabel from "./IconLabel";
import LabelledText from "./LabelledText";
import LabelledTextInput from "./LabelledTextInput";
import PageLink from "./PageLink";
import PartyView from "./PartyView";
import ScreenshotView from "./ScreenshotView";
import VersionMenu from "./VersionMenu";
import VersionView from "./VersionView";
import WeightView from "./WeightView";

export {
CandidateView,
CandidatesLeaderBoard,
CandidatesLeaderBoardShort,
CriteriaView,
CriterionView,
CustomAppBar,
HelpMenu,
HomePageBottomNavigation,
IconLabel,
LabelledText,
LabelledTextInput,
PageLink,
PartyView,
ScreenshotView,
VersionMenu,
VersionView,
WeightView,
};
28 changes: 14 additions & 14 deletions src/view/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
// Auto-generated by add_indices.py
import AbstractInnerPage from './AbstractInnerPage'
import CandidatePage from './CandidatePage'
import CriteriaPage from './CriteriaPage'
import HomePage from './HomePage'
import PAGE_CONFIG_LIST from './PAGE_CONFIG_LIST'

export {
AbstractInnerPage,
CandidatePage,
CriteriaPage,
HomePage,
PAGE_CONFIG_LIST,
}
// Auto-generated by add_indices.py
import AbstractInnerPage from "./AbstractInnerPage";
import CandidatePage from "./CandidatePage";
import CriteriaPage from "./CriteriaPage";
import HomePage from "./HomePage";
import PAGE_CONFIG_LIST from "./PAGE_CONFIG_LIST";

export {
AbstractInnerPage,
CandidatePage,
CriteriaPage,
HomePage,
PAGE_CONFIG_LIST,
};

0 comments on commit f15f5db

Please sign in to comment.