131e302f67
Tests / frontend-test (push) Successful in 1m18s
Co-authored-by: gorbenko.pavel <gorbenko.pavel@tansu.kz> Reviewed-on: http://git.tnsu.kz/timur.gorodetskiy/request-portal/pulls/12
63 lines
2.4 KiB
TypeScript
63 lines
2.4 KiB
TypeScript
// Единая точка импорта механизма согласования.
|
|
export {
|
|
REQUEST_STATUS,
|
|
REQUEST_STATUS_CHOICES,
|
|
APPROVAL_ROW_STATUS_CHOICES,
|
|
APPROVAL_PHASE,
|
|
APPROVAL_PHASE_CHOICES,
|
|
EDITABLE_STATUSES,
|
|
isEditableStatus,
|
|
} from './models/statuses';
|
|
export type { ISiteUser } from './models/ISiteUser';
|
|
export type { IMatrixRow } from './models/IMatrixRow';
|
|
export type { IApprovalRow } from './models/IApprovalRow';
|
|
export type {
|
|
ApprovalStatus,
|
|
IListPartition,
|
|
ICurrentListPartition,
|
|
IRequestType,
|
|
IRequestTypeListSeries,
|
|
IResolvedRoute,
|
|
IResolvedRouteStep,
|
|
IResolveFieldValue,
|
|
} from './models/IApprovalRouteApi';
|
|
|
|
export {
|
|
getRequestTypes,
|
|
getRequestTypesCached,
|
|
getRequestTypeIdByPageUrl,
|
|
getListPartitions,
|
|
getCurrentListPartition,
|
|
resolveRoute
|
|
} from './approvalRoute.service';
|
|
export {
|
|
initListPartitions,
|
|
listPartitionsLoaded,
|
|
partitionsForTypeId,
|
|
currentPartitionForTypeId,
|
|
currentPartitionForPageUrl,
|
|
partitionForPageUrlAndListId,
|
|
isConfirmedStaleListId,
|
|
registerCurrentPartition,
|
|
} from './listPartitions';
|
|
export { resolveWriteListId } from './writeListId';
|
|
export { locateApprovalLists, approvalListKey, forgetApprovalList, siteOrigin } from './approvalListLocator';
|
|
export type { IDataListRef, IApprovalListLocation, ApprovalListLookup } from './approvalListLocator';
|
|
export { currentUserIdFor, ensureUserIdFor } from './siteUser';
|
|
export { useRequestTypeId } from './useRequestTypeId';
|
|
export type { IRequestTypeIdState } from './useRequestTypeId';
|
|
export { ApprovalListService } from './approvalList.service';
|
|
export type { IApproverToWrite } from './approvalList.service';
|
|
export { approvalServiceFor } from './approvalServiceFactory';
|
|
export { ApproverService } from './approverDecision.service';
|
|
export type { ApproverDecision, IPendingRow } from './approverDecision.service';
|
|
export { getPlannedMatrix, writeApprovers, writeRoute } from './approvalSubmission.service';
|
|
export { notifyActiveStep } from './notify.service';
|
|
export type { INotifyTarget } from './notify.service';
|
|
export { useMatrixEditor, findUnassignedStep, unassignedStepMessage } from './useMatrixEditor';
|
|
export type { IUseMatrixEditor } from './useMatrixEditor';
|
|
export { ApprovalMatrix } from './ui/ApprovalMatrix';
|
|
export { UserPicker } from './ui/UserPicker';
|
|
export { DecisionPanel } from './ui/DecisionPanel';
|
|
export { StatusBadge } from './ui/StatusBadge';
|