zeus-api-types 1.0.63 → 1.0.65

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.
@@ -11,8 +11,8 @@ import { UserMetadata } from "./user-preferences";
11
11
  export interface Tag {
12
12
  /** Unique key identifier (max 64 chars) */
13
13
  key: string;
14
- /** Value as string or array of strings (max 64 chars per item) */
15
- value: string | string[];
14
+ /** Value as array of strings (max 64 chars per item) */
15
+ value: string[];
16
16
  }
17
17
  /**
18
18
  * Base interface for all immutable blocks
@@ -122,6 +122,12 @@ export interface UserProfilePreferences {
122
122
  * If not set, defaults to that set by the author .
123
123
  */
124
124
  language?: string;
125
+ /**
126
+ * Whether NSFW content is allowed for the user.
127
+ * If not set, defaults to false .
128
+ * Must have had at least one age verification to enable.
129
+ */
130
+ NSFWContentAllowed?: boolean;
125
131
  }
126
132
  /**
127
133
  * User preferences stored in preferences.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zeus-api-types",
3
- "version": "1.0.63",
3
+ "version": "1.0.65",
4
4
  "description": "Shared API types for Wagtales - SSE payloads, error types, and common interfaces",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",