Skip to content

Commit 9ecae8d

Browse files
committed
refactor: establish Navigator folder feature
1 parent 32beeaf commit 9ecae8d

9 files changed

Lines changed: 14 additions & 20 deletions

rescript.json

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@
3434
],
3535
"WebAPI.Storage": ["WebAPI.Fetch", "Storage"],
3636
"WebAPI.Workers": ["WebAPI.Messaging", "WebAPI.Storage", "Workers"],
37+
"WebAPI.Navigator": [
38+
"WebAPI.DOMPlatform",
39+
"WebAPI.Device",
40+
"WebAPI.Media",
41+
"WebAPI.Storage",
42+
"WebAPI.Workers",
43+
"Navigator"
44+
],
3745
"WebAPI.File": ["WebAPI.Event", "File"],
3846
"WebAPI.URL": ["WebAPI.DOM", "URL"],
3947
"WebAPI.Fetch": ["WebAPI.Event", "WebAPI.File", "WebAPI.URL", "Fetch"],
@@ -191,20 +199,15 @@
191199
]
192200
},
193201
{
194-
"dir": "src/Clipboard",
202+
"dir": "src/navigator",
195203
"subdirs": true,
196-
"feature": "WebAPI.Clipboard",
204+
"feature": "Navigator",
197205
"public": [
198206
"Clipboard",
199-
"ClipboardItem"
200-
]
201-
},
202-
{
203-
"dir": "src/CredentialManagement",
204-
"subdirs": true,
205-
"feature": "WebAPI.CredentialManagement",
206-
"public": [
207-
"CredentialsContainer"
207+
"ClipboardItem",
208+
"CredentialsContainer",
209+
"Navigator",
210+
"Permissions"
208211
]
209212
},
210213
{
@@ -285,7 +288,6 @@
285288
"IdleDeadline",
286289
"ImageData",
287290
"Location",
288-
"Navigator",
289291
"ScreenOrientation",
290292
"VideoColorSpace",
291293
"Window",
@@ -434,14 +436,6 @@
434436
"PerformanceMark"
435437
]
436438
},
437-
{
438-
"dir": "src/Permissions",
439-
"subdirs": true,
440-
"feature": "WebAPI.Permissions",
441-
"public": [
442-
"Permissions"
443-
]
444-
},
445439
{
446440
"dir": "src/workers",
447441
"subdirs": true,
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)