mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
removed tag reducer
This commit is contained in:
parent
11b39b8766
commit
31e433af3e
17 changed files with 41 additions and 192 deletions
16
src/types/tags/index.ts
Normal file
16
src/types/tags/index.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { INode } from '~/redux/types';
|
||||
|
||||
export type ApiGetNodesOfTagRequest = {
|
||||
tag: string;
|
||||
offset: number;
|
||||
limit: number;
|
||||
};
|
||||
export type ApiGetNodesOfTagResult = { nodes: INode[]; count: number };
|
||||
|
||||
export type ApiGetTagSuggestionsRequest = {
|
||||
search: string;
|
||||
exclude: string[];
|
||||
};
|
||||
export type ApiGetTagSuggestionsResult = {
|
||||
tags: string[];
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue