tag.d.ts.bk 733 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. type TagType = 'image' | 'video'
  2. type SourceType = {
  3. src: string
  4. }
  5. interface GlobalTag {
  6. isPlay: boolean
  7. flying: boolean
  8. leaveId: string
  9. isEdit: boolean
  10. isFixed: boolean
  11. isClick: boolean
  12. enterVisible: boolean
  13. editPosition: boolean
  14. toggleIndex: number
  15. flyClose?: boolean
  16. }
  17. interface TagContent {
  18. content: string
  19. createTime: EpochTimeStamp
  20. floorIndex: number
  21. icon: string
  22. panoId: string
  23. position: {
  24. x: number
  25. y: number
  26. z: number
  27. }
  28. media: {
  29. image?: SourceType[]
  30. video?: SourceType[]
  31. }
  32. sid: string
  33. title: string
  34. type: TagType
  35. visible: boolean
  36. x: number
  37. y: number
  38. visiblePanos?: any[]
  39. }