@shakerquiz/forms 0.0.17 → 0.0.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@shakerquiz/forms",
4
- "version": "0.0.17",
4
+ "version": "0.0.19",
5
5
  "author": "yurkimus <yurkimus@gmail.com>",
6
6
  "license": "ISC",
7
7
  "repository": {
@@ -16,6 +16,7 @@
16
16
  ],
17
17
  "exports": "./source/index.js",
18
18
  "devDependencies": {
19
- "@shakerquiz/utilities": "4.0.0"
19
+ "@shakerquiz/utilities": "4.0.0",
20
+ "@types/bun": "^1.3.6"
20
21
  }
21
22
  }
@@ -11,13 +11,11 @@
11
11
  },
12
12
  {
13
13
  "name": "affilation",
14
- "kind": "autocomplete",
15
- "items": "Static"
14
+ "kind": "static-autocomplete"
16
15
  },
17
16
  {
18
17
  "name": "chatapp_version",
19
- "kind": "autocomplete",
20
- "items": "Static"
18
+ "kind": "static-autocomplete"
21
19
  },
22
20
  {
23
21
  "name": "vk_group_id",
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -11,8 +11,7 @@
11
11
  },
12
12
  {
13
13
  "name": "affilation",
14
- "kind": "autocomplete",
15
- "items": "Static"
14
+ "kind": "static-autocomplete"
16
15
  }
17
16
  ]
18
17
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -3,13 +3,11 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "location_id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  },
9
8
  {
10
9
  "name": "theme_id",
11
- "kind": "autocomplete",
12
- "items": "Dynamic"
10
+ "kind": "dynamic-autocomplete"
13
11
  },
14
12
  {
15
13
  "name": "number",
@@ -21,8 +19,7 @@
21
19
  },
22
20
  {
23
21
  "name": "status",
24
- "kind": "autocomplete",
25
- "items": "Static"
22
+ "kind": "static-autocomplete"
26
23
  }
27
24
  ]
28
25
  }
@@ -3,13 +3,11 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "location_id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  },
9
8
  {
10
9
  "name": "theme_id",
11
- "kind": "autocomplete",
12
- "items": "Dynamic"
10
+ "kind": "dynamic-autocomplete"
13
11
  },
14
12
  {
15
13
  "name": "number",
@@ -21,8 +19,7 @@
21
19
  },
22
20
  {
23
21
  "name": "status",
24
- "kind": "autocomplete",
25
- "items": "Static"
22
+ "kind": "static-autocomplete"
26
23
  }
27
24
  ]
28
25
  }
@@ -23,13 +23,11 @@
23
23
  },
24
24
  {
25
25
  "name": "channel",
26
- "kind": "autocomplete",
27
- "items": "Static"
26
+ "kind": "static-autocomplete"
28
27
  },
29
28
  {
30
29
  "name": "confirmed_channel",
31
- "kind": "autocomplete",
32
- "items": "Static"
30
+ "kind": "static-autocomplete"
33
31
  },
34
32
  {
35
33
  "name": "vkontakte",
@@ -41,13 +39,11 @@
41
39
  },
42
40
  {
43
41
  "name": "status",
44
- "kind": "autocomplete",
45
- "items": "Static"
42
+ "kind": "static-autocomplete"
46
43
  },
47
44
  {
48
45
  "name": "lineup",
49
- "kind": "autocomplete",
50
- "items": "Static"
46
+ "kind": "static-autocomplete"
51
47
  },
52
48
  {
53
49
  "name": "is_alone",
@@ -23,13 +23,11 @@
23
23
  },
24
24
  {
25
25
  "name": "channel",
26
- "kind": "autocomplete",
27
- "items": "Static"
26
+ "kind": "static-autocomplete"
28
27
  },
29
28
  {
30
29
  "name": "confirmed_channel",
31
- "kind": "autocomplete",
32
- "items": "Static"
30
+ "kind": "static-autocomplete"
33
31
  },
34
32
  {
35
33
  "name": "vkontakte",
@@ -41,13 +39,11 @@
41
39
  },
42
40
  {
43
41
  "name": "status",
44
- "kind": "autocomplete",
45
- "items": "Static"
42
+ "kind": "static-autocomplete"
46
43
  },
47
44
  {
48
45
  "name": "lineup",
49
- "kind": "autocomplete",
50
- "items": "Static"
46
+ "kind": "static-autocomplete"
51
47
  },
52
48
  {
53
49
  "name": "is_alone",
@@ -19,8 +19,7 @@
19
19
  },
