Add ticket branch discovery by ticket key
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export type TicketBranchModel = {
|
||||
name: string;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
@@ -0,0 +1,9 @@
|
||||
import type { RepositoryConnectionModel } from '@/types/models/repository-connection-model';
|
||||
import type { TicketBranchModel } from '@/types/models/ticket-branch-model';
|
||||
|
||||
export type TicketRepositoryBranchModel = {
|
||||
branches: TicketBranchModel[];
|
||||
error: string | null;
|
||||
repository_connection: RepositoryConnectionModel;
|
||||
[key: string]: unknown;
|
||||
};
|
||||
@@ -4,6 +4,7 @@ import type { ProjectModel } from '@/types/models/project-model';
|
||||
import type { RepositoryConnectionModel } from '@/types/models/repository-connection-model';
|
||||
import type { TeamModel } from '@/types/models/team-model';
|
||||
import type { TicketFieldDefinitionModel } from '@/types/models/ticket-field-definition-model';
|
||||
import type { TicketRepositoryBranchModel } from '@/types/models/ticket-repository-branch-model';
|
||||
import type { TicketLinkModel } from '@/types/models/ticket-link-model';
|
||||
import type { TicketLinkTypeModel } from '@/types/models/ticket-link-type-model';
|
||||
import type { TicketReferenceModel } from '@/types/models/ticket-reference-model';
|
||||
@@ -101,6 +102,7 @@ export type ProjectTicketPageProps = {
|
||||
linkedTickets: TicketLinkModel[];
|
||||
parentTicketOptions: TicketReferenceModel[];
|
||||
project: ProjectModel;
|
||||
repositoryBranches: TicketRepositoryBranchModel[];
|
||||
status?: string | null;
|
||||
ticket: TicketModel;
|
||||
ticketFieldDefinitions: TicketFieldDefinitionModel[];
|
||||
|
||||
Reference in New Issue
Block a user