@gitbook/react-openapi 1.1.10 → 1.2.1
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/CHANGELOG.md +21 -0
- package/dist/InteractiveSection.d.ts +4 -0
- package/dist/InteractiveSection.jsx +11 -11
- package/dist/OpenAPICodeSample.d.ts +2 -1
- package/dist/OpenAPICodeSample.jsx +6 -5
- package/dist/OpenAPICodeSampleInteractive.d.ts +3 -0
- package/dist/OpenAPICodeSampleInteractive.jsx +19 -43
- package/dist/OpenAPICodeSampleSelector.d.ts +3 -4
- package/dist/OpenAPICodeSampleSelector.jsx +6 -11
- package/dist/OpenAPICopyButton.d.ts +2 -0
- package/dist/OpenAPICopyButton.jsx +5 -2
- package/dist/OpenAPIDisclosure.d.ts +4 -3
- package/dist/OpenAPIDisclosure.jsx +8 -11
- package/dist/OpenAPIDisclosureGroup.d.ts +7 -3
- package/dist/OpenAPIDisclosureGroup.jsx +18 -18
- package/dist/OpenAPIExample.d.ts +4 -22
- package/dist/OpenAPIExample.jsx +5 -72
- package/dist/OpenAPIMediaType.d.ts +21 -0
- package/dist/OpenAPIMediaType.jsx +61 -0
- package/dist/OpenAPIOperation.d.ts +3 -2
- package/dist/OpenAPIOperation.jsx +9 -68
- package/dist/OpenAPIOperationDescription.d.ts +9 -0
- package/dist/OpenAPIOperationDescription.jsx +22 -0
- package/dist/OpenAPIOperationStability.d.ts +9 -0
- package/dist/OpenAPIOperationStability.jsx +27 -0
- package/dist/OpenAPIPath.d.ts +2 -0
- package/dist/OpenAPIPath.jsx +3 -2
- package/dist/OpenAPIRequestBody.d.ts +3 -1
- package/dist/OpenAPIRequestBody.jsx +4 -3
- package/dist/OpenAPIResponse.d.ts +1 -1
- package/dist/OpenAPIResponse.jsx +1 -1
- package/dist/OpenAPIResponseExample.d.ts +3 -2
- package/dist/OpenAPIResponseExample.jsx +24 -63
- package/dist/OpenAPIResponseExampleContent.d.ts +19 -0
- package/dist/OpenAPIResponseExampleContent.jsx +57 -0
- package/dist/OpenAPIResponses.d.ts +1 -1
- package/dist/OpenAPIResponses.jsx +49 -36
- package/dist/OpenAPISchema.d.ts +1 -1
- package/dist/OpenAPISchema.jsx +103 -15
- package/dist/OpenAPISchemaName.d.ts +2 -0
- package/dist/OpenAPISchemaName.jsx +19 -10
- package/dist/OpenAPISchemaServer.d.ts +1 -1
- package/dist/OpenAPISecurities.d.ts +2 -1
- package/dist/OpenAPISecurities.jsx +11 -10
- package/dist/OpenAPISelect.d.ts +10 -3
- package/dist/OpenAPISelect.jsx +20 -9
- package/dist/OpenAPISpec.d.ts +3 -2
- package/dist/OpenAPISpec.jsx +11 -9
- package/dist/OpenAPIWebhook.d.ts +10 -0
- package/dist/OpenAPIWebhook.jsx +23 -0
- package/dist/OpenAPIWebhookExample.d.ts +6 -0
- package/dist/OpenAPIWebhookExample.jsx +41 -0
- package/dist/ScalarApiButton.d.ts +2 -0
- package/dist/ScalarApiButton.jsx +4 -3
- package/dist/StaticSection.d.ts +4 -1
- package/dist/StaticSection.jsx +13 -4
- package/dist/code-samples.js +57 -39
- package/dist/common/OpenAPIColumnSpec.d.ts +6 -0
- package/dist/common/OpenAPIColumnSpec.jsx +20 -0
- package/dist/common/OpenAPIOperationDescription.d.ts +6 -0
- package/dist/common/OpenAPIOperationDescription.jsx +19 -0
- package/dist/common/OpenAPIStability.d.ts +4 -0
- package/dist/common/OpenAPIStability.jsx +15 -0
- package/dist/common/OpenAPISummary.d.ts +6 -0
- package/dist/common/OpenAPISummary.jsx +30 -0
- package/dist/context.d.ts +23 -2
- package/dist/context.js +32 -0
- package/dist/getOrCreateStoreByKey.d.ts +1 -1
- package/dist/getOrCreateStoreByKey.js +0 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +3 -0
- package/dist/resolveOpenAPIWebhook.d.ts +11 -0
- package/dist/resolveOpenAPIWebhook.js +127 -0
- package/dist/schemas/OpenAPISchemas.d.ts +2 -2
- package/dist/schemas/OpenAPISchemas.jsx +19 -23
- package/dist/stringifyOpenAPI.d.ts +1 -1
- package/dist/stringifyOpenAPI.js +6 -3
- package/dist/translate.d.ts +10 -0
- package/dist/translate.jsx +75 -0
- package/dist/translations/de.d.ts +37 -0
- package/dist/translations/de.js +37 -0
- package/dist/translations/en.d.ts +37 -0
- package/dist/translations/en.js +37 -0
- package/dist/translations/es.d.ts +37 -0
- package/dist/translations/es.js +37 -0
- package/dist/translations/fr.d.ts +37 -0
- package/dist/translations/fr.js +37 -0
- package/dist/translations/index.d.ts +341 -0
- package/dist/translations/index.js +27 -0
- package/dist/translations/ja.d.ts +37 -0
- package/dist/translations/ja.js +37 -0
- package/dist/translations/nl.d.ts +37 -0
- package/dist/translations/nl.js +37 -0
- package/dist/translations/no.d.ts +37 -0
- package/dist/translations/no.js +37 -0
- package/dist/translations/pt-br.d.ts +37 -0
- package/dist/translations/pt-br.js +37 -0
- package/dist/translations/types.d.ts +5 -0
- package/dist/translations/types.js +1 -0
- package/dist/translations/zh.d.ts +37 -0
- package/dist/translations/zh.js +37 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types.d.ts +8 -50
- package/dist/util/example.d.ts +35 -0
- package/dist/util/example.jsx +103 -0
- package/dist/utils.d.ts +18 -0
- package/dist/utils.js +57 -0
- package/package.json +3 -3
- package/src/InteractiveSection.tsx +16 -14
- package/src/OpenAPICodeSample.tsx +22 -4
- package/src/OpenAPICodeSampleInteractive.tsx +38 -58
- package/src/OpenAPICodeSampleSelector.tsx +19 -12
- package/src/OpenAPICopyButton.tsx +7 -2
- package/src/OpenAPIDisclosure.tsx +20 -22
- package/src/OpenAPIDisclosureGroup.tsx +41 -22
- package/src/OpenAPIExample.tsx +8 -82
- package/src/OpenAPIMediaType.tsx +139 -0
- package/src/OpenAPIOperation.tsx +11 -100
- package/src/OpenAPIOperationDescription.tsx +34 -0
- package/src/OpenAPIOperationStability.tsx +39 -0
- package/src/OpenAPIPath.tsx +4 -1
- package/src/OpenAPIRequestBody.tsx +9 -4
- package/src/OpenAPIResponse.tsx +2 -2
- package/src/OpenAPIResponseExample.tsx +39 -108
- package/src/OpenAPIResponseExampleContent.tsx +123 -0
- package/src/OpenAPIResponses.tsx +84 -62
- package/src/OpenAPISchema.test.ts +80 -0
- package/src/OpenAPISchema.tsx +123 -16
- package/src/OpenAPISchemaName.tsx +26 -11
- package/src/OpenAPISchemaServer.tsx +1 -1
- package/src/OpenAPISecurities.tsx +33 -12
- package/src/OpenAPISelect.tsx +42 -16
- package/src/OpenAPISpec.tsx +21 -10
- package/src/OpenAPIWebhook.tsx +33 -0
- package/src/OpenAPIWebhookExample.tsx +60 -0
- package/src/ScalarApiButton.tsx +6 -6
- package/src/StaticSection.tsx +37 -5
- package/src/code-samples.test.ts +3 -1
- package/src/code-samples.ts +67 -54
- package/src/common/OpenAPIColumnSpec.tsx +31 -0
- package/src/common/OpenAPIOperationDescription.tsx +31 -0
- package/src/common/OpenAPIStability.tsx +23 -0
- package/src/common/OpenAPISummary.tsx +45 -0
- package/src/context.ts +37 -2
- package/src/getOrCreateStoreByKey.ts +1 -3
- package/src/index.ts +5 -1
- package/src/resolveOpenAPIWebhook.ts +99 -0
- package/src/schemas/OpenAPISchemas.tsx +34 -34
- package/src/stringifyOpenAPI.ts +11 -3
- package/src/translate.tsx +80 -0
- package/src/translations/de.ts +37 -0
- package/src/translations/en.ts +37 -0
- package/src/translations/es.ts +37 -0
- package/src/translations/fr.ts +37 -0
- package/src/translations/index.ts +33 -0
- package/src/translations/ja.ts +37 -0
- package/src/translations/nl.ts +37 -0
- package/src/translations/no.ts +37 -0
- package/src/translations/pt-br.ts +37 -0
- package/src/translations/types.ts +7 -0
- package/src/translations/zh.ts +37 -0
- package/src/types.ts +11 -53
- package/src/util/example.tsx +129 -0
- package/src/utils.ts +67 -0
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
export * from './types';
|
|
2
|
+
export declare const translations: {
|
|
3
|
+
en: {
|
|
4
|
+
required: string;
|
|
5
|
+
deprecated: string;
|
|
6
|
+
deprecated_and_sunset_on: string;
|
|
7
|
+
stability_experimental: string;
|
|
8
|
+
stability_alpha: string;
|
|
9
|
+
stability_beta: string;
|
|
10
|
+
copy_to_clipboard: string;
|
|
11
|
+
copied: string;
|
|
12
|
+
no_content: string;
|
|
13
|
+
unresolved_reference: string;
|
|
14
|
+
circular_reference: string;
|
|
15
|
+
read_only: string;
|
|
16
|
+
write_only: string;
|
|
17
|
+
optional: string;
|
|
18
|
+
min: string;
|
|
19
|
+
max: string;
|
|
20
|
+
nullable: string;
|
|
21
|
+
body: string;
|
|
22
|
+
payload: string;
|
|
23
|
+
headers: string;
|
|
24
|
+
authorizations: string;
|
|
25
|
+
responses: string;
|
|
26
|
+
path_parameters: string;
|
|
27
|
+
query_parameters: string;
|
|
28
|
+
header_parameters: string;
|
|
29
|
+
attributes: string;
|
|
30
|
+
test_it: string;
|
|
31
|
+
information: string;
|
|
32
|
+
success: string;
|
|
33
|
+
redirect: string;
|
|
34
|
+
error: string;
|
|
35
|
+
show: string;
|
|
36
|
+
hide: string;
|
|
37
|
+
available_items: string;
|
|
38
|
+
child_attributes: string;
|
|
39
|
+
};
|
|
40
|
+
de: {
|
|
41
|
+
required: string;
|
|
42
|
+
deprecated: string;
|
|
43
|
+
deprecated_and_sunset_on: string;
|
|
44
|
+
stability_experimental: string;
|
|
45
|
+
stability_alpha: string;
|
|
46
|
+
stability_beta: string;
|
|
47
|
+
copy_to_clipboard: string;
|
|
48
|
+
copied: string;
|
|
49
|
+
no_content: string;
|
|
50
|
+
unresolved_reference: string;
|
|
51
|
+
circular_reference: string;
|
|
52
|
+
read_only: string;
|
|
53
|
+
write_only: string;
|
|
54
|
+
optional: string;
|
|
55
|
+
min: string;
|
|
56
|
+
max: string;
|
|
57
|
+
nullable: string;
|
|
58
|
+
body: string;
|
|
59
|
+
payload: string;
|
|
60
|
+
headers: string;
|
|
61
|
+
authorizations: string;
|
|
62
|
+
responses: string;
|
|
63
|
+
path_parameters: string;
|
|
64
|
+
query_parameters: string;
|
|
65
|
+
header_parameters: string;
|
|
66
|
+
attributes: string;
|
|
67
|
+
test_it: string;
|
|
68
|
+
information: string;
|
|
69
|
+
success: string;
|
|
70
|
+
redirect: string;
|
|
71
|
+
error: string;
|
|
72
|
+
show: string;
|
|
73
|
+
hide: string;
|
|
74
|
+
available_items: string;
|
|
75
|
+
child_attributes: string;
|
|
76
|
+
};
|
|
77
|
+
es: {
|
|
78
|
+
required: string;
|
|
79
|
+
deprecated: string;
|
|
80
|
+
deprecated_and_sunset_on: string;
|
|
81
|
+
stability_experimental: string;
|
|
82
|
+
stability_alpha: string;
|
|
83
|
+
stability_beta: string;
|
|
84
|
+
copy_to_clipboard: string;
|
|
85
|
+
copied: string;
|
|
86
|
+
no_content: string;
|
|
87
|
+
unresolved_reference: string;
|
|
88
|
+
circular_reference: string;
|
|
89
|
+
read_only: string;
|
|
90
|
+
write_only: string;
|
|
91
|
+
optional: string;
|
|
92
|
+
min: string;
|
|
93
|
+
max: string;
|
|
94
|
+
nullable: string;
|
|
95
|
+
body: string;
|
|
96
|
+
payload: string;
|
|
97
|
+
headers: string;
|
|
98
|
+
authorizations: string;
|
|
99
|
+
responses: string;
|
|
100
|
+
path_parameters: string;
|
|
101
|
+
query_parameters: string;
|
|
102
|
+
header_parameters: string;
|
|
103
|
+
attributes: string;
|
|
104
|
+
test_it: string;
|
|
105
|
+
information: string;
|
|
106
|
+
success: string;
|
|
107
|
+
redirect: string;
|
|
108
|
+
error: string;
|
|
109
|
+
show: string;
|
|
110
|
+
hide: string;
|
|
111
|
+
available_items: string;
|
|
112
|
+
child_attributes: string;
|
|
113
|
+
};
|
|
114
|
+
fr: {
|
|
115
|
+
required: string;
|
|
116
|
+
deprecated: string;
|
|
117
|
+
deprecated_and_sunset_on: string;
|
|
118
|
+
stability_experimental: string;
|
|
119
|
+
stability_alpha: string;
|
|
120
|
+
stability_beta: string;
|
|
121
|
+
copy_to_clipboard: string;
|
|
122
|
+
copied: string;
|
|
123
|
+
no_content: string;
|
|
124
|
+
unresolved_reference: string;
|
|
125
|
+
circular_reference: string;
|
|
126
|
+
read_only: string;
|
|
127
|
+
write_only: string;
|
|
128
|
+
optional: string;
|
|
129
|
+
min: string;
|
|
130
|
+
max: string;
|
|
131
|
+
nullable: string;
|
|
132
|
+
body: string;
|
|
133
|
+
payload: string;
|
|
134
|
+
headers: string;
|
|
135
|
+
authorizations: string;
|
|
136
|
+
responses: string;
|
|
137
|
+
path_parameters: string;
|
|
138
|
+
query_parameters: string;
|
|
139
|
+
header_parameters: string;
|
|
140
|
+
attributes: string;
|
|
141
|
+
test_it: string;
|
|
142
|
+
information: string;
|
|
143
|
+
success: string;
|
|
144
|
+
redirect: string;
|
|
145
|
+
error: string;
|
|
146
|
+
show: string;
|
|
147
|
+
hide: string;
|
|
148
|
+
available_items: string;
|
|
149
|
+
child_attributes: string;
|
|
150
|
+
};
|
|
151
|
+
ja: {
|
|
152
|
+
required: string;
|
|
153
|
+
deprecated: string;
|
|
154
|
+
deprecated_and_sunset_on: string;
|
|
155
|
+
stability_experimental: string;
|
|
156
|
+
stability_alpha: string;
|
|
157
|
+
stability_beta: string;
|
|
158
|
+
copy_to_clipboard: string;
|
|
159
|
+
copied: string;
|
|
160
|
+
no_content: string;
|
|
161
|
+
unresolved_reference: string;
|
|
162
|
+
circular_reference: string;
|
|
163
|
+
read_only: string;
|
|
164
|
+
write_only: string;
|
|
165
|
+
optional: string;
|
|
166
|
+
min: string;
|
|
167
|
+
max: string;
|
|
168
|
+
nullable: string;
|
|
169
|
+
body: string;
|
|
170
|
+
payload: string;
|
|
171
|
+
headers: string;
|
|
172
|
+
authorizations: string;
|
|
173
|
+
responses: string;
|
|
174
|
+
path_parameters: string;
|
|
175
|
+
query_parameters: string;
|
|
176
|
+
header_parameters: string;
|
|
177
|
+
attributes: string;
|
|
178
|
+
test_it: string;
|
|
179
|
+
information: string;
|
|
180
|
+
success: string;
|
|
181
|
+
redirect: string;
|
|
182
|
+
error: string;
|
|
183
|
+
show: string;
|
|
184
|
+
hide: string;
|
|
185
|
+
available_items: string;
|
|
186
|
+
child_attributes: string;
|
|
187
|
+
};
|
|
188
|
+
nl: {
|
|
189
|
+
required: string;
|
|
190
|
+
deprecated: string;
|
|
191
|
+
deprecated_and_sunset_on: string;
|
|
192
|
+
stability_experimental: string;
|
|
193
|
+
stability_alpha: string;
|
|
194
|
+
stability_beta: string;
|
|
195
|
+
copy_to_clipboard: string;
|
|
196
|
+
copied: string;
|
|
197
|
+
no_content: string;
|
|
198
|
+
unresolved_reference: string;
|
|
199
|
+
circular_reference: string;
|
|
200
|
+
read_only: string;
|
|
201
|
+
write_only: string;
|
|
202
|
+
optional: string;
|
|
203
|
+
min: string;
|
|
204
|
+
max: string;
|
|
205
|
+
nullable: string;
|
|
206
|
+
body: string;
|
|
207
|
+
payload: string;
|
|
208
|
+
headers: string;
|
|
209
|
+
authorizations: string;
|
|
210
|
+
responses: string;
|
|
211
|
+
path_parameters: string;
|
|
212
|
+
query_parameters: string;
|
|
213
|
+
header_parameters: string;
|
|
214
|
+
attributes: string;
|
|
215
|
+
test_it: string;
|
|
216
|
+
information: string;
|
|
217
|
+
success: string;
|
|
218
|
+
redirect: string;
|
|
219
|
+
error: string;
|
|
220
|
+
show: string;
|
|
221
|
+
hide: string;
|
|
222
|
+
available_items: string;
|
|
223
|
+
child_attributes: string;
|
|
224
|
+
};
|
|
225
|
+
no: {
|
|
226
|
+
required: string;
|
|
227
|
+
deprecated: string;
|
|
228
|
+
deprecated_and_sunset_on: string;
|
|
229
|
+
stability_experimental: string;
|
|
230
|
+
stability_alpha: string;
|
|
231
|
+
stability_beta: string;
|
|
232
|
+
copy_to_clipboard: string;
|
|
233
|
+
copied: string;
|
|
234
|
+
no_content: string;
|
|
235
|
+
unresolved_reference: string;
|
|
236
|
+
circular_reference: string;
|
|
237
|
+
read_only: string;
|
|
238
|
+
write_only: string;
|
|
239
|
+
optional: string;
|
|
240
|
+
min: string;
|
|
241
|
+
max: string;
|
|
242
|
+
nullable: string;
|
|
243
|
+
body: string;
|
|
244
|
+
payload: string;
|
|
245
|
+
headers: string;
|
|
246
|
+
authorizations: string;
|
|
247
|
+
responses: string;
|
|
248
|
+
path_parameters: string;
|
|
249
|
+
query_parameters: string;
|
|
250
|
+
header_parameters: string;
|
|
251
|
+
attributes: string;
|
|
252
|
+
test_it: string;
|
|
253
|
+
information: string;
|
|
254
|
+
success: string;
|
|
255
|
+
redirect: string;
|
|
256
|
+
error: string;
|
|
257
|
+
show: string;
|
|
258
|
+
hide: string;
|
|
259
|
+
available_items: string;
|
|
260
|
+
child_attributes: string;
|
|
261
|
+
};
|
|
262
|
+
'pt-br': {
|
|
263
|
+
required: string;
|
|
264
|
+
deprecated: string;
|
|
265
|
+
deprecated_and_sunset_on: string;
|
|
266
|
+
stability_experimental: string;
|
|
267
|
+
stability_alpha: string;
|
|
268
|
+
stability_beta: string;
|
|
269
|
+
copy_to_clipboard: string;
|
|
270
|
+
copied: string;
|
|
271
|
+
no_content: string;
|
|
272
|
+
unresolved_reference: string;
|
|
273
|
+
circular_reference: string;
|
|
274
|
+
read_only: string;
|
|
275
|
+
write_only: string;
|
|
276
|
+
optional: string;
|
|
277
|
+
min: string;
|
|
278
|
+
max: string;
|
|
279
|
+
nullable: string;
|
|
280
|
+
body: string;
|
|
281
|
+
payload: string;
|
|
282
|
+
headers: string;
|
|
283
|
+
authorizations: string;
|
|
284
|
+
responses: string;
|
|
285
|
+
path_parameters: string;
|
|
286
|
+
query_parameters: string;
|
|
287
|
+
header_parameters: string;
|
|
288
|
+
attributes: string;
|
|
289
|
+
test_it: string;
|
|
290
|
+
information: string;
|
|
291
|
+
success: string;
|
|
292
|
+
redirect: string;
|
|
293
|
+
error: string;
|
|
294
|
+
show: string;
|
|
295
|
+
hide: string;
|
|
296
|
+
available_items: string;
|
|
297
|
+
child_attributes: string;
|
|
298
|
+
};
|
|
299
|
+
zh: {
|
|
300
|
+
required: string;
|
|
301
|
+
deprecated: string;
|
|
302
|
+
deprecated_and_sunset_on: string;
|
|
303
|
+
stability_experimental: string;
|
|
304
|
+
stability_alpha: string;
|
|
305
|
+
stability_beta: string;
|
|
306
|
+
copy_to_clipboard: string;
|
|
307
|
+
copied: string;
|
|
308
|
+
no_content: string;
|
|
309
|
+
unresolved_reference: string;
|
|
310
|
+
circular_reference: string;
|
|
311
|
+
read_only: string;
|
|
312
|
+
write_only: string;
|
|
313
|
+
optional: string;
|
|
314
|
+
min: string;
|
|
315
|
+
max: string;
|
|
316
|
+
nullable: string;
|
|
317
|
+
body: string;
|
|
318
|
+
payload: string;
|
|
319
|
+
headers: string;
|
|
320
|
+
authorizations: string;
|
|
321
|
+
responses: string;
|
|
322
|
+
path_parameters: string;
|
|
323
|
+
query_parameters: string;
|
|
324
|
+
header_parameters: string;
|
|
325
|
+
attributes: string;
|
|
326
|
+
test_it: string;
|
|
327
|
+
information: string;
|
|
328
|
+
success: string;
|
|
329
|
+
redirect: string;
|
|
330
|
+
error: string;
|
|
331
|
+
show: string;
|
|
332
|
+
hide: string;
|
|
333
|
+
available_items: string;
|
|
334
|
+
child_attributes: string;
|
|
335
|
+
};
|
|
336
|
+
};
|
|
337
|
+
export type TranslationLocale = keyof typeof translations;
|
|
338
|
+
/**
|
|
339
|
+
* Check if the locale is valid.
|
|
340
|
+
*/
|
|
341
|
+
export declare function checkIsValidLocale(locale: string): locale is TranslationLocale;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { de } from './de';
|
|
2
|
+
import { en } from './en';
|
|
3
|
+
import { es } from './es';
|
|
4
|
+
import { fr } from './fr';
|
|
5
|
+
import { ja } from './ja';
|
|
6
|
+
import { nl } from './nl';
|
|
7
|
+
import { no } from './no';
|
|
8
|
+
import { pt_br } from './pt-br';
|
|
9
|
+
import { zh } from './zh';
|
|
10
|
+
export * from './types';
|
|
11
|
+
export var translations = {
|
|
12
|
+
en: en,
|
|
13
|
+
de: de,
|
|
14
|
+
es: es,
|
|
15
|
+
fr: fr,
|
|
16
|
+
ja: ja,
|
|
17
|
+
nl: nl,
|
|
18
|
+
no: no,
|
|
19
|
+
'pt-br': pt_br,
|
|
20
|
+
zh: zh,
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if the locale is valid.
|
|
24
|
+
*/
|
|
25
|
+
export function checkIsValidLocale(locale) {
|
|
26
|
+
return Object.prototype.hasOwnProperty.call(translations, locale);
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const ja: {
|
|
2
|
+
required: string;
|
|
3
|
+
deprecated: string;
|
|
4
|
+
deprecated_and_sunset_on: string;
|
|
5
|
+
stability_experimental: string;
|
|
6
|
+
stability_alpha: string;
|
|
7
|
+
stability_beta: string;
|
|
8
|
+
copy_to_clipboard: string;
|
|
9
|
+
copied: string;
|
|
10
|
+
no_content: string;
|
|
11
|
+
unresolved_reference: string;
|
|
12
|
+
circular_reference: string;
|
|
13
|
+
read_only: string;
|
|
14
|
+
write_only: string;
|
|
15
|
+
optional: string;
|
|
16
|
+
min: string;
|
|
17
|
+
max: string;
|
|
18
|
+
nullable: string;
|
|
19
|
+
body: string;
|
|
20
|
+
payload: string;
|
|
21
|
+
headers: string;
|
|
22
|
+
authorizations: string;
|
|
23
|
+
responses: string;
|
|
24
|
+
path_parameters: string;
|
|
25
|
+
query_parameters: string;
|
|
26
|
+
header_parameters: string;
|
|
27
|
+
attributes: string;
|
|
28
|
+
test_it: string;
|
|
29
|
+
information: string;
|
|
30
|
+
success: string;
|
|
31
|
+
redirect: string;
|
|
32
|
+
error: string;
|
|
33
|
+
show: string;
|
|
34
|
+
hide: string;
|
|
35
|
+
available_items: string;
|
|
36
|
+
child_attributes: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export var ja = {
|
|
2
|
+
required: '必須',
|
|
3
|
+
deprecated: '非推奨',
|
|
4
|
+
deprecated_and_sunset_on: 'この操作は非推奨であり、${1}に廃止されます。',
|
|
5
|
+
stability_experimental: '実験的',
|
|
6
|
+
stability_alpha: 'アルファ',
|
|
7
|
+
stability_beta: 'ベータ',
|
|
8
|
+
copy_to_clipboard: 'クリップボードにコピー',
|
|
9
|
+
copied: 'コピー済み',
|
|
10
|
+
no_content: 'コンテンツなし',
|
|
11
|
+
unresolved_reference: '未解決の参照',
|
|
12
|
+
circular_reference: '循環参照',
|
|
13
|
+
read_only: '読み取り専用',
|
|
14
|
+
write_only: '書き込み専用',
|
|
15
|
+
optional: 'オプション',
|
|
16
|
+
min: '最小',
|
|
17
|
+
max: '最大',
|
|
18
|
+
nullable: 'ヌル許容',
|
|
19
|
+
body: '本文',
|
|
20
|
+
payload: 'ペイロード',
|
|
21
|
+
headers: 'ヘッダー',
|
|
22
|
+
authorizations: '認可',
|
|
23
|
+
responses: 'レスポンス',
|
|
24
|
+
path_parameters: 'パスパラメータ',
|
|
25
|
+
query_parameters: 'クエリパラメータ',
|
|
26
|
+
header_parameters: 'ヘッダーパラメータ',
|
|
27
|
+
attributes: '属性',
|
|
28
|
+
test_it: 'テストする',
|
|
29
|
+
information: '情報',
|
|
30
|
+
success: '成功',
|
|
31
|
+
redirect: 'リダイレクト',
|
|
32
|
+
error: 'エラー',
|
|
33
|
+
show: '表示',
|
|
34
|
+
hide: '非表示',
|
|
35
|
+
available_items: '利用可能なアイテム',
|
|
36
|
+
child_attributes: '子属性',
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const nl: {
|
|
2
|
+
required: string;
|
|
3
|
+
deprecated: string;
|
|
4
|
+
deprecated_and_sunset_on: string;
|
|
5
|
+
stability_experimental: string;
|
|
6
|
+
stability_alpha: string;
|
|
7
|
+
stability_beta: string;
|
|
8
|
+
copy_to_clipboard: string;
|
|
9
|
+
copied: string;
|
|
10
|
+
no_content: string;
|
|
11
|
+
unresolved_reference: string;
|
|
12
|
+
circular_reference: string;
|
|
13
|
+
read_only: string;
|
|
14
|
+
write_only: string;
|
|
15
|
+
optional: string;
|
|
16
|
+
min: string;
|
|
17
|
+
max: string;
|
|
18
|
+
nullable: string;
|
|
19
|
+
body: string;
|
|
20
|
+
payload: string;
|
|
21
|
+
headers: string;
|
|
22
|
+
authorizations: string;
|
|
23
|
+
responses: string;
|
|
24
|
+
path_parameters: string;
|
|
25
|
+
query_parameters: string;
|
|
26
|
+
header_parameters: string;
|
|
27
|
+
attributes: string;
|
|
28
|
+
test_it: string;
|
|
29
|
+
information: string;
|
|
30
|
+
success: string;
|
|
31
|
+
redirect: string;
|
|
32
|
+
error: string;
|
|
33
|
+
show: string;
|
|
34
|
+
hide: string;
|
|
35
|
+
available_items: string;
|
|
36
|
+
child_attributes: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export var nl = {
|
|
2
|
+
required: 'Vereist',
|
|
3
|
+
deprecated: 'Verouderd',
|
|
4
|
+
deprecated_and_sunset_on: 'Deze bewerking is verouderd en wordt op ${1} beëindigd.',
|
|
5
|
+
stability_experimental: 'Experimenteel',
|
|
6
|
+
stability_alpha: 'Alfa',
|
|
7
|
+
stability_beta: 'Bèta',
|
|
8
|
+
copy_to_clipboard: 'Kopiëren naar klembord',
|
|
9
|
+
copied: 'Gekopieerd',
|
|
10
|
+
no_content: 'Geen inhoud',
|
|
11
|
+
unresolved_reference: 'Onopgeloste verwijzing',
|
|
12
|
+
circular_reference: 'Circulaire verwijzing',
|
|
13
|
+
read_only: 'Alleen lezen',
|
|
14
|
+
write_only: 'Alleen schrijven',
|
|
15
|
+
optional: 'Optioneel',
|
|
16
|
+
min: 'Min',
|
|
17
|
+
max: 'Max',
|
|
18
|
+
nullable: 'Null toegestaan',
|
|
19
|
+
body: 'Body',
|
|
20
|
+
payload: 'Payload',
|
|
21
|
+
headers: 'Headers',
|
|
22
|
+
authorizations: 'Autorisaties',
|
|
23
|
+
responses: 'Reacties',
|
|
24
|
+
path_parameters: 'Padparameters',
|
|
25
|
+
query_parameters: 'Queryparameters',
|
|
26
|
+
header_parameters: 'Headerparameters',
|
|
27
|
+
attributes: 'Attributen',
|
|
28
|
+
test_it: 'Test het',
|
|
29
|
+
information: 'Informatie',
|
|
30
|
+
success: 'Succes',
|
|
31
|
+
redirect: 'Omleiding',
|
|
32
|
+
error: 'Fout',
|
|
33
|
+
show: 'Toon',
|
|
34
|
+
hide: 'Verbergen',
|
|
35
|
+
available_items: 'Beschikbare items',
|
|
36
|
+
child_attributes: 'Kindattributen',
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const no: {
|
|
2
|
+
required: string;
|
|
3
|
+
deprecated: string;
|
|
4
|
+
deprecated_and_sunset_on: string;
|
|
5
|
+
stability_experimental: string;
|
|
6
|
+
stability_alpha: string;
|
|
7
|
+
stability_beta: string;
|
|
8
|
+
copy_to_clipboard: string;
|
|
9
|
+
copied: string;
|
|
10
|
+
no_content: string;
|
|
11
|
+
unresolved_reference: string;
|
|
12
|
+
circular_reference: string;
|
|
13
|
+
read_only: string;
|
|
14
|
+
write_only: string;
|
|
15
|
+
optional: string;
|
|
16
|
+
min: string;
|
|
17
|
+
max: string;
|
|
18
|
+
nullable: string;
|
|
19
|
+
body: string;
|
|
20
|
+
payload: string;
|
|
21
|
+
headers: string;
|
|
22
|
+
authorizations: string;
|
|
23
|
+
responses: string;
|
|
24
|
+
path_parameters: string;
|
|
25
|
+
query_parameters: string;
|
|
26
|
+
header_parameters: string;
|
|
27
|
+
attributes: string;
|
|
28
|
+
test_it: string;
|
|
29
|
+
information: string;
|
|
30
|
+
success: string;
|
|
31
|
+
redirect: string;
|
|
32
|
+
error: string;
|
|
33
|
+
show: string;
|
|
34
|
+
hide: string;
|
|
35
|
+
available_items: string;
|
|
36
|
+
child_attributes: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export var no = {
|
|
2
|
+
required: 'Påkrevd',
|
|
3
|
+
deprecated: 'Foreldet',
|
|
4
|
+
deprecated_and_sunset_on: 'Denne operasjonen er foreldet og vil bli avviklet den ${1}.',
|
|
5
|
+
stability_experimental: 'Eksperimentell',
|
|
6
|
+
stability_alpha: 'Alfa',
|
|
7
|
+
stability_beta: 'Beta',
|
|
8
|
+
copy_to_clipboard: 'Kopier til utklippstavle',
|
|
9
|
+
copied: 'Kopiert',
|
|
10
|
+
no_content: 'Ingen innhold',
|
|
11
|
+
unresolved_reference: 'Uavklart referanse',
|
|
12
|
+
circular_reference: 'Sirkulær referanse',
|
|
13
|
+
read_only: 'Skrivebeskyttet',
|
|
14
|
+
write_only: 'Kun skriving',
|
|
15
|
+
optional: 'Valgfri',
|
|
16
|
+
min: 'Min',
|
|
17
|
+
max: 'Maks',
|
|
18
|
+
nullable: 'Kan være null',
|
|
19
|
+
body: 'Brødtekst',
|
|
20
|
+
payload: 'Nyttelast',
|
|
21
|
+
headers: 'Overskrifter',
|
|
22
|
+
authorizations: 'Autorisasjoner',
|
|
23
|
+
responses: 'Responser',
|
|
24
|
+
path_parameters: 'Sti-parametere',
|
|
25
|
+
query_parameters: 'Forespørselsparametere',
|
|
26
|
+
header_parameters: 'Header-parametere',
|
|
27
|
+
attributes: 'Attributter',
|
|
28
|
+
test_it: 'Test det',
|
|
29
|
+
information: 'Informasjon',
|
|
30
|
+
success: 'Suksess',
|
|
31
|
+
redirect: 'Viderekobling',
|
|
32
|
+
error: 'Feil',
|
|
33
|
+
show: 'Vis',
|
|
34
|
+
hide: 'Skjul',
|
|
35
|
+
available_items: 'Tilgjengelige elementer',
|
|
36
|
+
child_attributes: 'Barneattributter',
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export declare const pt_br: {
|
|
2
|
+
required: string;
|
|
3
|
+
deprecated: string;
|
|
4
|
+
deprecated_and_sunset_on: string;
|
|
5
|
+
stability_experimental: string;
|
|
6
|
+
stability_alpha: string;
|
|
7
|
+
stability_beta: string;
|
|
8
|
+
copy_to_clipboard: string;
|
|
9
|
+
copied: string;
|
|
10
|
+
no_content: string;
|
|
11
|
+
unresolved_reference: string;
|
|
12
|
+
circular_reference: string;
|
|
13
|
+
read_only: string;
|
|
14
|
+
write_only: string;
|
|
15
|
+
optional: string;
|
|
16
|
+
min: string;
|
|
17
|
+
max: string;
|
|
18
|
+
nullable: string;
|
|
19
|
+
body: string;
|
|
20
|
+
payload: string;
|
|
21
|
+
headers: string;
|
|
22
|
+
authorizations: string;
|
|
23
|
+
responses: string;
|
|
24
|
+
path_parameters: string;
|
|
25
|
+
query_parameters: string;
|
|
26
|
+
header_parameters: string;
|
|
27
|
+
attributes: string;
|
|
28
|
+
test_it: string;
|
|
29
|
+
information: string;
|
|
30
|
+
success: string;
|
|
31
|
+
redirect: string;
|
|
32
|
+
error: string;
|
|
33
|
+
show: string;
|
|
34
|
+
hide: string;
|
|
35
|
+
available_items: string;
|
|
36
|
+
child_attributes: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export var pt_br = {
|
|
2
|
+
required: 'Obrigatório',
|
|
3
|
+
deprecated: 'Obsoleto',
|
|
4
|
+
deprecated_and_sunset_on: 'Esta operação está obsoleta e será descontinuada em ${1}.',
|
|
5
|
+
stability_experimental: 'Experimental',
|
|
6
|
+
stability_alpha: 'Alfa',
|
|
7
|
+
stability_beta: 'Beta',
|
|
8
|
+
copy_to_clipboard: 'Copiar para a área de transferência',
|
|
9
|
+
copied: 'Copiado',
|
|
10
|
+
no_content: 'Sem conteúdo',
|
|
11
|
+
unresolved_reference: 'Referência não resolvida',
|
|
12
|
+
circular_reference: 'Referência circular',
|
|
13
|
+
read_only: 'Somente leitura',
|
|
14
|
+
write_only: 'Somente escrita',
|
|
15
|
+
optional: 'Opcional',
|
|
16
|
+
min: 'Mín',
|
|
17
|
+
max: 'Máx',
|
|
18
|
+
nullable: 'Nulo',
|
|
19
|
+
body: 'Corpo',
|
|
20
|
+
payload: 'Carga útil',
|
|
21
|
+
headers: 'Cabeçalhos',
|
|
22
|
+
authorizations: 'Autorizações',
|
|
23
|
+
responses: 'Respostas',
|
|
24
|
+
path_parameters: 'Parâmetros de rota',
|
|
25
|
+
query_parameters: 'Parâmetros de consulta',
|
|
26
|
+
header_parameters: 'Parâmetros de cabeçalho',
|
|
27
|
+
attributes: 'Atributos',
|
|
28
|
+
test_it: 'Testar',
|
|
29
|
+
information: 'Informação',
|
|
30
|
+
success: 'Sucesso',
|
|
31
|
+
redirect: 'Redirecionamento',
|
|
32
|
+
error: 'Erro',
|
|
33
|
+
show: 'Mostrar',
|
|
34
|
+
hide: 'Ocultar',
|
|
35
|
+
available_items: 'Itens disponíveis',
|
|
36
|
+
child_attributes: 'Atributos filhos',
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|