You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/superpowers/specs/2026-04-22-unmonorepo-webapi-design.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -124,7 +124,7 @@ The unified build keeps the original flat module surface instead of adding gener
124
124
-`WebAPI.Headers`
125
125
-`WebAPI.URL`
126
126
127
-
Shared DOM base types should be owned by `DOM`, so common references stay short, for example `DOM.element` instead of `BaseDOM.element` or `Base.DOM.element`.
127
+
Shared DOM base types should be owned by `DOM`, so common references stay short, for example `DOM.element` instead of `BaseDOM.element` or `DOM_.DOM.element`.
Copy file name to clipboardExpand all lines: src/Base/DOM_.res
+38-8Lines changed: 38 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -80,19 +80,49 @@ type eventInit = {
80
80
The ExtendableEvent interface extends the lifetime of the install and activate events dispatched on the global scope as part of the service worker lifecycle.
81
81
[See ExtendableEvent on MDN](https://developer.mozilla.org/docs/Web/API/ExtendableEvent)
82
82
*/
83
+
@editor.completeFrom(ExtendableEvent)
83
84
typeextendableEvent=private {
84
85
...event,
85
86
}
86
87
87
-
typeabortSignal=private {}
88
+
/**
89
+
A controller object that allows you to abort one or more WebApiDOM requests as and when desired.
90
+
[See AbortController on MDN](https://developer.mozilla.org/docs/Web/API/AbortController)
91
+
*/
92
+
@editor.completeFrom(AbortController)
93
+
typerecabortController=private {
94
+
/**
95
+
Returns the AbortSignal object associated with this object.
96
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
97
+
*/
98
+
signal: abortSignal,
99
+
}
100
+
/**
101
+
A signal object that allows you to communicate with a WebApiDOM request (such as a WebApiFetch) and abort it if required via an AbortController object.
102
+
[See AbortSignal on MDN](https://developer.mozilla.org/docs/Web/API/AbortSignal)
103
+
*/
104
+
andabortSignal=private {
105
+
...eventTarget,
106
+
/**
107
+
Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
108
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AbortSignal/aborted)
109
+
*/
110
+
aborted: bool,
111
+
/**
112
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/AbortSignal/reason)
0 commit comments