@crossworks/client-types 0.232.65 → 0.232.67

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +14 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossworks/client-types",
3
- "version": "0.232.65",
3
+ "version": "0.232.67",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./src/index.ts",
package/src/index.ts CHANGED
@@ -868,6 +868,20 @@ export type ProfilePreferences = {
868
868
  * backgrounds: it is the look of the product. Unset ⇒ the plain themed
869
869
  * fill. Read via projectNeatBackground, never raw. */
870
870
  neatBackground?: string;
871
+ /** The brain's default light/dark mode for surfaces where the visitor has
872
+ * not chosen one themselves — today the public /s share reader, which stamps
873
+ * it server-side and lets the visitor's own toggle override it locally.
874
+ * 'light' | 'dark' | 'system'; unset ⇒ 'light' (the share surface's
875
+ * historical rendering, so an unset brain looks exactly as before). Brain-
876
+ * level like colorTheme: it is the look of the product's public face. Read
877
+ * via projectDefaultMode, never raw. */
878
+ defaultMode?: string;
879
+ /** Whether the public /s share reader paints the saved Neat gradient at all.
880
+ * Default ON (only an explicit `false` disables, the streamThoughts
881
+ * contract): the switch exists for owners who want share links to stay on
882
+ * the plain themed surface — the printable rendering — while the app keeps
883
+ * its background. Brain-level like neatBackground itself. */
884
+ shareNeat?: boolean;
871
885
  /** Seed for THIS user's avatar; the UI defaults it to the user id when unset
872
886
  * so an avatar still renders. Personal — two admins share the brain's style
873
887
  * but never the same avatar. */