From 17f58daa67bbb6697c3306e2d5a66fe668b29a16 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 9 Oct 2019 16:38:28 +0700 Subject: [PATCH] synced ITag to backend --- src/redux/types.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/redux/types.ts b/src/redux/types.ts index 4c3ffead..e28eabd8 100644 --- a/src/redux/types.ts +++ b/src/redux/types.ts @@ -4,8 +4,15 @@ import { ERRORS } from '~/constants/errors'; import { IUser } from './auth/types'; export interface ITag { + id: number; title: string; - feature?: 'red' | 'blue' | 'green' | 'olive' | 'black' | 'input'; + + data: Record; + user: IUser; + nodes: INode[]; + + readonly created_at: string; + readonly updated_at: string; } export type IInputTextProps = DetailedHTMLProps<