@wix/himalaya-cli 0.1384.0 → 0.1385.0
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/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/sdk/push/src/index.d.ts
CHANGED
|
@@ -122,6 +122,12 @@ export interface NotificationEvent {
|
|
|
122
122
|
/** True only when the user TAPPED. A foreground receipt is `false` and must
|
|
123
123
|
* not be treated as intent to navigate. */
|
|
124
124
|
tapped: boolean;
|
|
125
|
+
/** The id of the notification ACTION BUTTON pressed (a `PushConfig.categories` action,
|
|
126
|
+
* #4353), or `""` for an ordinary receipt or tap. Non-empty means a RESPONSE to a
|
|
127
|
+
* notification the worker was already told about, so it must not count as a new arrival. */
|
|
128
|
+
notificationAction: string;
|
|
129
|
+
/** The inline-reply text for an `input: true` action, or `""`. */
|
|
130
|
+
notificationText: string;
|
|
125
131
|
}
|
|
126
132
|
/**
|
|
127
133
|
* Read the params a dispatched `observerAction` receives.
|
|
@@ -91,7 +91,9 @@ function readNotificationEvent(params) {
|
|
|
91
91
|
resolvedLink: str("resolvedLink"),
|
|
92
92
|
// Absent or unrecognized ⇒ a RECEIPT. Guessing "tap" would navigate a user
|
|
93
93
|
// who never asked to go anywhere.
|
|
94
|
-
tapped: raw === "true" || raw === "1"
|
|
94
|
+
tapped: raw === "true" || raw === "1",
|
|
95
|
+
notificationAction: str("notificationAction"),
|
|
96
|
+
notificationText: str("notificationText")
|
|
95
97
|
};
|
|
96
98
|
}
|
|
97
99
|
export {
|
|
@@ -3767,7 +3767,7 @@
|
|
|
3767
3767
|
"name": "NotificationEvent",
|
|
3768
3768
|
"kind": "interface",
|
|
3769
3769
|
"jsdoc": "/** One notification, as a worker sees it. Every field is always present; an\n * absent one reads as `\"\"` rather than `undefined`, so a `$service:` binding at\n * a field this payload omitted renders nothing instead of the text \"undefined\". */",
|
|
3770
|
-
"decl": "export interface NotificationEvent {\n /** Ping template that produced it, e.g. \"stores.order_shipped\". */\n templateId: string;\n /** Ping topic, e.g. \"stores\". */\n topic: string;\n /** The site the payload named, when it named one. */\n metaSiteId: string;\n /** Stable per-notification id — the key to deduplicate on. */\n notificationId: string;\n /** The link exactly as delivered, before any route translation. */\n link: string;\n /** What the route table translated `link` into, or `\"\"` when no route\n * matched. Empty is NOT an error: the notification still arrived, and a\n * worker may want to count one it cannot open. */\n resolvedLink: string;\n /** True only when the user TAPPED. A foreground receipt is `false` and must\n * not be treated as intent to navigate. */\n tapped: boolean;\n}"
|
|
3770
|
+
"decl": "export interface NotificationEvent {\n /** Ping template that produced it, e.g. \"stores.order_shipped\". */\n templateId: string;\n /** Ping topic, e.g. \"stores\". */\n topic: string;\n /** The site the payload named, when it named one. */\n metaSiteId: string;\n /** Stable per-notification id — the key to deduplicate on. */\n notificationId: string;\n /** The link exactly as delivered, before any route translation. */\n link: string;\n /** What the route table translated `link` into, or `\"\"` when no route\n * matched. Empty is NOT an error: the notification still arrived, and a\n * worker may want to count one it cannot open. */\n resolvedLink: string;\n /** True only when the user TAPPED. A foreground receipt is `false` and must\n * not be treated as intent to navigate. */\n tapped: boolean;\n /** The id of the notification ACTION BUTTON pressed (a `PushConfig.categories` action,\n * #4353), or `\"\"` for an ordinary receipt or tap. Non-empty means a RESPONSE to a\n * notification the worker was already told about, so it must not count as a new arrival. */\n notificationAction: string;\n /** The inline-reply text for an `input: true` action, or `\"\"`. */\n notificationText: string;\n}"
|
|
3771
3771
|
},
|
|
3772
3772
|
{
|
|
3773
3773
|
"name": "readNotificationEvent",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1385.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"artifactId": "himalaya-cli"
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
"falconPackageHash": "
|
|
74
|
+
"falconPackageHash": "f52e9acbffd96101463d111ef4cd624d24921816c71a1811584d337f"
|
|
75
75
|
}
|