discord.js icon indicating copy to clipboard operation
discord.js copied to clipboard

feat: @discordjs/structures

Open ckohen opened this issue 2 years ago • 3 comments

Please describe the changes this PR makes and why it should be merged:

Introduces a generic structure implementation for the main lib (and others) to build on.

⚠️ This is currently in a very early proof of concept stage published as a PR to formulate ideas and solidify the intended structure (ha) of the module.

TODO:

  • [ ] Application
  • [ ] Audit Log
  • [ ] Auto Moderation
  • [ ] Channel
    • [x] Channels
    • [ ] Mixins
      • [ ] DM
      • [ ] Guild
      • [ ] Text
      • [ ] Permissions
      • [ ] Webhooks
      • [ ] Thread
      • [ ] ThreadOnly
      • [ ] Voice
    • [ ] Message
  • [ ] Emoji
  • [ ] Guild
    • [ ] Guild
    • [ ] Guild Preview
    • [ ] Guild Widget
    • [ ] Guild Member
    • [ ] Integration
    • [ ] Guild Ban
    • [ ] ~~Membership Screening~~ Oh wait...this is still undocumented
  • [ ] Guild Scheduled Event
  • [ ] Guild Template
  • [ ] Interactions (Need more thoughts on this)
  • [x] Invite
  • [ ] Stage Instance
  • [ ] Sticker
    • [ ] Sticker
    • [ ] Sticker Pack
  • [ ] Teams
  • [x] User
    • [x] User
    • [x] Connection
  • [ ] Voice
    • [ ] Voice State
    • [ ] Voice Region
  • [ ] Webhook

ckohen avatar Aug 03 '22 08:08 ckohen

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 0:32am
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Mar 13, 2024 0:32am

vercel[bot] avatar Aug 03 '22 08:08 vercel[bot]

Codecov Report

Merging #8417 (3ea68e7) into main (4ffdada) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #8417   +/-   ##
=======================================
  Coverage   86.47%   86.48%           
=======================================
  Files          87       87           
  Lines        8675     8679    +4     
  Branches     1110     1110           
=======================================
+ Hits         7502     7506    +4     
  Misses       1131     1131           
  Partials       42       42           
Flag Coverage Δ
builders 100.00% <100.00%> (ø)
collection 100.00% <ø> (ø)
proxy 74.10% <ø> (ø)
rest 91.99% <ø> (ø)
utilities 100.00% <ø> (ø)
voice 63.86% <ø> (ø)
ws 60.40% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...s/contextMenuCommands/ContextMenuCommandBuilder.ts 100.00% <100.00%> (ø)
.../interactions/slashCommands/SlashCommandBuilder.ts 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

codecov[bot] avatar Sep 07 '22 11:09 codecov[bot]

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 81
🟠 Accessibility 87
🟢 Best practices 100
🟠 SEO 58
🔴 PWA 33

Lighthouse ran on https://discord-js-git-fork-ckohen-feat-structures-discordjs.vercel.app/

github-actions[bot] avatar Sep 02 '23 11:09 github-actions[bot]

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (597340f) 58.55% compared to head (c8b1f33) 58.54%. Report is 5 commits behind head on main.

Files Patch % Lines
apps/website/src/util/constants.ts 0.00% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8417      +/-   ##
==========================================
- Coverage   58.55%   58.54%   -0.01%     
==========================================
  Files         244      245       +1     
  Lines       17315    17338      +23     
  Branches     1250     1250              
==========================================
+ Hits        10138    10150      +12     
- Misses       7132     7143      +11     
  Partials       45       45              
Flag Coverage Δ
brokers 63.49% <ø> (ø)
builders 95.56% <ø> (ø)
collection 99.32% <ø> (ø)
formatters 99.31% <ø> (ø)
guide 0.00% <ø> (ø)
next ∅ <ø> (∅)
proxy 75.00% <ø> (ø)
rest 92.58% <ø> (ø)
util 68.86% <ø> (-1.84%) :arrow_down:
utilities 100.00% <ø> (ø)
voice 63.64% <ø> (ø)
website 0.00% <0.00%> (ø)
ws 52.52% <ø> (+0.08%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Feb 12 '24 15:02 codecov[bot]