@antelopejs/dms 0.22.1 → 0.22.2-next.1025.g0c821ca

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 (94) hide show
  1. package/dist/implementations/dms-builder/engine/cell-displays.js +2 -2
  2. package/dist/implementations/dms-builder/engine/cell-displays.js.map +1 -1
  3. package/dist/implementations/dms-builder/engine/column-groups.d.ts +5 -12
  4. package/dist/implementations/dms-builder/engine/connection-access-config.js +3 -1
  5. package/dist/implementations/dms-builder/engine/connection-access-config.js.map +1 -1
  6. package/dist/implementations/dms-builder/engine/database-access.js +2 -2
  7. package/dist/implementations/dms-builder/engine/database-access.js.map +1 -1
  8. package/dist/implementations/dms-builder/engine/database-check-input.d.ts +8 -15
  9. package/dist/implementations/dms-builder/engine/driver-probe.d.ts +3 -11
  10. package/dist/implementations/dms-builder/engine/driver-probe.js +4 -4
  11. package/dist/implementations/dms-builder/engine/driver-probe.js.map +1 -1
  12. package/dist/implementations/dms-builder/engine/probe-answer.d.ts +17 -34
  13. package/dist/implementations/dms-builder/engine/probe-child.js +12 -10
  14. package/dist/implementations/dms-builder/engine/probe-child.js.map +1 -1
  15. package/dist/implementations/dms-builder/engine/probe-protocol.d.ts +7 -33
  16. package/dist/implementations/dms-builder/engine/probe-protocol.js +1 -1
  17. package/dist/implementations/dms-builder/engine/probe-protocol.js.map +1 -1
  18. package/dist/implementations/dms-builder/engine/theme-draft.js +3 -3
  19. package/dist/implementations/dms-builder/engine/theme-draft.js.map +1 -1
  20. package/dist/mcp/access.d.ts +4 -1
  21. package/dist/mcp/bridge.d.ts +3 -1
  22. package/dist/mcp/hidden-values.d.ts +1 -1
  23. package/dist/mcp/hidden-values.js.map +1 -1
  24. package/dist/mcp/json.d.ts +1 -1
  25. package/dist/mcp/page-verify/page-probe.d.ts +7 -123
  26. package/dist/mcp/page-verify/playwright.d.ts +7 -23
  27. package/dist/mcp/page-verify/render.js +3 -1
  28. package/dist/mcp/page-verify/render.js.map +1 -1
  29. package/dist/mcp/redact.js.map +1 -1
  30. package/dist/mcp/tool.d.ts +1 -1
  31. package/dist/mcp/tool.js +15 -2
  32. package/dist/mcp/tool.js.map +1 -1
  33. package/dist/mcp/tools/builder-queries.d.ts +8 -3
  34. package/dist/mcp/tools/builder-resources.d.ts +2 -8
  35. package/dist/mcp/tools/builder-resources.js +1 -1
  36. package/dist/mcp/tools/builder-resources.js.map +1 -1
  37. package/dist/mcp/tools/builder-shared.d.ts +1 -1
  38. package/dist/mcp/tools/builder-shared.js.map +1 -1
  39. package/dist/mcp/tools/builder-table-view.d.ts +65 -211
  40. package/dist/mcp/tools/json-patch.d.ts +10 -56
  41. package/dist/mcp/tools/mockup-support.d.ts +2 -2
  42. package/dist/mcp/tools/theme-schemas.d.ts +19 -173
  43. package/dist/mockup/anchor.d.ts +7 -31
  44. package/dist/mockup/anchor.js.map +1 -1
  45. package/dist/mockup/annotations-file.d.ts +15 -73
  46. package/dist/mockup/annotations.d.ts +11 -101
  47. package/dist/mockup/apply-to-page.js +4 -1
  48. package/dist/mockup/apply-to-page.js.map +1 -1
  49. package/dist/mockup/controller-blocks.js +3 -3
  50. package/dist/mockup/controller-blocks.js.map +1 -1
  51. package/dist/mockup/files.d.ts +1 -5
  52. package/dist/mockup/fixtures.d.ts +11 -19
  53. package/dist/mockup/generate.d.ts +4 -56
  54. package/dist/mockup/generate.js +1 -1
  55. package/dist/mockup/generate.js.map +1 -1
  56. package/dist/mockup/history.d.ts +9 -21
  57. package/dist/mockup/model.d.ts +103 -772
  58. package/dist/mockup/model.js +2 -2
  59. package/dist/mockup/model.js.map +1 -1
  60. package/dist/mockup/presence.d.ts +1 -1
  61. package/dist/mockup/table-columns.d.ts +1 -25
  62. package/dist/mockup/table-columns.js +2 -2
  63. package/dist/mockup/table-columns.js.map +1 -1
  64. package/dist/mockup/table-options.d.ts +62 -399
  65. package/dist/pages/settings/users/profile.d.ts +2 -9
  66. package/dist/routes/auth/oauth/providers.js.map +1 -1
  67. package/dist/routes/auth/switch-tenant.d.ts +1 -7
  68. package/dist/store/catalog.d.ts +3 -9
  69. package/dist/store/catalog.js +1 -1
  70. package/dist/store/catalog.js.map +1 -1
  71. package/dist/store/interfaces.js +10 -4
  72. package/dist/store/interfaces.js.map +1 -1
  73. package/dist/store/internal/frontend/frontend-ready.d.ts +2 -20
  74. package/dist/store/runtime.d.ts +1 -7
  75. package/dist/validation/account-deletion.schema.d.ts +1 -7
  76. package/dist/validation/auth.schema.d.ts +26 -121
  77. package/dist/validation/file.schema.d.ts +4 -20
  78. package/dist/validation/member-invite.schema.d.ts +4 -36
  79. package/dist/validation/member-ownership.schema.d.ts +1 -5
  80. package/dist/validation/onboarding/register-admin.schema.d.ts +6 -22
  81. package/dist/validation/regional-preferences.schema.d.ts +11 -17
  82. package/dist/validation/role-editor.schema.d.ts +6 -28
  83. package/dist/validation/security.schema.d.ts +4 -24
  84. package/dist/validation/store.schema.d.ts +3 -30
  85. package/dist/validation/store.schema.js +1 -1
  86. package/dist/validation/store.schema.js.map +1 -1
  87. package/dist/validation/user-notification-preferences.schema.d.ts +1 -1
  88. package/frontend-vue/layers/dms-core/app/build/composables/api-error.ts +4 -1
  89. package/frontend-vue/layers/dms-core/app/composables/useFieldErrors.ts +21 -12
  90. package/frontend-vue/layers/dms-core/app/composables/useFormValidation.ts +6 -6
  91. package/frontend-vue/layers/dms-ui/app/build/composables/form/formComponentValidation.ts +4 -4
  92. package/frontend-vue/layers/dms-ui/app/build/composables/form/formValidation.ts +9 -8
  93. package/frontend-vue/package.json +2 -3
  94. package/package.json +5 -6
