mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
synced ITag to backend
This commit is contained in:
parent
15f2bb3d96
commit
17f58daa67
1 changed files with 8 additions and 1 deletions
|
@ -4,8 +4,15 @@ import { ERRORS } from '~/constants/errors';
|
||||||
import { IUser } from './auth/types';
|
import { IUser } from './auth/types';
|
||||||
|
|
||||||
export interface ITag {
|
export interface ITag {
|
||||||
|
id: number;
|
||||||
title: string;
|
title: string;
|
||||||
feature?: 'red' | 'blue' | 'green' | 'olive' | 'black' | 'input';
|
|
||||||
|
data: Record<string, string>;
|
||||||
|
user: IUser;
|
||||||
|
nodes: INode[];
|
||||||
|
|
||||||
|
readonly created_at: string;
|
||||||
|
readonly updated_at: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type IInputTextProps = DetailedHTMLProps<
|
export type IInputTextProps = DetailedHTMLProps<
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue