focalboard/webapp/src/user.tsx
Fares Rihani 69b8641534
[GH-1351] Webapp Linter Fixes - Investigate / Update using any Record<string, any> (#1682)
* Webapp Linter Fixes - update workspace.ts, dateRange.tsx, editableDatePicker.tsx

* Webapp Linter Fixes - accept Record<string, any> in block.ts, user.tsx

* Webapp Linter Fixes - Cleanup moment global-require

* Webapp Linter Fixes - match settings type to backend in workspace.ts

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-11-04 11:43:03 +01:00

20 lines
449 B
TypeScript

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
interface IUser {
id: string,
username: string,
email: string,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
props: Record<string, any>,
createAt: number,
updateAt: number,
}
interface UserWorkspace {
id: string
title: string
boardCount: number
}
export {IUser, UserWorkspace}