@@ -3,37 +3,26 @@ export declare const TABLE_VIEW_SETTINGS: {
3
3
  kanban: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4
4
  groupBy: z.ZodString;
5
5
  draggable: z.ZodOptional<z.ZodBoolean>;
6
- }, "strip", z.ZodTypeAny, {
7
- groupBy: string;
8
- draggable?: boolean | undefined;
9
- }, {
10
- groupBy: string;
11
- draggable?: boolean | undefined;
12
- }>>>;
6
+ }, z.core.$strip>>>;
13
7
  grouped: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
8
  groupBy: z.ZodString;
15
- by: z.ZodOptional<z.ZodEnum<["value", "day", "week"]>>;
9
+ by: z.ZodOptional<z.ZodEnum<{
10
+ day: "day";
11
+ value: "value";
12
+ week: "week";
13
+ }>>;
16
14
  collapsible: z.ZodOptional<z.ZodBoolean>;
17
15
  count: z.ZodOptional<z.ZodBoolean>;
18
- }, "strip", z.ZodTypeAny, {
19
- groupBy: string;
20
- by?: "day" | "value" | "week" | undefined;
21
- collapsible?: boolean | undefined;
22
- count?: boolean | undefined;
23
- }, {
24
- groupBy: string;
25
- by?: "day" | "value" | "week" | undefined;
26
- collapsible?: boolean | undefined;
27
- count?: boolean | undefined;
28
- }>>>;
16
+ }, z.core.$strip>>>;
29
17
  cards: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
