configuration/strings/grammar.strings.ts

configuration/strings/grammar.strings.ts is a file in Bane's Lab Site. 111 lines of code and 1 definition.

import {
    GRAMMAR_GRAMMAR_ICON,
    GRAMMAR_GUIDE_ICON,
    GRAMMAR_INTRODUCTION_ICON,
    GRAMMAR_KEYWORDS_ICON,
    GRAMMAR_ORCHESTRATION_ICON,
    GRAMMAR_PATTERNS_ICON,
    GRAMMAR_TEMPLATES_ICON,
    GRAMMAR_VALIDATION_ICON,
} from "#configuration/icons/grammar.icons";
import {
    GRAMMAR_GRAMMAR_TAB,
    GRAMMAR_GUIDE_TAB,
    GRAMMAR_INTRODUCTION_TAB,
    GRAMMAR_KEYWORDS_TAB,
    GRAMMAR_ORCHESTRATION_TAB,
    GRAMMAR_PATTERNS_TAB,
    GRAMMAR_TEMPLATES_TAB,
    GRAMMAR_VALIDATION_TAB,
} from "#core/ids/grammar.ids";
import { AGENT_SECTION } from "#configuration/strings/agent.strings";
import { ALGORITHM_SECTION } from "#configuration/strings/algorithm.strings";
import { BLUEPRINT_SECTION } from "#configuration/strings/blueprint.strings";
import { BNF_SECTION } from "#configuration/strings/bnf.strings";
import { COMPOSITION_SECTION } from "#configuration/strings/composition.strings";
import { CONSTRUCT_SECTION } from "#configuration/strings/construct.strings";
import { DEFINITION_SECTION } from "#configuration/strings/definition.strings";
import { EXEMPLAR_SECTION } from "#configuration/strings/exemplar.strings";
import { HANDOFF_SECTION } from "#configuration/strings/handoff.strings";
import { IDIOM_SECTION } from "#configuration/strings/idiom.strings";
import { INTEGRATION_SECTION } from "#configuration/strings/integration.strings";
import { INTENT_SECTION } from "#configuration/strings/intent.strings";
import { INVOCATION_SECTION } from "#configuration/strings/invocation.strings";
import { KEYWORD_SECTION } from "#configuration/strings/keyword.strings";
import { LIMITATION_SECTION } from "#configuration/strings/limitation.strings";
import { LOOP_SECTION } from "#configuration/strings/loop.strings";
import { METHOD_SECTION } from "#configuration/strings/collaboration.strings";
import { ORCHESTRATION_SECTION } from "#configuration/strings/orchestration.strings";
import { PATTERN_SECTION } from "#configuration/strings/pattern.strings";
import { PHASE_SECTION } from "#configuration/strings/phase.strings";
import { PRINCIPLE_SECTION } from "#configuration/strings/principle.strings";
import { RATIONALE_SECTION } from "#configuration/strings/rationale.strings";
import { START_SECTION } from "#configuration/strings/start.strings";
import { STRUCTURE_SECTION } from "#configuration/strings/structure.strings";
import { TEMPLATE_SECTION } from "#configuration/strings/template.strings";
import { TRACKING_SECTION } from "#configuration/strings/tracking.strings";
import type { Tab } from "#types/document.types";
import { VALIDATION_SECTION } from "#configuration/strings/validation.strings";
import { WELLFORMED_SECTION } from "#configuration/strings/syntax.strings";
import { WRITING_SECTION } from "#configuration/strings/writing.strings";

export const GRAMMAR_CONTENT: readonly Tab[] = [
    {
        icon: GRAMMAR_INTRODUCTION_ICON,
        id: GRAMMAR_INTRODUCTION_TAB,
        label: "Introduction",
        sections: [DEFINITION_SECTION, RATIONALE_SECTION, METHOD_SECTION],
    },
    {
        icon: GRAMMAR_GUIDE_ICON,
        id: GRAMMAR_GUIDE_TAB,
        label: "Guide",
        sections: [
            START_SECTION,
            STRUCTURE_SECTION,
            INVOCATION_SECTION,
            PHASE_SECTION,
            WRITING_SECTION,
            WELLFORMED_SECTION,
        ],
    },
    {
        icon: GRAMMAR_ORCHESTRATION_ICON,
        id: GRAMMAR_ORCHESTRATION_TAB,
        label: "Orchestration",
        sections: [
            ORCHESTRATION_SECTION,
            COMPOSITION_SECTION,
            CONSTRUCT_SECTION,
            PATTERN_SECTION,
            HANDOFF_SECTION,
            PRINCIPLE_SECTION,
        ],
    },
    {
        icon: GRAMMAR_PATTERNS_ICON,
        id: GRAMMAR_PATTERNS_TAB,
        label: "Patterns",
        sections: [IDIOM_SECTION, INTENT_SECTION, LOOP_SECTION, ALGORITHM_SECTION, INTEGRATION_SECTION],
    },
    {
        icon: GRAMMAR_KEYWORDS_ICON,
        id: GRAMMAR_KEYWORDS_TAB,
        label: "Keywords",
        layout: "grid",
        sections: [KEYWORD_SECTION],
    },
    { icon: GRAMMAR_GRAMMAR_ICON, id: GRAMMAR_GRAMMAR_TAB, label: "Grammar", layout: "grid", sections: [BNF_SECTION] },
    {
        icon: GRAMMAR_VALIDATION_ICON,
        id: GRAMMAR_VALIDATION_TAB,
        label: "Validation",
        sections: [VALIDATION_SECTION, LIMITATION_SECTION],
    },
    {
        icon: GRAMMAR_TEMPLATES_ICON,
        id: GRAMMAR_TEMPLATES_TAB,
        label: "Templates",
        layout: "sectioned",
        sections: [TEMPLATE_SECTION, BLUEPRINT_SECTION, TRACKING_SECTION, EXEMPLAR_SECTION, AGENT_SECTION],
    },
];