@rescript/webapi 0.1.0-pre-alpha-6b44ead → 0.1.0-pre-alpha-fd40382

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 (313) hide show
  1. package/package.json +1 -1
  2. package/src/CSSFontLoadingAPI/FontFace.res +1 -1
  3. package/src/CSSFontLoadingAPI/FontFaceSet.res +1 -1
  4. package/src/{CSSFontLoadingAPI.res → CSSFontLoadingTypes.res} +1 -1
  5. package/src/CanvasAPI/CanvasGradient.res +1 -1
  6. package/src/CanvasAPI/CanvasPattern.res +2 -2
  7. package/src/CanvasAPI/FillStyle.res +1 -1
  8. package/src/CanvasAPI/ImageBitmap.res +1 -1
  9. package/src/CanvasAPI/ImageBitmapRenderingContext.res +1 -1
  10. package/src/CanvasAPI/OffscreenCanvas.res +2 -2
  11. package/src/CanvasAPI/Path2D.res +2 -2
  12. package/src/{CanvasAPI.res → CanvasTypes.res} +1 -1
  13. package/src/ChannelMessagingAPI/MessagePort.res +1 -1
  14. package/src/{ChannelMessagingAPI.res → ChannelMessagingTypes.res} +1 -1
  15. package/src/ClipboardAPI/Clipboard.res +1 -1
  16. package/src/ClipboardAPI/ClipboardItem.res +2 -2
  17. package/src/{ClipboardAPI.res → ClipboardTypes.res} +1 -1
  18. package/src/CredentialManagementAPI/CredentialsContainer.res +1 -1
  19. package/src/{CredentialManagementAPI.res → CredentialManagementTypes.res} +1 -1
  20. package/src/DOMAPI/Animation.res +1 -1
  21. package/src/DOMAPI/AnimationEffect.res +1 -1
  22. package/src/DOMAPI/CSSRuleList.res +1 -1
  23. package/src/DOMAPI/CSSStyleDeclaration.res +1 -1
  24. package/src/DOMAPI/CSSStyleSheet.res +1 -1
  25. package/src/DOMAPI/CSSStyleValue.res +1 -1
  26. package/src/DOMAPI/CanvasRenderingContext2D.res +2 -2
  27. package/src/DOMAPI/CaretPosition.res +1 -1
  28. package/src/DOMAPI/CharacterData.res +1 -1
  29. package/src/DOMAPI/Comment.res +1 -1
  30. package/src/DOMAPI/CustomElementRegistry.res +1 -1
  31. package/src/DOMAPI/DOMImplementation.res +1 -1
  32. package/src/DOMAPI/DOMMatrix.res +1 -1
  33. package/src/DOMAPI/DOMMatrixReadOnly.res +1 -1
  34. package/src/DOMAPI/DOMPoint.res +1 -1
  35. package/src/DOMAPI/DOMPointReadOnly.res +1 -1
  36. package/src/DOMAPI/DOMRect.res +1 -1
  37. package/src/DOMAPI/DOMRectList.res +1 -1
  38. package/src/DOMAPI/DOMRectReadOnly.res +1 -1
  39. package/src/DOMAPI/DOMTokenList.res +1 -1
  40. package/src/DOMAPI/Document.res +3 -3
  41. package/src/DOMAPI/DocumentFragment.res +1 -1
  42. package/src/DOMAPI/DocumentTimeline.res +1 -1
  43. package/src/DOMAPI/Element.res +2 -2
  44. package/src/DOMAPI/ElementInternals.res +1 -1
  45. package/src/DOMAPI/FileList.res +2 -2
  46. package/src/DOMAPI/HTMLAnchorElement.res +1 -1
  47. package/src/DOMAPI/HTMLAreaElement.res +1 -1
  48. package/src/DOMAPI/HTMLAudioElement.res +1 -1
  49. package/src/DOMAPI/HTMLBRElement.res +1 -1
  50. package/src/DOMAPI/HTMLBaseElement.res +1 -1
  51. package/src/DOMAPI/HTMLBodyElement.res +1 -1
  52. package/src/DOMAPI/HTMLButtonElement.res +1 -1
  53. package/src/DOMAPI/HTMLCanvasElement.res +3 -3
  54. package/src/DOMAPI/HTMLCollection.res +1 -1
  55. package/src/DOMAPI/HTMLDListElement.res +1 -1
  56. package/src/DOMAPI/HTMLDataElement.res +1 -1
  57. package/src/DOMAPI/HTMLDataListElement.res +1 -1
  58. package/src/DOMAPI/HTMLDialogElement.res +1 -1
  59. package/src/DOMAPI/HTMLDivElement.res +1 -1
  60. package/src/DOMAPI/HTMLElement.res +1 -1
  61. package/src/DOMAPI/HTMLEmbedElement.res +1 -1
  62. package/src/DOMAPI/HTMLFieldSetElement.res +1 -1
  63. package/src/DOMAPI/HTMLFormControlsCollection.res +1 -1
  64. package/src/DOMAPI/HTMLFormElement.res +1 -1
  65. package/src/DOMAPI/HTMLFrameSetElement.res +1 -1
  66. package/src/DOMAPI/HTMLHRElement.res +1 -1
  67. package/src/DOMAPI/HTMLHeadElement.res +1 -1
  68. package/src/DOMAPI/HTMLHeadingElement.res +1 -1
  69. package/src/DOMAPI/HTMLHtmlElement.res +1 -1
  70. package/src/DOMAPI/HTMLIFrameElement.res +1 -1
  71. package/src/DOMAPI/HTMLImageElement.res +1 -1
  72. package/src/DOMAPI/HTMLInputElement.res +1 -1
  73. package/src/DOMAPI/HTMLLIElement.res +1 -1
  74. package/src/DOMAPI/HTMLLabelElement.res +1 -1
  75. package/src/DOMAPI/HTMLLegendElement.res +1 -1
  76. package/src/DOMAPI/HTMLLinkElement.res +1 -1
  77. package/src/DOMAPI/HTMLMapElement.res +1 -1
  78. package/src/DOMAPI/HTMLMediaElement.res +3 -3
  79. package/src/DOMAPI/HTMLMenuElement.res +1 -1
  80. package/src/DOMAPI/HTMLMetaElement.res +1 -1
  81. package/src/DOMAPI/HTMLMeterElement.res +1 -1
  82. package/src/DOMAPI/HTMLModElement.res +1 -1
  83. package/src/DOMAPI/HTMLOListElement.res +1 -1
  84. package/src/DOMAPI/HTMLObjectElement.res +1 -1
  85. package/src/DOMAPI/HTMLOptGroupElement.res +1 -1
  86. package/src/DOMAPI/HTMLOptionElement.res +1 -1
  87. package/src/DOMAPI/HTMLOptionsCollection.res +1 -1
  88. package/src/DOMAPI/HTMLOutputElement.res +1 -1
  89. package/src/DOMAPI/HTMLParagraphElement.res +1 -1
  90. package/src/DOMAPI/HTMLPictureElement.res +1 -1
  91. package/src/DOMAPI/HTMLPreElement.res +1 -1
  92. package/src/DOMAPI/HTMLProgressElement.res +1 -1
  93. package/src/DOMAPI/HTMLQuoteElement.res +1 -1
  94. package/src/DOMAPI/HTMLScriptElement.res +1 -1
  95. package/src/DOMAPI/HTMLSelectElement.res +1 -1
  96. package/src/DOMAPI/HTMLSlotElement.res +1 -1
  97. package/src/DOMAPI/HTMLSourceElement.res +1 -1
  98. package/src/DOMAPI/HTMLSpanElement.res +1 -1
  99. package/src/DOMAPI/HTMLStyleElement.res +1 -1
  100. package/src/DOMAPI/HTMLTableCaptionElement.res +1 -1
  101. package/src/DOMAPI/HTMLTableCellElement.res +1 -1
  102. package/src/DOMAPI/HTMLTableElement.res +1 -1
  103. package/src/DOMAPI/HTMLTableRowElement.res +1 -1
  104. package/src/DOMAPI/HTMLTableSectionElement.res +1 -1
  105. package/src/DOMAPI/HTMLTemplateElement.res +1 -1
  106. package/src/DOMAPI/HTMLTextAreaElement.res +1 -1
  107. package/src/DOMAPI/HTMLTimeElement.res +1 -1
  108. package/src/DOMAPI/HTMLTitleElement.res +1 -1
  109. package/src/DOMAPI/HTMLTrackElement.res +1 -1
  110. package/src/DOMAPI/HTMLUListElement.res +1 -1
  111. package/src/DOMAPI/HTMLVideoElement.res +2 -2
  112. package/src/DOMAPI/IdleDeadline.res +1 -1
  113. package/src/DOMAPI/ImageData.res +1 -1
  114. package/src/DOMAPI/Location.res +1 -1
  115. package/src/DOMAPI/MediaList.res +1 -1
  116. package/src/DOMAPI/MediaQueryList.res +1 -1
  117. package/src/DOMAPI/NamedNodeMap.res +1 -1
  118. package/src/DOMAPI/Navigator.res +11 -7
  119. package/src/DOMAPI/Node.res +1 -1
  120. package/src/DOMAPI/NodeFilter.res +1 -1
  121. package/src/DOMAPI/NodeIterator.res +1 -1
  122. package/src/DOMAPI/NodeList.res +1 -1
  123. package/src/DOMAPI/Range.res +1 -1
  124. package/src/DOMAPI/SVGGraphicsElement.res +1 -1
  125. package/src/DOMAPI/SVGLength.res +1 -1
  126. package/src/DOMAPI/ScreenOrientation.res +1 -1
  127. package/src/DOMAPI/Selection.res +1 -1
  128. package/src/DOMAPI/ShadowRoot.res +1 -1
  129. package/src/DOMAPI/StylePropertyMap.res +1 -1
  130. package/src/DOMAPI/StylePropertyMapReadOnly.res +1 -1
  131. package/src/DOMAPI/StyleSheetList.res +1 -1
  132. package/src/DOMAPI/Text.res +1 -1
  133. package/src/DOMAPI/TextTrackList.res +2 -2
  134. package/src/DOMAPI/TimeRanges.res +1 -1
  135. package/src/DOMAPI/TreeWalker.res +1 -1
  136. package/src/DOMAPI/VideoColorSpace.res +1 -1
  137. package/src/DOMAPI/VideoFrame.res +2 -2
  138. package/src/DOMAPI/Window.res +9 -5
  139. package/src/DOMAPI/XPathExpression.res +1 -1
  140. package/src/DOMAPI/XPathResult.res +1 -1
  141. package/src/{DOMAPI.res → DOMTypes.res} +27 -27
  142. package/src/EncryptedMediaExtensionsAPI/MediaKeySession.res +1 -1
  143. package/src/EncryptedMediaExtensionsAPI/MediaKeyStatusMap.res +1 -1
  144. package/src/EncryptedMediaExtensionsAPI/MediaKeySystemAccess.res +1 -1
  145. package/src/EncryptedMediaExtensionsAPI/MediaKeys.res +1 -1
  146. package/src/{EncryptedMediaExtensionsAPI.res → EncryptedMediaExtensionsTypes.res} +1 -1
  147. package/src/EventAPI/AbortController.res +1 -1
  148. package/src/EventAPI/AbortSignal.res +1 -1
  149. package/src/EventAPI/Event.res +1 -1
  150. package/src/EventAPI/EventTarget.res +1 -1
  151. package/src/EventAPI/ExtendableEvent.res +1 -1
  152. package/src/FetchAPI/BodyInit.res +3 -3
  153. package/src/FetchAPI/FormData.res +3 -3
  154. package/src/FetchAPI/FormDataEntryValue.res +2 -2
  155. package/src/FetchAPI/Headers.res +1 -1
  156. package/src/FetchAPI/HeadersInit.res +1 -1
  157. package/src/FetchAPI/Request.res +2 -2
  158. package/src/FetchAPI/Response.res +3 -3
  159. package/src/{FetchAPI.res → FetchTypes.res} +2 -2
  160. package/src/FileAPI/Blob.res +1 -1
  161. package/src/FileAPI/File.res +1 -1
  162. package/src/FileAPI/FileSystemDirectoryHandle.res +1 -1
  163. package/src/FileAPI/FileSystemFileHandle.res +1 -1
  164. package/src/FileAPI/FileSystemHandle.res +1 -1
  165. package/src/FileAPI/FileSystemWritableFileStream.res +1 -1
  166. package/src/FileAPI/ReadableStream.res +1 -1
  167. package/src/FileAPI/WritableStream.res +1 -1
  168. package/src/FileAPI/WritableStreamDefaultController.res +1 -1
  169. package/src/FileAndDirectoryEntriesAPI/FileSystemDirectoryEntry.res +1 -1
  170. package/src/FileAndDirectoryEntriesAPI/FileSystemDirectoryReader.res +1 -1
  171. package/src/FileAndDirectoryEntriesAPI/FileSystemEntry.res +1 -1
  172. package/src/{FileAPI.res → FileTypes.res} +1 -1
  173. package/src/GamepadAPI/GamepadHapticActuator.res +1 -1
  174. package/src/GeolocationAPI/Geolocation.res +1 -1
  175. package/src/GeolocationAPI/GeolocationCoordinates.res +1 -1
  176. package/src/GeolocationAPI/GeolocationPosition.res +1 -1
  177. package/src/Global.res +14 -14
  178. package/src/HistoryAPI/History.res +1 -1
  179. package/src/IndexedDBAPI/IDBDatabase.res +1 -1
  180. package/src/IndexedDBAPI/IDBFactory.res +1 -1
  181. package/src/IndexedDBAPI/IDBIndex.res +1 -1
  182. package/src/IndexedDBAPI/IDBObjectStore.res +1 -1
  183. package/src/IndexedDBAPI/IDBTransaction.res +1 -1
  184. package/src/{IndexedDBAPI.res → IndexedDBTypes.res} +1 -1
  185. package/src/IntersectionObserverAPI/IntersectionObserver.res +2 -2
  186. package/src/IntersectionObserverAPI/IntersectionObserverRoot.res +2 -2
  187. package/src/{IntersectionObserverAPI.res → IntersectionObserverTypes.res} +1 -1
  188. package/src/MediaCapabilitiesAPI/MediaCapabilities.res +1 -1
  189. package/src/MediaCaptureAndStreamsAPI/MediaDeviceInfo.res +1 -1
  190. package/src/MediaCaptureAndStreamsAPI/MediaDevices.res +1 -1
  191. package/src/MediaCaptureAndStreamsAPI/MediaStream.res +1 -1
  192. package/src/MediaCaptureAndStreamsAPI/MediaStreamTrack.res +1 -1
  193. package/src/{MediaCaptureAndStreamsAPI.res → MediaCaptureAndStreamsTypes.res} +1 -1
  194. package/src/MediaSessionAPI/MediaMetadata.res +1 -1
  195. package/src/MediaSessionAPI/MediaSession.res +1 -1
  196. package/src/MutationObserverAPI/MutationObserver.res +2 -2
  197. package/src/{MutationObserverAPI.res → MutationObserverTypes.res} +1 -1
  198. package/src/NotificationAPI/Notification.res +1 -1
  199. package/src/{NotificationAPI.res → NotificationTypes.res} +1 -1
  200. package/src/PerformanceAPI/Performance.res +1 -1
  201. package/src/PerformanceAPI/PerformanceEntry.res +1 -1
  202. package/src/PerformanceAPI/PerformanceMark.res +1 -1
  203. package/src/{PerformanceAPI.res → PerformanceTypes.res} +1 -1
  204. package/src/PermissionsAPI/Permissions.res +1 -1
  205. package/src/{PermissionsAPI.res → PermissionsTypes.res} +1 -1
  206. package/src/{PictureInPictureAPI.res → PictureInPictureTypes.res} +1 -1
  207. package/src/PushAPI/ApplicationServerKey.res +1 -1
  208. package/src/PushAPI/PushEvent.res +1 -1
  209. package/src/PushAPI/PushManager.res +1 -1
  210. package/src/PushAPI/PushMessageData.res +1 -1
  211. package/src/PushAPI/PushSubscription.res +1 -1
  212. package/src/{PushAPI.res → PushTypes.res} +1 -1
  213. package/src/RemotePlaybackAPI/RemotePlayback.res +1 -1
  214. package/src/{RemotePlaybackAPI.res → RemotePlaybackTypes.res} +1 -1
  215. package/src/ResizeObserverAPI/ResizeObserver.res +2 -2
  216. package/src/{ResizeObserverAPI.res → ResizeObserverTypes.res} +1 -1
  217. package/src/ScreenWakeLockAPI/WakeLock.res +1 -1
  218. package/src/ScreenWakeLockAPI/WakeLockSentinel.res +1 -1
  219. package/src/{ScreenWakeLockAPI.res → ScreenWakeLockTypes.res} +1 -1
  220. package/src/ServiceWorkerAPI/Cache.res +2 -2
  221. package/src/ServiceWorkerAPI/Clients.res +1 -1
  222. package/src/ServiceWorkerAPI/NavigationPreloadManager.res +1 -1
  223. package/src/ServiceWorkerAPI/ServiceWorker.res +2 -2
  224. package/src/ServiceWorkerAPI/ServiceWorkerContainer.res +1 -1
  225. package/src/ServiceWorkerAPI/ServiceWorkerGlobalScope.res +1 -1
  226. package/src/ServiceWorkerAPI/ServiceWorkerRegistration.res +2 -2
  227. package/src/{ServiceWorkerAPI.res → ServiceWorkerTypes.res} +3 -3
  228. package/src/StorageAPI/StorageManager.res +2 -2
  229. package/src/UIEventsAPI/CompositionEvent.res +1 -1
  230. package/src/UIEventsAPI/DataTransfer.res +2 -2
  231. package/src/UIEventsAPI/DataTransferItem.res +3 -3
  232. package/src/UIEventsAPI/DataTransferItemList.res +2 -2
  233. package/src/UIEventsAPI/FocusEvent.res +1 -1
  234. package/src/UIEventsAPI/InputEvent.res +2 -2
  235. package/src/UIEventsAPI/KeyboardEvent.res +1 -1
  236. package/src/UIEventsAPI/MouseEvent.res +1 -1
  237. package/src/UIEventsAPI/PointerEvent.res +1 -1
  238. package/src/UIEventsAPI/Touch.res +1 -1
  239. package/src/UIEventsAPI/TouchEvent.res +1 -1
  240. package/src/UIEventsAPI/TouchList.res +1 -1
  241. package/src/UIEventsAPI/UIEvent.res +1 -1
  242. package/src/UIEventsAPI/WheelEvent.res +1 -1
  243. package/src/{UIEventsAPI.res → UIEventsTypes.res} +2 -2
  244. package/src/URLAPI/URL.res +1 -1
  245. package/src/URLAPI/URLSearchParams.res +1 -1
  246. package/src/ViewTransitionsAPI/ViewTransition.res +1 -1
  247. package/src/{VisualViewportAPI.res → VisualViewportTypes.res} +1 -1
  248. package/src/WebAudioAPI/AnalyserNode.res +1 -1
  249. package/src/WebAudioAPI/AudioBuffer.res +1 -1
  250. package/src/WebAudioAPI/AudioBufferSourceNode.res +1 -1
  251. package/src/WebAudioAPI/AudioContext.res +3 -3
  252. package/src/WebAudioAPI/AudioDestinationNode.res +1 -1
  253. package/src/WebAudioAPI/AudioNode.res +1 -1
  254. package/src/WebAudioAPI/AudioParam.res +1 -1
  255. package/src/WebAudioAPI/AudioProcessingEvent.res +1 -1
  256. package/src/WebAudioAPI/AudioScheduledSourceNode.res +1 -1
  257. package/src/WebAudioAPI/AudioWorkletNode.res +1 -1
  258. package/src/WebAudioAPI/BaseAudioContext.res +1 -1
  259. package/src/WebAudioAPI/BiquadFilterNode.res +1 -1
  260. package/src/WebAudioAPI/ChannelMergerNode.res +1 -1
  261. package/src/WebAudioAPI/ChannelSplitterNode.res +1 -1
  262. package/src/WebAudioAPI/ConstantSourceNode.res +1 -1
  263. package/src/WebAudioAPI/ConvolverNode.res +1 -1
  264. package/src/WebAudioAPI/DelayNode.res +1 -1
  265. package/src/WebAudioAPI/DynamicsCompressorNode.res +1 -1
  266. package/src/WebAudioAPI/GainNode.res +1 -1
  267. package/src/WebAudioAPI/IIRFilterNode.res +1 -1
  268. package/src/WebAudioAPI/MediaElementAudioSourceNode.res +1 -1
  269. package/src/WebAudioAPI/MediaStreamAudioDestinationNode.res +1 -1
  270. package/src/WebAudioAPI/MediaStreamAudioSourceNode.res +1 -1
  271. package/src/WebAudioAPI/OfflineAudioCompletionEvent.res +1 -1
  272. package/src/WebAudioAPI/OfflineAudioContext.res +1 -1
  273. package/src/WebAudioAPI/OscillatorNode.res +1 -1
  274. package/src/WebAudioAPI/PannerNode.res +1 -1
  275. package/src/WebAudioAPI/PeriodicWave.res +1 -1
  276. package/src/WebAudioAPI/StereoPannerNode.res +1 -1
  277. package/src/WebAudioAPI/WaveShaperNode.res +1 -1
  278. package/src/WebAudioAPI/Worklet.res +1 -1
  279. package/src/{WebAudioAPI.res → WebAudioTypes.res} +4 -4
  280. package/src/WebCryptoAPI/Crypto.res +1 -1
  281. package/src/WebCryptoAPI/SubtleCrypto.res +1 -1
  282. package/src/WebLocksAPI/LockManager.res +1 -1
  283. package/src/{WebLocksAPI.res → WebLocksTypes.res} +1 -1
  284. package/src/{WebMIDIAPI.res → WebMIDITypes.res} +1 -1
  285. package/src/WebSocketsAPI/CloseEvent.res +1 -1
  286. package/src/WebSocketsAPI/MessageEvent.res +2 -2
  287. package/src/WebSocketsAPI/WebSocket.res +2 -2
  288. package/src/{WebSocketsAPI.res → WebSocketsTypes.res} +2 -2
  289. package/src/WebSpeechAPI/SpeechSynthesis.res +1 -1
  290. package/src/WebSpeechAPI/SpeechSynthesisUtterance.res +1 -1
  291. package/src/{WebSpeechAPI.res → WebSpeechTypes.res} +1 -1
  292. package/src/WebStorageAPI/Storage.res +1 -1
  293. package/src/WebStorageAPI/StorageEvent.res +1 -1
  294. package/src/{WebStorageAPI.res → WebStorageTypes.res} +1 -1
  295. package/src/WebVTTAPI/TextTrack.res +1 -1
  296. package/src/WebVTTAPI/TextTrackCueList.res +1 -1
  297. package/src/{WebVTTAPI.res → WebVTTTypes.res} +1 -1
  298. package/src/WebWorkersAPI/CacheStorage.res +2 -2
  299. package/src/WebWorkersAPI/SharedWorker.res +3 -3
  300. package/src/WebWorkersAPI/SharedWorkerGlobalScope.res +1 -1
  301. package/src/WebWorkersAPI/WorkerGlobalScope.res +2 -2
  302. package/src/{WebWorkersAPI.res → WebWorkersTypes.res} +2 -2
  303. /package/src/{EventAPI.res → EventTypes.res} +0 -0
  304. /package/src/{FileAndDirectoryEntriesAPI.res → FileAndDirectoryEntriesTypes.res} +0 -0
  305. /package/src/{GamepadAPI.res → GamepadTypes.res} +0 -0
  306. /package/src/{GeolocationAPI.res → GeolocationTypes.res} +0 -0
  307. /package/src/{HistoryAPI.res → HistoryTypes.res} +0 -0
  308. /package/src/{MediaCapabilitiesAPI.res → MediaCapabilitiesTypes.res} +0 -0
  309. /package/src/{MediaSessionAPI.res → MediaSessionTypes.res} +0 -0
  310. /package/src/{StorageAPI.res → StorageTypes.res} +0 -0
  311. /package/src/{URLAPI.res → URLTypes.res} +0 -0
  312. /package/src/{ViewTransitionsAPI.res → ViewTransitionsTypes.res} +0 -0
  313. /package/src/{WebCryptoAPI.res → WebCryptoTypes.res} +0 -0
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Blob)
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  include Blob.Impl({type t = file})
4
4
 
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  external asFileSystemHandle: fileSystemDirectoryHandle => fileSystemHandle = "%identity"
4
4
  /**
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  external asFileSystemHandle: fileSystemFileHandle => fileSystemHandle = "%identity"
4
4
  /**
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemHandle/isSameEntry)
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  external asWritableStream: fileSystemWritableFileStream => writableStream<'w> = "%identity"
4
4
  /**
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ReadableStream)
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WritableStream)
@@ -1,4 +1,4 @@
1
- open FileAPI
1
+ open FileTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WritableStreamDefaultController/error)
@@ -1,4 +1,4 @@
1
- open FileAndDirectoryEntriesAPI
1
+ open FileAndDirectoryEntriesTypes
2
2
 
3
3
  external asFileSystemEntry: fileSystemDirectoryEntry => fileSystemEntry = "%identity"
4
4
  /**
@@ -1,4 +1,4 @@
1
- open FileAndDirectoryEntriesAPI
1
+ open FileAndDirectoryEntriesTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryReader/readEntries)
@@ -1,4 +1,4 @@
1
- open FileAndDirectoryEntriesAPI
1
+ open FileAndDirectoryEntriesTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FileSystemEntry/getParent)
@@ -1,7 +1,7 @@
1
1
  @@warning("-30")
2
2
 
3
3
  open Prelude
4
- open EventAPI
4
+ open EventTypes
5
5
 
6
6
  type endingType =
7
7
  | @as("native") Native
@@ -1,4 +1,4 @@
1
- open GamepadAPI
1
+ open GamepadTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/GamepadHapticActuator/playEffect)
@@ -1,4 +1,4 @@
1
- open GeolocationAPI
1
+ open GeolocationTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Geolocation/getCurrentPosition)
@@ -1,4 +1,4 @@
1
- open GeolocationAPI
1
+ open GeolocationTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/GeolocationCoordinates/toJSON)
@@ -1,4 +1,4 @@
1
- open GeolocationAPI
1
+ open GeolocationTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/GeolocationPosition/toJSON)
package/src/Global.res CHANGED
@@ -1,17 +1,17 @@
1
- open DOMAPI
2
- open HistoryAPI
3
- open VisualViewportAPI
4
- open WebSpeechAPI
5
- open IndexedDBAPI
6
- open WebCryptoAPI
7
- open PerformanceAPI
8
- open WebWorkersAPI
9
- open WebStorageAPI
10
- open CanvasAPI
11
- open FileAPI
12
- open ChannelMessagingAPI
13
- open FetchAPI
14
- open EventAPI
1
+ open DOMTypes
2
+ open HistoryTypes
3
+ open VisualViewportTypes
4
+ open WebSpeechTypes
5
+ open IndexedDBTypes
6
+ open WebCryptoTypes
7
+ open PerformanceTypes
8
+ open WebWorkersTypes
9
+ open WebStorageTypes
10
+ open CanvasTypes
11
+ open FileTypes
12
+ open ChannelMessagingTypes
13
+ open FetchTypes
14
+ open EventTypes
15
15
 
16
16
  /**
17
17
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Window/window)
@@ -1,4 +1,4 @@
1
- open HistoryAPI
1
+ open HistoryTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/History/go)
@@ -1,4 +1,4 @@
1
- open IndexedDBAPI
1
+ open IndexedDBTypes
2
2
 
3
3
  include EventTarget.Impl({type t = idbDatabase})
4
4
 
@@ -1,4 +1,4 @@
1
- open IndexedDBAPI
1
+ open IndexedDBTypes
2
2
 
3
3
  /**
4
4
  Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection.
@@ -1,4 +1,4 @@
1
- open IndexedDBAPI
1
+ open IndexedDBTypes
2
2
  open Prelude
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- open IndexedDBAPI
1
+ open IndexedDBTypes
2
2
  open Prelude
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- open IndexedDBAPI
1
+ open IndexedDBTypes
2
2
 
3
3
  include EventTarget.Impl({type t = idbTransaction})
4
4
 
@@ -1,7 +1,7 @@
1
1
  @@warning("-30")
2
2
 
3
3
  open Prelude
4
- open EventAPI
4
+ open EventTypes
5
5
 
6
6
  type idbTransactionMode =
7
7
  | @as("readonly") Readonly
@@ -1,5 +1,5 @@
1
- open DOMAPI
2
- open IntersectionObserverAPI
1
+ open DOMTypes
2
+ open IntersectionObserverTypes
3
3
 
4
4
  /**
5
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/IntersectionObserver)
@@ -1,5 +1,5 @@
1
- open DOMAPI
2
- open IntersectionObserverAPI
1
+ open DOMTypes
2
+ open IntersectionObserverTypes
3
3
 
4
4
  external fromDocument: document => root = "%identity"
5
5
  external fromElement: element => root = "%identity"
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open DOMAPI
3
+ open DOMTypes
4
4
 
5
5
  @editor.completeFrom(IntersectionObserverRoot)
6
6
  type root
@@ -1,4 +1,4 @@
1
- open MediaCapabilitiesAPI
1
+ open MediaCapabilitiesTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaCapabilities/decodingInfo)
@@ -1,4 +1,4 @@
1
- open MediaCaptureAndStreamsAPI
1
+ open MediaCaptureAndStreamsTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaDeviceInfo/toJSON)
@@ -1,4 +1,4 @@
1
- open MediaCaptureAndStreamsAPI
1
+ open MediaCaptureAndStreamsTypes
2
2
 
3
3
  include EventTarget.Impl({type t = mediaDevices})
4
4
 
@@ -1,4 +1,4 @@
1
- open MediaCaptureAndStreamsAPI
1
+ open MediaCaptureAndStreamsTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaStream)
@@ -1,4 +1,4 @@
1
- open MediaCaptureAndStreamsAPI
1
+ open MediaCaptureAndStreamsTypes
2
2
 
3
3
  include EventTarget.Impl({type t = mediaStreamTrack})
4
4
 
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open EventAPI
3
+ open EventTypes
4
4
 
5
5
  type mediaDeviceKind =
6
6
  | @as("audioinput") Audioinput
@@ -1,4 +1,4 @@
1
- open MediaSessionAPI
1
+ open MediaSessionTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaMetadata)
@@ -1,4 +1,4 @@
1
- open MediaSessionAPI
1
+ open MediaSessionTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MediaSession/setActionHandler)
@@ -1,5 +1,5 @@
1
- open DOMAPI
2
- open MutationObserverAPI
1
+ open DOMTypes
2
+ open MutationObserverTypes
3
3
 
4
4
  /**
5
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/MutationObserver)
@@ -1,4 +1,4 @@
1
- open DOMAPI
1
+ open DOMTypes
2
2
 
3
3
  /**
4
4
  [See MutationObserver on MDN](https://developer.mozilla.org/docs/Web/API/MutationObserver)
@@ -1,4 +1,4 @@
1
- open NotificationAPI
1
+ open NotificationTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Notification)
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open EventAPI
3
+ open EventTypes
4
4
 
5
5
  type notificationDirection =
6
6
  | @as("auto") Auto
@@ -1,4 +1,4 @@
1
- open PerformanceAPI
1
+ open PerformanceTypes
2
2
 
3
3
  include EventTarget.Impl({type t = performance})
4
4
 
@@ -1,4 +1,4 @@
1
- open PerformanceAPI
1
+ open PerformanceTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/PerformanceEntry/toJSON)
@@ -1,4 +1,4 @@
1
- open PerformanceAPI
1
+ open PerformanceTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/PerformanceMark)
@@ -1,7 +1,7 @@
1
1
  @@warning("-30")
2
2
 
3
3
  open Prelude
4
- open EventAPI
4
+ open EventTypes
5
5
 
6
6
  /**
7
7
  [See EventCounts on MDN](https://developer.mozilla.org/docs/Web/API/EventCounts)
@@ -1,4 +1,4 @@
1
- open PermissionsAPI
1
+ open PermissionsTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Permissions/query)
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open EventAPI
3
+ open EventTypes
4
4
 
5
5
  type permissionName =
6
6
  | @as("geolocation") Geolocation
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open EventAPI
3
+ open EventTypes
4
4
 
5
5
  /**
6
6
  [See PictureInPictureWindow on MDN](https://developer.mozilla.org/docs/Web/API/PictureInPictureWindow)
@@ -1,4 +1,4 @@
1
- open PushAPI
1
+ open PushTypes
2
2
 
3
3
  external fromString: string => applicationServerKey = "%identity"
4
4
  external fromUint8Array: Uint8Array.t => applicationServerKey = "%identity"
@@ -1,3 +1,3 @@
1
- open PushAPI
1
+ open PushTypes
2
2
 
3
3
  include ExtendableEvent.Impl({type t = pushEvent})
@@ -1,4 +1,4 @@
1
- open PushAPI
1
+ open PushTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/PushManager/subscribe)
@@ -1,4 +1,4 @@
1
- open PushAPI
1
+ open PushTypes
2
2
 
3
3
  /**
4
4
  The json() method of the PushMessageData interface extracts push message data by parsing it as a JSON string and returning the result.
@@ -1,4 +1,4 @@
1
- open PushAPI
1
+ open PushTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/PushSubscription/getKey)
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open EventAPI
3
+ open EventTypes
4
4
 
5
5
  type permissionState =
6
6
  | @as("denied") Denied
@@ -1,4 +1,4 @@
1
- open RemotePlaybackAPI
1
+ open RemotePlaybackTypes
2
2
 
3
3
  include EventTarget.Impl({type t = remotePlayback})
4
4
 
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open EventAPI
3
+ open EventTypes
4
4
 
5
5
  type remotePlaybackState =
6
6
  | @as("connected") Connected
@@ -1,5 +1,5 @@
1
- open DOMAPI
2
- open ResizeObserverAPI
1
+ open DOMTypes
2
+ open ResizeObserverTypes
3
3
 
4
4
  /**
5
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ResizeObserver)
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open DOMAPI
3
+ open DOMTypes
4
4
 
5
5
  type resizeObserverBoxOptions =
6
6
  | @as("border-box") BorderBox
@@ -1,4 +1,4 @@
1
- open ScreenWakeLockAPI
1
+ open ScreenWakeLockTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/WakeLock/request)
@@ -1,4 +1,4 @@
1
- open ScreenWakeLockAPI
1
+ open ScreenWakeLockTypes
2
2
 
3
3
  include EventTarget.Impl({type t = wakeLockSentinel})
4
4
 
@@ -1,6 +1,6 @@
1
1
  @@warning("-30")
2
2
 
3
- open EventAPI
3
+ open EventTypes
4
4
 
5
5
  type wakeLockType = | @as("screen") Screen
6
6
 
@@ -1,5 +1,5 @@
1
- open FetchAPI
2
- open WebWorkersAPI
1
+ open FetchTypes
2
+ open WebWorkersTypes
3
3
 
4
4
  /**
5
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Cache/match)
@@ -1,4 +1,4 @@
1
- open ServiceWorkerAPI
1
+ open ServiceWorkerTypes
2
2
 
3
3
  type clientQueryOptions = {
4
4
  mutable includeUncontrolled?: bool,
@@ -1,4 +1,4 @@
1
- open ServiceWorkerAPI
1
+ open ServiceWorkerTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/NavigationPreloadManager/enable)
@@ -1,5 +1,5 @@
1
- open ServiceWorkerAPI
2
- open ChannelMessagingAPI
1
+ open ServiceWorkerTypes
2
+ open ChannelMessagingTypes
3
3
 
4
4
  include EventTarget.Impl({type t = serviceWorker})
5
5
 
@@ -1,4 +1,4 @@
1
- open ServiceWorkerAPI
1
+ open ServiceWorkerTypes
2
2
 
3
3
  include EventTarget.Impl({type t = serviceWorkerContainer})
4
4
 
@@ -1,4 +1,4 @@
1
- open ServiceWorkerAPI
1
+ open ServiceWorkerTypes
2
2
 
3
3
  include WorkerGlobalScope.Impl({type t = serviceWorkerGlobalScope})
4
4
 
@@ -1,5 +1,5 @@
1
- open ServiceWorkerAPI
2
- open NotificationAPI
1
+ open ServiceWorkerTypes
2
+ open NotificationTypes
3
3
 
4
4
  include EventTarget.Impl({type t = serviceWorkerRegistration})
5
5
 
@@ -1,9 +1,9 @@
1
1
  @@warning("-30")
2
2
 
3
3
  open Prelude
4
- open EventAPI
5
- open PushAPI
6
- open WebWorkersAPI
4
+ open EventTypes
5
+ open PushTypes
6
+ open WebWorkersTypes
7
7
 
8
8
  type serviceWorkerState =
9
9
  | @as("activated") Activated
@@ -1,5 +1,5 @@
1
- open StorageAPI
2
- open FileAPI
1
+ open StorageTypes
2
+ open FileTypes
3
3
 
4
4
  /**
5
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/StorageManager/persisted)
@@ -1,4 +1,4 @@
1
- open UIEventsAPI
1
+ open UIEventsTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/CompositionEvent)
@@ -1,5 +1,5 @@
1
- open UIEventsAPI
2
- open DOMAPI
1
+ open UIEventsTypes
2
+ open DOMTypes
3
3
 
4
4
  /**
5
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/DataTransfer)
@@ -1,6 +1,6 @@
1
- open UIEventsAPI
2
- open FileAPI
3
- open FileAndDirectoryEntriesAPI
1
+ open UIEventsTypes
2
+ open FileTypes
3
+ open FileAndDirectoryEntriesTypes
4
4
 
5
5
  /**
6
6
  Invokes the callback with the string data as the argument, if the drag data item kind is text.
@@ -1,5 +1,5 @@
1
- open UIEventsAPI
2
- open FileAPI
1
+ open UIEventsTypes
2
+ open FileTypes
3
3
 
4
4
  /**
5
5
  Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also.
@@ -1,4 +1,4 @@
1
- open UIEventsAPI
1
+ open UIEventsTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/FocusEvent)
@@ -1,5 +1,5 @@
1
- open UIEventsAPI
2
- open DOMAPI
1
+ open UIEventsTypes
2
+ open DOMTypes
3
3
 
4
4
  /**
5
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/InputEvent)
@@ -1,4 +1,4 @@
1
- open UIEventsAPI
1
+ open UIEventsTypes
2
2
 
3
3
  /**
4
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/KeyboardEvent)