1
0

clean up, fix tests, add missing translations

This commit is contained in:
FrancescoMolinaro
2024-01-08 18:04:49 +01:00
parent c57ad8eeb7
commit c20d798502
21 changed files with 159 additions and 117 deletions

View File

@@ -1,21 +1,21 @@
import { autoserialize, autoserializeAs, deserialize, inheritSerialization } from 'cerialize';
import { autoserialize, deserialize, inheritSerialization } from 'cerialize';
import { typedObject } from '../../../core/cache/builders/build-decorators';
import { ADMIN_NOTIFY_MESSAGE } from './admin-notify-message.resource-type';
import { excludeFromEquals } from '../../../core/utilities/equals.decorators';
import { DSpaceObject } from '../../../core/shared/dspace-object.model';
import { GenericConstructor } from '../../../core/shared/generic-constructor';
import { ListableObject } from '../../../shared/object-collection/shared/listable-object.model';
import { Observable } from "rxjs";
import { Observable } from 'rxjs';
export enum QueueStatusMap {
QUEUE_STATUS_PROCESSED = 'Processed',
QUEUE_STATUS_FAILED = 'Failed',
QUEUE_STATUS_UNMAPPED_ACTION = 'Unmapped action',
QUEUE_STATUS_QUEUED_FOR_RETRY = 'Queued for retry',
QUEUE_STATUS_PROCESSING = 'Processing',
QUEUE_STATUS_QUEUED = 'Queued',
QUEUE_STATUS_UNTRUSTED = 'Untrusted',
};
QUEUE_STATUS_PROCESSED = 'notify-queue-status.processed',
QUEUE_STATUS_FAILED = 'notify-queue-status.processed',
QUEUE_STATUS_UNMAPPED_ACTION = 'notify-queue-status.unmapped_action',
QUEUE_STATUS_QUEUED_FOR_RETRY = 'notify-queue-status.queue_retry',
QUEUE_STATUS_PROCESSING = 'notify-queue-status.processing',
QUEUE_STATUS_QUEUED = 'notify-queue-status.queued',
QUEUE_STATUS_UNTRUSTED = 'notify-queue-status.untrusted',
}
/**
* A message that includes admin notify info
*/