@shakerquiz/forms 0.0.1 → 0.0.11

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 (45) hide show
  1. package/package.json +1 -1
  2. package/source/fields/PATCH/city/admin.json +17 -0
  3. package/source/fields/PATCH/city/country/admin.json +9 -0
  4. package/source/fields/PATCH/city/country/organizer.json +9 -0
  5. package/source/fields/PATCH/city/currency/admin.json +9 -0
  6. package/source/fields/PATCH/city/currency/organizer.json +9 -0
  7. package/source/fields/PATCH/city/organizer.json +17 -0
  8. package/source/fields/PATCH/city/timezone/admin.json +9 -0
  9. package/source/fields/PATCH/city/timezone/organizer.json +9 -0
  10. package/source/fields/PATCH/city/vk_group_token/admin.json +9 -0
  11. package/source/fields/PATCH/game/admin.json +25 -0
  12. package/source/fields/PATCH/game/organizer.json +25 -0
  13. package/source/fields/PATCH/registration/Unknown.json +37 -0
  14. package/source/fields/PATCH/registration/admin.json +69 -0
  15. package/source/fields/PATCH/registration/organizer.json +68 -0
  16. package/source/fields/PATCH/theme/admin.json +25 -0
  17. package/source/fields/PATCH/user/admin.json +21 -18
  18. package/source/fields/PATCH/user/password/admin.json +9 -0
  19. package/source/fields/PATCH/user/role/admin.json +9 -0
  20. package/source/fields/PATCH/venue/admin.json +45 -0
  21. package/source/fields/PATCH/venue/organizer.json +45 -0
  22. package/source/fields/POST/checkin/Unknown.json +13 -10
  23. package/source/fields/POST/checkin/admin.json +13 -0
  24. package/source/fields/POST/checkin/organizer.json +13 -0
  25. package/source/fields/POST/city/admin.json +25 -118
  26. package/source/fields/POST/city/vk_group_token/admin.json +9 -0
  27. package/source/fields/POST/game/admin.json +21 -46
  28. package/source/fields/POST/game/organizer.json +21 -46
  29. package/source/fields/POST/registration/Unknown.json +57 -82
  30. package/source/fields/POST/registration/admin.json +61 -0
  31. package/source/fields/POST/registration/organizer.json +61 -0
  32. package/source/fields/POST/theme/admin.json +21 -22
  33. package/source/fields/POST/user/admin.json +9 -6
  34. package/source/fields/POST/user/password/admin.json +9 -0
  35. package/source/fields/POST/user/role/admin.json +9 -0
  36. package/source/fields/POST/venue/admin.json +33 -54
  37. package/source/fields/POST/venue/organizer.json +33 -54
  38. package/source/index.js +26 -2
  39. package/source/fields/city.json +0 -49
  40. package/source/fields/game.json +0 -26
  41. package/source/fields/kinds.json +0 -13
  42. package/source/fields/registration.json +0 -40
  43. package/source/fields/theme.json +0 -11
  44. package/source/fields/user.json +0 -20
  45. package/source/fields/venue.json +0 -24
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/forms",
4
- "version": "0.0.1",
4
+ "version": "0.0.11",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -0,0 +1,17 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "alias",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "affilation",
14
+ "kind": "autocomplete"
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Readonly",
3
+ "fields": [
4
+ {
5
+ "name": "id",
6
+ "kind": "autocomplete"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Readonly",
3
+ "fields": [
4
+ {
5
+ "name": "id",
6
+ "kind": "autocomplete"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "currency_name",
6
+ "kind": "autocomplete"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "currency_name",
6
+ "kind": "autocomplete"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "alias",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "affilation",
14
+ "kind": "autocomplete"
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "timezone_name",
6
+ "kind": "autocomplete"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "timezone_name",
6
+ "kind": "autocomplete"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "value",
6
+ "kind": "string"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "location_id",
6
+ "kind": "autocomplete"
7
+ },
8
+ {
9
+ "name": "theme_id",
10
+ "kind": "autocomplete"
11
+ },
12
+ {
13
+ "name": "number",
14
+ "kind": "number"
15
+ },
16
+ {
17
+ "name": "event_time",
18
+ "kind": "datetime"
19
+ },
20
+ {
21
+ "name": "status",
22
+ "kind": "autocomplete"
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "location_id",
6
+ "kind": "autocomplete"
7
+ },
8
+ {
9
+ "name": "theme_id",
10
+ "kind": "autocomplete"
11
+ },
12
+ {
13
+ "name": "number",
14
+ "kind": "number"
15
+ },
16
+ {
17
+ "name": "event_time",
18
+ "kind": "datetime"
19
+ },
20
+ {
21
+ "name": "status",
22
+ "kind": "autocomplete"
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "team_name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "human_name",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "people_count",
14
+ "kind": "number"
15
+ },
16
+ {
17
+ "name": "is_alone",
18
+ "kind": "checkbox"
19
+ },
20
+ {
21
+ "name": "is_birthday",
22
+ "kind": "checkbox"
23
+ },
24
+ {
25
+ "name": "celebrant",
26
+ "kind": "string"
27
+ },
28
+ {
29
+ "name": "is_extensible",
30
+ "kind": "checkbox"
31
+ },
32
+ {
33
+ "name": "is_first",
34
+ "kind": "checkbox"
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "team_name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "human_name",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "people_count",
14
+ "kind": "number"
15
+ },
16
+ {
17
+ "name": "phone",
18
+ "kind": "tel"
19
+ },
20
+ {
21
+ "name": "email",
22
+ "kind": "email"
23
+ },
24
+ {
25
+ "name": "channel",
26
+ "kind": "autocomplete"
27
+ },
28
+ {
29
+ "name": "confirmed_channel",
30
+ "kind": "autocomplete"
31
+ },
32
+ {
33
+ "name": "vkontakte",
34
+ "kind": "string"
35
+ },
36
+ {
37
+ "name": "telegramBot",
38
+ "kind": "string"
39
+ },
40
+ {
41
+ "name": "status",
42
+ "kind": "autocomplete"
43
+ },
44
+ {
45
+ "name": "lineup",
46
+ "kind": "autocomplete"
47
+ },
48
+ {
49
+ "name": "is_alone",
50
+ "kind": "checkbox"
51
+ },
52
+ {
53
+ "name": "is_birthday",
54
+ "kind": "checkbox"
55
+ },
56
+ {
57
+ "name": "celebrant",
58
+ "kind": "string"
59
+ },
60
+ {
61
+ "name": "is_extensible",
62
+ "kind": "checkbox"
63
+ },
64
+ {
65
+ "name": "is_first",
66
+ "kind": "checkbox"
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,68 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "team_name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "human_name",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "people_count",
14
+ "kind": "number"
15
+ },
16
+ {
17
+ "name": "phone",
18
+ "kind": "tel"
19
+ },
20
+ {
21
+ "name": "email",
22
+ "kind": "email"
23
+ },
24
+ {
25
+ "name": "channel",
26
+ "kind": "autocomplete"
27
+ },
28
+ {
29
+ "name": "confirmed_channel",
30
+ "kind": "autocomplete"
31
+ },
32
+ {
33
+ "name": "vkontakte",
34
+ "kind": "string"
35
+ },
36
+ {
37
+ "name": "telegramBot",
38
+ "kind": "string"
39
+ },
40
+ {
41
+ "name": "status",
42
+ "kind": "autocomplete"
43
+ },
44
+ {
45
+ "name": "lineup",
46
+ "kind": "autocomplete"
47
+ },
48
+ {
49
+ "name": "is_alone",
50
+ "kind": "checkbox"
51
+ },
52
+ {
53
+ "name": "is_birthday",
54
+ "kind": "checkbox"
55
+ },
56
+ {
57
+ "name": "celebrant",
58
+ "kind": "string"
59
+ },
60
+ {
61
+ "name": "is_extensible",
62
+ "kind": "checkbox"
63
+ },
64
+ {
65
+ "name": "is_first",
66
+ "kind": "checkbox"
67
+ }
68
+ ]}
@@ -0,0 +1,25 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "alias",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "subtitle",
14
+ "kind": "string"
15
+ },
16
+ {
17
+ "name": "description",
18
+ "kind": "text"
19
+ },
20
+ {
21
+ "name": "status",
22
+ "kind": "autocomplete"
23
+ }
24
+ ]
25
+ }
@@ -1,18 +1,21 @@
1
- [
2
- {
3
- "name": "first_name",
4
- "kind": "string"
5
- },
6
- {
7
- "name": "last_name",
8
- "kind": "string"
9
- },
10
- {
11
- "name": "email",
12
- "kind": "string"
13
- },
14
- {
15
- "name": "phone",
16
- "kind": "phone"
17
- }
18
- ]
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "first_name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "last_name",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "email",
14
+ "kind": "string"
15
+ },
16
+ {
17
+ "name": "phone",
18
+ "kind": "phone"
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "value",
6
+ "kind": "password"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "id",
6
+ "kind": "autocomplete"
7
+ }
8
+ ]
9
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "street",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "house_number",
14
+ "kind": "string"
15
+ },
16
+ {
17
+ "name": "people_capacity",
18
+ "kind": "number"
19
+ },
20
+ {
21
+ "name": "team_capacity",
22
+ "kind": "number"
23
+ },
24
+ {
25
+ "name": "game_time",
26
+ "kind": "time"
27
+ },
28
+ {
29
+ "name": "audience",
30
+ "kind": "autocomplete"
31
+ },
32
+ {
33
+ "name": "status",
34
+ "kind": "autocomplete"
35
+ },
36
+ {
37
+ "name": "location_info",
38
+ "kind": "text"
39
+ },
40
+ {
41
+ "name": "href",
42
+ "kind": "url"
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "name",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "street",
10
+ "kind": "string"
11
+ },
12
+ {
13
+ "name": "house_number",
14
+ "kind": "string"
15
+ },
16
+ {
17
+ "name": "people_capacity",
18
+ "kind": "number"
19
+ },
20
+ {
21
+ "name": "team_capacity",
22
+ "kind": "number"
23
+ },
24
+ {
25
+ "name": "game_time",
26
+ "kind": "time"
27
+ },
28
+ {
29
+ "name": "audience",
30
+ "kind": "autocomplete"
31
+ },
32
+ {
33
+ "name": "status",
34
+ "kind": "autocomplete"
35
+ },
36
+ {
37
+ "name": "location_info",
38
+ "kind": "text"
39
+ },
40
+ {
41
+ "name": "href",
42
+ "kind": "url"
43
+ }
44
+ ]
45
+ }
@@ -1,10 +1,13 @@
1
- [
2
- {
3
- "name": "email",
4
- "kind": "string"
5
- },
6
- {
7
- "name": "password",
8
- "kind": "password"
9
- }
10
- ]
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "email",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "password",
10
+ "kind": "password"
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "email",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "password",
10
+ "kind": "password"
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "state": "Interactive",
3
+ "fields": [
4
+ {
5
+ "name": "email",
6
+ "kind": "string"
7
+ },
8
+ {
9
+ "name": "password",
10
+ "kind": "password"
11
+ }
12
+ ]
13
+ }