@mountainpass/problem-document 0.0.2
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/.gitattributes +22 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +5 -0
- package/LICENSE +202 -0
- package/README.md +3 -0
- package/commitlint.config.js +1 -0
- package/lib/index.d.ts +361 -0
- package/lib/index.js +10 -0
- package/package.json +97 -0
package/.gitattributes
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
|
|
2
|
+
|
|
3
|
+
*.snap linguist-generated
|
|
4
|
+
/.eslintrc.json linguist-generated
|
|
5
|
+
/.gitattributes linguist-generated
|
|
6
|
+
/.github/pull_request_template.md linguist-generated
|
|
7
|
+
/.github/workflows/build.yml linguist-generated
|
|
8
|
+
/.github/workflows/pull-request-lint.yml linguist-generated
|
|
9
|
+
/.github/workflows/release.yml linguist-generated
|
|
10
|
+
/.github/workflows/upgrade-main.yml linguist-generated
|
|
11
|
+
/.gitignore linguist-generated
|
|
12
|
+
/.mergify.yml linguist-generated
|
|
13
|
+
/.npmignore linguist-generated
|
|
14
|
+
/.projen/** linguist-generated
|
|
15
|
+
/.projen/deps.json linguist-generated
|
|
16
|
+
/.projen/files.json linguist-generated
|
|
17
|
+
/.projen/tasks.json linguist-generated
|
|
18
|
+
/LICENSE linguist-generated
|
|
19
|
+
/package.json linguist-generated
|
|
20
|
+
/tsconfig.dev.json linguist-generated
|
|
21
|
+
/tsconfig.json linguist-generated
|
|
22
|
+
/yarn.lock linguist-generated
|
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = {extends: ['@commitlint/config-conventional']}
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
declare type StatusCode =
|
|
2
|
+
/** ACCEPTED
|
|
3
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.3
|
|
4
|
+
*
|
|
5
|
+
* The request has been received but not yet acted upon. It is non-committal, meaning that there is no way in HTTP to later send an asynchronous response indicating the outcome of processing the request. It is intended for cases where another process or server handles the request, or for batch processing.
|
|
6
|
+
*/
|
|
7
|
+
202 |
|
|
8
|
+
/** BAD_GATEWAY
|
|
9
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.3
|
|
10
|
+
*
|
|
11
|
+
* This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.
|
|
12
|
+
*/
|
|
13
|
+
502 |
|
|
14
|
+
/** BAD_REQUEST
|
|
15
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.1
|
|
16
|
+
*
|
|
17
|
+
* This response means that server could not understand the request due to invalid syntax.
|
|
18
|
+
*/
|
|
19
|
+
400 |
|
|
20
|
+
/** CONFLICT
|
|
21
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.8
|
|
22
|
+
*
|
|
23
|
+
* This response is sent when a request conflicts with the current state of the server.
|
|
24
|
+
*/
|
|
25
|
+
409 |
|
|
26
|
+
/** CONTINUE
|
|
27
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.1
|
|
28
|
+
*
|
|
29
|
+
* This interim response indicates that everything so far is OK and that the client should continue with the request or ignore it if it is already finished.
|
|
30
|
+
*/
|
|
31
|
+
100 |
|
|
32
|
+
/** CREATED
|
|
33
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.2
|
|
34
|
+
*
|
|
35
|
+
* The request has succeeded and a new resource has been created as a result of it. This is typically the response sent after a PUT request.
|
|
36
|
+
*/
|
|
37
|
+
201 |
|
|
38
|
+
/** EXPECTATION_FAILED
|
|
39
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.14
|
|
40
|
+
*
|
|
41
|
+
* This response code means the expectation indicated by the Expect request header field can't be met by the server.
|
|
42
|
+
*/
|
|
43
|
+
417 |
|
|
44
|
+
/** FAILED_DEPENDENCY
|
|
45
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.5
|
|
46
|
+
*
|
|
47
|
+
* The request failed due to failure of a previous request.
|
|
48
|
+
*/
|
|
49
|
+
424 |
|
|
50
|
+
/** FORBIDDEN
|
|
51
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.3
|
|
52
|
+
*
|
|
53
|
+
* The client does not have access rights to the content, i.e. they are unauthorized, so server is rejecting to give proper response. Unlike 401, the client's identity is known to the server.
|
|
54
|
+
*/
|
|
55
|
+
403 |
|
|
56
|
+
/** GATEWAY_TIMEOUT
|
|
57
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.5
|
|
58
|
+
*
|
|
59
|
+
* This error response is given when the server is acting as a gateway and cannot get a response in time.
|
|
60
|
+
*/
|
|
61
|
+
504 |
|
|
62
|
+
/** GONE
|
|
63
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.9
|
|
64
|
+
*
|
|
65
|
+
* This response would be sent when the requested content has been permanently deleted from server, with no forwarding address. Clients are expected to remove their caches and links to the resource. The HTTP specification intends this status code to be used for "limited-time, promotional services". APIs should not feel compelled to indicate resources that have been deleted with this status code.
|
|
66
|
+
*/
|
|
67
|
+
410 |
|
|
68
|
+
/** HTTP_VERSION_NOT_SUPPORTED
|
|
69
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.6
|
|
70
|
+
*
|
|
71
|
+
* The HTTP version used in the request is not supported by the server.
|
|
72
|
+
*/
|
|
73
|
+
505 |
|
|
74
|
+
/** IM_A_TEAPOT
|
|
75
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2324#section-2.3.2
|
|
76
|
+
*
|
|
77
|
+
* Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.
|
|
78
|
+
*/
|
|
79
|
+
418 |
|
|
80
|
+
/** INSUFFICIENT_SPACE_ON_RESOURCE
|
|
81
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6
|
|
82
|
+
*
|
|
83
|
+
* The 507 (Insufficient Storage) status code means the method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request. This condition is considered to be temporary. If the request which received this status code was the result of a user action, the request MUST NOT be repeated until it is requested by a separate user action.
|
|
84
|
+
*/
|
|
85
|
+
419 |
|
|
86
|
+
/** INSUFFICIENT_STORAGE
|
|
87
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.6
|
|
88
|
+
*
|
|
89
|
+
* The server has an internal configuration error: the chosen variant resource is configured to engage in transparent content negotiation itself, and is therefore not a proper end point in the negotiation process.
|
|
90
|
+
*/
|
|
91
|
+
507 |
|
|
92
|
+
/** INTERNAL_SERVER_ERROR
|
|
93
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.1
|
|
94
|
+
*
|
|
95
|
+
* The server encountered an unexpected condition that prevented it from fulfilling the request.
|
|
96
|
+
*/
|
|
97
|
+
500 |
|
|
98
|
+
/** LENGTH_REQUIRED
|
|
99
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.10
|
|
100
|
+
*
|
|
101
|
+
* The server rejected the request because the Content-Length header field is not defined and the server requires it.
|
|
102
|
+
*/
|
|
103
|
+
411 |
|
|
104
|
+
/** LOCKED
|
|
105
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.4
|
|
106
|
+
*
|
|
107
|
+
* The resource that is being accessed is locked.
|
|
108
|
+
*/
|
|
109
|
+
423 |
|
|
110
|
+
/** METHOD_FAILURE
|
|
111
|
+
* @deprecated
|
|
112
|
+
* Official Documentation @ https://tools.ietf.org/rfcdiff?difftype=--hwdiff&url2=draft-ietf-webdav-protocol-06.txt
|
|
113
|
+
*
|
|
114
|
+
* A deprecated response used by the Spring Framework when a method has failed.
|
|
115
|
+
*/
|
|
116
|
+
420 |
|
|
117
|
+
/** METHOD_NOT_ALLOWED
|
|
118
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.5
|
|
119
|
+
*
|
|
120
|
+
* The request method is known by the server but has been disabled and cannot be used. For example, an API may forbid DELETE-ing a resource. The two mandatory methods, GET and HEAD, must never be disabled and should not return this error code.
|
|
121
|
+
*/
|
|
122
|
+
405 |
|
|
123
|
+
/** MOVED_PERMANENTLY
|
|
124
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.2
|
|
125
|
+
*
|
|
126
|
+
* This response code means that URI of requested resource has been changed. Probably, new URI would be given in the response.
|
|
127
|
+
*/
|
|
128
|
+
301 |
|
|
129
|
+
/** MOVED_TEMPORARILY
|
|
130
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.3
|
|
131
|
+
*
|
|
132
|
+
* This response code means that URI of requested resource has been changed temporarily. New changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests.
|
|
133
|
+
*/
|
|
134
|
+
302 |
|
|
135
|
+
/** MULTI_STATUS
|
|
136
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.2
|
|
137
|
+
*
|
|
138
|
+
* A Multi-Status response conveys information about multiple resources in situations where multiple status codes might be appropriate.
|
|
139
|
+
*/
|
|
140
|
+
207 |
|
|
141
|
+
/** MULTIPLE_CHOICES
|
|
142
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.1
|
|
143
|
+
*
|
|
144
|
+
* The request has more than one possible responses. User-agent or user should choose one of them. There is no standardized way to choose one of the responses.
|
|
145
|
+
*/
|
|
146
|
+
300 |
|
|
147
|
+
/** NETWORK_AUTHENTICATION_REQUIRED
|
|
148
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-6
|
|
149
|
+
*
|
|
150
|
+
* The 511 status code indicates that the client needs to authenticate to gain network access.
|
|
151
|
+
*/
|
|
152
|
+
511 |
|
|
153
|
+
/** NO_CONTENT
|
|
154
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.5
|
|
155
|
+
*
|
|
156
|
+
* There is no content to send for this request, but the headers may be useful. The user-agent may update its cached headers for this resource with the new ones.
|
|
157
|
+
*/
|
|
158
|
+
204 |
|
|
159
|
+
/** NON_AUTHORITATIVE_INFORMATION
|
|
160
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.4
|
|
161
|
+
*
|
|
162
|
+
* This response code means returned meta-information set is not exact set as available from the origin server, but collected from a local or a third party copy. Except this condition, 200 OK response should be preferred instead of this response.
|
|
163
|
+
*/
|
|
164
|
+
203 |
|
|
165
|
+
/** NOT_ACCEPTABLE
|
|
166
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.6
|
|
167
|
+
*
|
|
168
|
+
* This response is sent when the web server, after performing server-driven content negotiation, doesn't find any content following the criteria given by the user agent.
|
|
169
|
+
*/
|
|
170
|
+
406 |
|
|
171
|
+
/** NOT_FOUND
|
|
172
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.4
|
|
173
|
+
*
|
|
174
|
+
* The server can not find requested resource. In the browser, this means the URL is not recognized. In an API, this can also mean that the endpoint is valid but the resource itself does not exist. Servers may also send this response instead of 403 to hide the existence of a resource from an unauthorized client. This response code is probably the most famous one due to its frequent occurrence on the web.
|
|
175
|
+
*/
|
|
176
|
+
404 |
|
|
177
|
+
/** NOT_IMPLEMENTED
|
|
178
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.2
|
|
179
|
+
*
|
|
180
|
+
* The request method is not supported by the server and cannot be handled. The only methods that servers are required to support (and therefore that must not return this code) are GET and HEAD.
|
|
181
|
+
*/
|
|
182
|
+
501 |
|
|
183
|
+
/** NOT_MODIFIED
|
|
184
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.1
|
|
185
|
+
*
|
|
186
|
+
* This is used for caching purposes. It is telling to client that response has not been modified. So, client can continue to use same cached version of response.
|
|
187
|
+
*/
|
|
188
|
+
304 |
|
|
189
|
+
/** OK
|
|
190
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.1
|
|
191
|
+
*
|
|
192
|
+
* The request has succeeded. The meaning of a success varies depending on the HTTP method:
|
|
193
|
+
* GET: The resource has been fetched and is transmitted in the message body.
|
|
194
|
+
* HEAD: The entity headers are in the message body.
|
|
195
|
+
* POST: The resource describing the result of the action is transmitted in the message body.
|
|
196
|
+
* TRACE: The message body contains the request message as received by the server
|
|
197
|
+
*/
|
|
198
|
+
200 |
|
|
199
|
+
/** PARTIAL_CONTENT
|
|
200
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.1
|
|
201
|
+
*
|
|
202
|
+
* This response code is used because of range header sent by the client to separate download into multiple streams.
|
|
203
|
+
*/
|
|
204
|
+
206 |
|
|
205
|
+
/** PAYMENT_REQUIRED
|
|
206
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.2
|
|
207
|
+
*
|
|
208
|
+
* This response code is reserved for future use. Initial aim for creating this code was using it for digital payment systems however this is not used currently.
|
|
209
|
+
*/
|
|
210
|
+
402 |
|
|
211
|
+
/** PERMANENT_REDIRECT
|
|
212
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7538#section-3
|
|
213
|
+
*
|
|
214
|
+
* This means that the resource is now permanently located at another URI, specified by the Location: HTTP Response header. This has the same semantics as the 301 Moved Permanently HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.
|
|
215
|
+
*/
|
|
216
|
+
308 |
|
|
217
|
+
/** PRECONDITION_FAILED
|
|
218
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7232#section-4.2
|
|
219
|
+
*
|
|
220
|
+
* The client has indicated preconditions in its headers which the server does not meet.
|
|
221
|
+
*/
|
|
222
|
+
412 |
|
|
223
|
+
/** PRECONDITION_REQUIRED
|
|
224
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-3
|
|
225
|
+
*
|
|
226
|
+
* The origin server requires the request to be conditional. Intended to prevent the 'lost update' problem, where a client GETs a resource's state, modifies it, and PUTs it back to the server, when meanwhile a third party has modified the state on the server, leading to a conflict.
|
|
227
|
+
*/
|
|
228
|
+
428 |
|
|
229
|
+
/** PROCESSING
|
|
230
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.1
|
|
231
|
+
*
|
|
232
|
+
* This code indicates that the server has received and is processing the request, but no response is available yet.
|
|
233
|
+
*/
|
|
234
|
+
102 |
|
|
235
|
+
/** PROXY_AUTHENTICATION_REQUIRED
|
|
236
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.2
|
|
237
|
+
*
|
|
238
|
+
* This is similar to 401 but authentication is needed to be done by a proxy.
|
|
239
|
+
*/
|
|
240
|
+
407 |
|
|
241
|
+
/** REQUEST_HEADER_FIELDS_TOO_LARGE
|
|
242
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-5
|
|
243
|
+
*
|
|
244
|
+
* The server is unwilling to process the request because its header fields are too large. The request MAY be resubmitted after reducing the size of the request header fields.
|
|
245
|
+
*/
|
|
246
|
+
431 |
|
|
247
|
+
/** REQUEST_TIMEOUT
|
|
248
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.7
|
|
249
|
+
*
|
|
250
|
+
* This response is sent on an idle connection by some servers, even without any previous request by the client. It means that the server would like to shut down this unused connection. This response is used much more since some browsers, like Chrome, Firefox 27+, or IE9, use HTTP pre-connection mechanisms to speed up surfing. Also note that some servers merely shut down the connection without sending this message.
|
|
251
|
+
*/
|
|
252
|
+
408 |
|
|
253
|
+
/** REQUEST_TOO_LONG
|
|
254
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.11
|
|
255
|
+
*
|
|
256
|
+
* Request entity is larger than limits defined by server; the server might close the connection or return an Retry-After header field.
|
|
257
|
+
*/
|
|
258
|
+
413 |
|
|
259
|
+
/** REQUEST_URI_TOO_LONG
|
|
260
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.12
|
|
261
|
+
*
|
|
262
|
+
* The URI requested by the client is longer than the server is willing to interpret.
|
|
263
|
+
*/
|
|
264
|
+
414 |
|
|
265
|
+
/** REQUESTED_RANGE_NOT_SATISFIABLE
|
|
266
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7233#section-4.4
|
|
267
|
+
*
|
|
268
|
+
* The range specified by the Range header field in the request can't be fulfilled; it's possible that the range is outside the size of the target URI's data.
|
|
269
|
+
*/
|
|
270
|
+
416 |
|
|
271
|
+
/** RESET_CONTENT
|
|
272
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.3.6
|
|
273
|
+
*
|
|
274
|
+
* This response code is sent after accomplishing request to tell user agent reset document view which sent this request.
|
|
275
|
+
*/
|
|
276
|
+
205 |
|
|
277
|
+
/** SEE_OTHER
|
|
278
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.4
|
|
279
|
+
*
|
|
280
|
+
* Server sent this response to directing client to get requested resource to another URI with an GET request.
|
|
281
|
+
*/
|
|
282
|
+
303 |
|
|
283
|
+
/** SERVICE_UNAVAILABLE
|
|
284
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.6.4
|
|
285
|
+
*
|
|
286
|
+
* The server is not ready to handle the request. Common causes are a server that is down for maintenance or that is overloaded. Note that together with this response, a user-friendly page explaining the problem should be sent. This responses should be used for temporary conditions and the Retry-After: HTTP header should, if possible, contain the estimated time before the recovery of the service. The webmaster must also take care about the caching-related headers that are sent along with this response, as these temporary condition responses should usually not be cached.
|
|
287
|
+
*/
|
|
288
|
+
503 |
|
|
289
|
+
/** SWITCHING_PROTOCOLS
|
|
290
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.2.2
|
|
291
|
+
*
|
|
292
|
+
* This code is sent in response to an Upgrade request header by the client, and indicates the protocol the server is switching too.
|
|
293
|
+
*/
|
|
294
|
+
101 |
|
|
295
|
+
/** TEMPORARY_REDIRECT
|
|
296
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.7
|
|
297
|
+
*
|
|
298
|
+
* Server sent this response to directing client to get requested resource to another URI with same method that used prior request. This has the same semantic than the 302 Found HTTP response code, with the exception that the user agent must not change the HTTP method used: if a POST was used in the first request, a POST must be used in the second request.
|
|
299
|
+
*/
|
|
300
|
+
307 |
|
|
301
|
+
/** TOO_MANY_REQUESTS
|
|
302
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc6585#section-4
|
|
303
|
+
*
|
|
304
|
+
* The user has sent too many requests in a given amount of time ("rate limiting").
|
|
305
|
+
*/
|
|
306
|
+
429 |
|
|
307
|
+
/** UNAUTHORIZED
|
|
308
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7235#section-3.1
|
|
309
|
+
*
|
|
310
|
+
* Although the HTTP standard specifies "unauthorized", semantically this response means "unauthenticated". That is, the client must authenticate itself to get the requested response.
|
|
311
|
+
*/
|
|
312
|
+
401 |
|
|
313
|
+
/** UNAVAILABLE_FOR_LEGAL_REASONS
|
|
314
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7725
|
|
315
|
+
*
|
|
316
|
+
* The user-agent requested a resource that cannot legally be provided, such as a web page censored by a government.
|
|
317
|
+
*/
|
|
318
|
+
451 |
|
|
319
|
+
/** UNPROCESSABLE_ENTITY
|
|
320
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc2518#section-10.3
|
|
321
|
+
*
|
|
322
|
+
* The request was well-formed but was unable to be followed due to semantic errors.
|
|
323
|
+
*/
|
|
324
|
+
422 |
|
|
325
|
+
/** UNSUPPORTED_MEDIA_TYPE
|
|
326
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.5.13
|
|
327
|
+
*
|
|
328
|
+
* The media format of the requested data is not supported by the server, so the server is rejecting the request.
|
|
329
|
+
*/
|
|
330
|
+
415 |
|
|
331
|
+
/** USE_PROXY
|
|
332
|
+
* @deprecated
|
|
333
|
+
* Official Documentation @ https://tools.ietf.org/html/rfc7231#section-6.4.6
|
|
334
|
+
*
|
|
335
|
+
* Was defined in a previous version of the HTTP specification to indicate that a requested response must be accessed by a proxy. It has been deprecated due to security concerns regarding in-band configuration of a proxy.
|
|
336
|
+
*/
|
|
337
|
+
305 |
|
|
338
|
+
/** MISDIRECTED_REQUEST
|
|
339
|
+
* Official Documentation @ https://datatracker.ietf.org/doc/html/rfc7540#section-9.1.2
|
|
340
|
+
*
|
|
341
|
+
* Defined in the specification of HTTP/2 to indicate that a server is not able to produce a response for the combination of scheme and authority that are included in the request URI.
|
|
342
|
+
*/
|
|
343
|
+
421;
|
|
344
|
+
declare type BaseProblemDocument = {
|
|
345
|
+
detail?: string;
|
|
346
|
+
instance?: string;
|
|
347
|
+
status?: StatusCode;
|
|
348
|
+
title?: string;
|
|
349
|
+
type?: string;
|
|
350
|
+
};
|
|
351
|
+
declare type ExtendedProblemDocument = Omit<Record<string, unknown>, keyof BaseProblemDocument> & BaseProblemDocument;
|
|
352
|
+
export declare class ProblemDocument implements ExtendedProblemDocument {
|
|
353
|
+
detail?: string;
|
|
354
|
+
instance?: string;
|
|
355
|
+
status?: StatusCode;
|
|
356
|
+
title?: string;
|
|
357
|
+
type?: string;
|
|
358
|
+
[k: string]: unknown;
|
|
359
|
+
constructor(data: ExtendedProblemDocument);
|
|
360
|
+
}
|
|
361
|
+
export {};
|
package/lib/index.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProblemDocument = void 0;
|
|
4
|
+
class ProblemDocument {
|
|
5
|
+
constructor(data) {
|
|
6
|
+
Object.assign(this, data);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
exports.ProblemDocument = ProblemDocument;
|
|
10
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBcVdBLE1BQWEsZUFBZTtJQU8xQixZQUFZLElBQTZCO1FBQ3ZDLE1BQU0sQ0FBQyxNQUFNLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQzVCLENBQUM7Q0FDRjtBQVZELDBDQVVDIiwic291cmNlc0NvbnRlbnQiOlsiXG4vLyBmcm9tIGh0dHBzOi8vZ2l0aHViLmNvbS9wcmV0dHltdWNoYnJ5Y2UvaHR0cC1zdGF0dXMtY29kZXMvYmxvYi9tYXN0ZXIvc3JjL3N0YXR1cy1jb2Rlcy50cyB1bmRlciBNSVQgTGljZW5zZVxuLy8gSWYgeW91IGtub3cgaG93IHRvIGNvbnZlcnQgbnVtZXJpYyBlbnVtIHZhbHVlcyB0byBhIHVuaW9uIHR5cGUsIHBsZWFzZSBzdWJtaXQgYSBQUi5cbnR5cGUgU3RhdHVzQ29kZSA9XG4vKiogQUNDRVBURURcbiogT2ZmaWNpYWwgRG9jdW1lbnRhdGlvbiBAIGh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9yZmM3MjMxI3NlY3Rpb24tNi4zLjNcbipcbiogVGhlIHJlcXVlc3QgaGFzIGJlZW4gcmVjZWl2ZWQgYnV0IG5vdCB5ZXQgYWN0ZWQgdXBvbi4gSXQgaXMgbm9uLWNvbW1pdHRhbCwgbWVhbmluZyB0aG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ZW5kZWRQcm9ibGVtRG9jdW1lbnQgPSBPbWl0PFJlY29yZDxzdHJpbmcsIHVua25vd24+LCBrZXlvZiBCYXNlUHJvYmxlbURvY3VtZW50PiAmIEJhc2VQcm9ibGVtRG9jdW1lbnQ7XG5cbmV4cG9ydCBjbGFzcyBQcm9ibGVtRG9jdW1lbnQgaW1wbGVtZW50cyBFeHRlbmRlZFByb2JsZW1Eb2N1bWVudCB7XG4gIGRldGFpbD86IHN0cmluZztcbiAgaW5zdGFuY2U/OiBzdHJpbmc7XG4gIHN0YXR1cz86IFN0YXR1c0NvZGU7XG4gIHRpdGxlPzogc3RyaW5nO1xuICB0eXBlPzogc3RyaW5nO1xuICBbazogc3RyaW5nXTogdW5rbm93bjtcbiAgY29uc3RydWN0b3IoZGF0YTogRXh0ZW5kZWRQcm9ibGVtRG9jdW1lbnQpIHtcbiAgICBPYmplY3QuYXNzaWduKHRoaXMsIGRhdGEpO1xuICB9XG59XG4iXX0=
|
package/package.json
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mountainpass/problem-document",
|
|
3
|
+
"description": "A basic RFC7807 Problem Document with basic type checking and autocomplete",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "npx projen build",
|
|
6
|
+
"bump": "npx projen bump",
|
|
7
|
+
"clobber": "npx projen clobber",
|
|
8
|
+
"compile": "npx projen compile",
|
|
9
|
+
"default": "npx projen default",
|
|
10
|
+
"eject": "npx projen eject",
|
|
11
|
+
"eslint": "npx projen eslint",
|
|
12
|
+
"package": "npx projen package",
|
|
13
|
+
"post-compile": "npx projen post-compile",
|
|
14
|
+
"post-upgrade": "npx projen post-upgrade",
|
|
15
|
+
"pre-compile": "npx projen pre-compile",
|
|
16
|
+
"prepare": "npx projen prepare",
|
|
17
|
+
"release": "npx projen release",
|
|
18
|
+
"test": "npx projen test",
|
|
19
|
+
"test:update": "npx projen test:update",
|
|
20
|
+
"test:watch": "npx projen test:watch",
|
|
21
|
+
"unbump": "npx projen unbump",
|
|
22
|
+
"upgrade": "npx projen upgrade",
|
|
23
|
+
"watch": "npx projen watch",
|
|
24
|
+
"projen": "npx projen"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@commitlint/cli": "^16.2.4",
|
|
28
|
+
"@commitlint/config-conventional": "^16.2.4",
|
|
29
|
+
"@types/http-status-codes": "^1.2.0",
|
|
30
|
+
"@types/jest": "^27.4.1",
|
|
31
|
+
"@types/node": "^12",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^5",
|
|
33
|
+
"@typescript-eslint/parser": "^5",
|
|
34
|
+
"eslint": "^8",
|
|
35
|
+
"eslint-import-resolver-node": "^0.3.6",
|
|
36
|
+
"eslint-import-resolver-typescript": "^2.7.1",
|
|
37
|
+
"eslint-plugin-import": "^2.26.0",
|
|
38
|
+
"http-status-codes": "^2.2.0",
|
|
39
|
+
"husky": "^7.0.4",
|
|
40
|
+
"jest": "^27",
|
|
41
|
+
"jest-junit": "^13",
|
|
42
|
+
"json-schema": "^0.4.0",
|
|
43
|
+
"npm-check-updates": "^12",
|
|
44
|
+
"projen": "^0.54.50",
|
|
45
|
+
"standard-version": "^9",
|
|
46
|
+
"ts-jest": "^27.1.4",
|
|
47
|
+
"typescript": "^4.6.3"
|
|
48
|
+
},
|
|
49
|
+
"main": "lib/index.js",
|
|
50
|
+
"license": "Apache-2.0",
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"version": "0.0.2",
|
|
55
|
+
"jest": {
|
|
56
|
+
"testMatch": [
|
|
57
|
+
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
58
|
+
"<rootDir>/(test|src)/**/?(*.)+(spec|test).ts?(x)"
|
|
59
|
+
],
|
|
60
|
+
"clearMocks": true,
|
|
61
|
+
"collectCoverage": true,
|
|
62
|
+
"coverageReporters": [
|
|
63
|
+
"json",
|
|
64
|
+
"lcov",
|
|
65
|
+
"clover",
|
|
66
|
+
"cobertura",
|
|
67
|
+
"text"
|
|
68
|
+
],
|
|
69
|
+
"coverageDirectory": "coverage",
|
|
70
|
+
"coveragePathIgnorePatterns": [
|
|
71
|
+
"/node_modules/"
|
|
72
|
+
],
|
|
73
|
+
"testPathIgnorePatterns": [
|
|
74
|
+
"/node_modules/"
|
|
75
|
+
],
|
|
76
|
+
"watchPathIgnorePatterns": [
|
|
77
|
+
"/node_modules/"
|
|
78
|
+
],
|
|
79
|
+
"reporters": [
|
|
80
|
+
"default",
|
|
81
|
+
[
|
|
82
|
+
"jest-junit",
|
|
83
|
+
{
|
|
84
|
+
"outputDirectory": "test-reports"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
],
|
|
88
|
+
"preset": "ts-jest",
|
|
89
|
+
"globals": {
|
|
90
|
+
"ts-jest": {
|
|
91
|
+
"tsconfig": "tsconfig.dev.json"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"types": "lib/index.d.ts",
|
|
96
|
+
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
|
|
97
|
+
}
|