@mobile-reality/mdma-spec 0.1.0 → 0.2.1
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.
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/schemas/binding.d.ts.map +1 -1
- package/dist/schemas/binding.js.map +1 -1
- package/dist/schemas/components/form.d.ts +8 -8
- package/dist/schemas/components/form.d.ts.map +1 -1
- package/dist/schemas/components/form.js +5 -6
- package/dist/schemas/components/form.js.map +1 -1
- package/dist/schemas/components/index.d.ts +5 -5
- package/dist/schemas/components/table.js +2 -2
- package/dist/schemas/components/table.js.map +1 -1
- package/package.json +2 -2
package/dist/constants.d.ts
CHANGED
package/dist/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binding.d.ts","sourceRoot":"","sources":["../../src/schemas/binding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"binding.d.ts","sourceRoot":"","sources":["../../src/schemas/binding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB,aAEyB,CAAC;AAE9D,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,6EAA6E;AAC7E,wBAAgB,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC,gCAEtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"binding.js","sourceRoot":"","sources":["../../src/schemas/binding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,EAAE;KACR,KAAK,
|
|
1
|
+
{"version":3,"file":"binding.js","sourceRoot":"","sources":["../../src/schemas/binding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,EAAE;KACR,KAAK,CAAC,eAAe,EAAE,kCAAkC,CAAC,CAAC;AAI9D,6EAA6E;AAC7E,MAAM,UAAU,QAAQ,CAAsB,MAAS;IACrD,OAAO,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,uBAAuB,CAAC,CAAC,CAAC;AACpD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const FormFieldSchema: z.ZodObject<{
|
|
3
3
|
name: z.ZodString;
|
|
4
|
-
type: z.ZodEnum<["text", "number", "email", "date", "select", "checkbox", "textarea"]>;
|
|
4
|
+
type: z.ZodEnum<["text", "number", "email", "date", "select", "checkbox", "textarea", "file"]>;
|
|
5
5
|
label: z.ZodString;
|
|
6
6
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
7
7
|
sensitive: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -37,7 +37,7 @@ export declare const FormFieldSchema: z.ZodObject<{
|
|
|
37
37
|
}>>;
|
|
38
38
|
bind: z.ZodOptional<z.ZodString>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
40
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
41
41
|
label: string;
|
|
42
42
|
sensitive: boolean;
|
|
43
43
|
name: string;
|
|
@@ -55,7 +55,7 @@ export declare const FormFieldSchema: z.ZodObject<{
|
|
|
55
55
|
defaultValue?: unknown;
|
|
56
56
|
bind?: string | undefined;
|
|
57
57
|
}, {
|
|
58
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
58
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
59
59
|
label: string;
|
|
60
60
|
name: string;
|
|
61
61
|
options?: unknown;
|
|
@@ -81,7 +81,7 @@ export declare const FormComponentSchema: z.ZodObject<{
|
|
|
81
81
|
type: z.ZodLiteral<"form">;
|
|
82
82
|
fields: z.ZodArray<z.ZodObject<{
|
|
83
83
|
name: z.ZodString;
|
|
84
|
-
type: z.ZodEnum<["text", "number", "email", "date", "select", "checkbox", "textarea"]>;
|
|
84
|
+
type: z.ZodEnum<["text", "number", "email", "date", "select", "checkbox", "textarea", "file"]>;
|
|
85
85
|
label: z.ZodString;
|
|
86
86
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
87
87
|
sensitive: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -117,7 +117,7 @@ export declare const FormComponentSchema: z.ZodObject<{
|
|
|
117
117
|
}>>;
|
|
118
118
|
bind: z.ZodOptional<z.ZodString>;
|
|
119
119
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
120
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
121
121
|
label: string;
|
|
122
122
|
sensitive: boolean;
|
|
123
123
|
name: string;
|
|
@@ -135,7 +135,7 @@ export declare const FormComponentSchema: z.ZodObject<{
|
|
|
135
135
|
defaultValue?: unknown;
|
|
136
136
|
bind?: string | undefined;
|
|
137
137
|
}, {
|
|
138
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
138
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
139
139
|
label: string;
|
|
140
140
|
name: string;
|
|
141
141
|
options?: unknown;
|
|
@@ -158,7 +158,7 @@ export declare const FormComponentSchema: z.ZodObject<{
|
|
|
158
158
|
disabled: string | boolean;
|
|
159
159
|
visible: string | boolean;
|
|
160
160
|
fields: {
|
|
161
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
161
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
162
162
|
label: string;
|
|
163
163
|
sensitive: boolean;
|
|
164
164
|
name: string;
|
|
@@ -183,7 +183,7 @@ export declare const FormComponentSchema: z.ZodObject<{
|
|
|
183
183
|
type: "form";
|
|
184
184
|
id: string;
|
|
185
185
|
fields: {
|
|
186
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
186
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
187
187
|
label: string;
|
|
188
188
|
name: string;
|
|
189
189
|
options?: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/schemas/components/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/schemas/components/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsB1B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { ComponentBaseSchema } from '../component-base.js';
|
|
|
3
3
|
import { BindingExpressionSchema } from '../binding.js';
|
|
4
4
|
export const FormFieldSchema = z.object({
|
|
5
5
|
name: z.string().min(1),
|
|
6
|
-
type: z.enum(['text', 'number', 'email', 'date', 'select', 'checkbox', 'textarea']),
|
|
6
|
+
type: z.enum(['text', 'number', 'email', 'date', 'select', 'checkbox', 'textarea', 'file']),
|
|
7
7
|
label: z.string(),
|
|
8
8
|
required: z.boolean().default(false),
|
|
9
9
|
sensitive: z.boolean().default(false),
|
|
@@ -11,11 +11,10 @@ export const FormFieldSchema = z.object({
|
|
|
11
11
|
options: z.preprocess((val) => {
|
|
12
12
|
if (!Array.isArray(val))
|
|
13
13
|
return val;
|
|
14
|
-
return val.map((item) => typeof item === 'string' ? { label: item, value: item } : item);
|
|
15
|
-
}, z
|
|
16
|
-
z.array(z.object({ label: z.string(), value: z.string() })),
|
|
17
|
-
|
|
18
|
-
]).optional()),
|
|
14
|
+
return val.map((item) => (typeof item === 'string' ? { label: item, value: item } : item));
|
|
15
|
+
}, z
|
|
16
|
+
.union([z.array(z.object({ label: z.string(), value: z.string() })), z.string().min(1)])
|
|
17
|
+
.optional()),
|
|
19
18
|
validation: z
|
|
20
19
|
.object({
|
|
21
20
|
pattern: z.string().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../src/schemas/components/form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAExD,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,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<z.ZodObject<{
|
|
21
21
|
name: z.ZodString;
|
|
22
|
-
type: z.ZodEnum<["text", "number", "email", "date", "select", "checkbox", "textarea"]>;
|
|
22
|
+
type: z.ZodEnum<["text", "number", "email", "date", "select", "checkbox", "textarea", "file"]>;
|
|
23
23
|
label: z.ZodString;
|
|
24
24
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
25
25
|
sensitive: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -55,7 +55,7 @@ export declare const MdmaComponentSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
55
55
|
}>>;
|
|
56
56
|
bind: z.ZodOptional<z.ZodString>;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
58
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
59
59
|
label: string;
|
|
60
60
|
sensitive: boolean;
|
|
61
61
|
name: string;
|
|
@@ -73,7 +73,7 @@ export declare const MdmaComponentSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
73
73
|
defaultValue?: unknown;
|
|
74
74
|
bind?: string | undefined;
|
|
75
75
|
}, {
|
|
76
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
76
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
77
77
|
label: string;
|
|
78
78
|
name: string;
|
|
79
79
|
options?: unknown;
|
|
@@ -96,7 +96,7 @@ export declare const MdmaComponentSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
96
96
|
disabled: string | boolean;
|
|
97
97
|
visible: string | boolean;
|
|
98
98
|
fields: {
|
|
99
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
99
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
100
100
|
label: string;
|
|
101
101
|
sensitive: boolean;
|
|
102
102
|
name: string;
|
|
@@ -121,7 +121,7 @@ export declare const MdmaComponentSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
121
121
|
type: "form";
|
|
122
122
|
id: string;
|
|
123
123
|
fields: {
|
|
124
|
-
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea";
|
|
124
|
+
type: "number" | "date" | "text" | "email" | "select" | "checkbox" | "textarea" | "file";
|
|
125
125
|
label: string;
|
|
126
126
|
name: string;
|
|
127
127
|
options?: unknown;
|
|
@@ -9,11 +9,11 @@ export const TableColumnSchema = z.preprocess((val) => {
|
|
|
9
9
|
// Normalize common LLM-generated field names
|
|
10
10
|
if ('field' in result && !('key' in result)) {
|
|
11
11
|
result.key = result.field;
|
|
12
|
-
|
|
12
|
+
result.field = undefined;
|
|
13
13
|
}
|
|
14
14
|
if ('label' in result && !('header' in result)) {
|
|
15
15
|
result.header = result.label;
|
|
16
|
-
|
|
16
|
+
result.label = undefined;
|
|
17
17
|
}
|
|
18
18
|
return result;
|
|
19
19
|
}, z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/schemas/components/table.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AAExD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,UAAU,CAC3C,CAAC,GAAG,EAAE,EAAE;IACN,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,KAAK,IAAI;QAAE,OAAO,GAAG,CAAC;IACxD,MAAM,GAAG,GAAG,GAA8B,CAAC;IAC3C,MAAM,MAAM,GAAG,EAAE,GAAG,GAAG,EAAE,CAAC;IAC1B,6CAA6C;IAC7C,IAAI,OAAO,IAAI,MAAM,IAAI,CAAC,CAAC,KAAK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CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACpC,SAAS,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACrC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC7B,CAAC,CACH,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CAAC,MAAM,CAAC;IAC7D,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IACxB,OAAO,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC1C,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,EAAE,uBAAuB,CAAC,CAAC;IACxE,QAAQ,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACpC,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC;IACtC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC3C,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobile-reality/mdma-spec",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "tsc -p tsconfig.json",
|
|
43
43
|
"test": "vitest run",
|
|
44
|
-
"lint": "
|
|
44
|
+
"lint": "biome lint src/",
|
|
45
45
|
"typecheck": "tsc --noEmit"
|
|
46
46
|
}
|
|
47
47
|
}
|