@crossworks/share-ui 0.232.280 → 0.232.282
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crossworks/share-ui",
|
|
3
|
-
"version": "0.232.
|
|
3
|
+
"version": "0.232.282",
|
|
4
4
|
"description": "The server-rendered share surface — the /s/<token> presenters, view-payload contract, mini-app sandbox, and the few primitives they need. Lives in MANTLE (the server renders these), published for jackdaw to consume; may depend only on @mantle/{client-types,content-core} (the jackdaw-repo-split boundary).",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./app-presenter": "./src/app-presenter.tsx",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@dicebear/core": "^10.7.0",
|
|
39
39
|
"@dicebear/styles": "^10.6.0",
|
|
40
40
|
"@firecms/neat": "1.0.2",
|
|
41
|
-
"@mantle/client-types": "npm:@crossworks/client-types@0.232.
|
|
42
|
-
"@mantle/content-core": "npm:@crossworks/content-core@0.232.
|
|
41
|
+
"@mantle/client-types": "npm:@crossworks/client-types@0.232.282",
|
|
42
|
+
"@mantle/content-core": "npm:@crossworks/content-core@0.232.282",
|
|
43
43
|
"@radix-ui/react-label": "^2.1.15",
|
|
44
44
|
"@radix-ui/react-slot": "^1.3.3",
|
|
45
45
|
"class-variance-authority": "^0.7.1",
|
|
@@ -74,8 +74,11 @@ export function isFromApp(m: unknown): m is FromApp {
|
|
|
74
74
|
* renders, handed to a designated hub app so it can render the same things its
|
|
75
75
|
* own way. Mirrors the /api/team/hub response; every field is member-safe by
|
|
76
76
|
* construction (sections are the owner's team-mode page shares, stats are
|
|
77
|
-
* whitelisted coarse counts).
|
|
78
|
-
*
|
|
77
|
+
* whitelisted coarse counts). The member shell's home answers the same shape
|
|
78
|
+
* from /api/member/home: sections are team-level pages with the page id as
|
|
79
|
+
* `token`, counts are Library counts, apps are the apps members may run
|
|
80
|
+
* (member logins Phase 4b). Treat `token` as opaque. `memberName` is
|
|
81
|
+
* display-grade — a hub app must never build permission logic on it. */
|
|
79
82
|
export type HubData = {
|
|
80
83
|
/** Brain's site-name pref; null ⇒ the app should fall back to its own label. */
|
|
81
84
|
siteName: string | null;
|