選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

constants.ts 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * An enumeration of the different virtual background types.
  3. *
  4. * @enum {string}
  5. */
  6. export const VIRTUAL_BACKGROUND_TYPE = {
  7. IMAGE: 'image',
  8. BLUR: 'blur',
  9. NONE: 'none'
  10. };
  11. export type Image = {
  12. id: string;
  13. src: string;
  14. tooltip?: string;
  15. };
  16. // The limit of virtual background uploads is 24. When the number
  17. // of uploads is 25 we trigger the deleteStoredImage function to delete
  18. // the first/oldest uploaded background.
  19. export const BACKGROUNDS_LIMIT = 25;
  20. export const IMAGES: Array<Image> = [
  21. {
  22. tooltip: 'image1',
  23. id: '1',
  24. src: 'images/virtual-background/background-1.jpg'
  25. },
  26. {
  27. tooltip: 'image2',
  28. id: '2',
  29. src: 'images/virtual-background/background-2.jpg'
  30. },
  31. {
  32. tooltip: 'image3',
  33. id: '3',
  34. src: 'images/virtual-background/background-3.jpg'
  35. },
  36. {
  37. tooltip: 'image4',
  38. id: '4',
  39. src: 'images/virtual-background/background-4.jpg'
  40. },
  41. {
  42. tooltip: 'image5',
  43. id: '5',
  44. src: 'images/virtual-background/background-5.jpg'
  45. },
  46. {
  47. tooltip: 'image6',
  48. id: '6',
  49. src: 'images/virtual-background/background-6.jpg'
  50. },
  51. {
  52. tooltip: 'image7',
  53. id: '7',
  54. src: 'images/virtual-background/background-7.jpg'
  55. }
  56. ];