@hearthscale/app 0.2.1 → 0.2.3
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.
- package/dist/index.d.ts +8 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3614,6 +3614,12 @@ interface ViewHostMethods {
|
|
|
3614
3614
|
params: Empty;
|
|
3615
3615
|
result: Empty;
|
|
3616
3616
|
};
|
|
3617
|
+
/** Opens Settings in the window at the calling view's own app's page,
|
|
3618
|
+
* under Apps, on a click inside the view. */
|
|
3619
|
+
'hearthscale/ui/open-settings': {
|
|
3620
|
+
params: Empty;
|
|
3621
|
+
result: Empty;
|
|
3622
|
+
};
|
|
3617
3623
|
/** Keeps a JSON value for this view's tab, which the host gives back in
|
|
3618
3624
|
* `hearthscale/widgetState`; it never reaches a model. The value takes
|
|
3619
3625
|
* at most 65,536 UTF-16 code units as JSON text. */
|
|
@@ -5108,7 +5114,8 @@ interface AppContext {
|
|
|
5108
5114
|
/** How the person reads dates and numbers, as the window of the computer
|
|
5109
5115
|
* they use states it: a BCP 47 locale with the hour cycle and the first
|
|
5110
5116
|
* day of the week of the system's settings, and the IANA time zone.
|
|
5111
|
-
*
|
|
5117
|
+
* While no window is open, the region the last window stated, also
|
|
5118
|
+
* after a restart. Rejects before any window has stated it. */
|
|
5112
5119
|
region(): Promise<Region>;
|
|
5113
5120
|
surfaces: {
|
|
5114
5121
|
/** Brings a surface this app's manifest places in the rail or a tab, or
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearthscale/app",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "The types a Hearthscale app's backend and views import: the backend's exports and context, the view's host methods, extensions and slots; and the typed call of a view's requests.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|