2019-08-31 20:51:14 -07:00
|
|
|
import Route from '@ember/routing/route';
|
2020-08-26 15:44:50 -07:00
|
|
|
import { IInstitutionalMemory } from '@datahub/metadata-types/types/aspects/institutional-memory';
|
2019-08-31 20:51:14 -07:00
|
|
|
import { InstitutionalMemory } from '@datahub/data-models/models/aspects/institutional-memory';
|
|
|
|
|
|
|
|
export default class Testcomponents extends Route {
|
|
|
|
model(): { linkList: Array<IInstitutionalMemory> } {
|
|
|
|
const testInstitutionalMemory: Array<IInstitutionalMemory> = [
|
|
|
|
{
|
|
|
|
url: 'https://www.serebii.net/pokedex-sm/025.shtml',
|
|
|
|
description: 'Pikachu page',
|
|
|
|
createStamp: { actor: 'aketchum', time: 1556561920 }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
url: 'https://www.serebii.net/pokedex-sm/133.shtml',
|
|
|
|
description: 'Eevee page',
|
|
|
|
createStamp: { actor: 'goak', time: 1556571920 }
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
return {
|
2020-08-26 15:44:50 -07:00
|
|
|
linkList: testInstitutionalMemory.map((link): InstitutionalMemory => new InstitutionalMemory(link))
|
2019-08-31 20:51:14 -07:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|