@clickview/library-editor 1.1.26-rc.0 → 1.1.27-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (252) hide show
  1. package/.eslintrc.json +3 -0
  2. package/dist/css/23.chunk.css +3 -5
  3. package/dist/css/25.chunk.css +0 -2
  4. package/dist/css/library-editor-app.css +2 -2
  5. package/dist/en.json +1 -1
  6. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +1 -3
  7. package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +1 -1
  8. package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +1 -1
  9. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +8 -3
  10. package/dist/libs/analytics/src/utils/TypeHelper.d.ts +1 -1
  11. package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +5 -5
  12. package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -1
  13. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +1 -1
  14. package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +1 -1
  15. package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +1 -1
  16. package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +1 -1
  17. package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +1 -1
  18. package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +1 -1
  19. package/dist/libs/common/src/backbone/core/BaseModel.d.ts +1 -1
  20. package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +1 -1
  21. package/dist/libs/common/src/backbone/core/BaseService.d.ts +1 -1
  22. package/dist/libs/common/src/backbone/core/BaseView.d.ts +2 -2
  23. package/dist/libs/common/src/backbone/core/LayoutService.d.ts +1 -1
  24. package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +1 -1
  25. package/dist/libs/common/src/backbone/core/Shell.d.ts +1 -1
  26. package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +2 -1
  27. package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +1 -1
  28. package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +1 -1
  29. package/dist/libs/common/src/backbone/services/LanguageService.d.ts +1 -1
  30. package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +1 -1
  31. package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +2 -2
  32. package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +3 -3
  33. package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +6 -0
  34. package/dist/libs/common/src/react/flight/enums/index.d.ts +1 -0
  35. package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +22 -0
  36. package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +4 -0
  37. package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +29 -0
  38. package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +15 -0
  39. package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +3 -0
  40. package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +8 -0
  41. package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +4 -0
  42. package/dist/libs/common/src/react/interfaces/index.d.ts +4 -0
  43. package/dist/libs/common/src/react/utils/FetchHelper.d.ts +1 -1
  44. package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +2 -2
  45. package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +5 -5
  46. package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +24 -24
  47. package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +5 -5
  48. package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +1 -1
  49. package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
  50. package/dist/libs/shared/src/enums/ObjectStatus.d.ts +5 -0
  51. package/dist/libs/shared/src/enums/PlayerMediaType.d.ts +4 -0
  52. package/dist/libs/shared/src/enums/UserGroup.d.ts +5 -0
  53. package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
  54. package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +3 -1
  55. package/dist/libs/shared/src/images/svg/actions/index.d.ts +3 -1
  56. package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
  57. package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
  58. package/dist/libs/shared/src/interfaces/models/Config.d.ts +2 -0
  59. package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
  60. package/dist/libs/shared/src/interfaces/models/Glance.d.ts +2 -0
  61. package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
  62. package/dist/libs/shared/src/interfaces/models/Link.d.ts +1 -0
  63. package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
  64. package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +3 -0
  65. package/dist/libs/shared/src/interfaces/models/Resource.d.ts +11 -3
  66. package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
  67. package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +3 -0
  68. package/dist/libs/shared/src/interfaces/models/User.d.ts +8 -1
  69. package/dist/libs/shared/src/interfaces/models/index.d.ts +4 -0
  70. package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +5 -0
  71. package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
  72. package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
  73. package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
  74. package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +5 -1
  75. package/dist/libs/shared/src/interfaces/requests/index.d.ts +4 -0
  76. package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +5 -0
  77. package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +2 -0
  78. package/dist/libs/shared/src/interfaces/services/index.d.ts +1 -0
  79. package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-drop/FileDropBehavior.d.ts +1 -1
  80. package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-drop/FileDropMaskBehavior.d.ts +1 -1
  81. package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-select/FileSelectBehavior.d.ts +1 -1
  82. package/dist/{projects/library-editor/src/apps/library-editor → libs/shared/src/legacy}/components/file-select/FileSelectComponent.d.ts +1 -2
  83. package/dist/{projects/library-editor/src/apps/library-editor → libs/shared/src/legacy}/components/file-uploads/FileUploadComponent.d.ts +2 -2
  84. package/dist/{projects/library-editor/src/apps/library-editor/components/video-resources → libs/shared/src/legacy/components/resource-item}/ResourceItemComponent.d.ts +4 -4
  85. package/dist/{projects/library-editor/src/apps/library-editor/components/video-subtitles → libs/shared/src/legacy/components/subtitle-item}/SubtitleItemComponent.d.ts +2 -3
  86. package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -1
  87. package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +7 -0
  88. package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
  89. package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
  90. package/dist/libs/shared/src/utils/ImageHelper.d.ts +5 -4
  91. package/dist/libs/shared/src/utils/MaskHelper.d.ts +1 -1
  92. package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +9 -0
  93. package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -1
  94. package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +21 -0
  95. package/dist/projects/library-editor/src/app.d.ts +20 -5
  96. package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +1 -1
  97. package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +3 -3
  98. package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +1 -1
  99. package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +1 -2
  100. package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +3 -1
  101. package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +4 -1
  102. package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +0 -1
  103. package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +0 -2
  104. package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +2 -2
  105. package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +2 -2
  106. package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +1 -1
  107. package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +3 -3
  108. package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +2 -2
  109. package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +1 -1
  110. package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +0 -3
  111. package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +3 -3
  112. package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +2 -2
  113. package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +4 -4
  114. package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +1 -1
  115. package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +1 -1
  116. package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +1 -1
  117. package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +1 -1
  118. package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +1 -1
  119. package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +1 -1
  120. package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +4 -4
  121. package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +1 -1
  122. package/dist/projects/library-editor/src/shared/enums/index.d.ts +0 -2
  123. package/dist/projects/library-editor/src/shared/errors/index.d.ts +0 -1
  124. package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +2 -0
  125. package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +1 -1
  126. package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +1 -2
  127. package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +1 -1
  128. package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +1 -1
  129. package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +1 -1
  130. package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +0 -1
  131. package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +1 -1
  132. package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +1 -1
  133. package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +1 -1
  134. package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +1 -1
  135. package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +1 -1
  136. package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +1 -1
  137. package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +1 -1
  138. package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +1 -1
  139. package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +1 -1
  140. package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +1 -1
  141. package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +1 -1
  142. package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +1 -1
  143. package/dist/scripts/{0-1deffb42bf.chunk.js → 0-7d941d48a1.chunk.js} +1 -1
  144. package/dist/scripts/1-d174976195.chunk.js +1 -0
  145. package/dist/scripts/{10-0adc529f9b.chunk.js → 10-9389c5decb.chunk.js} +1 -1
  146. package/dist/scripts/{11-039959db6c.chunk.js → 11-85acf490ea.chunk.js} +1 -1
  147. package/dist/scripts/{12-18ae0dfa89.chunk.js → 12-0db13732f7.chunk.js} +1 -1
  148. package/dist/scripts/13-994f87e579.chunk.js +1 -0
  149. package/dist/scripts/14-2902bc9522.chunk.js +1 -0
  150. package/dist/scripts/15-c6ed60d5c9.chunk.js +1 -0
  151. package/dist/scripts/{16-31fefb2cac.chunk.js → 16-745edb531a.chunk.js} +1 -1
  152. package/dist/scripts/{17-b9c5bbda43.chunk.js → 17-84499189f1.chunk.js} +1 -1
  153. package/dist/scripts/{2-5fd33f5359.chunk.js → 2-236aa94486.chunk.js} +1 -1
  154. package/dist/scripts/{20-2bca62d1c0.chunk.js → 20-96717eb19f.chunk.js} +1 -1
  155. package/dist/scripts/{21-c70d40dc61.chunk.js → 21-65f36b6673.chunk.js} +1 -1
  156. package/dist/scripts/{22-0e9dca307f.chunk.js → 22-5e4db41745.chunk.js} +1 -1
  157. package/dist/scripts/23-d0172ec9d2.chunk.js +1 -0
  158. package/dist/scripts/{24-88056bc5c9.chunk.js → 24-6ac1386d9a.chunk.js} +1 -1
  159. package/dist/scripts/25-36d490b1c6.chunk.js +1 -0
  160. package/dist/scripts/{26-2a038b6df5.chunk.js → 26-58a421e3cb.chunk.js} +1 -1
  161. package/dist/scripts/27-a507f85408.chunk.js +1 -0
  162. package/dist/scripts/{28-4e62071464.chunk.js → 28-add4a2a74d.chunk.js} +1 -1
  163. package/dist/scripts/29-adf22ec3a1.chunk.js +1 -0
  164. package/dist/scripts/{3-dbf1f0bdbc.chunk.js → 3-3c39acc333.chunk.js} +1 -1
  165. package/dist/scripts/{30-87ec7ee868.chunk.js → 30-6e869b77b2.chunk.js} +1 -1
  166. package/dist/scripts/{31-24f9dc350e.chunk.js → 31-f3a0832478.chunk.js} +1 -1
  167. package/dist/scripts/32-cbcb5dba41.chunk.js +1 -0
  168. package/dist/scripts/33-c9a197cce2.chunk.js +1 -0
  169. package/dist/scripts/34-37fc1c9761.chunk.js +1 -0
  170. package/dist/scripts/35-21329b155d.chunk.js +1 -0
  171. package/dist/scripts/36-0d3fa3d249.chunk.js +1 -0
  172. package/dist/scripts/{37-bb5a5bdad3.chunk.js → 37-681f25d8de.chunk.js} +1 -1
  173. package/dist/scripts/38-5364f1bd67.chunk.js +1 -0
  174. package/dist/scripts/{39-14259bc6fe.chunk.js → 39-996d4ddc74.chunk.js} +1 -1
  175. package/dist/scripts/4-93e14cac14.chunk.js +1 -0
  176. package/dist/scripts/{40-ea678bbe5b.chunk.js → 40-7ecb39dfb5.chunk.js} +1 -1
  177. package/dist/scripts/41-8b5abd983b.chunk.js +1 -0
  178. package/dist/scripts/{42-898076e213.chunk.js → 42-b0867d7db0.chunk.js} +1 -1
  179. package/dist/scripts/{43-0616177a42.chunk.js → 43-32a9ad2254.chunk.js} +1 -1
  180. package/dist/scripts/44-bf0ebe3cf7.chunk.js +1 -0
  181. package/dist/scripts/45-2ba05e3821.chunk.js +1 -0
  182. package/dist/scripts/46-3bdc667e2e.chunk.js +1 -0
  183. package/dist/scripts/{47-a4034122c9.chunk.js → 47-9955928b6f.chunk.js} +1 -1
  184. package/dist/scripts/{48-76b2c74863.chunk.js → 48-3922b945f4.chunk.js} +1 -1
  185. package/dist/scripts/{49-505e968070.chunk.js → 49-23a1f6f7e7.chunk.js} +1 -1
  186. package/dist/scripts/5-4bea739cc3.chunk.js +1 -0
  187. package/dist/scripts/{50-5fc4da3bc5.chunk.js → 50-5c842985ec.chunk.js} +1 -1
  188. package/dist/scripts/{51-fc0310c5cd.chunk.js → 51-76bb20846a.chunk.js} +1 -1
  189. package/dist/scripts/{52-bf7eecfbac.chunk.js → 52-837abee352.chunk.js} +1 -1
  190. package/dist/scripts/{53-ec51fba164.chunk.js → 53-52c9fac5eb.chunk.js} +1 -1
  191. package/dist/scripts/{54-d3990092dd.chunk.js → 54-557f6ffe65.chunk.js} +1 -1
  192. package/dist/scripts/{55-e4665da63e.chunk.js → 55-8dea861900.chunk.js} +1 -1
  193. package/dist/scripts/{56-21b33b42c3.chunk.js → 56-491db19e9d.chunk.js} +1 -1
  194. package/dist/scripts/{57-07deff9444.chunk.js → 57-87323c96be.chunk.js} +1 -1
  195. package/dist/scripts/{58-68ca09ffdf.chunk.js → 58-3408474ea9.chunk.js} +1 -1
  196. package/dist/scripts/{59-c7705e6551.chunk.js → 59-ad89e8b776.chunk.js} +1 -1
  197. package/dist/scripts/{6-9bc788ce4c.chunk.js → 6-cf6bf13de2.chunk.js} +1 -1
  198. package/dist/scripts/{60-319578f49a.chunk.js → 60-3324435680.chunk.js} +1 -1
  199. package/dist/scripts/{61-25fcfd00c9.chunk.js → 61-57f4830468.chunk.js} +1 -1
  200. package/dist/scripts/{62-d07ddf14ff.chunk.js → 62-27f0a916e8.chunk.js} +1 -1
  201. package/dist/scripts/{63-08c93c2e53.chunk.js → 63-c328125cb6.chunk.js} +1 -1
  202. package/dist/scripts/{64-ffead99364.chunk.js → 64-32b869d473.chunk.js} +1 -1
  203. package/dist/scripts/{65-86eee87750.chunk.js → 65-2f7971dc4f.chunk.js} +1 -1
  204. package/dist/scripts/{66-79a4d8629a.chunk.js → 66-34c241cba2.chunk.js} +1 -1
  205. package/dist/scripts/67-b5429e74ed.chunk.js +1 -0
  206. package/dist/scripts/{68-c3fe0c028e.chunk.js → 68-c8848a4a9d.chunk.js} +1 -1
  207. package/dist/scripts/{69-f4f1f07045.chunk.js → 69-3840d20a46.chunk.js} +1 -1
  208. package/dist/scripts/{7-74c0fcd6fe.chunk.js → 7-d1e99b91aa.chunk.js} +1 -1
  209. package/dist/scripts/{70-4681989887.chunk.js → 70-812a99c9c1.chunk.js} +1 -1
  210. package/dist/scripts/{71-8ae59fd304.chunk.js → 71-5523ee0121.chunk.js} +1 -1
  211. package/dist/scripts/{72-8615720ce0.chunk.js → 72-fd2b5e6473.chunk.js} +1 -1
  212. package/dist/scripts/{8-039e714b81.chunk.js → 8-1c22ae2c22.chunk.js} +1 -1
  213. package/dist/scripts/9-fab9edf019.chunk.js +1 -0
  214. package/dist/scripts/bundle-c2eae7224c.min.js +8 -0
  215. package/dist/scripts/bundles.json +2 -2
  216. package/dist/scripts/polyfills-1554419c02.min.js +1 -0
  217. package/package.json +4 -3
  218. package/typings/libs/CVEvents.d.ts +1 -1
  219. package/typings/libs/LazyLoad.ts +2 -1
  220. package/typings/libs/Trackers.d.ts +1 -1
  221. package/dist/libs/common/src/backbone/services/ScrollService.d.ts +0 -19
  222. package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
  223. package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
  224. package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +0 -7
  225. package/dist/scripts/1-a4065968c1.chunk.js +0 -1
  226. package/dist/scripts/13-a9ed73e93d.chunk.js +0 -1
  227. package/dist/scripts/14-e0828acdfa.chunk.js +0 -1
  228. package/dist/scripts/15-c67caabb0a.chunk.js +0 -1
  229. package/dist/scripts/23-b4a5ffb3a6.chunk.js +0 -1
  230. package/dist/scripts/25-ec294abf37.chunk.js +0 -1
  231. package/dist/scripts/27-9f06d5bb5d.chunk.js +0 -1
  232. package/dist/scripts/29-5ab940b23f.chunk.js +0 -1
  233. package/dist/scripts/32-a06209da52.chunk.js +0 -1
  234. package/dist/scripts/33-c33020ec6f.chunk.js +0 -1
  235. package/dist/scripts/34-116a50814d.chunk.js +0 -1
  236. package/dist/scripts/35-33ea39c18e.chunk.js +0 -1
  237. package/dist/scripts/36-ccb493b3f6.chunk.js +0 -1
  238. package/dist/scripts/38-64d5f34871.chunk.js +0 -1
  239. package/dist/scripts/4-dbbff4289b.chunk.js +0 -1
  240. package/dist/scripts/41-2d35060d0e.chunk.js +0 -1
  241. package/dist/scripts/44-861ac46f36.chunk.js +0 -1
  242. package/dist/scripts/45-7446535f17.chunk.js +0 -1
  243. package/dist/scripts/46-26620d2a5f.chunk.js +0 -1
  244. package/dist/scripts/5-2051149282.chunk.js +0 -1
  245. package/dist/scripts/67-bc34473155.chunk.js +0 -1
  246. package/dist/scripts/9-e76ba48df5.chunk.js +0 -1
  247. package/dist/scripts/bundle-8862b095c0.min.js +0 -8
  248. package/dist/scripts/polyfills-57fccaae30.min.js +0 -1
  249. /package/dist/{projects/library-editor/src/shared → libs/shared/src}/enums/MasterObjectTypes.d.ts +0 -0
  250. /package/dist/{projects/library-editor/src/apps/library-editor → libs/shared/src}/enums/ObjectOwnerType.d.ts +0 -0
  251. /package/dist/{projects/library-editor/src/shared → libs/shared/src}/enums/UploadInteractionType.d.ts +0 -0
  252. /package/dist/{projects/library-editor/src/shared → libs/shared/src/legacy}/behaviors/file-drop/FileDropHelper.d.ts +0 -0
