mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
refactor: update openstapps packages
This commit is contained in:
@@ -41,6 +41,7 @@ import {sampleResources} from './resources/test-resources';
|
||||
const sampleMessages: SCMessage[] = [
|
||||
{
|
||||
audiences: ['students'],
|
||||
categories: ['news'],
|
||||
messageBody: 'Foo Message Text',
|
||||
name: 'Foo Message',
|
||||
origin: {
|
||||
@@ -53,6 +54,7 @@ const sampleMessages: SCMessage[] = [
|
||||
},
|
||||
{
|
||||
audiences: ['employees'],
|
||||
categories: ['news'],
|
||||
messageBody: 'Bar Message Text',
|
||||
name: 'Bar Message',
|
||||
origin: {
|
||||
@@ -193,7 +195,8 @@ const samplePersons: SCPerson[] = [
|
||||
const sampleBooks: SCBook[] = [
|
||||
{
|
||||
authors: samplePersons,
|
||||
isbn: '123456',
|
||||
ISBNs: ['123456'],
|
||||
categories: ['ebook'],
|
||||
name: 'Foo Book',
|
||||
origin: {
|
||||
indexed: 'SOME-DATE',
|
||||
@@ -205,7 +208,8 @@ const sampleBooks: SCBook[] = [
|
||||
},
|
||||
{
|
||||
authors: [],
|
||||
isbn: '123456',
|
||||
ISBNs: ['123456'],
|
||||
categories: ['book'],
|
||||
name: 'Bar Book',
|
||||
origin: {
|
||||
indexed: 'SOME-DATE',
|
||||
@@ -330,7 +334,7 @@ const sampleDateSeries: SCDateSeries[] = [
|
||||
dates: ['2019-03-01T17:00:00+00:00', '2019-03-08T17:00:00+00:00'],
|
||||
duration: 'PT2H',
|
||||
event: sampleAcademicEvents[0],
|
||||
frequency: 'once',
|
||||
repeatFrequency: 'P1W',
|
||||
name: 'Foo Date Event - Date Series',
|
||||
origin: {
|
||||
indexed: 'SOME-DATE',
|
||||
@@ -344,7 +348,6 @@ const sampleDateSeries: SCDateSeries[] = [
|
||||
dates: ['2019-03-03T10:00:00+00:00', '2019-03-11T10:00:00+00:00'],
|
||||
duration: 'PT2H',
|
||||
event: sampleAcademicEvents[1],
|
||||
frequency: 'weekly',
|
||||
name: 'Bar Date Event - Date Series',
|
||||
origin: {
|
||||
indexed: 'SOME-DATE',
|
||||
|
||||
Reference in New Issue
Block a user