types/writing.types.ts
types/writing.types.ts is a file in Bane's Lab Content. 20 lines of code and 5 definitions.
export interface PageSection {
readonly fingerprint: string;
readonly key: string;
readonly links: readonly string[];
readonly page: string;
}
export interface ReadingSignoff {
readonly fingerprint: string;
readonly key: string;
readonly signed: string;
}
export type LinkSet = Readonly<Partial<Record<string, readonly string[]>>>;
export interface LinkChanges {
readonly lost: readonly LinkChange[];
readonly moved: readonly LinkChange[];
}
export interface LinkChange {
readonly key: string;
readonly target: string;
}