[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.

59 lines
1.4 KiB

5 years ago
5 years ago
  1. // index.ts
  2. // Copyright (C) 2020 Dwayne Harris
  3. // This program is free software: you can redistribute it and/or modify
  4. // it under the terms of the GNU General Public License as published by
  5. // the Free Software Foundation, either version 3 of the License, or
  6. // (at your option) any later version.
  7. // This program is distributed in the hope that it will be useful,
  8. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. // GNU General Public License for more details.
  11. // You should have received a copy of the GNU General Public License
  12. // along with this program. If not, see <https://www.gnu.org/licenses/>.
  13. export interface ClassDictionary {
  14. [name: string]: boolean
  15. }
  16. export interface PluginOptions {
  17. }
  18. export interface GiphyGif {
  19. type: string
  20. id: string
  21. slug: string
  22. url: string
  23. bitly_url: string
  24. embed_url: string
  25. username: string
  26. source: string
  27. rating: string
  28. content_url: string
  29. title: string
  30. images: {
  31. fixed_height: {
  32. url: string
  33. }
  34. fixed_height_still: {
  35. url: string
  36. }
  37. fixed_height_downsampled: {
  38. url: string
  39. }
  40. }
  41. }
  42. export interface GiphyPagination {
  43. offset: number
  44. total_count: number
  45. count: number
  46. }
  47. export interface GiphyResponse {
  48. data: GiphyGif[]
  49. pagination: GiphyPagination
  50. }