a cache for slack profile pictures and emojis

docs: change image to webp for transparency

dunkirk.sh 79bd3dc5 3ad78014

verified
Changed files
+4 -3
.github
.github/images/screenshot.jpeg

This is a binary file and will not be displayed.

.github/images/screenshot.webp

This is a binary file and will not be displayed.

.github/images/swagger.webp

This is a binary file and will not be displayed.

+4 -3
README.md
··· 1 1 # Cachet 2 2 3 - ![screenshot of the analytics dashboard](https://raw.githubusercontent.com/taciturnaxolotl/cachet/master/.github/images/screenshot.jpeg) 3 + ![screenshot of the analytics dashboard](https://raw.githubusercontent.com/taciturnaxolotl/cachet/master/.github/images/screenshot.webp) 4 4 5 5 <p align="center"> 6 6 <img src="https://raw.githubusercontent.com/taciturnaxolotl/carriage/master/.github/images/line-break-thin.svg" /> ··· 115 115 "U062UG485EE", 116 116 "Kieran Klukas", 117 117 "he/him", 118 - "https://avatars.slack-edge.com/2024-11-30/8105375749571_53898493372773a01a1f_original.jpg" 118 + "https://avatars.slack-edge.com/2024-11-30/8105375749571_53898493372773a01a1f_original.jpg", 119 119 ); 120 120 121 121 await cache.insertEmoji( 122 122 "hackshark", 123 123 null, 124 - "https://emoji.slack-edge.com/T0266FRGM/hackshark/0bf4771247471a48.png" 124 + "https://emoji.slack-edge.com/T0266FRGM/hackshark/0bf4771247471a48.png", 125 125 ); 126 126 127 127 const emoji = await cache.getEmoji("hackshark"); ··· 262 262 ``` 263 263 264 264 The route will automatically: 265 + 265 266 - Handle analytics recording (request timing, status codes, user agents) 266 267 - Generate Swagger documentation with the provided metadata 267 268 - Include proper TypeScript types for parameters and responses