Skip to content

v0.1.2

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 19:55
· 257 commits to main since this release
96875bb

Patch Changes

  • 81787e9: # Changes

    • Adds RecordTypePicker which works for any type

    Example

    // 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'
    >;