Skip to content

Commit 744fad2

Browse files
committed
refactor: consolidate Messaging folder feature
1 parent 3c13fd6 commit 744fad2

15 files changed

Lines changed: 13 additions & 33 deletions

rescript.json

Lines changed: 13 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"],
1111
"WebAPI.CSSFontLoading": ["WebAPI.Event", "CSSFontLoading"],
1212
"WebAPI.Device": ["WebAPI.Event", "Device"],
13+
"WebAPI.Messaging": ["WebAPI.Event", "WebAPI.File", "Messaging"],
1314
"WebAPI.Crypto": ["WebAPI.DOM", "Crypto"],
1415
"WebAPI.Performance": ["WebAPI.Event", "Performance"],
1516
"WebAPI.ViewTransitions": ["WebAPI.Event", "ViewTransitions"]
@@ -62,11 +63,20 @@
6263
]
6364
},
6465
{
65-
"dir": "src/ChannelMessaging",
66+
"dir": "src/messaging",
6667
"subdirs": true,
67-
"feature": "WebAPI.ChannelMessaging",
68+
"feature": "Messaging",
6869
"public": [
69-
"MessagePort"
70+
"ApplicationServerKey",
71+
"CloseEvent",
72+
"MessageEvent",
73+
"MessagePort",
74+
"Notification",
75+
"PushEvent",
76+
"PushManager",
77+
"PushMessageData",
78+
"PushSubscription",
79+
"WebSocket"
7080
]
7181
},
7282
{
@@ -351,14 +361,6 @@
351361
"MutationObserver"
352362
]
353363
},
354-
{
355-
"dir": "src/Notification",
356-
"subdirs": true,
357-
"feature": "WebAPI.Notification",
358-
"public": [
359-
"Notification"
360-
]
361-
},
362364
{
363365
"dir": "src/performance",
364366
"subdirs": true,
@@ -385,18 +387,6 @@
385387
"PictureInPicture"
386388
]
387389
},
388-
{
389-
"dir": "src/Push",
390-
"subdirs": true,
391-
"feature": "WebAPI.Push",
392-
"public": [
393-
"ApplicationServerKey",
394-
"PushEvent",
395-
"PushManager",
396-
"PushMessageData",
397-
"PushSubscription"
398-
]
399-
},
400390
{
401391
"dir": "src/RemotePlayback",
402392
"subdirs": true,
@@ -528,16 +518,6 @@
528518
"SubtleCrypto"
529519
]
530520
},
531-
{
532-
"dir": "src/WebSockets",
533-
"subdirs": true,
534-
"feature": "WebAPI.WebSockets",
535-
"public": [
536-
"CloseEvent",
537-
"MessageEvent",
538-
"WebSocket"
539-
]
540-
},
541521
{
542522
"dir": "src/WebSpeech",
543523
"subdirs": true,
File renamed without changes.

0 commit comments

Comments
 (0)