Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: kitsu-core typescript implementations & JSON:API v1.1 type definitions #930

Open
wants to merge 14 commits into
base: refactor/typescript
Choose a base branch
from

Conversation

pedep
Copy link
Contributor

@pedep pedep commented Nov 2, 2023

Currently work in progress, but im opening the PR now to let @wopian peek at my progress.

I'm aware i may not be refactoring in-line with your visions, and am very open to critique and changes to fit the project coding-style.

Progress

  • kitsu-core
    • camel (replaced by case-anything dep)
    • kebab (replaced by case-anything dep)
    • snake (replaced by case-anything dep)
    • deattribute
    • deepEqual
    • deserialise
    • error
    • filterIncludes
    • linkRelationships
    • query
    • serialise
    • splitModel
  • kitsu
    • get
    • patch
    • post
    • delete
    • self
    • request

@wopian wopian self-assigned this Nov 12, 2023
@wopian wopian self-requested a review November 12, 2023 14:51
@wopian wopian added this to the 11 milestone Nov 12, 2023
package.json Show resolved Hide resolved

if (output.attributes === data.attributes) delete output.attributes
function _deattribute(data: ResourceObject): DeattributedResourceObject {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be named deattributeObject

@wopian
Copy link
Owner

wopian commented Nov 12, 2023

Thanks for taking this up! Overall it is looking very good so far! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants