diff --git a/src/app/in-memory-data.service.ts b/src/app/in-memory-data.service.ts new file mode 100644 index 0000000000000000000000000000000000000000..47bfb7557026052be766eb241bd362a37116549c --- /dev/null +++ b/src/app/in-memory-data.service.ts @@ -0,0 +1,27 @@ +import { InMemoryDbService } from 'angular-in-memory-web-api'; + +export class InMemoryDataService implements InMemoryDbService { + createDb() { + const rooms = [ + { + id: 'test', + revision: '1', + shortId: 't', + abbreviation: 'abb', + name: 'testroom', + description: 'this is a test room', + closed: false + }, + { + id: 'test1', + revision: '11', + shortId: 't1', + abbreviation: 'abb1', + name: 'testroom1', + description: 'this is a test room1', + closed: false + } + ]; + return {rooms}; + } +}