Skip to content

Commit

Permalink
Merge pull request #12 from EveripediaNetwork/changeset-release/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Royal-lobster authored Feb 15, 2023
2 parents c18eade + 6aa6f76 commit 96875bb
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 27 deletions.
26 changes: 0 additions & 26 deletions .changeset/fluffy-needles-smile.md

This file was deleted.

27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @everipedia/iq-utils

## 0.1.2

### Patch Changes

- 81787e9: # Changes

- Adds RecordTypePicker which works for any type

# Example

```ts
// The NewWikiType will only have user, title, content, summary and user only has id, profile with username and avatar.
type NewWikiType = RecordTypePicker<
Wiki,
{
user: {
id;
profile: {
username;
avatar;
};
};
},
'title' | 'content' | 'summary'
>;
```

## 0.1.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@everipedia/iq-utils",
"version": "0.1.1",
"version": "0.1.2",
"description": "Common utility library for IQ projects",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down

0 comments on commit 96875bb

Please sign in to comment.