summary refs log tree commit diff
path: root/src/schema (follow)
Commit message (Collapse)AuthorAgeFilesLines
* :bug: fix post/patch channelFlam3rboy2021-08-071-1/+1
|
* added profile bannersBuildTools2021-08-071-1/+3
|
* :bug: fix GuildUpdate SchemaFlam3rboy2021-08-071-8/+13
|
* added accent_color to UserModifySchemaBuildTools2021-08-071-1/+3
|
* :sparkles: empty messages check + allowed mentionsFlam3rboy2021-06-231-2/+12
|
* :art: clean up codeFlam3rboy2021-06-221-2/+2
| | | | | | | widget.json.ts: just return instead of long if statement + add ?. operators for error handling widget.png.ts make path universal widget.ts: remove unnecessary guild db query as getPermission already checks it Widget.ts make parameters required
* feat: add widget endpointsUmimaso2021-06-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | Implemented the four widget related endpoints of the api. Partial user object being returned as part of the widget.json endpoint [1] is an intentional choice related to privacy [2]. The widget.json endpoint will require additional changes upon completion of other work. Member details will need to return extra key/values for connected users to voice channels. An additional avatar_url value will hold an unique avatar url for the user + guild, fetched via a CDN endpoint widget-avatars. New dependencies `canvas` and `image-size`. Canvas is used to create the widget.png endpoint image [3]. Image-size is used to set the canvas' size to match the widget template images. Use regex in determining if a NO_AUTHORIZATION_ROUTES is hit or not. [1] https://discord.com/developers/docs/resources/guild#get-guild-widget [2] https://github.com/discord/discord-api-docs/issues/1287 [3] https://discord.com/developers/docs/resources/guild#get-guild-widget-image Closes: #9, #110
* :construction: dm channelsFlam3rboy2021-05-311-6/+6
|
* :sparkles: message attachmentsFlam3rboy2021-05-301-0/+1
|
* :art: reformatFlam3rboy2021-05-291-47/+7
|
* :sparkles: Message editFlam3rboy2021-05-221-8/+10
|
* :sparkles: createChannel()Flam3rboy2021-05-222-25/+8
|
* :art: Move member routes in separate filesFlam3rboy2021-05-221-9/+17
|
* :bug: fix channel modify schemaFlam3rboy2021-05-101-1/+1
|
* Update Guild.tsIntevel ツ2021-05-081-0/+14
|
* Update Member.tsIntevel ツ2021-05-081-0/+8
|
* :art: [Route] templates refactorFlam3rboy2021-05-071-6/+4
|
* [Route] PATCH /guilds/:id/rolesIntevel ツ2021-05-061-2/+21
|
* Create Roles.tsIntevel ツ2021-05-061-0/+15
|
* [Route] PATCH /users/:idIntevel ツ2021-05-061-0/+10
|
* [Route] PATCH /guilds/:id/templatesIntevel ツ2021-05-061-0/+11
|
* Update Guild.tsIntevel ツ2021-05-051-0/+11
|
* Update Template.tsIntevel ツ2021-05-051-1/+1
|
* [Route] GET /guilds/:id/templatesIntevel ツ2021-05-051-0/+10
|
* Revert "Updated fosscord-server-util"Intevel ツ2021-05-051-18/+0
| | | | This reverts commit 86aa67a258e892dbb1faf68f850a3aaa3177019e.
* Updated fosscord-server-utilIntevel ツ2021-05-051-0/+18
| | | | New version of fosscord server util added
* [Route] PUT /guilds/:id/membersIntevel ツ2021-05-041-0/+13
| | | | Not tested
* Channel Delete + Update RouteYour Name2021-04-261-1/+1
|
* :art: formatting filesFlam3rboy2021-04-251-13/+5
|
* POST /users/@me/channelsIntevel ツ2021-04-241-0/+19
|
* lolIntevel ツ2021-04-241-0/+43
|
* npm i @fosscord/server-utilFlam3rboy2021-04-222-2/+2
|
* Merge branch 'master' of https://github.com/discord-open-source/discord-apiFlam3rboy2021-04-144-20/+35
|\
| * update invite schemaxnacly2021-04-081-0/+6
| |
| * :art: Convert id bigint to stringFlam3rboy2021-04-063-18/+18
| |
| * :bug: fix guild schemaFlam3rboy2021-04-061-4/+13
| |
* | :bug: fix message schemaFlam3rboy2021-04-141-1/+1
|/
* rename req.userid -> req.user_idFlam3rboy2021-03-081-15/+57
|
* :sparkles: SchemaFlam3rboy2021-03-042-0/+78
|
* Invite schemexnacly2021-02-211-0/+16
|
* Created Ban RoutesIntevel ツ2021-02-211-0/+9
| | | | Ban members works now
* move Schema from util to apiFlam3rboy2021-02-101-0/+92