fixed missing features
This commit is contained in:
@@ -1,12 +1,19 @@
|
||||
import type { UserModel } from '@/types/models/user-model';
|
||||
|
||||
export type TicketWorklogEntryType =
|
||||
| 'created'
|
||||
| 'link_removed'
|
||||
| 'link_updated'
|
||||
| 'status_changed'
|
||||
| 'updated';
|
||||
|
||||
export type TicketWorklogEntryModel = {
|
||||
id: number;
|
||||
actor: UserModel | null;
|
||||
actor_id: number | null;
|
||||
changes: Record<string, unknown> | null;
|
||||
created_at: string;
|
||||
entry_type: string;
|
||||
entry_type: TicketWorklogEntryType;
|
||||
summary: string;
|
||||
ticket_id: number;
|
||||
updated_at: string;
|
||||
|
||||
@@ -73,6 +73,7 @@ export type ProjectGeneralSettingsPageProps = {
|
||||
|
||||
export type ProjectBoardPageProps = {
|
||||
boardColumns: BoardColumnModel[];
|
||||
canCreateTickets: boolean;
|
||||
canEditTickets: boolean;
|
||||
project: ProjectModel;
|
||||
status?: string | null;
|
||||
@@ -114,6 +115,17 @@ export type ProjectBacklogPageProps = {
|
||||
users: UserModel[];
|
||||
};
|
||||
|
||||
export type ProjectTicketCreatePageProps = {
|
||||
defaultTicketStatusId: number | null;
|
||||
project: ProjectModel;
|
||||
source: 'backlog' | 'board';
|
||||
status?: string | null;
|
||||
ticketPriorities: TicketPriorityModel[];
|
||||
ticketStatusOptions: TicketStatusModel[];
|
||||
ticketTypes: TicketTypeModel[];
|
||||
users: UserModel[];
|
||||
};
|
||||
|
||||
export type ProjectTicketPageProps = {
|
||||
canEditTicket: boolean;
|
||||
canManageProject: boolean;
|
||||
|
||||
Reference in New Issue
Block a user