refactor: js output

This commit is contained in:
Tiara Rodney 2026-03-15 05:11:59 +01:00
parent 1aa28c2a34
commit c6704c3a04
No known key found for this signature in database
GPG key ID: 5CD8EC1D46106723
96 changed files with 3816 additions and 147 deletions

11
src/serializer.d.ts vendored Normal file
View file

@ -0,0 +1,11 @@
import type { TodoFile } from "./file.js";
import type { Issue } from "./issue.js";
import type { Sprint } from "./sprint.js";
import type { Module, BugzillaTracker } from "./tracker.js";
export declare function wordWrap(text: string, maxCol: number, firstPrefixLen: number, contIndentLen: number): string[];
export declare function serializeRelationships(rels: Issue["relationships"]): string;
export declare function serializeSprints(sprints: Sprint[]): string;
export declare function serializeIssue(issue: Issue): string;
export declare function serializeModules(modules: Module[]): string;
export declare function serializeBugzillaTracker(tracker: BugzillaTracker): string;
export declare function serializeTodoFile(todo: TodoFile): string;