/// import { ModalProps } from 'choerodon-ui/pro/lib/modal/Modal'; export declare type Paged = { list: T[]; content: T[]; }; export interface User { email: string; enabled?: boolean; id: string; imageUrl: string | null; ldap: boolean; loginName: string; realName: string; name?: string; textShow?: string; } export interface ISprint { sprintId: string; sprintName: string; startDate: string; endDate: string; actualEndDate: string; statusCode: string; } export interface IPriority { colour: string; default: boolean; description: string; enable: boolean; id: string; name: string; objectVersionNumber: number; organizationId: string; sequence: number; } export interface IVersion { versionId: string; name: string; } export interface IComponent { name: string; componentId: string; } export interface ILabel { labelId: string; labelName: string; } export interface PI { id: string; code: string; name: string; fullName: string; startDate: string; endDate: string; actualStartDate: string | null; actualEndDate: string | null; statusCode: 'todo' | 'doing' | 'done' | string; } export interface IStatus { id: string; valueCode: 'todo' | 'doing' | 'done' | 'prepare'; type: 'todo' | 'doing' | 'done' | 'prepare'; name: string; code: string; complete: boolean; } export interface Priority { colour: string; default: boolean; description: string; enable: boolean; id: string; name: string; } export interface IProgramVersion { id: string; name: string; programId: string; statusCode: string; versionBase?: { id: string; name: string; }; versionBaseId: string; } export interface IModalProps extends ModalProps { handleOk: (promise: () => Promise) => Promise; handleCancel: (promise: () => Promise) => Promise; close: (destroy?: boolean) => void; update: (modalProps: ModalProps) => void; } interface CurrentProject { agileProjectCode: string; agileProjectId: number; agileProjectObjectVersionNumber: number; categories: Array; category: string; categoryIds: any; code: string; createUserImageUrl: string; createUserName: string; createdBy: number; creationDate: string; editFlag: false; enabled: boolean; id: number; imageUrl: string; into: boolean; lastUpdateDate: string; lastUpdatedBy: number; name: string; objectVersionNumber: number; organizationCode: null | string; organizationId: number; organizationName: null | string; programName: null | string; projects: any; roles: any; starFlag: boolean; type: any; typeName: any; } interface MenuType { category: string; id: string; name: string; orgId: string; organizationId: string; projectId: string; type: string; } export interface AppStateProps { currentProject: CurrentProject; debugger: boolean; expanded: boolean; guideExpanded: boolean; isUser: boolean; loadOrgDate: Function; loadSiteInfo: Function; loadUserInfo: Function; menuType: MenuType; siteInfo: any; userInfo: any; currentLanguage: string; currentMenuType: MenuType; currentOrginazationOrProjectId: string; getCurrentProject: Object; getDebugger: boolean; getGuideExpanded: boolean; getMenuExpanded: boolean; getSiteInfo: Object; getType: string; getUserId: string; getUserInfo: Object; isAuth: boolean; isTypeUser: boolean; } export interface IIssueType { colour: string; description: string; icon: string; id: string; name: string; stateMachineId: string; typeCode: string; enabled: boolean; initialize: boolean; } export declare type IFeatureType = 'business' | 'enabler'; export interface FieldOption { id: string; fieldId: string; code: string; value: string; sequence: number; enabled: boolean; } export interface IssueCreateFields { defaultValue: any; defaultValueObj?: any; defaultValueObjs?: any[]; multiple: boolean; display: boolean; fieldCode: string; fieldId: string; fieldName: string; fieldType: IFieldType; id: string; organizationId: string; projectId: string; required: boolean; system: boolean; } export interface IField { code: string; fieldId: string; fieldOptions?: FieldOption[]; fieldType: IFieldType; fieldTypeName?: string; id: string; name: string; system: boolean; extraConfig?: boolean; fieldCode?: string; fieldName?: string; projectId?: string | number; required: boolean; defaultValue: any; contexts: string[]; } export interface IFieldWidthValue extends IField { value: any; valueStr: string | null | undefined; } export interface IComment { commentId: string; commentText: string; issueId: number; lastUpdateDate: string; objectVersionNumber: number; projectId: number; userId: number; userImageUrl: string; userLoginName: string; userName: string; userRealName: string; replySize: number; issueCommentReplyList?: IComment[]; } interface Attachment { id: number; fileName: string; url: string; createdBy: number; } export declare type ISubIssue = Issue & { loginName: string; realName: string; imageUrl: string; }; export interface Issue { issueId: string; issueNum: string; summary: string; description: string; creationDate: string; typeCode?: string; issueTypeId: string; issueTypeVO: IIssueType; lastUpdateDate: string; parentIssueId?: string; parentIssueNum?: string; parentIssueSummary?: string; relateIssueId?: string; parentRelateSummary?: string; sameParentIssueVOList?: Issue[]; sameParentBugVOList?: Issue[]; assigneeRealName: string; reporterId: string; reporterRealName: string; statusVO: IStatus; priorityVO: IPriority; featureColor: string; featureName: string; epicColor: string; epicName: string; objectVersionNumber: number; completed: boolean; estimatedStartTime?: string; estimatedEndTime?: string; actualCompletedDate?: string; foundationFieldValue: { [key: string]: any; }; issueCommentVOList: IComment[]; issueAttachmentVOList: Attachment[]; starBeacon: boolean; featureVO: { featureType: 'business' | 'enabler'; }; createdBy: string; createrImageUrl: string; createrEmail: string; createrName: string; createrRealName: string; createUser?: User; updateUser?: User; mainResponsibleUser?: User; createrLoginName: string; assigneeId: string; assigneeImageUrl: string; assigneeLoginName: string; assigneeName: string; parentSummary?: string; subIssueVOList: ISubIssue[]; subBugVOList: ISubIssue[]; mainResponsible?: { id: string; }; activeSprint?: { sprintId: string; sprintName: string; }; closeSprint: { sprintId: string; sprintName: string; }[]; featureId: string; epicId: string; versionIssueRelVOList: { versionId: string; issueId: string; name: string; relationType: 'influence' | 'fix'; }[]; programId: string; projectId: string; } export interface ILog { logId: string; field: string; fieldName: string; oldString: string; oldValue: any; newString: string; newValue: any; lastUpdateDate: string; email: string; lastUpdatedBy: string; name: string; loginName: string; realName: string; imageUrl: string; user: User; newStatus?: string; trigger?: string; removeResolution?: boolean; resolutionChanged?: boolean; ruleName?: string; } export declare type IReportContentType = 'chart' | 'text' | 'static_list' | 'dynamic_list'; export interface IBoard { boardId: string; columnConstraint: string; estimationStatistic: string; name: string; objectVersionNumber: number; projectId: string; swimlaneBasedCode: string; userDefault: boolean; userDefaultBoard: string; } export declare type IIssueColumnName = 'summary' | 'issueNum' | 'priority' | 'sprint' | 'reporter' | 'creationDate' | 'assign' | 'assignee' | 'status' | 'lastUpdateDate' | 'estimatedStartTime' | 'estimatedEndTime' | 'label' | 'component' | 'storyPoints' | 'version' | 'epic' | 'feature' | 'createUser' | 'updateUser' | 'mainResponsibleUser' | 'environmentName'; export declare type IFieldType = 'text' | 'input' | 'member' | 'multiMember' | 'single' | 'multiple' | 'radio' | 'checkbox' | 'number' | 'time' | 'date' | 'datetime'; export declare type ISystemFieldCodeMap = 'summary' | 'issueType' | 'description' | 'priority' | 'sprint' | 'reporter' | 'assignee' | 'status' | 'remainingTime' | 'influenceVersion' | 'fixVersion' | 'storyPoints' | 'estimatedStartTime' | 'estimatedEndTime' | 'actualStartTime' | 'actualEndTime' | 'label' | 'component' | 'storyPoints' | 'epic' | 'feature' | 'mainResponsible' | 'environment' | 'tag' | 'parentIssueId' | 'estimateTime' | 'featureType' | 'subProject'; export declare type ISystemFieldCode = 'summary' | 'issueTypeId' | 'issueNum' | 'priorityId' | 'sprint' | 'reporterIds' | 'createDate' | 'assigneeId' | 'statusId' | 'updateDate' | 'estimatedStartTime' | 'estimatedEndTime' | 'label' | 'component' | 'storyPoints' | 'version' | 'epic' | 'feature'; export interface IFoundationHeader { title: string; fieldType: string; code: string; } interface ICustomFieldSearch { fieldId: string; value: any; } interface IDateFieldSearch { fieldId: string; startDate: string; endDate: string; } export interface ISearchVO { advancedSearchArgs: { issueTypeId?: string[]; reporterIds?: string[]; statusId?: string[]; priorityId?: string[]; }; otherArgs: { assigneeId?: string[]; issueIds?: string[]; component?: string[]; epic?: string[]; feature?: string[]; label?: string[]; sprint?: string[]; summary?: string[]; version?: string[]; customField?: { option: ICustomFieldSearch[]; date: IDateFieldSearch[]; date_hms: IDateFieldSearch[]; number: ICustomFieldSearch[]; string: ICustomFieldSearch[]; text: ICustomFieldSearch[]; }; }; searchArgs: { createStartDate?: string; createEndDate?: string; updateStartDate?: string; updateEndDate?: string; teamProjectIds?: string[]; issueType?: string; }; quickFilterIds?: string[]; contents?: string[]; } export declare type IVersionStatusCode = 'version_planning' | 'released' | 'archived'; export interface IBootActionDataItem { service?: string[]; text?: React.ReactNode; action?: Function; /** 单独触发 */ icon?: string; } export interface IBootPermissionProps { service: string[]; organizationId?: string; projectId?: string | number; type?: string; } export interface IRole { assignable: boolean; builtIn: boolean; code: string; createdBy: string; description: string | null; enableForbidden: boolean; enableRolePermission: boolean; enabled: boolean; id: string; lastUpdatedBy: string; modified: true; name: string; } export {};