Show template inheritance overrides

This commit is contained in:
2026-09-08 10:25:52 +00:00
committed by Twyco
parent fef82cb88f
commit 831014f7fe
16 changed files with 334 additions and 4 deletions
+20
View File
@@ -61,9 +61,25 @@ export type ProjectTemplatesCreatePageProps = {
project: ProjectModel;
};
export type ProjectTemplateStateArea = {
label: string;
value: string;
};
export type ProjectTemplateState = {
effectiveConfiguration: Record<string, unknown>;
inheritedAreas: ProjectTemplateStateArea[];
inheritsFromTemplate: boolean;
overriddenAreas: ProjectTemplateStateArea[];
templateId: number;
templateName: string;
templateSlug: string;
};
export type ProjectShowPageProps = {
canManageAccess: boolean;
project: ProjectModel;
templateState?: ProjectTemplateState | null;
};
export type PermissionOption = {
@@ -95,6 +111,7 @@ export type ProjectBoardSettingsPageProps = {
boardColumns: BoardColumnModel[];
project: ProjectModel;
status?: string | null;
templateState?: ProjectTemplateState | null;
ticketStatuses: TicketStatusModel[];
};
@@ -121,6 +138,7 @@ export type ProjectTicketMetadataSettingsPageProps = {
project: ProjectModel;
error?: boolean;
status?: string | null;
templateState?: ProjectTemplateState | null;
ticketFieldDefinitions: TicketFieldDefinitionModel[];
ticketLinkTypes: TicketLinkTypeModel[];
ticketPriorities: TicketPriorityModel[];
@@ -132,6 +150,7 @@ export type ProjectRepositorySettingsPageProps = {
project: ProjectModel;
repositoryConnections: RepositoryConnectionModel[];
status?: string | null;
templateState?: ProjectTemplateState | null;
};
export type ProjectNotificationSettingsPageProps = {
@@ -143,6 +162,7 @@ export type ProjectNotificationSettingsPageProps = {
notificationActions: NotificationActionModel[];
project: ProjectModel;
status?: string | null;
templateState?: ProjectTemplateState | null;
templateVariables: NotificationActionTemplateVariableModel[];
};