@dev-crew-berlin/enter-js-utils 0.5.3 → 0.5.4
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/api-client/api-base.js +160 -287
- package/dist/api-client/index.js +73 -190
- package/dist/lib/api-result.js +9 -13
- package/dist/lib/class-names.js +2 -12
- package/dist/lib/index.js +1 -2
- package/dist/lib/not-undefined.js +2 -3
- package/dist/lib/result.js +27 -23
- package/dist/lib/theme.js +17 -18
- package/dist/models/_helpers.js +64 -65
- package/dist/models/access-token.js +9 -6
- package/dist/models/attendee.js +109 -100
- package/dist/models/checkin-counts.js +7 -3
- package/dist/models/checkins.js +61 -69
- package/dist/models/event.js +1 -2
- package/dist/models/field-group.js +43 -43
- package/dist/models/field-value.js +1 -2
- package/dist/models/field.js +86 -41
- package/dist/models/index.js +1 -2
- package/dist/models/instance.js +109 -99
- package/dist/models/invite.js +18 -15
- package/dist/models/meta-field.js +8 -7
- package/dist/models/user.js +10 -9
- package/dist/models/variable.js +15 -14
- package/dist/ui/button.js +15 -29
- package/dist/ui/button.stories.js +17 -27
- package/dist/ui/checkin-count-indicator.js +67 -46
- package/dist/ui/checkin-count-indicator.stories.js +45 -47
- package/dist/ui/companion-info.js +14 -14
- package/dist/ui/companion-info.stories.js +59 -50
- package/dist/ui/fonts.js +6 -4
- package/dist/ui/guest-card.js +39 -30
- package/dist/ui/guest-card.stories.js +115 -104
- package/dist/ui/index.js +1 -2
- package/dist/ui/tag.js +9 -6
- package/package.json +7 -34
- package/dist/api-client/api-base.d.ts +0 -30
- package/dist/api-client/api-base.js.map +0 -1
- package/dist/api-client/index.d.ts +0 -75
- package/dist/api-client/index.js.map +0 -1
- package/dist/lib/api-result.d.ts +0 -25
- package/dist/lib/api-result.js.map +0 -1
- package/dist/lib/class-names.d.ts +0 -1
- package/dist/lib/class-names.js.map +0 -1
- package/dist/lib/index.d.ts +0 -5
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/not-undefined.d.ts +0 -1
- package/dist/lib/not-undefined.js.map +0 -1
- package/dist/lib/result.d.ts +0 -33
- package/dist/lib/result.js.map +0 -1
- package/dist/lib/theme.d.ts +0 -18
- package/dist/lib/theme.js.map +0 -1
- package/dist/models/_helpers.d.ts +0 -23
- package/dist/models/_helpers.js.map +0 -1
- package/dist/models/access-token.d.ts +0 -11
- package/dist/models/access-token.js.map +0 -1
- package/dist/models/attendee.d.ts +0 -90
- package/dist/models/attendee.js.map +0 -1
- package/dist/models/checkin-counts.d.ts +0 -10
- package/dist/models/checkin-counts.js.map +0 -1
- package/dist/models/checkins.d.ts +0 -40
- package/dist/models/checkins.js.map +0 -1
- package/dist/models/event.d.ts +0 -40
- package/dist/models/event.js.map +0 -1
- package/dist/models/field-group.d.ts +0 -484
- package/dist/models/field-group.js.map +0 -1
- package/dist/models/field-value.d.ts +0 -2
- package/dist/models/field-value.js.map +0 -1
- package/dist/models/field.d.ts +0 -321
- package/dist/models/field.js.map +0 -1
- package/dist/models/index.d.ts +0 -14
- package/dist/models/index.js.map +0 -1
- package/dist/models/instance.d.ts +0 -78
- package/dist/models/instance.js.map +0 -1
- package/dist/models/invite.d.ts +0 -33
- package/dist/models/invite.js.map +0 -1
- package/dist/models/meta-field.d.ts +0 -7
- package/dist/models/meta-field.js.map +0 -1
- package/dist/models/user.d.ts +0 -18
- package/dist/models/user.js.map +0 -1
- package/dist/models/variable.d.ts +0 -27
- package/dist/models/variable.js.map +0 -1
- package/dist/ui/button.d.ts +0 -7
- package/dist/ui/button.js.map +0 -1
- package/dist/ui/button.stories.d.ts +0 -18
- package/dist/ui/button.stories.js.map +0 -1
- package/dist/ui/checkin-count-indicator.d.ts +0 -15
- package/dist/ui/checkin-count-indicator.js.map +0 -1
- package/dist/ui/checkin-count-indicator.stories.d.ts +0 -84
- package/dist/ui/checkin-count-indicator.stories.js.map +0 -1
- package/dist/ui/companion-info.d.ts +0 -15
- package/dist/ui/companion-info.js.map +0 -1
- package/dist/ui/companion-info.stories.d.ts +0 -44
- package/dist/ui/companion-info.stories.js.map +0 -1
- package/dist/ui/fonts.d.ts +0 -3
- package/dist/ui/fonts.js.map +0 -1
- package/dist/ui/guest-card.d.ts +0 -16
- package/dist/ui/guest-card.js.map +0 -1
- package/dist/ui/guest-card.stories.d.ts +0 -92
- package/dist/ui/guest-card.stories.js.map +0 -1
- package/dist/ui/index.d.ts +0 -6
- package/dist/ui/index.js.map +0 -1
- package/dist/ui/tag.d.ts +0 -7
- package/dist/ui/tag.js.map +0 -1
package/dist/models/field.d.ts
DELETED
|
@@ -1,321 +0,0 @@
|
|
|
1
|
-
import { ValidatorReturnType } from 'fefe';
|
|
2
|
-
declare const staticField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
3
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
4
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
5
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
6
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
7
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
8
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
9
|
-
type: import("fefe").Validator<"static", import("fefe").LeafError>;
|
|
10
|
-
}>, import("fefe").FefeError>;
|
|
11
|
-
declare const textField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
12
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
13
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
14
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
15
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
16
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
17
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
18
|
-
type: import("fefe").Validator<"text", import("fefe").LeafError>;
|
|
19
|
-
}>, import("fefe").FefeError>;
|
|
20
|
-
declare const emailField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
21
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
22
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
23
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
24
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
25
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
26
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
27
|
-
type: import("fefe").Validator<"email", import("fefe").LeafError>;
|
|
28
|
-
}>, import("fefe").FefeError>;
|
|
29
|
-
declare const numberField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
30
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
31
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
32
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
33
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
34
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
35
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
36
|
-
type: import("fefe").Validator<"number", import("fefe").LeafError>;
|
|
37
|
-
}>, import("fefe").FefeError>;
|
|
38
|
-
declare const checkboxField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
39
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
40
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
41
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
42
|
-
optional: true;
|
|
43
|
-
};
|
|
44
|
-
}>[], import("fefe").FefeError>;
|
|
45
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
46
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
47
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
48
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
49
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
50
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
51
|
-
type: import("fefe").Validator<"check", import("fefe").LeafError>;
|
|
52
|
-
}>, import("fefe").FefeError>;
|
|
53
|
-
declare const singleCheckboxField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
54
|
-
value: import("fefe").Validator<number, import("fefe").FefeError>;
|
|
55
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
56
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
57
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
58
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
59
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
60
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
61
|
-
type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
|
|
62
|
-
}>, import("fefe").FefeError>;
|
|
63
|
-
declare const radioField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
64
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
65
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
66
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
67
|
-
optional: true;
|
|
68
|
-
};
|
|
69
|
-
}>[], import("fefe").FefeError>;
|
|
70
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
71
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
72
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
73
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
74
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
75
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
76
|
-
type: import("fefe").Validator<"radio", import("fefe").LeafError>;
|
|
77
|
-
}>, import("fefe").FefeError>;
|
|
78
|
-
declare const singleRadioField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
79
|
-
itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
80
|
-
optional: true;
|
|
81
|
-
};
|
|
82
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
83
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
84
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
85
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
86
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
87
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
88
|
-
type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
|
|
89
|
-
}>, import("fefe").FefeError>;
|
|
90
|
-
declare const selectField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
91
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
92
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
93
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
94
|
-
optional: true;
|
|
95
|
-
};
|
|
96
|
-
}>[], import("fefe").FefeError>;
|
|
97
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
98
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
99
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
100
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
101
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
102
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
103
|
-
type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
|
|
104
|
-
}>, import("fefe").FefeError>;
|
|
105
|
-
export declare const field: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
106
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
107
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
108
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
109
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
110
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
111
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
112
|
-
type: import("fefe").Validator<"static", import("fefe").LeafError>;
|
|
113
|
-
}> | import("fefe").ObjectResult<{
|
|
114
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
115
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
116
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
117
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
118
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
119
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
120
|
-
type: import("fefe").Validator<"text", import("fefe").LeafError>;
|
|
121
|
-
}> | import("fefe").ObjectResult<{
|
|
122
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
123
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
124
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
125
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
126
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
127
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
128
|
-
type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
|
|
129
|
-
}> | import("fefe").ObjectResult<{
|
|
130
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
131
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
132
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
133
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
134
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
135
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
136
|
-
type: import("fefe").Validator<"email", import("fefe").LeafError>;
|
|
137
|
-
}> | import("fefe").ObjectResult<{
|
|
138
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
139
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
140
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
141
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
142
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
143
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
144
|
-
type: import("fefe").Validator<"number", import("fefe").LeafError>;
|
|
145
|
-
}> | import("fefe").ObjectResult<{
|
|
146
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
147
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
148
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
149
|
-
optional: true;
|
|
150
|
-
};
|
|
151
|
-
}>[], import("fefe").FefeError>;
|
|
152
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
153
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
154
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
155
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
156
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
157
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
158
|
-
type: import("fefe").Validator<"check", import("fefe").LeafError>;
|
|
159
|
-
}> | import("fefe").ObjectResult<{
|
|
160
|
-
value: import("fefe").Validator<number, import("fefe").FefeError>;
|
|
161
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
162
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
163
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
164
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
165
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
166
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
167
|
-
type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
|
|
168
|
-
}> | import("fefe").ObjectResult<{
|
|
169
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
170
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
171
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
172
|
-
optional: true;
|
|
173
|
-
};
|
|
174
|
-
}>[], import("fefe").FefeError>;
|
|
175
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
176
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
177
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
178
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
179
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
180
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
181
|
-
type: import("fefe").Validator<"radio", import("fefe").LeafError>;
|
|
182
|
-
}> | import("fefe").ObjectResult<{
|
|
183
|
-
itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
184
|
-
optional: true;
|
|
185
|
-
};
|
|
186
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
187
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
188
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
189
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
190
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
191
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
192
|
-
type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
|
|
193
|
-
}> | import("fefe").ObjectResult<{
|
|
194
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
195
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
196
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
197
|
-
optional: true;
|
|
198
|
-
};
|
|
199
|
-
}>[], import("fefe").FefeError>;
|
|
200
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
201
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
202
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
203
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
204
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
205
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
206
|
-
type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
|
|
207
|
-
}>, import("fefe").LeafError>;
|
|
208
|
-
export declare const parseField: import("../lib").APIValidator<import("fefe").ObjectResult<{
|
|
209
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
210
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
211
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
212
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
213
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
214
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
215
|
-
type: import("fefe").Validator<"static", import("fefe").LeafError>;
|
|
216
|
-
}> | import("fefe").ObjectResult<{
|
|
217
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
218
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
219
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
220
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
221
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
222
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
223
|
-
type: import("fefe").Validator<"text", import("fefe").LeafError>;
|
|
224
|
-
}> | import("fefe").ObjectResult<{
|
|
225
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
226
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
227
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
228
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
229
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
230
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
231
|
-
type: import("fefe").Validator<"longtext", import("fefe").LeafError>;
|
|
232
|
-
}> | import("fefe").ObjectResult<{
|
|
233
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
234
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
235
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
236
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
237
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
238
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
239
|
-
type: import("fefe").Validator<"email", import("fefe").LeafError>;
|
|
240
|
-
}> | import("fefe").ObjectResult<{
|
|
241
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
242
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
243
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
244
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
245
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
246
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
247
|
-
type: import("fefe").Validator<"number", import("fefe").LeafError>;
|
|
248
|
-
}> | import("fefe").ObjectResult<{
|
|
249
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
250
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
251
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
252
|
-
optional: true;
|
|
253
|
-
};
|
|
254
|
-
}>[], import("fefe").FefeError>;
|
|
255
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
256
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
257
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
258
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
259
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
260
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
261
|
-
type: import("fefe").Validator<"check", import("fefe").LeafError>;
|
|
262
|
-
}> | import("fefe").ObjectResult<{
|
|
263
|
-
value: import("fefe").Validator<number, import("fefe").FefeError>;
|
|
264
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
265
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
266
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
267
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
268
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
269
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
270
|
-
type: import("fefe").Validator<"checkbox", import("fefe").LeafError>;
|
|
271
|
-
}> | import("fefe").ObjectResult<{
|
|
272
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
273
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
274
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
275
|
-
optional: true;
|
|
276
|
-
};
|
|
277
|
-
}>[], import("fefe").FefeError>;
|
|
278
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
279
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
280
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
281
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
282
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
283
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
284
|
-
type: import("fefe").Validator<"radio", import("fefe").LeafError>;
|
|
285
|
-
}> | import("fefe").ObjectResult<{
|
|
286
|
-
itemval: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
287
|
-
optional: true;
|
|
288
|
-
};
|
|
289
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
290
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
291
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
292
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
293
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
294
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
295
|
-
type: import("fefe").Validator<"radiobutton", import("fefe").LeafError>;
|
|
296
|
-
}> | import("fefe").ObjectResult<{
|
|
297
|
-
items: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
298
|
-
name: import("fefe").Validator<string | import("./_helpers").Dictionary<string>, import("fefe").LeafError>;
|
|
299
|
-
value: import("fefe").Validator<string, import("fefe").FefeError> & {
|
|
300
|
-
optional: true;
|
|
301
|
-
};
|
|
302
|
-
}>[], import("fefe").FefeError>;
|
|
303
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
304
|
-
title: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
305
|
-
info: import("fefe").Validator<string | import("./_helpers").Dictionary<string> | null, import("fefe").FefeError>;
|
|
306
|
-
required: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
307
|
-
if: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
308
|
-
class: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
309
|
-
type: import("fefe").Validator<"dropdown", import("fefe").LeafError>;
|
|
310
|
-
}>>;
|
|
311
|
-
export declare type StaticField = ValidatorReturnType<typeof staticField>;
|
|
312
|
-
export declare type TextField = ValidatorReturnType<typeof textField>;
|
|
313
|
-
export declare type EmailField = ValidatorReturnType<typeof emailField>;
|
|
314
|
-
export declare type NumberField = ValidatorReturnType<typeof numberField>;
|
|
315
|
-
export declare type CheckboxField = ValidatorReturnType<typeof checkboxField>;
|
|
316
|
-
export declare type SingleCheckboxField = ValidatorReturnType<typeof singleCheckboxField>;
|
|
317
|
-
export declare type RadioField = ValidatorReturnType<typeof radioField>;
|
|
318
|
-
export declare type SingleRadioField = ValidatorReturnType<typeof singleRadioField>;
|
|
319
|
-
export declare type SelectField = ValidatorReturnType<typeof selectField>;
|
|
320
|
-
export declare type Field = ValidatorReturnType<typeof field>;
|
|
321
|
-
export {};
|
package/dist/models/field.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../src/models/field.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,QAAQ,EACR,SAAS,EACT,OAAO,EACP,SAAS,EACT,KAAK,EACL,MAAM,GAEP,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAE9C,IAAM,eAAe,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC;IAC9B,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACnD,IAAI,EAAE,KAAK,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CAAA;AAED,MAAM,CAAC,IAAM,UAAU,GAAG,YAAY,CAAC,KAAK,CAAC,CAAA"}
|
package/dist/models/index.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export type { AccessToken } from './access-token';
|
|
2
|
-
export { Attendee } from './attendee';
|
|
3
|
-
export type { CheckinCounts } from './checkin-counts';
|
|
4
|
-
export type { Checkin, CheckinsJSON, Checkins } from './checkins';
|
|
5
|
-
export type { Event } from './event';
|
|
6
|
-
export type { FieldGroup, FieldLabels } from './field-group';
|
|
7
|
-
export { FieldGroups } from './field-group';
|
|
8
|
-
export type { FieldValue } from './field-value';
|
|
9
|
-
export type { StaticField, TextField, EmailField, NumberField, CheckboxField, SingleCheckboxField, RadioField, SingleRadioField, SelectField, Field, } from './field';
|
|
10
|
-
export { Instance } from './instance';
|
|
11
|
-
export type { Invite } from './invite';
|
|
12
|
-
export type { MetaField } from './meta-field';
|
|
13
|
-
export type { User } from './user';
|
|
14
|
-
export type { Variable } from './variable';
|
package/dist/models/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAKrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAc3C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { ValidatorReturnType } from 'fefe';
|
|
2
|
-
import { APIResult } from '../lib';
|
|
3
|
-
import { Attendee } from './attendee';
|
|
4
|
-
import { Invite } from './invite';
|
|
5
|
-
import { MetaField } from './meta-field';
|
|
6
|
-
export declare type InstanceJSON = {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
description: string;
|
|
10
|
-
checkins: string[];
|
|
11
|
-
thumbnail: boolean;
|
|
12
|
-
url: {
|
|
13
|
-
domain: string;
|
|
14
|
-
rootPath: string;
|
|
15
|
-
};
|
|
16
|
-
registration: {
|
|
17
|
-
start: string | null;
|
|
18
|
-
end: string | null;
|
|
19
|
-
closed: boolean;
|
|
20
|
-
canEdit: boolean;
|
|
21
|
-
editEnd: string | null;
|
|
22
|
-
};
|
|
23
|
-
guestNameFields: string[];
|
|
24
|
-
metaFields: Record<string, MetaField>;
|
|
25
|
-
};
|
|
26
|
-
export declare class Instance {
|
|
27
|
-
name: string;
|
|
28
|
-
title: string;
|
|
29
|
-
description: string;
|
|
30
|
-
checkinTags: string[];
|
|
31
|
-
hasTumbnail: boolean;
|
|
32
|
-
url: {
|
|
33
|
-
domain: string;
|
|
34
|
-
rootPath: string;
|
|
35
|
-
};
|
|
36
|
-
registration: {
|
|
37
|
-
start: Date | null;
|
|
38
|
-
end: Date | null;
|
|
39
|
-
closed: boolean;
|
|
40
|
-
canEdit: boolean;
|
|
41
|
-
editEnd: Date | null;
|
|
42
|
-
};
|
|
43
|
-
guestNameFields: string[];
|
|
44
|
-
metaFields: Record<string, MetaField>;
|
|
45
|
-
constructor(rawInstance: RawInstance);
|
|
46
|
-
toJSON(): InstanceJSON;
|
|
47
|
-
isRegistrationClosed(): boolean;
|
|
48
|
-
canEditRegistration(): boolean;
|
|
49
|
-
formatName(guest: Attendee | Invite): string;
|
|
50
|
-
}
|
|
51
|
-
declare const rawInstance: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
52
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
53
|
-
title: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
54
|
-
description: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
55
|
-
checkins: import("fefe").Validator<string[], import("fefe").FefeError>;
|
|
56
|
-
thumbnail: import("fefe").Validator<boolean, import("fefe").LeafError>;
|
|
57
|
-
url: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
58
|
-
domain: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
59
|
-
rootPath: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
60
|
-
}>, import("fefe").FefeError>;
|
|
61
|
-
registration: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
62
|
-
start: import("fefe").Validator<Date | null, import("fefe").FefeError>;
|
|
63
|
-
end: import("fefe").Validator<Date | null, import("fefe").FefeError>;
|
|
64
|
-
closed: import("fefe").Validator<boolean, import("fefe").LeafError>;
|
|
65
|
-
canEdit: import("fefe").Validator<boolean, import("fefe").FefeError>;
|
|
66
|
-
editEnd: import("fefe").Validator<Date | null, import("fefe").FefeError>;
|
|
67
|
-
}>, import("fefe").FefeError>;
|
|
68
|
-
guestNameFields: import("fefe").Validator<string[], import("fefe").FefeError>;
|
|
69
|
-
metaFields: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<import("fefe").ObjectResult<{
|
|
70
|
-
type: import("fefe").Validator<"text" | "checkbox" | "list" | "textfield", import("fefe").LeafError>;
|
|
71
|
-
values: import("fefe").Validator<string[] | null, import("fefe").FefeError>;
|
|
72
|
-
default: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
73
|
-
}>>, import("fefe").FefeError>;
|
|
74
|
-
}>, import("fefe").FefeError>;
|
|
75
|
-
declare type RawInstance = ValidatorReturnType<typeof rawInstance>;
|
|
76
|
-
export declare const parseInstance: (value: unknown) => APIResult<Instance>;
|
|
77
|
-
export declare const parseInstanceList: (value: unknown) => APIResult<Instance[]>;
|
|
78
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"instance.js","sourceRoot":"","sources":["../../src/models/instance.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,OAAO,EACP,MAAM,EACN,SAAS,EACT,IAAI,EACJ,MAAM,EACN,SAAS,GAEV,MAAM,MAAM,CAAA;AACb,OAAO,EAAa,YAAY,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAGzD,OAAO,EAAE,SAAS,EAAa,MAAM,cAAc,CAAA;AACnD,OAAO,EAA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A;AAClD,IAAM,oBAAoB,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;AAE1D,MAAM,CAAC,IAAM,aAAa,GAAG,UAAC,KAAc;IAC1C,IAAM,MAAM,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAA;IACtC,IAAI,CAAC,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAA;IAClC,OAAO,OAAO,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA;AAC3C,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,iBAAiB,GAAG,UAAC,KAAc;IAC9C,IAAM,MAAM,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAA;IAC1C,IAAI,CAAC,MAAM,CAAC,OAAO;QAAE,OAAO,MAAM,CAAA;IAClC,OAAO,OAAO,CACZ,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,UAAC,WAAW,IAAK,OAAA,IAAI,QAAQ,CAAC,WAAW,CAAC,EAAzB,CAAyB,CAAC,CACtE,CAAA;AACH,CAAC,CAAA"}
|
package/dist/models/invite.d.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { ValidatorReturnType } from 'fefe';
|
|
2
|
-
declare const invite: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
3
|
-
auth: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
4
|
-
count: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
5
|
-
limit: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
6
|
-
tags: import("fefe").Validator<string[], import("fefe").FefeError>;
|
|
7
|
-
userdata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<string | number | string[] | null>, import("fefe").FefeError>;
|
|
8
|
-
metadata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<string>, import("fefe").FefeError>;
|
|
9
|
-
expires: import("fefe").Validator<Date | null, import("fefe").FefeError>;
|
|
10
|
-
language: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
11
|
-
}>, import("fefe").FefeError>;
|
|
12
|
-
export declare const parseInvite: import("../lib").APIValidator<import("fefe").ObjectResult<{
|
|
13
|
-
auth: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
14
|
-
count: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
15
|
-
limit: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
16
|
-
tags: import("fefe").Validator<string[], import("fefe").FefeError>;
|
|
17
|
-
userdata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<string | number | string[] | null>, import("fefe").FefeError>;
|
|
18
|
-
metadata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<string>, import("fefe").FefeError>;
|
|
19
|
-
expires: import("fefe").Validator<Date | null, import("fefe").FefeError>;
|
|
20
|
-
language: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
21
|
-
}>>;
|
|
22
|
-
export declare const parseInviteList: import("../lib").APIValidator<import("fefe").ObjectResult<{
|
|
23
|
-
auth: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
24
|
-
count: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
25
|
-
limit: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
26
|
-
tags: import("fefe").Validator<string[], import("fefe").FefeError>;
|
|
27
|
-
userdata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<string | number | string[] | null>, import("fefe").FefeError>;
|
|
28
|
-
metadata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<string>, import("fefe").FefeError>;
|
|
29
|
-
expires: import("fefe").Validator<Date | null, import("fefe").FefeError>;
|
|
30
|
-
language: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
31
|
-
}>[]>;
|
|
32
|
-
export declare type Invite = ValidatorReturnType<typeof invite>;
|
|
33
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"invite.js","sourceRoot":"","sources":["../../src/models/invite.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,SAAS,EACT,IAAI,EACJ,MAAM,GAEP,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAExD,IAAM,MAAM,GAAG,MAAM,CACnB;IACE,IAAI,EAAE,MAAM,EAAE;IACd,KAAK,EAAE,MAAM,EAAE;IACf,KAAK,EAAE,MAAM,EAAE;IACf,IAAI,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;IACrB,QAAQ,EAAE,UAAU,CAAC,aAAa,CAAC;IACnC,QAAQ,EAAE,UAAU,CAAC,QAAQ,CAAC;IAC9B,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;IAC7D,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE,CAAC;CAC1B,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAA;AACD,IAAM,UAAU,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;AAChC,MAAM,CAAC,IAAM,WAAW,GAAG,YAAY,CAAC,MAAM,CAAC,CAAA;AAC/C,MAAM,CAAC,IAAM,eAAe,GAAG,YAAY,CAAC,UAAU,CAAC,CAAA"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ValidatorReturnType } from 'fefe';
|
|
2
|
-
export declare const metaField: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
3
|
-
type: import("fefe").Validator<"text" | "checkbox" | "list" | "textfield", import("fefe").LeafError>;
|
|
4
|
-
values: import("fefe").Validator<string[] | null, import("fefe").FefeError>;
|
|
5
|
-
default: import("fefe").Validator<string | null, import("fefe").FefeError>;
|
|
6
|
-
}>, import("fefe").FefeError>;
|
|
7
|
-
export declare type MetaField = ValidatorReturnType<typeof metaField>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta-field.js","sourceRoot":"","sources":["../../src/models/meta-field.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,SAAS,EACT,MAAM,EACN,QAAQ,EACR,MAAM,GAEP,MAAM,MAAM,CAAA;AAEb,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,CAAC,IAAM,SAAS,GAAG,MAAM,CAC7B;IACE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IACxD,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;IACxC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;CACnC,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAA"}
|
package/dist/models/user.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ValidatorReturnType } from 'fefe';
|
|
2
|
-
export declare const user: import("fefe").Validator<import("fefe").ObjectResult<{
|
|
3
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
4
|
-
timeout: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
5
|
-
userdata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<unknown>, import("fefe").FefeError>;
|
|
6
|
-
permissions: import("fefe").Validator<import("./_helpers").Dictionary<string[]>, import("fefe").FefeError> & {
|
|
7
|
-
optional: true;
|
|
8
|
-
};
|
|
9
|
-
}>, import("fefe").FefeError>;
|
|
10
|
-
export declare type User = ValidatorReturnType<typeof user>;
|
|
11
|
-
export declare const parseUser: import("../lib").APIValidator<import("fefe").ObjectResult<{
|
|
12
|
-
name: import("fefe").Validator<string, import("fefe").LeafError>;
|
|
13
|
-
timeout: import("fefe").Validator<number, import("fefe").LeafError>;
|
|
14
|
-
userdata: (value: unknown) => import("fefe").Result<import("./_helpers").Dictionary<unknown>, import("fefe").FefeError>;
|
|
15
|
-
permissions: import("fefe").Validator<import("./_helpers").Dictionary<string[]>, import("fefe").FefeError> & {
|
|
16
|
-
optional: true;
|
|
17
|
-
};
|
|
18
|
-
}>>;
|
package/dist/models/user.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../src/models/user.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,MAAM,EACN,MAAM,EACN,MAAM,EACN,QAAQ,GAET,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AACrC,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AAEhD,MAAM,CAAC,IAAM,IAAI,GAAG,MAAM,CACxB;IACE,IAAI,EAAE,MAAM,EAAE;IACd,OAAO,EAAE,MAAM,EAAE;IACjB,QAAQ,EAAE,UAAU,CAAC,OAAO,EAAE,CAAC;IAC/B,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CACnD,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAA;AAGD,MAAM,CAAC,IAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ValidatorReturnType } from 'fefe';
|
|
2
|
-
declare const variable: import("fefe").Validator<{
|
|
3
|
-
name: string;
|
|
4
|
-
title: string;
|
|
5
|
-
value: string;
|
|
6
|
-
isPrivate: boolean;
|
|
7
|
-
} & {} & {
|
|
8
|
-
variableType: "text";
|
|
9
|
-
}, import("fefe").FefeError>;
|
|
10
|
-
export declare type Variable = ValidatorReturnType<typeof variable>;
|
|
11
|
-
export declare const parseVariable: import("../lib").APIValidator<{
|
|
12
|
-
name: string;
|
|
13
|
-
title: string;
|
|
14
|
-
value: string;
|
|
15
|
-
isPrivate: boolean;
|
|
16
|
-
} & {} & {
|
|
17
|
-
variableType: "text";
|
|
18
|
-
}>;
|
|
19
|
-
export declare const parseVariableList: import("../lib").APIValidator<({
|
|
20
|
-
name: string;
|
|
21
|
-
title: string;
|
|
22
|
-
value: string;
|
|
23
|
-
isPrivate: boolean;
|
|
24
|
-
} & {} & {
|
|
25
|
-
variableType: "text";
|
|
26
|
-
})[]>;
|
|
27
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"variable.js","sourceRoot":"","sources":["../../src/models/variable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,EACL,OAAO,EACP,kBAAkB,EAClB,MAAM,GAEP,MAAM,MAAM,CAAA;AACb,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAErC,IAAM,QAAQ,GAAG,kBAAkB,CACjC,cAAc,EACd;IACE,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,EAAE;QACd,KAAK,EAAE,MAAM,EAAE;QACf,KAAK,EAAE,MAAM,EAAE;QACf,SAAS,EAAE,OAAO,EAAE;KACrB;IACD,gEAAgE;CACjE,EACD,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAChC,CAAA;AAED,IAAM,YAAY,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAA;AAGpC,MAAM,CAAC,IAAM,aAAa,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAA;AACnD,MAAM,CAAC,IAAM,iBAAiB,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA"}
|
package/dist/ui/button.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, FunctionComponent } from 'react';
|
|
2
|
-
import 'styled-jsx';
|
|
3
|
-
declare type Props = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'className' | 'color'> & {
|
|
4
|
-
appearance?: 'default' | 'primary' | 'danger' | 'green';
|
|
5
|
-
};
|
|
6
|
-
export declare const Button: FunctionComponent<Props>;
|
|
7
|
-
export {};
|
package/dist/ui/button.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../src/ui/button.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAkD,MAAM,OAAO,CAAA;AACtE,OAAO,YAAY,CAAA;AACnB,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAQ9B,MAAM,CAAC,IAAM,MAAM,GAA6B,UAAC,EAGhD;IAFC,IAAA,kBAAsB,EAAtB,UAAU,mBAAG,SAAS,KAAA,EACnB,KAAK,cAFuC,cAGhD,CADS;IAER,OAAO,CACL,2CAAY,KAAK,IAAE,SAAS,EAAE,iBAAU,UAAU,CAAE;QACjD,KAAK,CAAC,QAAQ;QACf,+BAAO,GAAG,UAAE,sDAEO,KAAK,CAAC,KAAK,CAAC,SAAS,4bAchB,KAAK,CAAC,MAAM,CAAC,eAAe,iCACvC,KAAK,CAAC,MAAM,CAAC,aAAa,4CACf,KAAK,CAAC,MAAM,CAAC,SAAS,0LAMtB,KAAK,CAAC,MAAM,CAAC,eAAe,iCACvC,KAAK,CAAC,MAAM,CAAC,UAAU,4CACZ,KAAK,CAAC,MAAM,CAAC,SAAS,6EAItB,KAAK,CAAC,MAAM,CAAC,aAAa,qEAE1B,KAAK,CAAC,MAAM,CAAC,aAAa,2EAI1B,KAAK,CAAC,MAAM,CAAC,UAAU,qEAEvB,KAAK,CAAC,MAAM,CAAC,UAAU,yBAE9C,CAAS,CACH,CACV,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ComponentStory, ComponentMeta } from '@storybook/react';
|
|
3
|
-
declare const _default: ComponentMeta<React.FunctionComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "color"> & {
|
|
4
|
-
appearance?: "default" | "primary" | "danger" | "green" | undefined;
|
|
5
|
-
}>>;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Basic: ComponentStory<React.FunctionComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "color"> & {
|
|
8
|
-
appearance?: "default" | "primary" | "danger" | "green" | undefined;
|
|
9
|
-
}>>;
|
|
10
|
-
export declare const Primary: ComponentStory<React.FunctionComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "color"> & {
|
|
11
|
-
appearance?: "default" | "primary" | "danger" | "green" | undefined;
|
|
12
|
-
}>>;
|
|
13
|
-
export declare const Danger: ComponentStory<React.FunctionComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "color"> & {
|
|
14
|
-
appearance?: "default" | "primary" | "danger" | "green" | undefined;
|
|
15
|
-
}>>;
|
|
16
|
-
export declare const Green: ComponentStory<React.FunctionComponent<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "color"> & {
|
|
17
|
-
appearance?: "default" | "primary" | "danger" | "green" | undefined;
|
|
18
|
-
}>>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.stories.js","sourceRoot":"","sources":["../../src/ui/button.stories.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,eAAe;IACb,KAAK,EAAE,QAAQ;IACf,SAAS,EAAE,MAAM;CACc,CAAA;AAEjC,IAAM,QAAQ,GAAkC,UAAC,IAAI,IAAK,OAAA,oBAAC,MAAM,eAAK,IAAI,EAAI,EAApB,CAAoB,CAAA;AAE9E,MAAM,CAAC,IAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACtC,KAAK,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,SAAS;CACpB,CAAA;AAED,MAAM,CAAC,IAAM,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACxC,OAAO,CAAC,IAAI,GAAG;IACb,QAAQ,EAAE,SAAS;IACnB,UAAU,EAAE,SAAS;CACtB,CAAA;AAED,MAAM,CAAC,IAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACvC,MAAM,CAAC,IAAI,GAAG;IACZ,QAAQ,EAAE,QAAQ;IAClB,UAAU,EAAE,QAAQ;CACrB,CAAA;AAED,MAAM,CAAC,IAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;AACtC,KAAK,CAAC,IAAI,GAAG;IACX,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,OAAO;CACpB,CAAA"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FunctionComponent } from 'react';
|
|
2
|
-
import 'styled-jsx';
|
|
3
|
-
export declare type Checkin = {
|
|
4
|
-
time: Date;
|
|
5
|
-
};
|
|
6
|
-
declare type Props = {
|
|
7
|
-
checkins: Checkin[];
|
|
8
|
-
response: 'positive-response';
|
|
9
|
-
rsvpCount: number;
|
|
10
|
-
} | {
|
|
11
|
-
checkins: Checkin[];
|
|
12
|
-
response: 'negative-repsone' | 'no-response';
|
|
13
|
-
};
|
|
14
|
-
export declare const CheckinCountIndicator: FunctionComponent<Props>;
|
|
15
|
-
export {};
|