UNPKG

dina-agi

Version:

DINA AGI - Dynamic Intelligence Network Architecture. 128 Autonomous Agents with Claude Flow, Swarms, and 300+ MCPs. True AGI System.

28 lines (24 loc) 841 B
import {isString} from "../../../src/Utils"; /** * TODO Maarten: where does this list come from?! AFAIK LaTeX has just three modes: paragraph, math and LR * * LaTeX modes * @enum {string} */ export const modes = { LIST: "LIST", // list of items MATH: "MATH", // mathematical expressionLatex PICTURE: "PICTURE", // picture TABLE: "TABLE", // LaTeX tabular TEXT: "TEXT", // general text VERTICAL: "VERTICAL" // vertical spacing }; export type KirillMode = keyof typeof modes; export function isKirillMode(x: any): x is KirillMode { return modes.hasOwnProperty(x); } export function mustBeKirillMode(x: any, msg?: string): KirillMode { if (!isKirillMode(x)) throw new Error(msg); return x; } export type ModeStates = { [mode: string]: boolean };