storyloco 1.11.2 → 1.11.3
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/package.json +1 -1
- package/packages/input/types.ts +6 -4
package/package.json
CHANGED
package/packages/input/types.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { UUID } from 'crypto'
|
|
2
|
+
|
|
1
3
|
const types = [
|
|
2
4
|
'text',
|
|
3
5
|
'email',
|
|
@@ -17,7 +19,7 @@ const types = [
|
|
|
17
19
|
'hidden',
|
|
18
20
|
] as const
|
|
19
21
|
|
|
20
|
-
namespace Field {
|
|
22
|
+
export namespace Field {
|
|
21
23
|
export type Type = (typeof types)[number]
|
|
22
24
|
|
|
23
25
|
export type Base = {
|
|
@@ -47,7 +49,7 @@ namespace Field {
|
|
|
47
49
|
disabled: boolean
|
|
48
50
|
selected: boolean
|
|
49
51
|
label: string
|
|
50
|
-
|
|
52
|
+
id: UUID
|
|
51
53
|
}>
|
|
52
54
|
multiple: boolean
|
|
53
55
|
}
|
|
@@ -60,7 +62,7 @@ namespace Field {
|
|
|
60
62
|
disabled: boolean
|
|
61
63
|
checked: boolean
|
|
62
64
|
label: string
|
|
63
|
-
|
|
65
|
+
id: UUID
|
|
64
66
|
}>
|
|
65
67
|
}
|
|
66
68
|
|
|
@@ -71,7 +73,7 @@ namespace Field {
|
|
|
71
73
|
disabled: boolean
|
|
72
74
|
checked: boolean
|
|
73
75
|
label: string
|
|
74
|
-
|
|
76
|
+
id: UUID
|
|
75
77
|
}>
|
|
76
78
|
}
|
|
77
79
|
|