@pega/custom-dx-components
Version:
Utility for building custom UI components
21 lines (18 loc) • 699 B
text/typescript
export const apiRetryConfig = {
TIMEOUT: {
numberOfRetries: 1,
retryOnCondition: (serverApiResponse: any) => serverApiResponse?.status === 599,
retryWithOptions: { useExtendedTimeout: true }
}
};
export const confirmationModalLabels = {
TIMEOUT: {
heading: 'Do you want to keep waiting?',
genericDescription: 'This is taking some time. You can continue to wait or cancel?',
tableNameMessagePrefix: 'Table',
tableNameMessageSuffix: 'is taking some time. You can continue to wait or cancel?',
cancelButtonLabel: 'Cancel',
submitButtonLabel: 'Keep waiting'
}
};
export const SEARCH_AND_SELECT_AS_EXTERNAL_FILTERS = 'SEARCH_AND_SELECT_AS_EXTERNAL_FILTERS';