31
- }, "strip", z.ZodTypeAny, {
32
- fields?: string[] | undefined;
33
- }, {
34
- fields?: string[] | undefined;
18
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
+ }, z.core.$strip>>>;
20
+ defaultDisplay: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
21
+ cards: "cards";
22
+ grouped: "grouped";
23
+ kanban: "kanban";
24
+ table: "table";
35
25
  }>>>;
36
- defaultDisplay: z.ZodOptional<z.ZodNullable<z.ZodEnum<["table", "kanban", "cards", "grouped"]>>>;
37
26
  views: z.ZodOptional<z.ZodNullable<z.ZodObject<{
38
27
  items: z.ZodArray<z.ZodObject<{
39
28
  id: z.ZodString;
@@ -42,205 +31,70 @@ export declare const TABLE_VIEW_SETTINGS: {
42
31
  count: z.ZodOptional<z.ZodBoolean>;
43
32
  filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
33
  column: z.ZodString;
45
- mode: z.ZodOptional<z.ZodEnum<["is", "is_not", "include", "exclude", "contains", "not_contains", "greater_than", "less_than", "greater_than_or_equal_to", "less_than_or_equal_to", "is_empty", "is_not_empty"]>>;
46
- value: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
47
- }, "strip", z.ZodTypeAny, {
48
- column: string;
49
- mode?: "contains" | "exclude" | "greater_than" | "greater_than_or_equal_to" | "include" | "is" | "is_empty" | "is_not" | "is_not_empty" | "less_than" | "less_than_or_equal_to" | "not_contains" | undefined;
50
- value?: string | string[] | undefined;
51
- }, {
52
- column: string;
53
- mode?: "contains" | "exclude" | "greater_than" | "greater_than_or_equal_to" | "include" | "is" | "is_empty" | "is_not" | "is_not_empty" | "less_than" | "less_than_or_equal_to" | "not_contains" | undefined;
54
- value?: string | string[] | undefined;
55
- }>, "many">>;
34
+ mode: z.ZodOptional<z.ZodEnum<{
35
+ contains: "contains";
36
+ exclude: "exclude";
37
+ greater_than: "greater_than";
38
+ greater_than_or_equal_to: "greater_than_or_equal_to";
39
+ include: "include";
40
+ is: "is";
41
+ is_empty: "is_empty";
42
+ is_not: "is_not";
43
+ is_not_empty: "is_not_empty";
44
+ less_than: "less_than";
45
+ less_than_or_equal_to: "less_than_or_equal_to";
46
+ not_contains: "not_contains";
47
+ }>>;
48
+ value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
49
+ }, z.core.$strip>>>;
56
50
  search: z.ZodOptional<z.ZodString>;
57
51
  sort: z.ZodOptional<z.ZodArray<z.ZodObject<{
58
52
  column: z.ZodString;
59
53
  desc: z.ZodOptional<z.ZodBoolean>;
60
- }, "strip", z.ZodTypeAny, {
61
- column: string;
62
- desc?: boolean | undefined;
63
- }, {
64
- column: string;
65
- desc?: boolean | undefined;
66
- }>, "many">>;
54
+ }, z.core.$strip>>>;
67
55
  columns: z.ZodOptional<z.ZodObject<{
68
- visible: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69
- hidden: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
- order: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
71
- }, "strip", z.ZodTypeAny, {
72
- visible?: string[] | undefined;
73
- hidden?: string[] | undefined;
74
- order?: string[] | undefined;
75
- }, {
76
- visible?: string[] | undefined;
77
- hidden?: string[] | undefined;
78
- order?: string[] | undefined;
56
+ visible: z.ZodOptional<z.ZodArray<z.ZodString>>;
57
+ hidden: z.ZodOptional<z.ZodArray<z.ZodString>>;
58
+ order: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
+ }, z.core.$strip>>;
60
+ display: z.ZodOptional<z.ZodEnum<{
61
+ cards: "cards";
62
+ grouped: "grouped";
63
+ kanban: "kanban";
64
+ table: "table";
65
+ }>>;
66
+ density: z.ZodOptional<z.ZodEnum<{
67
+ compact: "compact";
68
+ default: "default";
79
69
  }>>;