@@ -12,5 +12,5 @@ export declare class BaseCollectionView<TModel extends BaseModel = BaseModel, TV
12
12
  serializeModel(): any;
13
13
  serializeCollection(): any[];
14
14
  listenTo(object: any, eventMap: Backbone.EventMap): this;
15
- listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
15
+ listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
16
16
  }
@@ -6,6 +6,6 @@ export interface BaseLayoutViewOptions extends BaseViewOptions {
6
6
  export declare class BaseLayoutView extends BaseView {
7
7
  protected options: BaseLayoutViewOptions;
8
8
  constructor(options: BaseLayoutViewOptions);
9
- static getCacheKey(options: BaseLayoutViewOptions): string;
9
+ static getCacheKey(options?: BaseLayoutViewOptions): string;
10
10
  unmountRegion(regionName: string): void;
11
11
  }
@@ -23,5 +23,5 @@ export declare class BaseModel extends Backbone.Model {
23
23
  preValidate: (attr: any, value: any) => any;
24
24
  validate(attributes?: any, options?: any): any;
25
25
  listenTo(object: any, eventMap: Backbone.EventMap): this;
26
- listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
26
+ listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
27
27
  }
@@ -12,7 +12,7 @@ export declare class BaseNestedModel extends BaseModel {
12
12
  protected associations: {
13
13
  [name: string]: Association;
14
14
  };
15
- set(key: string | object, value?: any | ModelSetOptions, options?: BaseNestedModelOptions): BaseNestedModel;
15
+ set(key: string | ObjectHash, value?: any | ModelSetOptions, options?: BaseNestedModelOptions): BaseNestedModel;
16
16
  get(attributeName: string): any;
17
17
  setAssociation(key: string, value: any, options: BaseNestedModelOptions): BaseModel | BaseCollection<BaseModel>;
18
18
  toJSON(...args: any[]): ObjectHash;
@@ -6,5 +6,5 @@ export declare class BaseService extends Marionette.Object {
6
6
  name: string;
7
7
  constructor(options?: BaseServiceOptions);
8
8
  listenTo(object: any, eventMap: Backbone.EventMap): this;
9
- listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
9
+ listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
10
10
  }
@@ -74,7 +74,7 @@ export declare class CoreView<TModel extends BaseModel = BaseModel> extends Mari
74
74
  constructor(options?: BaseViewOptions<TModel>);
75
75
  appLinks: AppLinkHash;
76
76
  normalizeUIKeys: (hash: UIHash) => UIHash;
77
- static AddViewDataExtension(ext: Function | Backbone.ObjectHash): void;
77
+ static AddViewDataExtension(ext: (...args: any) => any | Backbone.ObjectHash): void;
78
78
  serializeModel(): any;
79
79
  serializeCollection(): any[];
80
80
  /**
@@ -99,7 +99,7 @@ export declare class CoreView<TModel extends BaseModel = BaseModel> extends Mari
99
99
  private hasPartialLoadingRegions;
100
100
  protected renderPartialLoading(region?: string): void;
101
101
  listenTo(object: any, eventMap: Backbone.EventMap): this;
102
- listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
102
+ listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
103
103
  render(): CoreView<TModel>;
104
104
  /** backbone.stickit stuff that is mixed in at run time.
105
105
  *
@@ -27,5 +27,5 @@ export declare class LayoutService extends Marionette.Object {
27
27
  */
28
28
  private checkRequiredRegions;
29
29
  listenTo(object: any, eventMap: Backbone.EventMap): this;
30
- listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
30
+ listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
31
31
  }
@@ -1,3 +1,3 @@
1
1
  /// <reference types="backbone" />
2
- declare function ListenToRadio(obj: string | Backbone.Events, events: string, callback: Function, originalListenTo: Function): any;
2
+ declare function ListenToRadio(obj: string | Backbone.Events, events: string, callback: (...args: any) => any, originalListenTo: (...args: any) => any): any;
3
3
  export { ListenToRadio };
@@ -74,6 +74,6 @@ export declare class Shell extends Marionette.Application {
74
74
  store: Store;
75
75
  registerStore(store: Store): void;
76
76
  listenTo(object: any, eventMap: Backbone.EventMap): this;
77
- listenTo(obj: string | Backbone.Events, events: string, callback: Function): this;
77
+ listenTo(obj: string | Backbone.Events, events: string, callback: (...args: any) => any): this;
78
78
  }
79
79
  export {};
@@ -1,11 +1,12 @@
1
1
  import { ObjectHash } from 'backbone';
2
+ import { HashObject } from "../../react/interfaces";
2
3
  export interface BaseCollectionIdentifierOptions<T> {
3
4
  collectionPrefix?: string;
4
5
  id?: string;
5
6
  sort?: T;
6
7
  cursor?: string;
7
8
  }
8
- export declare class BaseCollectionIdentifier<T = {}> {
9
+ export declare class BaseCollectionIdentifier<T = HashObject> {
9
10
  id: string;
10
11
  sort: T;
11
12
  cursor: string;
@@ -9,7 +9,7 @@ export interface DataProviderResponseOptions {
9
9
  export interface DataProvider extends Marionette.Object {
10
10
  parseError(...args: any[]): DataServiceError;
11
11
  create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
12
- read<T>(resource: string, options: DataProviderResponseOptions): void;
12
+ read(resource: string, options: DataProviderResponseOptions): void;
13
13
  update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
14
14
  delete(resource: string, options: DataProviderResponseOptions): void;
15
15
  }
@@ -1,8 +1,8 @@
1
1
  /// <reference types="jquery" />
2
2
  /// <reference types="jqueryui" />
3
3
  /// <reference types="typeahead" />
4
- /// <reference types="bootstrap" />
5
4
  /// <reference types="dropzone" />
5
+ /// <reference types="bootstrap" />
6
6
  import { BaseModel } from '../core/BaseModel';
7
7
  export interface StickitBinding {
8
8
  observe: string;
@@ -16,7 +16,7 @@ declare class StaticLanguageService extends BaseService {
16
16
  get name(): string;
17
17
  setConfig(config: LanguageConfig): void;
18
18
  getPhrase(namespace: string, phraseKey: string, options?: LanguageInterpolationOptions): string;
19
- encloseNamespace(namespace: string): Function;
19
+ encloseNamespace(namespace: string): (phraseKey: string, options?: LanguageInterpolationOptions) => string;
20
20
  }
21
21
  export declare const LanguageService: StaticLanguageService;
22
22
  export {};
@@ -26,6 +26,6 @@ export declare class AjaxDataProvider extends Marionette.Object implements DataP
26
26
  delete(resource: string, options: DataProviderResponseOptions): void;
27
27
  useMiddleware(name: string, callback: MiddlewareCallback): void;
28
28
  useErrorMiddleware(name: string, callback: MiddlewareCallback): void;
29
- parseError(jqXHR: JQuery.jqXHR, textStatus: string, errorThrown: any): DataServiceError;
29
+ parseError(jqXHR: JQuery.jqXHR): DataServiceError;
30
30
  }
31
31
  export {};
@@ -37,10 +37,10 @@ export declare abstract class SignalRDataProvider extends Marionette.Object impl
37
37
  private setConnectionState;
38
38
  private isConnectedOrConnecting;
39
39
  create<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
40
- read<T>(resource: string, options: DataProviderResponseOptions): void;
40
+ read(resource: string, options: DataProviderResponseOptions): void;
41
41
  update<T>(resource: string, obj: T, options: DataProviderResponseOptions): void;
42
42
  delete(resource: string, options: DataProviderResponseOptions): void;
43
- parseError(...args: any[]): DataServiceError;
43
+ parseError(): DataServiceError;
44
44
  private rpc;
45
45
  private subscribe;
46
46
  }
@@ -1,8 +1,8 @@
1
1
  import * as _ from 'underscore';
2
2
  export declare const FunctionHelper: {
3
- debounce<T extends Function>(fn: T, wait: number, immediate?: boolean): T & _.Cancelable;
4
- throttle<T_1 extends Function>(fn: T_1, wait: number, options?: _.ThrottleSettings): T_1 & _.Cancelable;
3
+ debounce<T extends (...args: any) => any>(fn: T, wait: number, immediate?: boolean): T & _.Cancelable;
4
+ throttle<T_1 extends (...args: any) => any>(fn: T_1, wait: number, options?: _.ThrottleSettings): T_1 & _.Cancelable;
5
5
  isFunction(object: any): object is Function;
6
6
  useIdentity<T_2>(): (...args: any[]) => T_2;
7
- memoize<T_3 = Function>(fn: T_3, hashFn?: (...args: any[]) => string): T_3;
7
+ memoize<T_3 = (...args: any) => any>(fn: T_3, hashFn?: (...args: any[]) => string): T_3;
8
8
  };
@@ -0,0 +1,6 @@
1
+ export declare enum RequestStatus {
2
+ None = "None",
3
+ Fetching = "Fetching",
4
+ Success = "Success",
5
+ Error = "Error"
6
+ }
@@ -0,0 +1 @@
1
+ export * from './RequestStatus';
@@ -0,0 +1,22 @@
1
+ import { RequestStatus } from '../enums';
2
+ import { Request } from './Request';
3
+ import { HashObject } from "../../interfaces/HashObject";
4
+ export interface FlightState {
5
+ readonly entities: NormalizedEntities;
6
+ readonly resources: Resources;
7
+ }
8
+ export interface NormalizedEntities {
9
+ readonly [key: string]: object;
10
+ }
11
+ export interface Resource {
12
+ readonly request: Request;
13
+ readonly status: RequestStatus;
14
+ readonly response?: string | string[] | HashObject | HashObject[];
15
+ readonly errorResponse?: any;
16
+ readonly timestamp?: number;
17
+ readonly statusCode?: number;
18
+ readonly entityIds?: string[];
19
+ }
20
+ export interface Resources {
21
+ readonly [key: string]: Resource;
22
+ }
@@ -0,0 +1,4 @@
1
+ export interface NormalizeOptions {
2
+ namespace?: string;
3
+ idAttribute?: string;
4
+ }
@@ -0,0 +1,29 @@
1
+ import { HttpVerbs } from "../../../backbone/enums/HttpVerbs";
2
+ import { HashObject } from "../../interfaces/HashObject";
3
+ import { Xhr, SimulatedXhr } from "../../../backbone/interfaces/Xhr";
4
+ import { NormalizeOptions } from './NormalizeOptions';
5
+ import { Resources } from './FlightState';
6
+ import { UpdateStateOptions } from './UpdateStateOptions';
7
+ export interface Request {
8
+ key: string;
9
+ url: string;
10
+ type?: HttpVerbs;
11
+ expiryTime?: number;
12
+ data?: HashObject | HashObject[];
13
+ normalize?: boolean;
14
+ normalizeOptions?: NormalizeOptions;
15
+ formatData?: (data: HashObject | HashObject[]) => HashObject | HashObject[];
16
+ bootstrapName?: string;
17
+ invalidationKeys?: string | string[];
18
+ updateState?: UpdateStateOptions | UpdateStateOptions[];
19
+ success?: (data: HashObject | HashObject[] | number) => void;
20
+ error?: (Xhr: Xhr) => void;
21
+ always?: () => void;
22
+ maintainState?: (resources: Resources) => Resources;
23
+ }
24
+ export interface SimulatedRequest extends Request {
25
+ successResponse?: () => (HashObject | HashObject[]);
26
+ errorResponse?: () => SimulatedXhr;
27
+ timeout?: number;
28
+ noResponse?: boolean;
29
+ }
@@ -0,0 +1,15 @@
1
+ import { HashObject } from "../../interfaces/HashObject";
2
+ export interface UpdateStateOptions {
3
+ keys: string | string[];
4
+ /**
5
+ * updateData takes a hash where the keys are keys for resources
6
+ * from the application state that match the keys above.
7
+ * The value is the denormalized (where applicable) data corresponding
8
+ * to that resource.
9
+ */
10
+ updateData: (data: {
11
+ [key: string]: HashObject;
12
+ }) => {
13
+ [key: string]: HashObject;
14
+ };
15
+ }
@@ -0,0 +1,3 @@
1
+ export interface ApplicationData {
2
+ version: string;
3
+ }
@@ -0,0 +1,8 @@
1
+ import { ApplicationData } from "./ApplicationData";
2
+ import { FlightState } from "../flight/interfaces/FlightState";
3
+ import { HashObject } from "./HashObject";
4
+ export interface ApplicationState {
5
+ readonly flightData: FlightState;
6
+ readonly applicationData: ApplicationData;
7
+ readonly viewModelData: HashObject;
8
+ }
@@ -0,0 +1,4 @@
1
+ export interface ReducerActions<TActionType, TPayloadType = any> {
2
+ type: TActionType;
3
+ payload?: TPayloadType;
4
+ }
@@ -0,0 +1,4 @@
1
+ export * from './ApplicationData';
2
+ export * from './ApplicationState';
3
+ export * from './BaseReducerActions';
4
+ export * from './HashObject';
@@ -27,7 +27,7 @@ export interface FetchOptions {
27
27
  *
28
28
  * Deliberately a loose Function type so that we can use React setState setters.
29
29
  */
30
- setData: Function;
30
+ setData: (...args: any) => any;
31
31
  /**
32
32
  * onError callback fn.
33
33
  */
@@ -25,8 +25,8 @@ export declare class NotificationsPopoverView extends Core.View {
25
25
  private getCollectionIdentifier;
26
26
  private renderNotificationList;
27
27
  /**
28
- * Only trigger the notification seen event once the collection has been loaded.
29
- */
28
+ * Only trigger the notification seen event once the collection has been loaded.
29
+ */
30
30
  private triggerSeen;
31
31
  onBeforeRender(): boolean;
32
32
  viewOptions(): ObjectHash;
@@ -8,11 +8,11 @@ export declare const InstantSearchHelper: {
8
8
  prepareQuery: (query: string, settings: JQueryAjaxSettings, options?: ObjectHash) => string;
9
9
  bloodhoundConfig(source: string, options: ObjectHash): RemoteSearch<any>;
10
10
  handleResult(data: ObjectHash, item: any, options?: ObjectHash): any[];
11
- processSubjectResult(collection: any[], item: any, options: ObjectHash): any[];
12
- processVideoResult(collection: any[], item: any, options: ObjectHash): any[];
13
- processTagsResult(collection: any[], item: any, options: ObjectHash): any[];
14
- processSeriesResult(collection: any[], item: any, options: ObjectHash): any[];
15
- processFolderResult(collection: any[], item: any, options?: ObjectHash): any[];
11
+ processSubjectResult(collection: any[]): any[];
12
+ processVideoResult(collection: any[]): any[];
13
+ processTagsResult(collection: any[]): any[];
14
+ processSeriesResult(collection: any[]): any[];
15
+ processFolderResult(collection: any[]): any[];
16
16
  /**
17
17
  * Manipulate
18
18
  * @param collection
@@ -21,7 +21,7 @@ export declare const TypeaheadHelper: {
21
21
  * It must also return <any> as the typeahead typings are shit.
22
22
  * - Mike
23
23
  */
24
- getTemplate(template: Function, options?: ObjectHash): any;
24
+ getTemplate(template: (...args: any) => any, options?: ObjectHash): any;
25
25
  /**
26
26
  * Provides mechanism to map a single search query against multiple bloodhound sources.
27
27
  * Sources may be remote endpoints or local in-memory collections.
@@ -42,34 +42,34 @@ export declare const TypeaheadHelper: {
42
42
  * Note: With multiple suggestion sets, the render event will also be called multiple times
43
43
  * along with this callback.
44
44
  */
45
- selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean, dataset: string): void;
45
+ selectFirstResult(e: JQueryEventObject, suggestions: any[], async: boolean): void;
46
46
  /**
47
- * Callback is designed to be attached to the stickit bindings for the typeahead form
48
- * and emit events when a change is detected on the bound model. We do this to be
49
- * able to detect whether an input has cleared from a previous selection,
50
- *
51
- * @param channelName
52
- * @param event
53
- */
54
- emitEventOnInput(channelName: string, eventName: string, type: string, wrapperOptions?: ObjectHash): Function;
47
+ * Callback is designed to be attached to the stickit bindings for the typeahead form
48
+ * and emit events when a change is detected on the bound model. We do this to be
49
+ * able to detect whether an input has cleared from a previous selection,
50
+ *
51
+ * @param channelName
52
+ * @param event
53
+ */
54
+ emitEventOnInput(channelName: string, eventName: string, type: string, wrapperOptions?: ObjectHash): (...args: any) => any;
55
55
  /**
56
- * I hate this.
57
- *
58
- * Basically what this function does is curry a callback with the original association's
59
- * data. Then, depending on the user's interaction with the typeahead input, it will restore that
60
- * data when a blur event is triggered.
61
- *
62
- * @param data raw clone of original assoc model
63
- *
64
- * Curried callback
65
- * @param channelName
66
- * @param propertyName
67
- */
68
- resetAssociationOnBlur(data: ObjectHash): Function;
56
+ * I hate this.
57
+ *
58
+ * Basically what this function does is curry a callback with the original association's
59
+ * data. Then, depending on the user's interaction with the typeahead input, it will restore that
60
+ * data when a blur event is triggered.
61
+ *
62
+ * @param data raw clone of original assoc model
63
+ *
64
+ * Curried callback
65
+ * @param channelName
66
+ * @param propertyName
67
+ */
68
+ resetAssociationOnBlur(data: ObjectHash): (...args: any) => any;
69
69
  /**
70
70
  * Create and render ConfirmSelection component for use as a
71
71
  * @param options
72
72
  */
73
- getConfirmSelectionTemplate(options?: ObjectHash): Function;
73
+ getConfirmSelectionTemplate(options?: ObjectHash): (...args: any) => any;
74
74
  clearInputOnBlur(channelName: string): void;
75
75
  };
@@ -58,11 +58,11 @@ export declare class SearchBarView extends Core.View {
58
58
  private updateInitialQuery;
59
59
  private logSearch;
60
60
  /**
61
- * When the user clicks away from the typeahead, the close event will be fired, unbinding the delete
62
- * event for recent search. Re-selecting the typehead will open it BUT it won't re-fetch the results and
63
- * render event won't be fired. We need to manually re-bind the click handlers to ensure the delete
64
- * functionality is retained.
65
- */
61
+ * When the user clicks away from the typeahead, the close event will be fired, unbinding the delete
62
+ * event for recent search. Re-selecting the typehead will open it BUT it won't re-fetch the results and
63
+ * render event won't be fired. We need to manually re-bind the click handlers to ensure the delete
64
+ * functionality is retained.
65
+ */
66
66
  private onTypeaheadOpen;
67
67
  private onBeforeTypeaheadClose;
68
68
  private onTypeaheadClose;
@@ -8,7 +8,7 @@ import { DialogOptions } from "../../../../interfaces";
8
8
  * https://www.iana.org/assignments/media-types/media-types.xhtml
9
9
  */
10
10
  export declare class FileTypeError extends DialogError {
11
- constructor(message: string, files: File[], acceptedFiles: string);
11
+ constructor(message: string);
12
12
  get name(): string;
13
13
  get lang(): string;
14
14
  get dialogOptions(): DialogOptions;
@@ -2,5 +2,6 @@ declare const BootstrapKeys: {
2
2
  LOCALE: string;
3
3
  PHRASES: string;
4
4
  VERSION: string;
5
+ TOKEN: string;
5
6
  };
6
7
  export { BootstrapKeys };
@@ -0,0 +1,5 @@
1
+ export declare enum ObjectStatus {
2
+ Disabled = 0,
3
+ Active = 1,
4
+ Inactive = 2
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum PlayerMediaType {
2
+ MasterInteractive = "MasterInteractive",
3
+ MasterVideo = "MasterVideo"
4
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum UserGroup {
2
+ Unknown = 0,
3
+ Staff = 1,
4
+ Learner = 2
5
+ }
@@ -5,5 +5,6 @@ export declare enum WidgetContents {
5
5
  Playlists = "playlists",
6
6
  UserChannels = "user channels",
7
7
  Interactives = "interactives",
8
- Clips = "clips"
8
+ Clips = "clips",
9
+ Resources = "resources"
9
10
  }
@@ -81,5 +81,7 @@ export declare enum localSvgs {
81
81
  Tag = "tag",
82
82
  Email = "email",
83
83
  YearLevel = "year-level",
84
- Subjects = "subjects"
84
+ Subjects = "subjects",
85
+ Download = "download",
86
+ Print = "print"
85
87
  }
@@ -19,4 +19,6 @@ import VisibleOn from './visible-on.svg';
19
19
  import NoEdit from './no-edit.svg';
20
20
  import EditClickView from './edit-clickview.svg';
21
21
  import Share2 from './share2.svg';
22
- export { AddToPlaylist, Close, Delete, Edit, Expand, Minus, More, NewWindow, Plus, Preview, Search, Share, Upload, Down, Right, UpDown, VisibleOff, VisibleOn, NoEdit, EditClickView, Share2 };
22
+ import Download from './download.svg';
23
+ import Print from './print.svg';
24
+ export { AddToPlaylist, Close, Delete, Edit, Expand, Minus, More, NewWindow, Plus, Preview, Search, Share, Upload, Down, Right, UpDown, VisibleOff, VisibleOn, NoEdit, EditClickView, Share2, Download, Print };
@@ -0,0 +1,3 @@
1
+ import { BasePaginatedCollection, Subtitle } from "./..";
2
+ export interface SubtitleCollection extends BasePaginatedCollection<Subtitle> {
3
+ }
@@ -19,3 +19,4 @@ export * from './LinkCollection';
19
19
  export * from './ClipCollection';
20
20
  export * from './FolderCollection';
21
21
  export * from './CustomerCollection';
22
+ export * from './SubtitleCollection';
@@ -5,7 +5,9 @@ export interface Config extends BaseObject {
5
5
  imageCdnUrl: string;
6
6
  countryCode: CountryCode;
7
7
  webPlayerUrl: string;
8
+ gatewayApiUrl: string;
8
9
  notificationServiceUrl?: string;
9
10
  collectionApiUrls?: RegionalUrl;
10
11
  collectionApiClientId?: string;
12
+ playerApiUrl?: string;
11
13
  }
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Interface for a file uploaded
3
+ * to FileApi
4
+ */
5
+ export interface FileUpload {
6
+ id: string;
7
+ file: {
8
+ cvUpload: {
9
+ uploadId: string;
10
+ ingestUrl: string;
11
+ };
12
+ };
13
+ fileInfo: {
14
+ id: string;
15
+ name: string;
16
+ extension: string;
17
+ size: number;
18
+ url: string;
19
+ };
20
+ }
@@ -1,7 +1,9 @@
1
1
  import { BaseObject } from "./..";
2
2
  import { GlanceFormat } from "../../enums/GlanceFormat";
3
+ import { ThemeType } from "../../enums/ThemeType";
3
4
  export interface Glance extends BaseObject {
4
5
  theme: string;
5
6
  format: GlanceFormat;
6
7
  content: string;
8
+ type: ThemeType;
7
9
  }
@@ -0,0 +1,4 @@
1
+ export interface Language {
2
+ code: string;
3
+ name: string;
4
+ }
@@ -1,3 +1,4 @@
1
1
  import { BaseObject } from "./..";
2
2
  export interface Link extends BaseObject {
3
+ url: string;
3
4
  }
@@ -0,0 +1,4 @@
1
+ import { BaseObject } from './primitives';
2
+ export interface Pdf extends BaseObject {
3
+ url: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ export interface PlayerViewKey {
2
+ viewKey: string;
3
+ }
@@ -1,9 +1,17 @@
1
1
  import { BaseObject } from './primitives';
2
- interface ResourceMatadata {
3
- type: string;
2
+ import { Thumbnail } from './Thumbnail';
3
+ import { FileType } from "../../utils/VideoDetailsHelper";
4
+ import { Pdf } from './Pdf';
5
+ export declare type ResourceType = 'teacher-pack' | 'student-activity' | 'additional-materials' | 'atom-guide';
6
+ interface ResourceMetadata {
7
+ type: FileType;
8
+ resourceType?: ResourceType;
4
9
  }
5
10
  export interface Resource extends BaseObject {
6
11
  url: string;
7
- metadata: ResourceMatadata;
12
+ metadata: ResourceMetadata;
13
+ fileId: string;
14
+ thumbnail: Thumbnail;
15
+ pdf?: Pdf;
8
16
  }
9
17
  export {};
@@ -0,0 +1,7 @@
1
+ import { BaseObject } from './primitives';
2
+ export interface Subtitle extends BaseObject {
3
+ language: string;
4
+ metadata: {
5
+ autoGenerated?: boolean;
6
+ };
7
+ }
@@ -1,3 +1,6 @@
1
1
  import { Image } from "./..";
2
2
  export interface Thumbnail extends Image {
3
+ metadata?: {
4
+ rotation?: number;
5
+ };
3
6
  }
@@ -2,7 +2,10 @@ import { BaseObject, Group, Avatar } from "./..";
2
2
  import { UserRole } from "../../enums/UserRole";
3
3
  import { CustomerType } from "../../enums/CustomerType";
4
4
  import { OnlineUserRole } from "../../enums/UserRole";
5
+ import { UserGroup } from "../../enums/UserGroup";
6
+ import { ObjectStatus } from "../../enums/ObjectStatus";
5
7
  import { CustomerCollection } from '../collections';
8
+ export declare type YearGroup = 'Kindergarten' | 'Year 1' | 'Year 2' | 'Year 3' | 'Year 4' | 'Year 5' | 'Year 6' | 'Year 7' | 'Year 8' | 'Year 9' | 'Year 10' | 'Year 11' | 'Year 12' | 'Year 13' | 'Staff';
6
9
  /**
7
10
  * Master User
8
11
  */
@@ -13,10 +16,14 @@ export interface User extends BaseObject {
13
16
  bio: string;
14
17
  email: string;
15
18
  username: string;
16
- status: string;
19
+ status: ObjectStatus;
17
20
  role: UserRole;
18
21
  customers: CustomerCollection;
22
+ yearGroup: YearGroup;
23
+ userType: UserGroup;
19
24
  avatar?: Avatar;
25
+ isPrimaryContact: boolean;
26
+ roleId: OnlineUserRole;
20
27
  }
21
28
  export interface CuratorUser extends User {
22
29
  userId: string;