44 lines
1.5 KiB
TypeScript
44 lines
1.5 KiB
TypeScript
export interface Feedback {
|
|
id: string;
|
|
content: string;
|
|
[key: string]: any;
|
|
}
|
|
export interface Issue {
|
|
id: string;
|
|
name: string;
|
|
}
|
|
export interface FeedbackField {
|
|
id: string;
|
|
name: string;
|
|
type: "text" | "textarea" | "number" | "select";
|
|
readOnly?: boolean;
|
|
}
|
|
export interface CreateFeedbackRequest {
|
|
issueNames: string[];
|
|
[key: string]: any;
|
|
}
|
|
/**
|
|
* 특정 채널의 피드백 목록을 조회합니다.
|
|
*/
|
|
export declare const getFeedbacks: (projectId: string, channelId: string) => Promise<Feedback[]>;
|
|
/**
|
|
* 특정 채널의 동적 폼 필드 스키마를 조회합니다.
|
|
*/
|
|
export declare const getFeedbackFields: (projectId: string, channelId: string) => Promise<FeedbackField[]>;
|
|
/**
|
|
* 특정 채널에 새로운 피드백을 생성합니다.
|
|
*/
|
|
export declare const createFeedback: (projectId: string, channelId: string, feedbackData: CreateFeedbackRequest) => Promise<Feedback>;
|
|
/**
|
|
* 프로젝트의 이슈를 검색합니다.
|
|
*/
|
|
export declare const searchIssues: (projectId: string, query: string) => Promise<Issue[]>;
|
|
/**
|
|
* 특정 ID의 피드백 상세 정보를 조회합니다.
|
|
*/
|
|
export declare const getFeedbackById: (projectId: string, channelId: string, feedbackId: string) => Promise<Feedback>;
|
|
/**
|
|
* 특정 피드백을 수정합니다.
|
|
*/
|
|
export declare const updateFeedback: (projectId: string, channelId: string, feedbackId: string, feedbackData: Partial<CreateFeedbackRequest>) => Promise<Feedback>;
|