80
- display: z.ZodOptional<z.ZodEnum<["table", "kanban", "cards", "grouped"]>>;
81
- density: z.ZodOptional<z.ZodEnum<["default", "compact"]>>;
82
- }, "strip", z.ZodTypeAny, {
83
- id: string;
84
- label: string;
85
- icon?: string | undefined;
86
- count?: boolean | undefined;
87
- filters?: {
88
- column: string;
89
- mode?: "contains" | "exclude" | "greater_than" | "greater_than_or_equal_to" | "include" | "is" | "is_empty" | "is_not" | "is_not_empty" | "less_than" | "less_than_or_equal_to" | "not_contains" | undefined;
90
- value?: string | string[] | undefined;
91
- }[] | undefined;
92
- search?: string | undefined;
93
- sort?: {
94
- column: string;
95
- desc?: boolean | undefined;
96
- }[] | undefined;
97
- columns?: {
98
- visible?: string[] | undefined;
99
- hidden?: string[] | undefined;
100
- order?: string[] | undefined;
101
- } | undefined;
102
- display?: "cards" | "grouped" | "kanban" | "table" | undefined;
103
- density?: "compact" | "default" | undefined;
104
- }, {
105
- id: string;
106
- label: string;
107
- icon?: string | undefined;
108
- count?: boolean | undefined;
109
- filters?: {
110
- column: string;
111
- mode?: "contains" | "exclude" | "greater_than" | "greater_than_or_equal_to" | "include" | "is" | "is_empty" | "is_not" | "is_not_empty" | "less_than" | "less_than_or_equal_to" | "not_contains" | undefined;
112
- value?: string | string[] | undefined;
113
- }[] | undefined;
114
- search?: string | undefined;
115
- sort?: {
116
- column: string;
117
- desc?: boolean | undefined;
118
- }[] | undefined;
119
- columns?: {
120
- visible?: string[] | undefined;
121
- hidden?: string[] | undefined;
122
- order?: string[] | undefined;
123
- } | undefined;
124
- display?: "cards" | "grouped" | "kanban" | "table" | undefined;
125
- density?: "compact" | "default" | undefined;
126
- }>, "many">;
127
- layout: z.ZodOptional<z.ZodEnum<["tabs", "strip", "menu"]>>;
70
+ }, z.core.$strip>>;
71
+ layout: z.ZodOptional<z.ZodEnum<{
72
+ menu: "menu";
73
+ strip: "strip";
74
+ tabs: "tabs";
75
+ }>>;
128
76
  defaultView: z.ZodOptional<z.ZodString>;
129
77
  userViews: z.ZodOptional<z.ZodBoolean>;
