[ABANDONDED] Set of "apps" for the Flexor social network.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1020 B

5 years ago
5 years ago
  1. export interface ClassDictionary {
  2. [name: string]: boolean
  3. }
  4. export interface PluginOptions {
  5. }
  6. export interface Attachment {
  7. url: string
  8. text?: string
  9. cover?: string
  10. }
  11. export interface PostData {
  12. [key: string]: any
  13. }
  14. export interface Post {
  15. text?: string
  16. cover?: string
  17. attachments?: Attachment[]
  18. data?: PostData
  19. visible: boolean
  20. }
  21. export interface GiphyGif {
  22. type: string
  23. id: string
  24. slug: string
  25. url: string
  26. bitly_url: string
  27. embed_url: string
  28. username: string
  29. source: string
  30. rating: string
  31. content_url: string
  32. title: string
  33. images: {
  34. fixed_height: {
  35. url: string
  36. }
  37. fixed_height_still: {
  38. url: string
  39. }
  40. fixed_height_downsampled: {
  41. url: string
  42. }
  43. }
  44. }
  45. export interface GiphyPagination {
  46. offset: number
  47. total_count: number
  48. count: number
  49. }
  50. export interface GiphyResponse {
  51. data: GiphyGif[]
  52. pagination: GiphyPagination
  53. }