Skip to content

Commit

Permalink
Переименован интерфейс: Column -> BorderColumn
Browse files Browse the repository at this point in the history
  • Loading branch information
DeDxYk594 committed Sep 28, 2024
1 parent 549fa6b commit 0d1fd38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/models/active_board.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Board } from "./board";
import { Card } from "./card";

export interface Column {
export interface BoardColumn {
id: number;
title: string;
cards: Card[];
}

export interface ActiveBoard extends Board {
columns: Column[];
columns: BoardColumn[];
}
4 changes: 2 additions & 2 deletions src/stores/activeBoardStore.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ActiveBoard, Column } from "models/active_board.js";
import { ActiveBoard, BoardColumn } from "models/active_board.js";
import { Card } from "models/card.js";

class ActiveBoardStore {
Expand All @@ -24,7 +24,7 @@ class ActiveBoardStore {
};
}

addCard(card: Card, column: Column) {
addCard(card: Card, column: BoardColumn) {
column.cards.push(card);
//TODO сходить в базу
//TODO перерисовка
Expand Down

0 comments on commit 0d1fd38

Please sign in to comment.