@@ -63,7 +63,7 @@ import { NgxJsonapiModule } from 'ngx-jsonapi';
6363@NgModule ()
6464export class AppModule {
6565 public constructor () {
66- JsonapiBootstrap ({
66+ JsonapiBootstrap . bootstrap ({
6767 user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' }
6868 });
6969 }
@@ -76,7 +76,7 @@ export class AppModule {
7676import { NgxJsonapiModule } from ' ngx-jsonapi' ;
7777
7878const App = () => {
79- JsonapiBootstrap ({
79+ JsonapiBootstrap . bootstrap ({
8080 user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' }
8181 });
8282
@@ -92,17 +92,15 @@ Library cache anything memory. With Local Store, also store all on IndexDb on br
9292
9393``` typescript
9494/* .. */
95- import { NgxJsonapiModule } from ' ngx-jsonapi' ;
96- import { StoreService } from ' ngx-jsonapi/sources/store.service' ;
97- import { JsonRipper } from ' ngx-jsonapi/services/json-ripper' ;
95+ import { NgxJsonapiModule , StoreService , JsonRipper } from ' ngx-jsonapi' ;
9896
9997@NgModule ()
10098export class AppModule {
10199 public constructor () {
102- JsonapiBootstrap ({
100+ JsonapiBootstrap . bootstrap ({
103101 user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' },
104- jsonapiStore: new StoreFakeService (),
105- jsonRipper: new JsonRipperFake ()
102+ jsonapiStore: new StoreService (),
103+ jsonRipper: new JsonRipper ()
106104 });
107105 }
108106}
@@ -114,10 +112,10 @@ export class AppModule {
114112import { NgxJsonapiModule } from ' ngx-jsonapi' ;
115113
116114const App = () => {
117- JsonapiBootstrap ({
115+ JsonapiBootstrap . bootstrap ({
118116 user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' },
119- jsonapiStore: new StoreFakeService (),
120- jsonRipper: new JsonRipperFake ()
117+ jsonapiStore: new StoreService (),
118+ jsonRipper: new JsonRipper ()
121119 });
122120
123121 return <div >Hello world < / div > ;
0 commit comments