"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/core/shared/content-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.

content-source.model.ts  (dspace-angular-dspace-7.0):content-source.model.ts  (dspace-angular-dspace-7.1)
import { autoserializeAs, deserializeAs, deserialize } from 'cerialize'; import { autoserializeAs, deserialize, deserializeAs, serializeAs } from 'cerial ize';
import { HALLink } from './hal-link.model'; import { HALLink } from './hal-link.model';
import { MetadataConfig } from './metadata-config.model'; import { MetadataConfig } from './metadata-config.model';
import { CacheableObject } from '../cache/object-cache.reducer'; import { CacheableObject } from '../cache/object-cache.reducer';
import { typedObject } from '../cache/builders/build-decorators'; import { typedObject } from '../cache/builders/build-decorators';
import { CONTENT_SOURCE } from './content-source.resource-type'; import { CONTENT_SOURCE } from './content-source.resource-type';
import { excludeFromEquals } from '../utilities/equals.decorators'; import { excludeFromEquals } from '../utilities/equals.decorators';
import { ResourceType } from './resource-type'; import { ResourceType } from './resource-type';
import { ContentSourceSetSerializer } from './content-source-set-serializer';
/** /**
* The type of content harvesting used * The type of content harvesting used
*/ */
export enum ContentSourceHarvestType { export enum ContentSourceHarvestType {
None = 'NONE', None = 'NONE',
Metadata = 'METADATA_ONLY', Metadata = 'METADATA_ONLY',
MetadataAndRef = 'METADATA_AND_REF', MetadataAndRef = 'METADATA_AND_REF',
MetadataAndBitstreams = 'METADATA_AND_BITSTREAMS' MetadataAndBitstreams = 'METADATA_AND_BITSTREAMS'
} }
skipping to change at line 52 skipping to change at line 53
/** /**
* OAI Provider / Source * OAI Provider / Source
*/ */
@autoserializeAs('oai_source') @autoserializeAs('oai_source')
oaiSource: string; oaiSource: string;
/** /**
* OAI Specific set ID * OAI Specific set ID
*/ */
@autoserializeAs('oai_set_id') @deserializeAs(new ContentSourceSetSerializer(), 'oai_set_id')
@serializeAs(new ContentSourceSetSerializer(), 'oai_set_id')
oaiSetId: string; oaiSetId: string;
/** /**
* The ID of the metadata format used * The ID of the metadata format used
*/ */
@autoserializeAs('metadata_config_id') @autoserializeAs('metadata_config_id')
metadataConfigId: string; metadataConfigId: string;
/** /**
* Type of content being harvested * Type of content being harvested
skipping to change at line 74 skipping to change at line 76
*/ */
@autoserializeAs('harvest_type') @autoserializeAs('harvest_type')
harvestType = ContentSourceHarvestType.None; harvestType = ContentSourceHarvestType.None;
/** /**
* The available metadata configurations * The available metadata configurations
*/ */
metadataConfigs: MetadataConfig[]; metadataConfigs: MetadataConfig[];
/** /**
* The current harvest status
*/
@autoserializeAs('harvest_status')
harvestStatus: string;
/**
* The last's harvest start time
*/
@autoserializeAs('harvest_start_time')
harvestStartTime: string;
/**
* When the collection was last harvested
*/
@autoserializeAs('last_harvested')
lastHarvested: string;
/**
* The current harvest message
*/
@autoserializeAs('harvest_message')
message: string;
/**
* The {@link HALLink}s for this ContentSource * The {@link HALLink}s for this ContentSource
*/ */
@deserialize @deserialize
_links: { _links: {
self: HALLink self: HALLink
}; };
} }
 End of changes. 4 change blocks. 
2 lines changed or deleted 28 lines changed or added

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