20
20
  {
21
21
  "name": "status",
22
- "kind": "autocomplete",
23
- "items": "Static"
22
+ "kind": "static-autocomplete"
24
23
  }
25
24
  ]
26
25
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -27,13 +27,11 @@
27
27
  },
28
28
  {
29
29
  "name": "audience",
30
- "kind": "autocomplete",
31
- "items": "Static"
30
+ "kind": "static-autocomplete"
32
31
  },
33
32
  {
34
33
  "name": "status",
35
- "kind": "autocomplete",
36
- "items": "Static"
34
+ "kind": "static-autocomplete"
37
35
  },
38
36
  {
39
37
  "name": "location_info",
@@ -27,13 +27,11 @@
27
27
  },
28
28
  {
29
29
  "name": "audience",
30
- "kind": "autocomplete",
31
- "items": "Static"
30
+ "kind": "static-autocomplete"
32
31
  },
33
32
  {
34
33
  "name": "status",
35
- "kind": "autocomplete",
36
- "items": "Static"
34
+ "kind": "static-autocomplete"
37
35
  },
38
36
  {
39
37
  "name": "location_info",
@@ -11,18 +11,15 @@
11
11
  },
12
12
  {
13
13
  "name": "country",
14
- "kind": "autocomplete",
15
- "items": "Dynamic"
14
+ "kind": "dynamic-autocomplete"
16
15
  },
17
16
  {
18
17
  "name": "currency_name",
19
- "kind": "autocomplete",
20
- "items": "Dynamic"
18
+ "kind": "dynamic-autocomplete"
21
19
  },
22
20
  {
23
21
  "name": "timezone_name",
24
- "kind": "autocomplete",
25
- "items": "Dynamic"
22
+ "kind": "dynamic-autocomplete"
26
23
  }
27
24
  ]
28
25
  }
@@ -3,13 +3,11 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "location_id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  },
9
8
  {
10
9
  "name": "theme_id",
11
- "kind": "autocomplete",
12
- "items": "Dynamic"
10
+ "kind": "dynamic-autocomplete"
13
11
  },
14
12
  {
15
13
  "name": "number",
@@ -3,13 +3,11 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "location_id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  },
9
8
  {
10
9
  "name": "theme_id",
11
- "kind": "autocomplete",
12
- "items": "Dynamic"
10
+ "kind": "dynamic-autocomplete"
13
11
  },
14
12
  {
15
13
  "name": "number",
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "ads_from",
6
- "kind": "autocomplete",
7
- "items": "Static"
6
+ "kind": "static-autocomplete"
8
7
  },
9
8
  {
10
9
  "name": "comment",
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "event_id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  },
9
8
  {
10
9
  "name": "email",
@@ -56,8 +55,7 @@
56
55
  },
57
56
  {
58
57
  "name": "channel",
59
- "kind": "autocomplete",
60
- "items": "Static"
58
+ "kind": "static-autocomplete"
61
59
  }
62
60
  ]
63
61
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "event_id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  },
9
8
  {
10
9
  "name": "email",
@@ -56,8 +55,7 @@
56
55
  },
57
56
  {
58
57
  "name": "channel",
59
- "kind": "autocomplete",
60
- "items": "Static"
58
+ "kind": "static-autocomplete"
61
59
  }
62
60
  ]
63
61
  }
@@ -3,8 +3,7 @@
3
3
  "fields": [
4
4
  {
5
5
  "name": "id",
6
- "kind": "autocomplete",
7
- "items": "Dynamic"
6
+ "kind": "dynamic-autocomplete"
8
7
  }
9
8
  ]
10
9
  }
@@ -27,8 +27,7 @@
27
27
  },
28
28
  {
29
29
  "name": "city_id",
30
- "kind": "autocomplete",
31
- "items": "Dynamic"
30
+ "kind": "dynamic-autocomplete"
32
31
  }
33
32
  ]
34
33
  }
@@ -27,8 +27,7 @@
27
27
  },
28
28
  {
29
29
  "name": "city_id",
30
- "kind": "autocomplete",
31
- "items": "Dynamic"
30
+ "kind": "dynamic-autocomplete"
32
31
  }
33
32
  ]
34
33
  }
