mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 14:33:03 +00:00
Added mocks for all model types, added CollectionDataService
This commit is contained in:
36
src/backend/bundles.ts
Normal file
36
src/backend/bundles.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
export const BUNDLES = [
|
||||
{
|
||||
"_links": {
|
||||
"self": { "href": "/bundles/35e0606d-5e18-4f9c-aa61-74fc751cc3f9" },
|
||||
"items": [
|
||||
{ "href": "/items/21539b1d-9ef1-4eda-9c77-49565b5bfb78" }
|
||||
],
|
||||
"bitstreams": [
|
||||
{ "href": "/bitstreams/43c57c2b-206f-4645-8c8f-5f10c84b09fa" },
|
||||
],
|
||||
"primaryBitstream": { "href": "/bitstreams/43c57c2b-206f-4645-8c8f-5f10c84b09fa" }
|
||||
},
|
||||
"id": "35e0606d-5e18-4f9c-aa61-74fc751cc3f9",
|
||||
"name": "ORIGINAL",
|
||||
"metadata": [
|
||||
{ "key": "dc.title", "value": "ORIGINAL", "language": "en" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"_links": {
|
||||
"self": { "href": "/bundles/a469c57a-abcf-45c3-83e4-b187ebd708fd" },
|
||||
"items": [
|
||||
{ "href": "/items/21539b1d-9ef1-4eda-9c77-49565b5bfb78" }
|
||||
],
|
||||
"bitstreams": [
|
||||
{ "href": "/bitstreams/1a013ecc-fb25-4689-a44f-f1383ad26632" },
|
||||
],
|
||||
"primaryBitstream": { "href": "/bitstreams/1a013ecc-fb25-4689-a44f-f1383ad26632" }
|
||||
},
|
||||
"id": "a469c57a-abcf-45c3-83e4-b187ebd708fd",
|
||||
"name": "THUMBNAIL",
|
||||
"metadata": [
|
||||
{ "key": "dc.title", "value": "THUMBNAIL", "language": "en" }
|
||||
]
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user