"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/core/shared/external-source.model.ts" between
dspace-angular-dspace-7.0.tar.gz and dspace-angular-dspace-7.1.tar.gz

About: dspace-angular is the Angular-based frontend of DSpace, a digital repository system to capture, store, index, preserve and redistribute an organization’s research material in digital formats.

external-source.model.ts  (dspace-angular-dspace-7.0):external-source.model.ts  (dspace-angular-dspace-7.1)
import { autoserialize, deserialize } from 'cerialize'; import { autoserialize, deserialize } from 'cerialize';
import { typedObject } from '../cache/builders/build-decorators'; import { link, typedObject } from '../cache/builders/build-decorators';
import { CacheableObject } from '../cache/object-cache.reducer'; import { CacheableObject } from '../cache/object-cache.reducer';
import { excludeFromEquals } from '../utilities/equals.decorators'; import { excludeFromEquals } from '../utilities/equals.decorators';
import { EXTERNAL_SOURCE } from './external-source.resource-type'; import { EXTERNAL_SOURCE } from './external-source.resource-type';
import { HALLink } from './hal-link.model'; import { HALLink } from './hal-link.model';
import { ResourceType } from './resource-type'; import { ResourceType } from './resource-type';
import { RemoteData } from '../data/remote-data';
import { PaginatedList } from '../data/paginated-list.model';
import { Observable } from 'rxjs/internal/Observable';
import { ITEM_TYPE } from './item-relationships/item-type.resource-type';
import { ItemType } from './item-relationships/item-type.model';
/** /**
* Model class for an external source * Model class for an external source
*/ */
@typedObject @typedObject
export class ExternalSource extends CacheableObject { export class ExternalSource extends CacheableObject {
static type = EXTERNAL_SOURCE; static type = EXTERNAL_SOURCE;
/** /**
* The object type * The object type
skipping to change at line 42 skipping to change at line 47
@autoserialize @autoserialize
name: string; name: string;
/** /**
* Is the source hierarchical? * Is the source hierarchical?
*/ */
@autoserialize @autoserialize
hierarchical: boolean; hierarchical: boolean;
/** /**
* The list of entity types that are compatible with this external source
* Will be undefined unless the entityTypes {@link HALLink} has been resolved.
*/
@link(ITEM_TYPE, true)
entityTypes?: Observable<RemoteData<PaginatedList<ItemType>>>;
/**
* The {@link HALLink}s for this ExternalSource * The {@link HALLink}s for this ExternalSource
*/ */
@deserialize @deserialize
_links: { _links: {
self: HALLink; self: HALLink;
entries: HALLink; entries: HALLink;
entityTypes: HALLink;
}; };
} }
 End of changes. 4 change blocks. 
1 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)