mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-14 21:43:04 +00:00
SubmissionCoarNotifyWorkspaceitemModel removed
This doesn't seem to be used anywhere and was throwing some errors.
This commit is contained in:
@@ -25,7 +25,6 @@ import { SearchResult } from '../shared/search/models/search-result.model';
|
||||
import { Subscription } from '../shared/subscriptions/models/subscription.model';
|
||||
import { StatisticsEndpoint } from '../statistics/statistics-endpoint.model';
|
||||
import { SubmissionCoarNotifyConfig } from '../submission/sections/section-coar-notify/submission-coar-notify.config';
|
||||
import { SubmissionCoarNotifyWorkspaceitemModel } from '../submission/sections/section-coar-notify/submission-coar-notify-workspaceitem.model';
|
||||
import { SystemWideAlert } from '../system-wide-alert/system-wide-alert.model';
|
||||
import { AuthStatus } from './auth/models/auth-status.model';
|
||||
import { ShortLivedToken } from './auth/models/short-lived-token.model';
|
||||
@@ -191,10 +190,10 @@ export const models =
|
||||
SearchConfig,
|
||||
SubmissionAccessesModel,
|
||||
QualityAssuranceSourceObject,
|
||||
AccessStatusObject,
|
||||
ResearcherProfile,
|
||||
OrcidQueue,
|
||||
OrcidHistory,
|
||||
AccessStatusObject,
|
||||
IdentifierData,
|
||||
Subscription,
|
||||
ItemRequest,
|
||||
@@ -225,6 +224,5 @@ export const models =
|
||||
SearchResult,
|
||||
StatisticsEndpoint,
|
||||
CorrectionType,
|
||||
SubmissionCoarNotifyWorkspaceitemModel,
|
||||
SupervisionOrder,
|
||||
];
|
||||
|
@@ -8,6 +8,3 @@ import { ResourceType } from '../../../core/shared/resource-type';
|
||||
|
||||
|
||||
export const SUBMISSION_COAR_NOTIFY_CONFIG = new ResourceType('submissioncoarnotifyconfig');
|
||||
|
||||
export const COAR_NOTIFY_WORKSPACEITEM = new ResourceType('workspaceitem');
|
||||
|
||||
|
@@ -1,39 +0,0 @@
|
||||
import {
|
||||
autoserialize,
|
||||
deserialize,
|
||||
deserializeAs,
|
||||
inheritSerialization,
|
||||
} from 'cerialize';
|
||||
|
||||
import { typedObject } from '../../../core/cache/builders/build-decorators';
|
||||
import { CacheableObject } from '../../../core/cache/cacheable-object.model';
|
||||
import { excludeFromEquals } from '../../../core/utilities/equals.decorators';
|
||||
import { COAR_NOTIFY_WORKSPACEITEM } from './section-coar-notify-service.resource-type';
|
||||
|
||||
/** An CoarNotify and its properties. */
|
||||
@typedObject
|
||||
@inheritSerialization(CacheableObject)
|
||||
export class SubmissionCoarNotifyWorkspaceitemModel extends CacheableObject {
|
||||
static type = COAR_NOTIFY_WORKSPACEITEM;
|
||||
|
||||
@excludeFromEquals
|
||||
@autoserialize
|
||||
endorsement?: number[];
|
||||
|
||||
@deserializeAs('id')
|
||||
review?: number[];
|
||||
|
||||
@autoserialize
|
||||
ingest?: number[];
|
||||
|
||||
@deserialize
|
||||
_links: {
|
||||
self: {
|
||||
href: string;
|
||||
};
|
||||
};
|
||||
|
||||
get self(): string {
|
||||
return this._links.self.href;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user