@synap-core/types 1.2.11 → 1.2.16

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,9 +1,3 @@
1
- // src/preferences/index.ts
2
- import {
3
- insertUserPreferenceSchema,
4
- selectUserPreferenceSchema
5
- } from "@synap/database/schema";
6
-
7
1
  // src/preferences/schemas.ts
8
2
  import { z } from "zod";
9
3
  var CustomThemeSchema = z.object({
@@ -32,6 +26,7 @@ var CustomThemeSchema = z.object({
32
26
  var UIPreferencesSchema = z.object({
33
27
  sidebarCollapsed: z.boolean().optional(),
34
28
  panelPositions: z.record(
29
+ z.string(),
35
30
  z.object({
36
31
  x: z.number(),
37
32
  y: z.number()
@@ -66,7 +61,7 @@ var UpdatePreferencesInputSchema = z.object({
66
61
  customTheme: CustomThemeSchema,
67
62
  defaultTemplates: z.record(z.string(), z.string()).optional(),
68
63
  customEntityTypes: z.array(z.any()).optional(),
69
- entityMetadataSchemas: z.record(z.string(), z.record(z.any())).optional(),
64
+ entityMetadataSchemas: z.record(z.string(), z.record(z.string(), z.any())).optional(),
70
65
  uiPreferences: UIPreferencesSchema,
71
66
  graphPreferences: GraphPreferencesSchema,
72
67
  onboardingCompleted: z.boolean().optional(),
@@ -77,7 +72,5 @@ export {
77
72
  CustomThemeSchema,
78
73
  UIPreferencesSchema,
79
74
  GraphPreferencesSchema,
80
- UpdatePreferencesInputSchema,
81
- insertUserPreferenceSchema,
82
- selectUserPreferenceSchema
75
+ UpdatePreferencesInputSchema
83
76
  };
File without changes
File without changes