130
- }, "strip", z.ZodTypeAny, {
131
- items: {
132
- id: string;
133
- label: string;
134
- icon?: string | undefined;
135
- count?: boolean | undefined;
136
- filters?: {
137
- column: string;
138
- mode?: "contains" | "exclude" | "greater_than" | "greater_than_or_equal_to" | "include" | "is" | "is_empty" | "is_not" | "is_not_empty" | "less_than" | "less_than_or_equal_to" | "not_contains" | undefined;
139
- value?: string | string[] | undefined;
140
- }[] | undefined;
141
- search?: string | undefined;
142
- sort?: {
143
- column: string;
144
- desc?: boolean | undefined;
145
- }[] | undefined;
146
- columns?: {
147
- visible?: string[] | undefined;
148
- hidden?: string[] | undefined;
149
- order?: string[] | undefined;
150
- } | undefined;
151
- display?: "cards" | "grouped" | "kanban" | "table" | undefined;
152
- density?: "compact" | "default" | undefined;
153
- }[];
154
- layout?: "menu" | "strip" | "tabs" | undefined;
155
- defaultView?: string | undefined;
156
- userViews?: boolean | undefined;
157
- }, {
158
- items: {
159
- id: string;
160
- label: string;
161
- icon?: string | undefined;
162
- count?: boolean | undefined;
163
- filters?: {
164
- column: string;
165
- mode?: "contains" | "exclude" | "greater_than" | "greater_than_or_equal_to" | "include" | "is" | "is_empty" | "is_not" | "is_not_empty" | "less_than" | "less_than_or_equal_to" | "not_contains" | undefined;
166
- value?: string | string[] | undefined;
167
- }[] | undefined;
168
- search?: string | undefined;
169
- sort?: {
170
- column: string;
171
- desc?: boolean | undefined;
172
- }[] | undefined;
173
- columns?: {
174
- visible?: string[] | undefined;
175
- hidden?: string[] | undefined;
176
- order?: string[] | undefined;
177
- } | undefined;
178
- display?: "cards" | "grouped" | "kanban" | "table" | undefined;
179
- density?: "compact" | "default" | undefined;
180
- }[];
181
- layout?: "menu" | "strip" | "tabs" | undefined;
182
- defaultView?: string | undefined;
183
- userViews?: boolean | undefined;
184
- }>>>;
78
+ }, z.core.$strip>>>;
185
79
  footer: z.ZodOptional<z.ZodNullable<z.ZodObject<{
186
80
  summary: z.ZodOptional<z.ZodArray<z.ZodObject<{
187
81
  label: z.ZodString;
188
- op: z.ZodEnum<["sum", "count"]>;
82
+ op: z.ZodEnum<{
83
+ count: "count";
84
+ sum: "sum";
85
+ }>;
189
86
  field: z.ZodOptional<z.ZodString>;
190
87
  where: z.ZodOptional<z.ZodObject<{
191
88
  column: z.ZodString;
192
- op: z.ZodEnum<["equals", "notEquals", "in", "notIn"]>;
193
- value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>, "many">]>;
194
- }, "strip", z.ZodTypeAny, {
195
- column: string;
196
- op: "equals" | "in" | "notEquals" | "notIn";
197
- value: string | number | boolean | (string | number | boolean)[];
198
- }, {
199
- column: string;
200
- op: "equals" | "in" | "notEquals" | "notIn";
201
- value: string | number | boolean | (string | number | boolean)[];
202
- }>>;
203
- }, "strip", z.ZodTypeAny, {
204
- label: string;
205
- op: "count" | "sum";
206
- field?: string | undefined;
207
- where?: {
208
- column: string;
209
- op: "equals" | "in" | "notEquals" | "notIn";
210
- value: string | number | boolean | (string | number | boolean)[];
211
- } | undefined;
212
- }, {
213
- label: string;
214
- op: "count" | "sum";
215
- field?: string | undefined;
216
- where?: {
217
- column: string;
218
- op: "equals" | "in" | "notEquals" | "notIn";
219
- value: string | number | boolean | (string | number | boolean)[];
220
- } | undefined;
221
- }>, "many">>;
222
- }, "strip", z.ZodTypeAny, {
223
- summary?: {
224
- label: string;
225
- op: "count" | "sum";
226
- field?: string | undefined;
227
- where?: {
228
- column: string;
229
- op: "equals" | "in" | "notEquals" | "notIn";
230
- value: string | number | boolean | (string | number | boolean)[];
231
- } | undefined;
232
- }[] | undefined;
233
- }, {
234
- summary?: {
235
- label: string;
236
- op: "count" | "sum";
237
- field?: string | undefined;
238
- where?: {
239
- column: string;
240
- op: "equals" | "in" | "notEquals" | "notIn";
241
- value: string | number | boolean | (string | number | boolean)[];
242
- } | undefined;
243
- }[] | undefined;
244
- }>>>;
89
+ op: z.ZodEnum<{
90
+ equals: "equals";
91
+ in: "in";
92
+ notEquals: "notEquals";
93
+ notIn: "notIn";
94
+ }>;
95
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>;
96
+ }, z.core.$strip>>;
97
+ }, z.core.$strip>>>;
98
+ }, z.core.$strip>>>;
245
99
  };
