@@ -63,7 +63,7 @@ import { NgxJsonapiModule } from 'ngx-jsonapi';
63
63
@NgModule ()
64
64
export class AppModule {
65
65
public constructor () {
66
- JsonapiBootstrap ({
66
+ JsonapiBootstrap . bootstrap ({
67
67
user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' }
68
68
});
69
69
}
@@ -76,7 +76,7 @@ export class AppModule {
76
76
import { NgxJsonapiModule } from ' ngx-jsonapi' ;
77
77
78
78
const App = () => {
79
- JsonapiBootstrap ({
79
+ JsonapiBootstrap . bootstrap ({
80
80
user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' }
81
81
});
82
82
@@ -92,17 +92,15 @@ Library cache anything memory. With Local Store, also store all on IndexDb on br
92
92
93
93
``` typescript
94
94
/* .. */
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' ;
98
96
99
97
@NgModule ()
100
98
export class AppModule {
101
99
public constructor () {
102
- JsonapiBootstrap ({
100
+ JsonapiBootstrap . bootstrap ({
103
101
user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' },
104
- jsonapiStore: new StoreFakeService (),
105
- jsonRipper: new JsonRipperFake ()
102
+ jsonapiStore: new StoreService (),
103
+ jsonRipper: new JsonRipper ()
106
104
});
107
105
}
108
106
}
@@ -114,10 +112,10 @@ export class AppModule {
114
112
import { NgxJsonapiModule } from ' ngx-jsonapi' ;
115
113
116
114
const App = () => {
117
- JsonapiBootstrap ({
115
+ JsonapiBootstrap . bootstrap ({
118
116
user_config: { url: ' //jsonapiplayground.reyesoft.com/v2/' },
119
- jsonapiStore: new StoreFakeService (),
120
- jsonRipper: new JsonRipperFake ()
117
+ jsonapiStore: new StoreService (),
118
+ jsonRipper: new JsonRipper ()
121
119
});
122
120
123
121
return <div >Hello world < / div > ;
0 commit comments