@openaddresses/batch-schema 9.3.0 → 10.0.0

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/.eslintrc.json +5 -47
  2. package/.github/workflows/release.yml +5 -2
  3. package/CHANGELOG.md +8 -0
  4. package/LICENSE +1 -1
  5. package/README.md +21 -17
  6. package/{routes/schema.js → lib/api.ts} +11 -4
  7. package/lib/openapi.ts +122 -0
  8. package/lib/schema.ts +293 -0
  9. package/lib/types.ts +32 -0
  10. package/package.json +16 -11
  11. package/test/{schema.srv.test.js → schema.srv.test.ts} +9 -20
  12. package/tsconfig.json +27 -0
  13. package/docs/assets/anchor.js +0 -350
  14. package/docs/assets/bass-addons.css +0 -12
  15. package/docs/assets/bass.css +0 -544
  16. package/docs/assets/fonts/EOT/SourceCodePro-Bold.eot +0 -0
  17. package/docs/assets/fonts/EOT/SourceCodePro-Regular.eot +0 -0
  18. package/docs/assets/fonts/LICENSE.txt +0 -93
  19. package/docs/assets/fonts/OTF/SourceCodePro-Bold.otf +0 -0
  20. package/docs/assets/fonts/OTF/SourceCodePro-Regular.otf +0 -0
  21. package/docs/assets/fonts/TTF/SourceCodePro-Bold.ttf +0 -0
  22. package/docs/assets/fonts/TTF/SourceCodePro-Regular.ttf +0 -0
  23. package/docs/assets/fonts/WOFF/OTF/SourceCodePro-Bold.otf.woff +0 -0
  24. package/docs/assets/fonts/WOFF/OTF/SourceCodePro-Regular.otf.woff +0 -0
  25. package/docs/assets/fonts/WOFF/TTF/SourceCodePro-Bold.ttf.woff +0 -0
  26. package/docs/assets/fonts/WOFF/TTF/SourceCodePro-Regular.ttf.woff +0 -0
  27. package/docs/assets/fonts/WOFF2/OTF/SourceCodePro-Bold.otf.woff2 +0 -0
  28. package/docs/assets/fonts/WOFF2/OTF/SourceCodePro-Regular.otf.woff2 +0 -0
  29. package/docs/assets/fonts/WOFF2/TTF/SourceCodePro-Bold.ttf.woff2 +0 -0
  30. package/docs/assets/fonts/WOFF2/TTF/SourceCodePro-Regular.ttf.woff2 +0 -0
  31. package/docs/assets/fonts/source-code-pro.css +0 -23
  32. package/docs/assets/github.css +0 -123
  33. package/docs/assets/site.js +0 -168
  34. package/docs/assets/split.css +0 -15
  35. package/docs/assets/split.js +0 -782
  36. package/docs/assets/style.css +0 -147
  37. package/docs/index.html +0 -792
  38. package/lib/middleware.js +0 -159
  39. package/lib/openapi.js +0 -96
  40. package/lib/param.js +0 -29
  41. package/lib/schema.js +0 -254
  42. package/schema/req.query.ListSchema.json +0 -25
  43. package/schema/res.ListSchema.json +0 -47
  44. package/test/schema.test.js +0 -33
  45. /package/{index.js → index.ts} +0 -0
@@ -1,147 +0,0 @@
1
- .documentation {
2
- font-family: Helvetica, sans-serif;
3
- color: #666;
4
- line-height: 1.5;
5
- background: #f5f5f5;
6
- }
7
-
8
- .black {
9
- color: #666;
10
- }
11
-
12
- .bg-white {
13
- background-color: #fff;
14
- }
15
-
16
- h4 {
17
- margin: 20px 0 10px 0;
18
- }
19
-
20
- .documentation h3 {
21
- color: #000;
22
- }
23
-
24
- .border-bottom {
25
- border-color: #ddd;
26
- }
27
-
28
- a {
29
- color: #1184ce;
30
- text-decoration: none;
31
- }
32
-
33
- .documentation a[href]:hover {
34
- text-decoration: underline;
35
- }
36
-
37
- a:hover {
38
- cursor: pointer;
39
- }
40
-
41
- .py1-ul li {
42
- padding: 5px 0;
43
- }
44
-
45
- .max-height-100 {
46
- max-height: 100%;
47
- }
48
-
49
- .height-viewport-100 {
50
- height: 100vh;
51
- }
52
-
53
- section:target h3 {
54
- font-weight: 700;
55
- }
56
-
57
- .documentation td,
58
- .documentation th {
59
- padding: 0.25rem 0.25rem;
60
- }
61
-
62
- h1:hover .anchorjs-link,
63
- h2:hover .anchorjs-link,
64
- h3:hover .anchorjs-link,
65
- h4:hover .anchorjs-link {
66
- opacity: 1;
67
- }
68
-
69
- .fix-3 {
70
- width: 25%;
71
- max-width: 244px;
72
- }
73
-
74
- .fix-3 {
75
- width: 25%;
76
- max-width: 244px;
77
- }
78
-
79
- @media (min-width: 52em) {
80
- .fix-margin-3 {
81
- margin-left: 25%;
82
- }
83
- }
84
-
85
- .pre,
86
- pre,
87
- code,
88
- .code {
89
- font-family: Source Code Pro, Menlo, Consolas, Liberation Mono, monospace;
90
- font-size: 14px;
91
- }
92
-
93
- .fill-light {
94
- background: #f9f9f9;
95
- }
96
-
97
- .width2 {
98
- width: 1rem;
99
- }
100
-
101
- .input {
102
- font-family: inherit;
103
- display: block;
104
- width: 100%;
105
- height: 2rem;
106
- padding: 0.5rem;
107
- margin-bottom: 1rem;
108
- border: 1px solid #ccc;
109
- font-size: 0.875rem;
110
- border-radius: 3px;
111
- box-sizing: border-box;
112
- }
113
-
114
- table {
115
- border-collapse: collapse;
116
- }
117
-
118
- .prose table th,
119
- .prose table td {
120
- text-align: left;
121
- padding: 8px;
122
- border: 1px solid #ddd;
123
- }
124
-
125
- .prose table th:nth-child(1) {
126
- border-right: none;
127
- }
128
- .prose table th:nth-child(2) {
129
- border-left: none;
130
- }
131
-
132
- .prose table {
133
- border: 1px solid #ddd;
134
- }
135
-
136
- .prose-big {
137
- font-size: 18px;
138
- line-height: 30px;
139
- }
140
-
141
- .quiet {
142
- opacity: 0.7;
143
- }
144
-
145
- .minishadow {
146
- box-shadow: 2px 2px 10px #f3f3f3;
147
- }