in-memory-web-api.module.metadata.json
2.42 KB
[{"__symbolic":"module","version":3,"metadata":{"inMemoryBackendServiceFactory":{"__symbolic":"function"},"InMemoryWebApiModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/http","name":"XHRBackend"},"useFactory":{"__symbolic":"reference","name":"inMemoryBackendServiceFactory"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryDbService"},{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryBackendConfig"}]}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["dbCreator","options"],"value":{"ngModule":{"__symbolic":"reference","name":"InMemoryWebApiModule"},"providers":[{"provide":{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryDbService"},"useClass":{"__symbolic":"reference","name":"dbCreator"}},{"provide":{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryBackendConfig"},"useValue":{"__symbolic":"reference","name":"options"}}]}}}}}},{"__symbolic":"module","version":1,"metadata":{"inMemoryBackendServiceFactory":{"__symbolic":"function"},"InMemoryWebApiModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"providers":[{"provide":{"__symbolic":"reference","module":"@angular/http","name":"XHRBackend"},"useFactory":{"__symbolic":"reference","name":"inMemoryBackendServiceFactory"},"deps":[{"__symbolic":"reference","module":"@angular/core","name":"Injector"},{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryDbService"},{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryBackendConfig"}]}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":["dbCreator","options"],"value":{"ngModule":{"__symbolic":"reference","name":"InMemoryWebApiModule"},"providers":[{"provide":{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryDbService"},"useClass":{"__symbolic":"reference","name":"dbCreator"}},{"provide":{"__symbolic":"reference","module":"./in-memory-backend.service","name":"InMemoryBackendConfig"},"useValue":{"__symbolic":"reference","name":"options"}}]}}}}}}]