package/source/index.js CHANGED
@@ -1,28 +1,28 @@
1
- import { PATCH_user_admin } from './forms/PATCH/user/admin.json'
2
- import { PATCH_user_password_admin } from './forms/PATCH/user/password/admin.json'
3
- import { PATCH_user_role_admin } from './forms/PATCH/user/role/admin.json'
4
- import { PATCH_city_admin } from './forms/PATCH/city/admin.json'
5
- import { PATCH_city_vk_group_token_admin } from './forms/PATCH/city/vk_group_token/admin.json'
6
- import { PATCH_city_country_admin } from './forms/PATCH/city/country/admin.json'
7
- import { PATCH_city_currency_admin } from './forms/PATCH/city/currency/admin.json'
8
- import { PATCH_city_timezone_admin } from './forms/PATCH/city/timezone/admin.json'
9
- import { PATCH_venue_admin } from './forms/PATCH/venue/admin.json'
10
- import { PATCH_theme_admin } from './forms/PATCH/theme/admin.json'
11
- import { PATCH_game_admin } from './forms/PATCH/game/admin.json'
12
- import { PATCH_registration_admin } from './forms/PATCH/registration/admin.json'
13
- import { PATCH_registration_Unknown } from './forms/PATCH/registration/Unknown.json'
14
- import { POST_user_admin } from './forms/POST/user/admin.json'
15
- import { POST_user_password_admin } from './forms/POST/user/password/admin.json'
16
- import { POST_user_role_admin } from './forms/POST/user/role/admin.json'
17
- import { POST_checkin_admin } from './forms/POST/checkin/admin.json'
18
- import { POST_checkin_Unknown } from './forms/POST/checkin/Unknown.json'
19
- import { POST_city_admin } from './forms/POST/city/admin.json'
20
- import { POST_city_vk_group_token_admin } from './forms/POST/city/vk_group_token/admin.json'
21
- import { POST_venue_admin } from './forms/POST/venue/admin.json'
22
- import { POST_theme_admin } from './forms/POST/theme/admin.json'
23
- import { POST_game_admin } from './forms/POST/game/admin.json'
24
- import { POST_registration_admin } from './forms/POST/registration/admin.json'
25
- import { POST_registration_Unknown } from './forms/POST/registration/Unknown.json'
1
+ import PATCH_user_admin from './forms/PATCH/user/admin.json' with { type: 'json' }
2
+ import PATCH_user_password_admin from './forms/PATCH/user/password/admin.json' with { type: 'json' }
3
+ import PATCH_user_role_admin from './forms/PATCH/user/role/admin.json' with { type: 'json' }
4
+ import PATCH_city_admin from './forms/PATCH/city/admin.json' with { type: 'json' }
5
+ import PATCH_city_vk_group_token_admin from './forms/PATCH/city/vk_group_token/admin.json' with { type: 'json' }
6
+ import PATCH_city_country_admin from './forms/PATCH/city/country/admin.json' with { type: 'json' }
7
+ import PATCH_city_currency_admin from './forms/PATCH/city/currency/admin.json' with { type: 'json' }
8
+ import PATCH_city_timezone_admin from './forms/PATCH/city/timezone/admin.json' with { type: 'json' }
9
+ import PATCH_venue_admin from './forms/PATCH/venue/admin.json' with { type: 'json' }
10
+ import PATCH_theme_admin from './forms/PATCH/theme/admin.json' with { type: 'json' }
11
+ import PATCH_game_admin from './forms/PATCH/game/admin.json' with { type: 'json' }
12
+ import PATCH_registration_admin from './forms/PATCH/registration/admin.json' with { type: 'json' }
13
+ import PATCH_registration_Unknown from './forms/PATCH/registration/Unknown.json' with { type: 'json' }
14
+ import POST_user_admin from './forms/POST/user/admin.json' with { type: 'json' }
15
+ import POST_user_password_admin from './forms/POST/user/password/admin.json' with { type: 'json' }
16
+ import POST_user_role_admin from './forms/POST/user/role/admin.json' with { type: 'json' }
17
+ import POST_checkin_admin from './forms/POST/checkin/admin.json' with { type: 'json' }
18
+ import POST_checkin_Unknown from './forms/POST/checkin/Unknown.json' with { type: 'json' }
19
+ import POST_city_admin from './forms/POST/city/admin.json' with { type: 'json' }
20
+ import POST_city_vk_group_token_admin from './forms/POST/city/vk_group_token/admin.json' with { type: 'json' }
21
+ import POST_venue_admin from './forms/POST/venue/admin.json' with { type: 'json' }
22
+ import POST_theme_admin from './forms/POST/theme/admin.json' with { type: 'json' }
23
+ import POST_game_admin from './forms/POST/game/admin.json' with { type: 'json' }
24
+ import POST_registration_admin from './forms/POST/registration/admin.json' with { type: 'json' }
25
+ import POST_registration_Unknown from './forms/POST/registration/Unknown.json' with { type: 'json' }
26
26
 
27
27
  export const Forms = Object.freeze(
28
28
  /** @type {const} */ ([