ai-agent-router 0.1.5 → 0.1.7

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 (56) hide show
  1. package/dist/.next/types/app/api/config/route.js +52 -0
  2. package/dist/.next/types/app/api/gateway/[...path]/route.js +52 -0
  3. package/dist/.next/types/app/api/gateway/route.js +52 -0
  4. package/dist/.next/types/app/api/logs/route.js +52 -0
  5. package/dist/.next/types/app/api/models/route.js +52 -0
  6. package/dist/.next/types/app/api/providers/route.js +52 -0
  7. package/dist/.next/types/app/api/providers/test/route.js +52 -0
  8. package/dist/.next/types/app/api/service/start/route.js +52 -0
  9. package/dist/.next/types/app/api/service/status/route.js +52 -0
  10. package/dist/.next/types/app/api/service/stop/route.js +52 -0
  11. package/dist/.next/types/app/layout.js +22 -0
  12. package/dist/.next/types/app/logs/page.js +22 -0
  13. package/dist/.next/types/app/models/page.js +22 -0
  14. package/dist/.next/types/app/page.js +22 -0
  15. package/dist/.next/types/app/providers/page.js +22 -0
  16. package/dist/src/app/api/config/route.js +49 -0
  17. package/dist/src/app/api/gateway/[...path]/route.js +88 -0
  18. package/dist/src/app/api/gateway/route.js +65 -0
  19. package/dist/src/app/api/logs/route.js +39 -0
  20. package/dist/src/app/api/models/route.js +160 -0
  21. package/dist/src/app/api/providers/route.js +125 -0
  22. package/dist/src/app/api/providers/test/route.js +158 -0
  23. package/dist/src/app/api/service/start/route.js +62 -0
  24. package/dist/src/app/api/service/status/route.js +21 -0
  25. package/dist/src/app/api/service/stop/route.js +24 -0
  26. package/dist/src/app/components/ConfirmDialog.jsx +34 -0
  27. package/dist/src/app/components/Nav.jsx +51 -0
  28. package/dist/src/app/components/Toast.jsx +40 -0
  29. package/dist/src/app/components/ToastProvider.jsx +28 -0
  30. package/dist/src/app/layout.jsx +17 -0
  31. package/dist/src/app/logs/page.jsx +216 -0
  32. package/dist/src/app/models/page.jsx +372 -0
  33. package/dist/src/app/page.jsx +555 -0
  34. package/dist/src/app/providers/page.jsx +426 -0
  35. package/dist/src/cli/index.js +100 -0
  36. package/dist/src/db/database.js +124 -0
  37. package/dist/src/db/queries.js +302 -0
  38. package/dist/src/db/schema.js +70 -0
  39. package/dist/src/server/crypto.js +50 -0
  40. package/dist/src/server/gateway-server.js +269 -0
  41. package/dist/src/server/gateway.js +143 -0
  42. package/dist/src/server/logger.js +75 -0
  43. package/dist/src/server/providers/anthropic.js +107 -0
  44. package/dist/src/server/providers/gemini.js +97 -0
  45. package/dist/src/server/providers/index.js +22 -0
  46. package/dist/src/server/providers/openai.js +207 -0
  47. package/dist/src/server/providers/types.js +2 -0
  48. package/dist/src/server/service-manager.js +204 -0
  49. package/eslint.config.js +28 -0
  50. package/package.json +14 -11
  51. package/src/app/api/logs/route.ts +1 -0
  52. package/src/app/logs/page.tsx +13 -14
  53. package/src/app/models/page.tsx +7 -7
  54. package/src/app/page.tsx +54 -54
  55. package/tsconfig.json +2 -2
  56. package/.eslintrc.json +0 -3
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/config/route.ts
2
+ import * as entry from '../../../../../src/app/api/config/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/gateway/[...path]/route.ts
2
+ import * as entry from '../../../../../../src/app/api/gateway/[...path]/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/gateway/route.ts
2
+ import * as entry from '../../../../../src/app/api/gateway/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/logs/route.ts
2
+ import * as entry from '../../../../../src/app/api/logs/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/models/route.ts
2
+ import * as entry from '../../../../../src/app/api/models/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/providers/route.ts
2
+ import * as entry from '../../../../../src/app/api/providers/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/providers/test/route.ts
2
+ import * as entry from '../../../../../../src/app/api/providers/test/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/service/start/route.ts
2
+ import * as entry from '../../../../../../src/app/api/service/start/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/service/status/route.ts
2
+ import * as entry from '../../../../../../src/app/api/service/status/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,52 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/api/service/stop/route.ts
2
+ import * as entry from '../../../../../../src/app/api/service/stop/route.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ if ('GET' in entry) {
7
+ checkFields();
8
+ checkFields();
9
+ checkFields();
10
+ }
11
+ // Check the prop type of the entry function
12
+ if ('HEAD' in entry) {
13
+ checkFields();
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the prop type of the entry function
18
+ if ('OPTIONS' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ checkFields();
22
+ }
23
+ // Check the prop type of the entry function
24
+ if ('POST' in entry) {
25
+ checkFields();
26
+ checkFields();
27
+ checkFields();
28
+ }
29
+ // Check the prop type of the entry function
30
+ if ('PUT' in entry) {
31
+ checkFields();
32
+ checkFields();
33
+ checkFields();
34
+ }
35
+ // Check the prop type of the entry function
36
+ if ('DELETE' in entry) {
37
+ checkFields();
38
+ checkFields();
39
+ checkFields();
40
+ }
41
+ // Check the prop type of the entry function
42
+ if ('PATCH' in entry) {
43
+ checkFields();
44
+ checkFields();
45
+ checkFields();
46
+ }
47
+ // Check the arguments and return type of the generateStaticParams function
48
+ if ('generateStaticParams' in entry) {
49
+ checkFields();
50
+ checkFields();
51
+ }
52
+ function checkFields() { }
@@ -0,0 +1,22 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/layout.tsx
2
+ import * as entry from '../../../src/app/layout.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ checkFields();
7
+ // Check the arguments and return type of the generateMetadata function
8
+ if ('generateMetadata' in entry) {
9
+ checkFields();
10
+ checkFields();
11
+ }
12
+ // Check the arguments and return type of the generateViewport function
13
+ if ('generateViewport' in entry) {
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the arguments and return type of the generateStaticParams function
18
+ if ('generateStaticParams' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ }
22
+ function checkFields() { }
@@ -0,0 +1,22 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/logs/page.tsx
2
+ import * as entry from '../../../../src/app/logs/page.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ checkFields();
7
+ // Check the arguments and return type of the generateMetadata function
8
+ if ('generateMetadata' in entry) {
9
+ checkFields();
10
+ checkFields();
11
+ }
12
+ // Check the arguments and return type of the generateViewport function
13
+ if ('generateViewport' in entry) {
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the arguments and return type of the generateStaticParams function
18
+ if ('generateStaticParams' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ }
22
+ function checkFields() { }
@@ -0,0 +1,22 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/models/page.tsx
2
+ import * as entry from '../../../../src/app/models/page.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ checkFields();
7
+ // Check the arguments and return type of the generateMetadata function
8
+ if ('generateMetadata' in entry) {
9
+ checkFields();
10
+ checkFields();
11
+ }
12
+ // Check the arguments and return type of the generateViewport function
13
+ if ('generateViewport' in entry) {
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the arguments and return type of the generateStaticParams function
18
+ if ('generateStaticParams' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ }
22
+ function checkFields() { }
@@ -0,0 +1,22 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/page.tsx
2
+ import * as entry from '../../../src/app/page.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ checkFields();
7
+ // Check the arguments and return type of the generateMetadata function
8
+ if ('generateMetadata' in entry) {
9
+ checkFields();
10
+ checkFields();
11
+ }
12
+ // Check the arguments and return type of the generateViewport function
13
+ if ('generateViewport' in entry) {
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the arguments and return type of the generateStaticParams function
18
+ if ('generateStaticParams' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ }
22
+ function checkFields() { }
@@ -0,0 +1,22 @@
1
+ // File: /Users/plucky/own/ai-agent-router/src/app/providers/page.tsx
2
+ import * as entry from '../../../../src/app/providers/page.js';
3
+ // Check that the entry is a valid entry
4
+ checkFields();
5
+ // Check the prop type of the entry function
6
+ checkFields();
7
+ // Check the arguments and return type of the generateMetadata function
8
+ if ('generateMetadata' in entry) {
9
+ checkFields();
10
+ checkFields();
11
+ }
12
+ // Check the arguments and return type of the generateViewport function
13
+ if ('generateViewport' in entry) {
14
+ checkFields();
15
+ checkFields();
16
+ }
17
+ // Check the arguments and return type of the generateStaticParams function
18
+ if ('generateStaticParams' in entry) {
19
+ checkFields();
20
+ checkFields();
21
+ }
22
+ function checkFields() { }