refactor : rename TaskType to TaskTag across the stack
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
export type TaskType = {
|
||||
export type TaskTag = {
|
||||
id: number
|
||||
'@id'?: string
|
||||
label: string
|
||||
color: string
|
||||
}
|
||||
|
||||
export type TaskTypeWrite = {
|
||||
export type TaskTagWrite = {
|
||||
label: string
|
||||
color: string
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { UserData } from './user-data'
|
||||
import type { Project } from './project'
|
||||
import type { Task } from './task'
|
||||
import type { TaskType } from './task-type'
|
||||
import type { TaskTag } from './task-tag'
|
||||
|
||||
export type TimeEntry = {
|
||||
id: number
|
||||
@@ -13,7 +13,7 @@ export type TimeEntry = {
|
||||
user: UserData
|
||||
project: Project | null
|
||||
task: Task | null
|
||||
types: TaskType[]
|
||||
tags: TaskTag[]
|
||||
}
|
||||
|
||||
export type TimeEntryWrite = {
|
||||
@@ -24,5 +24,5 @@ export type TimeEntryWrite = {
|
||||
user: string
|
||||
project?: string | null
|
||||
task?: string | null
|
||||
types?: string[]
|
||||
tags?: string[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user