yi-jing-oracle
Version:
The Yi Jing, the Oracle of Changes, available in algorithmic form along with the relevant metadata to understand it's meaning.
60 lines (59 loc) • 1.27 kB
TypeScript
export declare const about: YijingInfo;
export interface HistoryEvent {
period: string;
events: string;
sources: string;
}
export interface CommentStructure {
core: {
hexagrams: number;
lines_per_hexagram: number;
};
ten_wings: string[];
later_commentaries: string[];
}
export interface Concept {
concept: string;
description: string;
}
export interface FunctionUse {
purpose: string;
howUsed: string;
}
export interface HexagramLine {
position: number;
yinYang: 'Yin' | 'Yang';
description: string;
}
export interface SampleHexagram {
number: number;
name: string;
lines: HexagramLine[];
}
export interface School {
name: string;
focus: string;
}
export interface TranslationEdition {
translator: string;
year: number;
features: string;
}
export interface YijingInfo {
title: string;
overview: string;
history: HistoryEvent[];
structure: CommentStructure;
core_concepts: Concept[];
functions: FunctionUse[];
philosophical_schools: School[];
translations: TranslationEdition[];
modern_thought: {
area: string;
description: string;
}[];
glossary: {
term: string;
meaning: string;
}[];
}