246
100
  export declare const builderTableViewTool: import("../tool").McpTool;
@@ -1,75 +1,29 @@
1
1
  import type { JsonValue } from "@antelopejs/interface-dms/json";
2
2
  import { z } from "zod";
3
- export declare const patchOperationSchema: z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
3
+ export declare const patchOperationSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4
4
  path: z.ZodString;
5
5
  op: z.ZodLiteral<"add">;
6
- value: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
7
- }, "strip", z.ZodTypeAny, {
8
- path: string;
9
- op: "add";
10
- value: JsonValue;
11
- }, {
12
- path: string;
13
- op: "add";
14
- value: JsonValue;
15
- }>, z.ZodObject<{
6
+ value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
7
+ }, z.core.$strip>, z.ZodObject<{
16
8
  path: z.ZodString;
17
9
  op: z.ZodLiteral<"replace">;
18
- value: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
19
- }, "strip", z.ZodTypeAny, {
20
- path: string;
21
- op: "replace";
22
- value: JsonValue;
23
- }, {
24
- path: string;
25
- op: "replace";
26
- value: JsonValue;
27
- }>, z.ZodObject<{
10
+ value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
11
+ }, z.core.$strip>, z.ZodObject<{
28
12
  path: z.ZodString;
29
13
  op: z.ZodLiteral<"test">;
30
- value: z.ZodType<JsonValue, z.ZodTypeDef, JsonValue>;
31
- }, "strip", z.ZodTypeAny, {
32
- path: string;
33
- op: "test";
34
- value: JsonValue;
35
- }, {
36
- path: string;
37
- op: "test";
38
- value: JsonValue;
39
- }>, z.ZodObject<{
14
+ value: z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>;
15
+ }, z.core.$strip>, z.ZodObject<{
40
16
  path: z.ZodString;
41
17
  op: z.ZodLiteral<"remove">;
42
- }, "strip", z.ZodTypeAny, {
43
- path: string;
44
- op: "remove";
45
- }, {
46
- path: string;
47
- op: "remove";
48
- }>, z.ZodObject<{
18
+ }, z.core.$strip>, z.ZodObject<{
49
19
  path: z.ZodString;
50
20
  from: z.ZodString;
51
21
  op: z.ZodLiteral<"move">;
52
- }, "strip", z.ZodTypeAny, {
53
- path: string;
54
- from: string;
55
- op: "move";
56
- }, {
57
- path: string;
58
- from: string;
59
- op: "move";
60
- }>, z.ZodObject<{
22
+ }, z.core.$strip>, z.ZodObject<{
61
23
  path: z.ZodString;
62
24
  from: z.ZodString;
63
25
  op: z.ZodLiteral<"copy">;
64
- }, "strip", z.ZodTypeAny, {
65
- path: string;
66
- from: string;
67
- op: "copy";
68
- }, {
69
- path: string;
70
- from: string;
71
- op: "copy";
72
- }>]>;
26
+ }, z.core.$strip>], "op">;
73
27
  export type PatchOperation = z.infer<typeof patchOperationSchema>;
