@mescius/dspdfviewer
Version:
Document Solutions PDF Viewer
25 lines (24 loc) • 528 B
TypeScript
export type ArticleBead = {
objId: string;
threadObjId: string;
pageNumber: number;
rectangle: number[];
isFirst: boolean;
isLast: boolean;
next: ArticleBead;
prev: ArticleBead;
};
export type ArticleNode = {
objId: string;
title: string;
subject: string;
creator: string;
firstBead: ArticleBead;
};
export type ArticlesModel = {
articles: ArticleNode[] | null;
currentThreadObjId?: string;
};
export type ArticlesMsg = {
type: 'reset';
};