fix type definitions
This commit is contained in:
@@ -12,7 +12,7 @@ interface KanbanBoard {
|
|||||||
|
|
||||||
interface KanbanBoardItem {
|
interface KanbanBoardItem {
|
||||||
priority: number;
|
priority: number;
|
||||||
messageObject: MessageObject;
|
messageObject: MessageObjectWithIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function KanbanView(
|
export function KanbanView(
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export function NoteObjectsView(
|
|||||||
selectedObject: React.State<MessageObject | undefined>,
|
selectedObject: React.State<MessageObject | undefined>,
|
||||||
isShowingObjectModal: React.State<boolean>
|
isShowingObjectModal: React.State<boolean>
|
||||||
) {
|
) {
|
||||||
const notes = new React.ListState<MessageObject>();
|
const notes = new React.ListState<MessageObjectWithIndex>();
|
||||||
messageObjects.handleAddition((messageObject) => {
|
messageObjects.handleAddition((messageObject) => {
|
||||||
const latest = chat.getMostRecentContent(messageObject);
|
const latest = chat.getMostRecentContent(messageObject);
|
||||||
if (!latest.noteContent) return;
|
if (!latest.noteContent) return;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ interface StatusColumn {
|
|||||||
interface StatusCellItem {
|
interface StatusCellItem {
|
||||||
priority: number;
|
priority: number;
|
||||||
status: string;
|
status: string;
|
||||||
messageObject: MessageObject;
|
messageObject: MessageObjectWithIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
// data only
|
// data only
|
||||||
|
|||||||
Reference in New Issue
Block a user