declaration.d.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. declare module 'history'
  2. declare module '*.scss'
  3. declare module '*.png'
  4. declare module '*.jpg'
  5. declare module '*.gif'
  6. declare module '*.svg'
  7. declare module 'js-export-excel'
  8. declare module 'braft-utils'
  9. // public/myData.js 里面的一些数据的类型
  10. declare const baseUrlLoc: string
  11. declare const baseUrlAtl: string
  12. declare const isPcTemp: boolean
  13. declare const myDataTemp: MyDataType
  14. declare const myDataTemp2: MyDataType
  15. declare const otherUrlTemp: string
  16. declare const myHotInfo: any
  17. declare const apiUrlTemp: string
  18. // 微信浏览器--视频转画布
  19. declare const F_Video: any
  20. type MyDataType = {
  21. isLdong: boolean
  22. baseInfo: { title: string; text: string; path: string }[]
  23. introInfo: { title: string; text: string }[]
  24. detail_modal: {
  25. top: { title: string; txt: string }[]
  26. bottom: { title: string; txt: string }[]
  27. }
  28. allTxt: { title: string }[]
  29. readDetail: {
  30. words: { name: string; define: string; inset: string }[]
  31. intro: string
  32. mzmtz: { title: string; content: string }
  33. origin: string
  34. translate: string
  35. }[]
  36. // 发现之谜
  37. discover: {
  38. txt1Items: { title: string }[]
  39. search: { title: string; txt: string; from: string }[]
  40. }
  41. // 属性之辨
  42. shuxing: {
  43. name: string
  44. time: string
  45. size: string
  46. desc: string
  47. img: string
  48. }[]
  49. // 未解之思
  50. weijie: string
  51. // 造像中国化
  52. sinicizeDataStatic: { desc: string; zongjie: { title: string; txt: string } }
  53. sinicizeData: {
  54. time: string
  55. bgPath: string
  56. desc: string
  57. items: { title: string; txt: string; inset: string }[]
  58. imgItems: { time: string; title: string; src: string; srcLine: string; txt: string }[]
  59. }[]
  60. zaoxiangDataDetail: {
  61. type: string
  62. name: string
  63. lineSrc: string
  64. intro: string
  65. imgItems: {
  66. src: string
  67. title: string
  68. }[]
  69. }[]
  70. // 家族谱系
  71. genealogyData: {
  72. name: string
  73. customN?: string
  74. type: string
  75. addTxt: { time: string; pos: string; backEnd: string }
  76. extra: string
  77. position: { x: number; y: number }
  78. text: { title: string; content: string }[]
  79. }[]
  80. // 丧葬因素
  81. sangzangData: {
  82. txt: string
  83. }[]
  84. sangzangStatic: {
  85. rightInfoName: string
  86. leftInfoName: string
  87. txt: string
  88. }
  89. sangzangLeftInfo: {
  90. pic: string
  91. from: string
  92. name: string
  93. time: string
  94. mzw: string
  95. }[]
  96. sangzangLeftInfo2: {
  97. src: string
  98. from: string
  99. name: string
  100. time: string
  101. txt: string
  102. }[]
  103. mzgeshi: {
  104. key: number
  105. name: string
  106. sonTxt: string
  107. txt: string
  108. }[]
  109. mzw: {
  110. title: string
  111. txt: string
  112. }[]
  113. }