You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2018. It is now read-only.
- Save on localstore all data. When you request a resource or collection, first check memory. If its empty, read from store. If is empty, get the data from back-end.
6
+
- typings and index.d.ts removed. We only use `import`
7
+
8
+
# 0.5.x
9
+
10
+
All data is merged on one single resource. If you request a request a single related resource, and on this request not include any another resource, related resources come from memory cache (if exists)
Copy file name to clipboardExpand all lines: README.md
+2-10Lines changed: 2 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Jsonapi client library developed for AngularJS based on typescript.
19
19
-[X] Filtering by regular expression
20
20
-[x] Get a relationship from a URL (url like attributes->relationships->resource->links->self)
21
21
-[x] Default values for a new resource
22
-
-[x][Properties on collections](https://github.com/reyesoft/ts-angular-jsonapi/blob/master/src/library/interfaces/collection.d.ts) like `$length`, `$isloading` or `$source` (_`empty`_ |`cache`|`server`)
22
+
-[x][Properties on collections](https://github.com/reyesoft/ts-angular-jsonapi/blob/master/src/library/interfaces/collection.d.ts) like `$length`, `$is_loading` or `$source` (_`empty`_ |`cache`|`server`)
23
23
24
24
## Usage
25
25
@@ -62,10 +62,6 @@ Like you know, the better way is with examples. Based on [endpoints example libr
62
62
63
63
### Defining a resource
64
64
65
-
1. hola
66
-
2. hola 2
67
-
3. hola
68
-
69
65
`authors.service.ts`
70
66
71
67
```typescript
@@ -191,8 +187,6 @@ let author = AuthorsService.get(
0 commit comments