ФУНКЦИИ - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: отправка во внешний контур и source-side список
This commit is contained in:
@@ -318,6 +318,8 @@ export default {
|
||||
modal: {
|
||||
title: "Add request",
|
||||
submit: "Send",
|
||||
success_message: "Request sent to the target contour.",
|
||||
error_message: "Failed to send the request to the target contour.",
|
||||
toast_title: "Routing is not connected yet",
|
||||
toast_message:
|
||||
"The UI now uses the intake shell. The next stage will connect backend routing and real delivery to the target contour.",
|
||||
|
||||
@@ -475,6 +475,8 @@ export default {
|
||||
modal: {
|
||||
title: "Добавить запрос",
|
||||
submit: "Отправить",
|
||||
success_message: "Запрос отправлен во внешний контур.",
|
||||
error_message: "Не удалось отправить запрос во внешний контур.",
|
||||
toast_title: "Маршрутизация ещё не подключена",
|
||||
toast_message:
|
||||
"UI уже переведён на shell предложений. На следующем этапе подключим backend-маршрутизацию и реальную отправку в целевой контур.",
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* Copyright (c) 2023-present Plane Software, Inc. and contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
* See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
import type { TPaginationInfo } from "./common";
|
||||
import type { TIssue } from "./issues/issue";
|
||||
import type { IProjectLite } from "./project";
|
||||
import type { IStateLite } from "./state";
|
||||
import type { IUser } from "./users";
|
||||
|
||||
export type TExternalContourIssue = TIssue & {
|
||||
assignee_details?: Pick<IUser, "id" | "display_name" | "avatar_url">[];
|
||||
created_by_detail?: Pick<IUser, "id" | "display_name" | "avatar_url"> | null;
|
||||
label_details?: { id: string; name: string; color: string }[];
|
||||
project_detail?: IProjectLite | null;
|
||||
state_detail?: IStateLite | null;
|
||||
};
|
||||
|
||||
export type TExternalContourRequest = {
|
||||
created_at: string;
|
||||
created_by: string | null;
|
||||
id: string;
|
||||
issue: TExternalContourIssue;
|
||||
source_project_id: string;
|
||||
status: "open" | "closed";
|
||||
updated_at: string;
|
||||
};
|
||||
|
||||
export type TExternalContourRequestResponse = TPaginationInfo & {
|
||||
results: TExternalContourRequest[];
|
||||
};
|
||||
@@ -21,6 +21,7 @@ export * from "./editor";
|
||||
export * from "./enums";
|
||||
export * from "./epics";
|
||||
export * from "./estimate";
|
||||
export * from "./external-contours";
|
||||
export * from "./favorite";
|
||||
export * from "./file";
|
||||
export * from "./home";
|
||||
|
||||
Reference in New Issue
Block a user