Skip to content

Commit 52e9188

Browse files
committed
install lodash and uuid, update board and column types
1 parent 1847171 commit 52e9188

File tree

4 files changed

+53
-4
lines changed

4 files changed

+53
-4
lines changed

components.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import '@vue/runtime-core'
66
declare module '@vue/runtime-core' {
77
export interface GlobalComponents {
88
AppButton: typeof import('./src/components/AppButton.vue')['default']
9+
AppPageHeading: typeof import('./src/components/AppPageHeading.vue')['default']
10+
BoardCard: typeof import('./src/components/BoardCard.vue')['default']
11+
BoardDragAndDrop: typeof import('./src/components/BoardDragAndDrop.vue')['default']
912
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
1013
IconCommunity: typeof import('./src/components/icons/IconCommunity.vue')['default']
1114
IconDocumentation: typeof import('./src/components/icons/IconDocumentation.vue')['default']
@@ -14,6 +17,9 @@ declare module '@vue/runtime-core' {
1417
IconTooling: typeof import('./src/components/icons/IconTooling.vue')['default']
1518
RouterLink: typeof import('vue-router')['RouterLink']
1619
RouterView: typeof import('vue-router')['RouterView']
20+
TaskCard: typeof import('./src/components/TaskCard.vue')['default']
21+
TheAlerts: typeof import('./src/components/TheAlerts.vue')['default']
22+
TheDrawer: typeof import('./src/components/TheDrawer.vue')['default']
1723
TheWelcome: typeof import('./src/components/TheWelcome.vue')['default']
1824
WelcomeItem: typeof import('./src/components/WelcomeItem.vue')['default']
1925
}

package-lock.json

Lines changed: 40 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
1414
},
1515
"dependencies": {
16+
"@types/lodash-es": "^4.17.6",
17+
"lodash-es": "^4.17.21",
1618
"unplugin-vue-components": "^0.20.1",
19+
"uuid": "^8.3.2",
1720
"vite-plugin-pages": "^0.24.3",
1821
"vue": "^3.2.37",
1922
"vue-router": "^4.0.16"

src/types/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ export interface Resource8base {
99

1010
export interface Board extends Resource8base {
1111
title: string;
12+
13+
// Board order JSON encoded in DB and thus can be a string
14+
// when decoded it's an array of Columns
1215
order: string | Column[];
1316

1417
// relationships
@@ -19,7 +22,7 @@ export interface Board extends Resource8base {
1922
export interface Column {
2023
id: ID;
2124
title: string;
22-
taskUids: ID[];
25+
taskIds: ID[];
2326
}
2427

2528
export interface Task extends Resource8base {

0 commit comments

Comments
 (0)