types.ts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. export type Root = {
  2. webfrontTitleStage: {
  3. id: string;
  4. titleName: string;
  5. rate: number;
  6. userRate: number;
  7. productionYear: string;
  8. country: string;
  9. catchphrase: string;
  10. attractions: string;
  11. story: string;
  12. check: string;
  13. seriesCode: string;
  14. seriesName: string;
  15. publicStartDate: string;
  16. displayPublicEndDate: string;
  17. restrictedCode: string;
  18. copyright: string;
  19. mainGenreId: string;
  20. bookmarkStatus: boolean;
  21. thumbnail: {
  22. standard: string;
  23. secondary: string;
  24. __typename: string;
  25. };
  26. mainGenreName: string;
  27. isNew: boolean;
  28. exclusive: {
  29. typeCode: unknown;
  30. isOnlyOn: boolean;
  31. __typename: string;
  32. };
  33. isOriginal: boolean;
  34. lastEpisode: string;
  35. updateOfWeek: number;
  36. nextUpdateDateTime: string;
  37. productLineupCodeList: string[];
  38. hasMultiprice: boolean;
  39. minimumPrice: number;
  40. paymentBadgeList: unknown[];
  41. nfreeBadge: string;
  42. hasDub: boolean;
  43. hasSubtitle: boolean;
  44. saleText: string;
  45. keyEpisodes: {
  46. current: {
  47. id: string;
  48. interruption: number;
  49. duration: number;
  50. completeFlag: boolean;
  51. displayDurationText: string;
  52. existsRelatedEpisode: boolean;
  53. playButtonName: string;
  54. purchaseEpisodeLimitday: string;
  55. saleTypeCode: string;
  56. productLineupCodeList: string[];
  57. hasPackRights: boolean;
  58. __typename: string;
  59. };
  60. latest: unknown;
  61. __typename: string;
  62. };
  63. publicMainEpisodeCount: number;
  64. comingSoonMainEpisodeCount: number;
  65. missingAlertText: string;
  66. sakuhinNotices: unknown[];
  67. hasPackRights: boolean;
  68. __typename: string;
  69. };
  70. webfrontTitleTitleEpisodes: {
  71. episodes: {
  72. id: string;
  73. episodeName: string;
  74. purchaseEpisodeLimitday: string;
  75. thumbnail: {
  76. standard: string;
  77. __typename: string;
  78. };
  79. duration: number;
  80. displayNo: string;
  81. interruption: number;
  82. completeFlag: boolean;
  83. saleTypeCode: string;
  84. introduction: string;
  85. saleText: string;
  86. episodeNotices: unknown[];
  87. isNew: boolean;
  88. hasPackRights: boolean;
  89. minimumPrice: number;
  90. hasMultiplePrices: boolean;
  91. productLineupCodeList: string[];
  92. isPurchased: boolean;
  93. __typename: string;
  94. }[];
  95. pageInfo: {
  96. page: number;
  97. pages: number;
  98. pageSize: number;
  99. results: number;
  100. __typename: string;
  101. };
  102. __typename: string;
  103. };
  104. };
  105. export type LiveRoot = {
  106. webfrontGetLive: {
  107. id: string;
  108. name: string;
  109. description: string;
  110. attractions: string;
  111. copyright: string;
  112. note: string;
  113. viewableDeviceText: string;
  114. displayLiveMinute: number;
  115. venue: string;
  116. location: string;
  117. deliveryStartDateTime: string;
  118. deliveryEndDateTime: string;
  119. displaySaleEndDateTime: unknown;
  120. performanceStartDateTime: string;
  121. isOnlyOn: boolean;
  122. saleTypeCode: string;
  123. allowsTimeshiftedPlayback: boolean;
  124. timeshiftedPlaybackAllowedUntil: unknown;
  125. paymentBadgeList: {
  126. id: string;
  127. name: string;
  128. code: string;
  129. __typename: string;
  130. }[];
  131. subContentList: {
  132. typeCode: string;
  133. publicStartDateTime: string;
  134. publicEndDateTime: string;
  135. __typename: string;
  136. }[];
  137. notices: {
  138. id: string;
  139. typeCode: string;
  140. publicStartDateTime: string;
  141. thumbnail: {
  142. standard: string;
  143. secondary: string;
  144. __typename: string;
  145. };
  146. __typename: string;
  147. }[];
  148. tickets: unknown[];
  149. purchased: boolean;
  150. productLineupCodeList: string[];
  151. hasPackRights: boolean;
  152. testLiveId: string;
  153. credits: {
  154. personNameCode: string;
  155. personName: string;
  156. characterName: string;
  157. castTypeName: string;
  158. personCode: string;
  159. __typename: string;
  160. }[];
  161. caution: string;
  162. announcements: unknown[];
  163. __typename: string;
  164. };
  165. };