You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
491 B
28 lines
491 B
import type { IconName } from "../external/icons";
|
|
import type Group from "./group";
|
|
|
|
export default interface Item {
|
|
id: string
|
|
groupId: string
|
|
groupWeight: number
|
|
icon: IconName
|
|
name: string
|
|
description: string
|
|
}
|
|
|
|
export interface ItemResult extends Item {
|
|
group: Group
|
|
}
|
|
|
|
export interface ItemInput {
|
|
groupId: string
|
|
groupWeight: number
|
|
name: string
|
|
description: string
|
|
}
|
|
|
|
export interface ItemUpdate {
|
|
groupWeight?: number
|
|
name?: string
|
|
description?: string
|
|
}
|