Skip to content

Commit

Permalink
(docs): add link to fixtures as another transform example
Browse files Browse the repository at this point in the history
- not necessarily the most useful transforms there, but they are
  examples nonetheless
  - and they show both to and from Storage usage
  • Loading branch information
agilgur5 committed Dec 4, 2019
1 parent 8db7fda commit 4d55cd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ type StrToAnyMap = {[key: string]: any}
```
As an example, one may see how [whitelists](https://github.com/agilgur5/mst-persist/blob/9ba76aaf455f42e249dc855d66349351148a17da/src/whitelistTransform.ts#L7-L12) and [blacklists](https://github.com/agilgur5/mst-persist/blob/9ba76aaf455f42e249dc855d66349351148a17da/src/blacklistTransform.ts#L7-L12) are implemented internally as transforms.
Another example would be how the [transform test fixtures](https://github.com/agilgur5/mst-persist/blob/d3aa4476f92a087c882dccf8530a37096d8c64ed/test/fixtures.ts#L19-L34) are implemented internally.
#### Transform Ordering
Expand Down

0 comments on commit 4d55cd6

Please sign in to comment.