Skip to content

Commit

Permalink
Сделаны одиночные кавычки
Browse files Browse the repository at this point in the history
  • Loading branch information
DeDxYk594 committed Sep 28, 2024
1 parent 0d1fd38 commit c94922c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
4 changes: 2 additions & 2 deletions src/models/active_board.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Board } from "./board";
import { Card } from "./card";
import { Board } from './board';
import { Card } from './card';

export interface BoardColumn {
id: number;
Expand Down
14 changes: 7 additions & 7 deletions src/stores/activeBoardStore.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
import { ActiveBoard, BoardColumn } from "models/active_board.js";
import { Card } from "models/card.js";
import { ActiveBoard, BoardColumn } from 'models/active_board.js';
import { Card } from 'models/card.js';

class ActiveBoardStore {
activeBoard: ActiveBoard; // TODO рассмотреть возможность установки private
constructor() {
this.activeBoard = {
id: 0,
title: "Моя любимая доска",
title: 'Моя любимая доска',
columns: [
{
id: 1,
title: "Задачи",
title: 'Задачи',
cards: [
{ id: 228, title: "Пример задачи, для которой не задана обложка" },
{ id: 228, title: 'Пример задачи, для которой не задана обложка' },
{
id: 1337,
title: "Пример задачи, для которой задана обложка",
coverUrl: "/static/image/lada_vesta.png",
title: 'Пример задачи, для которой задана обложка',
coverUrl: '/static/image/lada_vesta.png',
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions src/stores/boardsStore.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Board } from "models/board";
import { Board } from 'models/board';

class BoardsStore {
boards: Board[]; // TODO рассмотреть возможность установки private
constructor() {
this.boards = [
{ title: "test123", id: 2 },
{ title: "test123", id: 5 },
{ title: 'test123', id: 2 },
{ title: 'test123', id: 5 },
];
}
getWithFilters(): Board[] {
Expand Down

0 comments on commit c94922c

Please sign in to comment.