math-main-components 0.0.172 → 0.0.174

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.
@@ -1,10 +1,11 @@
1
+ import { JSONContent } from "@tiptap/react";
1
2
  import { User } from "./User";
2
3
  export type Feedback = {
3
4
  id: string;
4
5
  type: "feedback";
5
6
  user: User;
6
7
  userId: number;
7
- message: string;
8
+ message: JSONContent;
8
9
  answers: FeedbackAnswer[];
9
10
  createdAt: Date;
10
11
  updatedAt: Date;
@@ -32,4 +32,4 @@ export type UserSettings = {
32
32
  preferredTheme: PreferredTheme;
33
33
  preferredLayout: Layout;
34
34
  };
35
- export type PreferredTheme = Theme & "system";
35
+ export type PreferredTheme = Theme | "system";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "math-main-components",
3
- "version": "0.0.172",
3
+ "version": "0.0.174",
4
4
  "author": "Emilian Scheel",
5
5
  "files": [
6
6
  "dist/**/*"