chore(ui): format

Lots of changed bc the line length is now 120. May as well do it now.
This commit is contained in:
psychedelicious
2024-01-27 20:55:55 +11:00
parent b922ee566a
commit 189c430e46
568 changed files with 3602 additions and 11172 deletions

View File

@@ -9,30 +9,24 @@ import {
} from 'services/api/endpoints/queue';
export const useIsQueueMutationInProgress = () => {
const [_triggerEnqueueBatch, { isLoading: isLoadingEnqueueBatch }] =
useEnqueueBatchMutation({
fixedCacheKey: 'enqueueBatch',
});
const [_triggerResumeProcessor, { isLoading: isLoadingResumeProcessor }] =
useResumeProcessorMutation({
fixedCacheKey: 'resumeProcessor',
});
const [_triggerPauseProcessor, { isLoading: isLoadingPauseProcessor }] =
usePauseProcessorMutation({
fixedCacheKey: 'pauseProcessor',
});
const [_triggerCancelQueue, { isLoading: isLoadingCancelQueue }] =
useCancelQueueItemMutation({
fixedCacheKey: 'cancelQueueItem',
});
const [_triggerClearQueue, { isLoading: isLoadingClearQueue }] =
useClearQueueMutation({
fixedCacheKey: 'clearQueue',
});
const [_triggerPruneQueue, { isLoading: isLoadingPruneQueue }] =
usePruneQueueMutation({
fixedCacheKey: 'pruneQueue',
});
const [_triggerEnqueueBatch, { isLoading: isLoadingEnqueueBatch }] = useEnqueueBatchMutation({
fixedCacheKey: 'enqueueBatch',
});
const [_triggerResumeProcessor, { isLoading: isLoadingResumeProcessor }] = useResumeProcessorMutation({
fixedCacheKey: 'resumeProcessor',
});
const [_triggerPauseProcessor, { isLoading: isLoadingPauseProcessor }] = usePauseProcessorMutation({
fixedCacheKey: 'pauseProcessor',
});
const [_triggerCancelQueue, { isLoading: isLoadingCancelQueue }] = useCancelQueueItemMutation({
fixedCacheKey: 'cancelQueueItem',
});
const [_triggerClearQueue, { isLoading: isLoadingClearQueue }] = useClearQueueMutation({
fixedCacheKey: 'clearQueue',
});
const [_triggerPruneQueue, { isLoading: isLoadingPruneQueue }] = usePruneQueueMutation({
fixedCacheKey: 'pruneQueue',
});
// const [_triggerCancelByBatchIds, { isLoading: isLoadingCancelByBatchIds }] =
// useCancelByBatchIdsMutation({
// fixedCacheKey: 'cancelByBatchIds',