seratch / slack-edge

Slack app development framework for edge functions with streamlined TypeScript support
https://github.com/seratch/slack-edge-app-template
MIT License
87 stars 5 forks source link

update types for thumbnail images of File objects #18

Closed StephenTangCook closed 6 months ago

StephenTangCook commented 6 months ago

Changes

Updating the types of the thumbnail image dimension fields to be number. Missed these in my last PR (whoops). 😅

Ref

Snippet of example uploaded file via modal:

  thumb_720: '...',
  thumb_720_w: 720,
  thumb_720_h: 368,
  thumb_800: '...',
  thumb_800_w: 800,
  thumb_800_h: 409,
  thumb_960: '...',
  thumb_960_w: 960,
  thumb_960_h: 491,
  thumb_1024: '...',
  thumb_1024_w: 1024,
  thumb_1024_h: 524,
  original_w: 2654,
  original_h: 1358,