Files
Agent-n8n/backups/exhibition-demo-backup-20250928-210916/node_modules/yaml/dist/doc/directives.d.ts
Yep_Q 67f5dfbe50 feat: 实现多订单班支持系统
主要功能:
- 修改RequirementModal支持12个订单班选择
- 添加OrderClassIconMap图标映射组件
- Store中添加selectedOrderClass状态管理
- WorkflowPage支持传递orderClass参数
- web_result添加URL参数切换功能
- 创建order-class-handler.js动态处理页面主题

技术改进:
- 创建软链接关联订单班数据目录
- 生成wenlu.json和food.json数据结构
- 删除重复的web_result目录
- 添加测试页面test-order-class.html

影响范围:
- 展会策划系统现支持12个订单班
- 结果展示页面自动适配不同订单班主题
- 用户可选择不同行业生成对应方案

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-29 10:02:15 +08:00

50 lines
1.9 KiB
TypeScript

import type { Document } from './Document';
export declare class Directives {
static defaultYaml: Directives['yaml'];
static defaultTags: Directives['tags'];
yaml: {
version: '1.1' | '1.2' | 'next';
explicit?: boolean;
};
tags: Record<string, string>;
/**
* The directives-end/doc-start marker `---`. If `null`, a marker may still be
* included in the document's stringified representation.
*/
docStart: true | null;
/** The doc-end marker `...`. */
docEnd: boolean;
/**
* Used when parsing YAML 1.1, where:
* > If the document specifies no directives, it is parsed using the same
* > settings as the previous document. If the document does specify any
* > directives, all directives of previous documents, if any, are ignored.
*/
private atNextDocument?;
constructor(yaml?: Directives['yaml'], tags?: Directives['tags']);
clone(): Directives;
/**
* During parsing, get a Directives instance for the current document and
* update the stream state according to the current version's spec.
*/
atDocument(): Directives;
/**
* @param onError - May be called even if the action was successful
* @returns `true` on success
*/
add(line: string, onError: (offset: number, message: string, warning?: boolean) => void): boolean;
/**
* Resolves a tag, matching handles to those defined in %TAG directives.
*
* @returns Resolved tag, which may also be the non-specific tag `'!'` or a
* `'!local'` tag, or `null` if unresolvable.
*/
tagName(source: string, onError: (message: string) => void): string | null;
/**
* Given a fully resolved tag, returns its printable string form,
* taking into account current tag prefixes and defaults.
*/
tagString(tag: string): string;
toString(doc?: Document): string;
}