Skip to content

Commit 3f3ca24

Browse files
authored
FE-333-ngx-jsonapi-corregir-la-documenta auto-commit (#341)
* FE-333-ngx-jsonapi-corregir-la-documenta auto-commit
1 parent 1f930bd commit 3f3ca24

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
## [3.0.0] - 2021-12-23
10+
11+
## Changed
12+
13+
- Changed README and StoreService, JsonRipper added to public_api ([#341](https://github.com/reyesoft/ngx-jsonapi/pull/341))
14+
915
## [3.0.0] - 2021-08-17
1016

1117
### Added

README.md

+9-11
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ import { NgxJsonapiModule } from 'ngx-jsonapi';
6363
@NgModule()
6464
export 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 {
7676
import { NgxJsonapiModule } from 'ngx-jsonapi';
7777

7878
const 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()
10098
export 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 {
114112
import { NgxJsonapiModule } from 'ngx-jsonapi';
115113

116114
const 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>;

src/public_api.ts

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ export { JsonapiBootstrap } from './bootstraps/jsonapi-bootstrap';
77
export { DocumentResource } from './document-resource';
88
export { DocumentCollection } from './document-collection';
99
export { Service } from './service';
10+
export { StoreService } from './sources/store.service';
11+
export { JsonRipper } from './services/json-ripper';

0 commit comments

Comments
 (0)