UNPKG

@struktoai/mirage-core

Version:

A Unified Virtual Filesystem For AI Agents

53 lines • 1.63 kB
import type { JsonObject } from '../../types.ts'; export declare function normalizeWorkspace(workspace: JsonObject): { workspace_id: string | null; workspace_name: string | null; }; export declare function normalizeBoard(board: JsonObject): { board_id: string | null; board_name: string | null; workspace_id: string | null; closed: boolean | null; url: string | null; }; export declare function normalizeList(lst: JsonObject): { list_id: string | null; list_name: string | null; board_id: string | null; closed: boolean | null; pos: number | null; }; export declare function normalizeMember(member: JsonObject): { member_id: string | null; username: string | null; full_name: string | null; }; export declare function normalizeLabel(label: JsonObject): { label_id: string | null; label_name: string | null; color: string | null; board_id: string | null; }; export declare function normalizeCard(card: JsonObject): { card_id: string | null; card_name: string | null; board_id: string | null; list_id: string | null; member_ids: string[]; label_ids: string[]; due: string | null; due_complete: boolean | null; closed: boolean | null; desc: string; url: string | null; }; export declare function normalizeComment(comment: JsonObject, cardId: string): { comment_id: string | null; card_id: string; member_id: string | null; member_name: string | null; text: string; created_at: string | null; }; export declare const SEARCHED_FIELDS: ReadonlySet<string>; //# sourceMappingURL=normalize.d.ts.map