aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/@types/tag/index.d.ts
blob: 30bbebb80903494768311916fc98d10c7b3caccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
declare namespace Tag {
    interface Node {
        tag: string;
        items: Gallery.Item[];
        children: Index;
    }
    interface NodeWithParent extends Node {
        parent: Node;
    }
    type Search = Node | NodeWithParent;
    type Index = { [index: string]: Node };
}