74
28
  export type PatchResult = {
75
29
  ok: true;
@@ -4,9 +4,9 @@ import { type MockupName, type SpecWriteMeta, type SpecWriteResult } from "../..
4
4
  import { type JsonObject } from "../json";
5
5
  import { type McpToolResult } from "../tool";
6
6
  export declare const mockupArgument: z.ZodString;
7
- export declare const specArgument: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, JsonValue>, Record<string, unknown>>;
7
+ export declare const specArgument: z.ZodPipe<z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodTransform<Record<string, JsonValue>, Record<string, unknown>>>;
8
8
  export declare const summaryArgument: z.ZodOptional<z.ZodString>;
9
- export declare const writeGroupArgument: z.ZodCatch<z.ZodOptional<z.ZodBranded<z.ZodString, "MockupWriteGroup">>>;
9
+ export declare const writeGroupArgument: z.ZodCatch<z.ZodOptional<z.core.$ZodBranded<z.ZodString, "MockupWriteGroup", "out">>>;
10
10
  export declare function withMockup(raw: string, run: (name: MockupName) => Promise<McpToolResult>): Promise<McpToolResult>;
11
11
  export declare function reportWrite(written: SpecWriteResult): McpToolResult;
12
12
  export declare function refusedByLocks(name: MockupName, current: JsonObject | undefined, next: JsonValue): McpToolResult | undefined;
@@ -4,198 +4,44 @@ export declare const themeDraftSchema: z.ZodObject<{
4
4
  shared: z.ZodRecord<z.ZodString, z.ZodString>;
5
5
  light: z.ZodRecord<z.ZodString, z.ZodString>;
6
6
  dark: z.ZodRecord<z.ZodString, z.ZodString>;
7
- }, "strip", z.ZodTypeAny, {
8
- shared: Record<string, string>;
9
- light: Record<string, string>;
10
- dark: Record<string, string>;
11
- }, {
12
- shared: Record<string, string>;
13
- light: Record<string, string>;
14
- dark: Record<string, string>;
15
- }>;
7
+ }, z.core.$strip>;
16
8
  colors: z.ZodObject<{
17
9
  primary: z.ZodOptional<z.ZodString>;
18
10
  success: z.ZodOptional<z.ZodString>;
19
11
  warning: z.ZodOptional<z.ZodString>;
20
12
  error: z.ZodOptional<z.ZodString>;
21
13
  info: z.ZodOptional<z.ZodString>;
22
- }, "strip", z.ZodTypeAny, {
23
- primary?: string | undefined;
24
- success?: string | undefined;
25
- warning?: string | undefined;
26
- error?: string | undefined;
27
- info?: string | undefined;
28
- }, {
29
- primary?: string | undefined;
30
- success?: string | undefined;
31
- warning?: string | undefined;
32
- error?: string | undefined;
33
- info?: string | undefined;
34
- }>;
14
+ }, z.core.$strip>;
35
15
  logos: z.ZodObject<{
36
16
  default: z.ZodOptional<z.ZodObject<{
37
17
  light: z.ZodOptional<z.ZodString>;
38
18
  dark: z.ZodOptional<z.ZodString>;
39
- }, "strip", z.ZodTypeAny, {
40
- light?: string | undefined;
41
- dark?: string | undefined;
42
- }, {
43
- light?: string | undefined;
44
- dark?: string | undefined;
45
- }>>;
19
+ }, z.core.$strip>>;
46
20
  collapsed: z.ZodOptional<z.ZodObject<{
47
21
  light: z.ZodOptional<z.ZodString>;
48
22
  dark: z.ZodOptional<z.ZodString>;
49
- }, "strip", z.ZodTypeAny, {
50
- light?: string | undefined;
51
- dark?: string | undefined;
52
- }, {
53
- light?: string | undefined;
54
- dark?: string | undefined;
55
- }>>;
23
+ }, z.core.$strip>>;
56
24
  email: z.ZodOptional<z.ZodObject<{
57
25
  light: z.ZodOptional<z.ZodString>;
58
26
  dark: z.ZodOptional<z.ZodString>;
59
- }, "strip", z.ZodTypeAny, {
60
- light?: string | undefined;
61
- dark?: string | undefined;
62
- }, {
63
- light?: string | undefined;
64
- dark?: string | undefined;
65
- }>>;
27
+ }, z.core.$strip>>;
66
28
  favicon: z.ZodOptional<z.ZodObject<{
67
29
  light: z.ZodOptional<z.ZodString>;
68
30
  dark: z.ZodOptional<z.ZodString>;
69
- }, "strip", z.ZodTypeAny, {
70
- light?: string | undefined;
71
- dark?: string | undefined;
72
- }, {
73
- light?: string | undefined;
74
- dark?: string | undefined;
75
- }>>;
76
- }, "strip", z.ZodTypeAny, {
77
- default?: {
78
- light?: string | undefined;
79
- dark?: string | undefined;
80
- } | undefined;
81
- collapsed?: {
82
- light?: string | undefined;
83
- dark?: string | undefined;
84
- } | undefined;
85
- email?: {
86
- light?: string | undefined;
87
- dark?: string | undefined;
88
- } | undefined;
89
- favicon?: {
90
- light?: string | undefined;
91
- dark?: string | undefined;
92
- } | undefined;
93
- }, {
94
- default?: {
95
- light?: string | undefined;
96
- dark?: string | undefined;
97
- } | undefined;
98
- collapsed?: {
99
- light?: string | undefined;
100
- dark?: string | undefined;
101
- } | undefined;
102
- email?: {
103
- light?: string | undefined;
104
- dark?: string | undefined;
105
- } | undefined;
106
- favicon?: {
107
- light?: string | undefined;
108
- dark?: string | undefined;
109
- } | undefined;
110
- }>;
31
+ }, z.core.$strip>>;
32
+ }, z.core.$strip>;
111
33
  uploads: z.ZodOptional<z.ZodArray<z.ZodObject<{
112
- slot: z.ZodEnum<["default", "collapsed", "email", "favicon"]>;
113
- mode: z.ZodEnum<["light", "dark"]>;
34
+ slot: z.ZodEnum<{
35
+ collapsed: "collapsed";
36
+ default: "default";
37
+ email: "email";
38
+ favicon: "favicon";
39
+ }>;
40
+ mode: z.ZodEnum<{
41
+ dark: "dark";
42
+ light: "light";
43
+ }>;
114
44
  contentType: z.ZodString;
115
45
  base64Content: z.ZodString;
116
- }, "strip", z.ZodTypeAny, {
117
- slot: "collapsed" | "default" | "email" | "favicon";
118
- mode: "dark" | "light";
119
- contentType: string;
120
- base64Content: string;
121
- }, {
122
- slot: "collapsed" | "default" | "email" | "favicon";
123
- mode: "dark" | "light";
124
- contentType: string;
125
- base64Content: string;
126
- }>, "many">>;
127
- }, "strip", z.ZodTypeAny, {
128
- variables: {
129
- shared: Record<string, string>;
130
- light: Record<string, string>;
131
- dark: Record<string, string>;
132
- };
133
- colors: {
134
- primary?: string | undefined;
135
- success?: string | undefined;
136
- warning?: string | undefined;
137
- error?: string | undefined;
138
- info?: string | undefined;
139
- };
140
- logos: {
141
- default?: {
142
- light?: string | undefined;
143
- dark?: string | undefined;
144
- } | undefined;
145
- collapsed?: {
146
- light?: string | undefined;
147
- dark?: string | undefined;
148
- } | undefined;
149
- email?: {
150
- light?: string | undefined;
151
- dark?: string | undefined;
152
- } | undefined;
153
- favicon?: {
154
- light?: string | undefined;
155
- dark?: string | undefined;
156
- } | undefined;
157
- };
158
- uploads?: {
159
- slot: "collapsed" | "default" | "email" | "favicon";
160
- mode: "dark" | "light";
161
- contentType: string;
162
- base64Content: string;
163
- }[] | undefined;
164
- }, {
165
- variables: {
166
- shared: Record<string, string>;
167
- light: Record<string, string>;
168
- dark: Record<string, string>;
169
- };
170
- colors: {
171
- primary?: string | undefined;
172
- success?: string | undefined;
173
- warning?: string | undefined;
174
- error?: string | undefined;
175
- info?: string | undefined;
176
- };
177
- logos: {
178
- default?: {
179
- light?: string | undefined;
180
- dark?: string | undefined;
181
- } | undefined;
182
- collapsed?: {
183
- light?: string | undefined;
184
- dark?: string | undefined;
185
- } | undefined;
186
- email?: {
187
- light?: string | undefined;
188
- dark?: string | undefined;
189
- } | undefined;
190
- favicon?: {
191
- light?: string | undefined;
192
- dark?: string | undefined;
193
- } | undefined;
194
- };
195
- uploads?: {
196
- slot: "collapsed" | "default" | "email" | "favicon";
197
- mode: "dark" | "light";
198
- contentType: string;
199
- base64Content: string;
200
- }[] | undefined;
201
- }>;
46
+ }, z.core.$strip>>>;
47
+ }, z.core.$strip>;