@gitbook/react-openapi 1.4.2 → 1.5.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 +34 -0
- package/dist/index.d.ts +663 -10
- package/dist/index.js +3873 -8
- package/package.json +11 -7
- package/dist/InteractiveSection.d.ts +0 -33
- package/dist/InteractiveSection.jsx +0 -61
- package/dist/Markdown.d.ts +0 -4
- package/dist/Markdown.jsx +0 -5
- package/dist/OpenAPICodeSample.d.ts +0 -19
- package/dist/OpenAPICodeSample.jsx +0 -230
- package/dist/OpenAPICodeSampleInteractive.d.ts +0 -14
- package/dist/OpenAPICodeSampleInteractive.jsx +0 -73
- package/dist/OpenAPICodeSampleSelector.d.ts +0 -14
- package/dist/OpenAPICodeSampleSelector.jsx +0 -44
- package/dist/OpenAPICopyButton.d.ts +0 -13
- package/dist/OpenAPICopyButton.jsx +0 -35
- package/dist/OpenAPIDisclosure.d.ts +0 -11
- package/dist/OpenAPIDisclosure.jsx +0 -30
- package/dist/OpenAPIDisclosureGroup.d.ts +0 -23
- package/dist/OpenAPIDisclosureGroup.jsx +0 -83
- package/dist/OpenAPIExample.d.ts +0 -16
- package/dist/OpenAPIExample.jsx +0 -36
- package/dist/OpenAPIMediaType.d.ts +0 -21
- package/dist/OpenAPIMediaType.jsx +0 -61
- package/dist/OpenAPIOperation.d.ts +0 -10
- package/dist/OpenAPIOperation.jsx +0 -25
- package/dist/OpenAPIOperationContext.d.ts +0 -16
- package/dist/OpenAPIOperationContext.jsx +0 -26
- package/dist/OpenAPIOperationDescription.d.ts +0 -9
- package/dist/OpenAPIOperationDescription.jsx +0 -22
- package/dist/OpenAPIOperationStability.d.ts +0 -9
- package/dist/OpenAPIOperationStability.jsx +0 -27
- package/dist/OpenAPIPath.d.ts +0 -18
- package/dist/OpenAPIPath.jsx +0 -55
- package/dist/OpenAPIPrefillContextProvider.d.ts +0 -22
- package/dist/OpenAPIPrefillContextProvider.jsx +0 -19
- package/dist/OpenAPIRequestBody.d.ts +0 -11
- package/dist/OpenAPIRequestBody.jsx +0 -28
- package/dist/OpenAPIRequestBodyHeaderType.d.ts +0 -8
- package/dist/OpenAPIRequestBodyHeaderType.jsx +0 -25
- package/dist/OpenAPIResponse.d.ts +0 -10
- package/dist/OpenAPIResponse.jsx +0 -57
- package/dist/OpenAPIResponseExample.d.ts +0 -9
- package/dist/OpenAPIResponseExample.jsx +0 -105
- package/dist/OpenAPIResponseExampleContent.d.ts +0 -22
- package/dist/OpenAPIResponseExampleContent.jsx +0 -60
- package/dist/OpenAPIResponses.d.ts +0 -9
- package/dist/OpenAPIResponses.jsx +0 -77
- package/dist/OpenAPISchema.d.ts +0 -27
- package/dist/OpenAPISchema.jsx +0 -400
- package/dist/OpenAPISchemaName.d.ts +0 -16
- package/dist/OpenAPISchemaName.jsx +0 -43
- package/dist/OpenAPISchemaServer.d.ts +0 -12
- package/dist/OpenAPISchemaServer.jsx +0 -8
- package/dist/OpenAPISecurities.d.ts +0 -9
- package/dist/OpenAPISecurities.jsx +0 -114
- package/dist/OpenAPISelect.d.ts +0 -22
- package/dist/OpenAPISelect.jsx +0 -44
- package/dist/OpenAPISpec.d.ts +0 -6
- package/dist/OpenAPISpec.jsx +0 -80
- package/dist/OpenAPITabs.d.ts +0 -26
- package/dist/OpenAPITabs.jsx +0 -109
- package/dist/OpenAPIWebhook.d.ts +0 -10
- package/dist/OpenAPIWebhook.jsx +0 -23
- package/dist/OpenAPIWebhookExample.d.ts +0 -6
- package/dist/OpenAPIWebhookExample.jsx +0 -41
- package/dist/ScalarApiButton.d.ts +0 -14
- package/dist/ScalarApiButton.jsx +0 -81
- package/dist/StaticSection.d.ts +0 -13
- package/dist/StaticSection.jsx +0 -32
- package/dist/code-samples.d.ts +0 -17
- package/dist/code-samples.js +0 -427
- package/dist/common/OpenAPIColumnSpec.d.ts +0 -6
- package/dist/common/OpenAPIColumnSpec.jsx +0 -20
- package/dist/common/OpenAPIOperationDescription.d.ts +0 -6
- package/dist/common/OpenAPIOperationDescription.jsx +0 -19
- package/dist/common/OpenAPIStability.d.ts +0 -4
- package/dist/common/OpenAPIStability.jsx +0 -15
- package/dist/common/OpenAPISummary.d.ts +0 -6
- package/dist/common/OpenAPISummary.jsx +0 -30
- package/dist/contentTypeChecks.d.ts +0 -10
- package/dist/contentTypeChecks.js +0 -30
- package/dist/context.d.ts +0 -75
- package/dist/context.js +0 -43
- package/dist/decycle.d.ts +0 -2
- package/dist/decycle.js +0 -70
- package/dist/dereference.d.ts +0 -5
- package/dist/dereference.js +0 -68
- package/dist/generateSchemaExample.d.ts +0 -45
- package/dist/generateSchemaExample.js +0 -342
- package/dist/getDisclosureLabel.d.ts +0 -7
- package/dist/getDisclosureLabel.js +0 -18
- package/dist/getOrCreateStoreByKey.d.ts +0 -10
- package/dist/getOrCreateStoreByKey.js +0 -19
- package/dist/json2xml.d.ts +0 -4
- package/dist/json2xml.js +0 -7
- package/dist/resolveOpenAPIOperation.d.ts +0 -11
- package/dist/resolveOpenAPIOperation.js +0 -173
- package/dist/resolveOpenAPIWebhook.d.ts +0 -11
- package/dist/resolveOpenAPIWebhook.js +0 -127
- package/dist/schemas/OpenAPISchemaItem.d.ts +0 -7
- package/dist/schemas/OpenAPISchemaItem.jsx +0 -16
- package/dist/schemas/OpenAPISchemas.d.ts +0 -14
- package/dist/schemas/OpenAPISchemas.jsx +0 -59
- package/dist/schemas/index.d.ts +0 -2
- package/dist/schemas/index.js +0 -2
- package/dist/schemas/resolveOpenAPISchemas.d.ts +0 -10
- package/dist/schemas/resolveOpenAPISchemas.js +0 -61
- package/dist/stringifyOpenAPI.d.ts +0 -4
- package/dist/stringifyOpenAPI.js +0 -15
- package/dist/translate.d.ts +0 -10
- package/dist/translate.jsx +0 -75
- package/dist/translations/de.d.ts +0 -43
- package/dist/translations/de.js +0 -43
- package/dist/translations/en.d.ts +0 -43
- package/dist/translations/en.js +0 -43
- package/dist/translations/es.d.ts +0 -43
- package/dist/translations/es.js +0 -43
- package/dist/translations/fr.d.ts +0 -43
- package/dist/translations/fr.js +0 -43
- package/dist/translations/index.d.ts +0 -395
- package/dist/translations/index.js +0 -27
- package/dist/translations/ja.d.ts +0 -43
- package/dist/translations/ja.js +0 -43
- package/dist/translations/nl.d.ts +0 -43
- package/dist/translations/nl.js +0 -43
- package/dist/translations/no.d.ts +0 -43
- package/dist/translations/no.js +0 -43
- package/dist/translations/pt-br.d.ts +0 -43
- package/dist/translations/pt-br.js +0 -43
- package/dist/translations/types.d.ts +0 -5
- package/dist/translations/types.js +0 -1
- package/dist/translations/zh.d.ts +0 -43
- package/dist/translations/zh.js +0 -43
- package/dist/tsconfig.build.tsbuildinfo +0 -1
- package/dist/types.d.ts +0 -31
- package/dist/types.js +0 -1
- package/dist/util/example.d.ts +0 -35
- package/dist/util/example.jsx +0 -103
- package/dist/util/server.d.ts +0 -9
- package/dist/util/server.js +0 -44
- package/dist/util/tryit-prefill.d.ts +0 -20
- package/dist/util/tryit-prefill.js +0 -129
- package/dist/utils.d.ts +0 -50
- package/dist/utils.js +0 -224
- package/src/InteractiveSection.tsx +0 -147
- package/src/Markdown.tsx +0 -12
- package/src/OpenAPICodeSample.tsx +0 -330
- package/src/OpenAPICodeSampleInteractive.tsx +0 -136
- package/src/OpenAPICodeSampleSelector.tsx +0 -94
- package/src/OpenAPICopyButton.tsx +0 -72
- package/src/OpenAPIDisclosure.tsx +0 -46
- package/src/OpenAPIDisclosureGroup.tsx +0 -158
- package/src/OpenAPIExample.tsx +0 -55
- package/src/OpenAPIMediaType.tsx +0 -139
- package/src/OpenAPIOperation.tsx +0 -35
- package/src/OpenAPIOperationContext.tsx +0 -45
- package/src/OpenAPIOperationDescription.tsx +0 -34
- package/src/OpenAPIOperationStability.tsx +0 -39
- package/src/OpenAPIPath.tsx +0 -90
- package/src/OpenAPIPrefillContextProvider.tsx +0 -40
- package/src/OpenAPIRequestBody.tsx +0 -54
- package/src/OpenAPIRequestBodyHeaderType.tsx +0 -36
- package/src/OpenAPIResponse.tsx +0 -82
- package/src/OpenAPIResponseExample.tsx +0 -151
- package/src/OpenAPIResponseExampleContent.tsx +0 -125
- package/src/OpenAPIResponses.tsx +0 -125
- package/src/OpenAPISchema.test.ts +0 -172
- package/src/OpenAPISchema.tsx +0 -654
- package/src/OpenAPISchemaName.tsx +0 -80
- package/src/OpenAPISchemaServer.tsx +0 -34
- package/src/OpenAPISecurities.tsx +0 -231
- package/src/OpenAPISelect.tsx +0 -96
- package/src/OpenAPISpec.tsx +0 -138
- package/src/OpenAPITabs.tsx +0 -147
- package/src/OpenAPIWebhook.tsx +0 -33
- package/src/OpenAPIWebhookExample.tsx +0 -60
- package/src/ScalarApiButton.tsx +0 -132
- package/src/StaticSection.tsx +0 -91
- package/src/__snapshots__/json2xml.test.ts.snap +0 -18
- package/src/code-samples.test.ts +0 -714
- package/src/code-samples.ts +0 -448
- package/src/common/OpenAPIColumnSpec.tsx +0 -31
- package/src/common/OpenAPIOperationDescription.tsx +0 -31
- package/src/common/OpenAPIStability.tsx +0 -23
- package/src/common/OpenAPISummary.tsx +0 -45
- package/src/contentTypeChecks.ts +0 -39
- package/src/context.ts +0 -99
- package/src/decycle.ts +0 -68
- package/src/dereference.ts +0 -29
- package/src/generateSchemaExample.test.ts +0 -1040
- package/src/generateSchemaExample.ts +0 -530
- package/src/getDisclosureLabel.ts +0 -25
- package/src/getOrCreateStoreByKey.ts +0 -33
- package/src/index.ts +0 -10
- package/src/json2xml.test.ts +0 -46
- package/src/json2xml.ts +0 -8
- package/src/resolveOpenAPIOperation.test.ts +0 -177
- package/src/resolveOpenAPIOperation.ts +0 -151
- package/src/resolveOpenAPIWebhook.ts +0 -99
- package/src/schemas/OpenAPISchemaItem.tsx +0 -34
- package/src/schemas/OpenAPISchemas.tsx +0 -98
- package/src/schemas/index.ts +0 -2
- package/src/schemas/resolveOpenAPISchemas.test.ts +0 -174
- package/src/schemas/resolveOpenAPISchemas.ts +0 -28
- package/src/stringifyOpenAPI.ts +0 -25
- package/src/translate.tsx +0 -80
- package/src/translations/de.ts +0 -43
- package/src/translations/en.ts +0 -43
- package/src/translations/es.ts +0 -43
- package/src/translations/fr.ts +0 -43
- package/src/translations/index.ts +0 -33
- package/src/translations/ja.ts +0 -43
- package/src/translations/nl.ts +0 -43
- package/src/translations/no.ts +0 -43
- package/src/translations/pt-br.ts +0 -43
- package/src/translations/types.ts +0 -7
- package/src/translations/zh.ts +0 -43
- package/src/types.ts +0 -46
- package/src/util/example.tsx +0 -129
- package/src/util/server.test.ts +0 -58
- package/src/util/server.ts +0 -47
- package/src/util/tryit-prefill.test.ts +0 -311
- package/src/util/tryit-prefill.ts +0 -160
- package/src/utils.ts +0 -255
package/dist/translations/de.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export var de = {
|
|
2
|
-
required: 'Erforderlich',
|
|
3
|
-
deprecated: 'Veraltet',
|
|
4
|
-
deprecated_and_sunset_on: 'Diese Operation ist veraltet und wird am ${1} eingestellt.',
|
|
5
|
-
stability_experimental: 'Experimentell',
|
|
6
|
-
stability_alpha: 'Alpha',
|
|
7
|
-
stability_beta: 'Beta',
|
|
8
|
-
copy_to_clipboard: 'In die Zwischenablage kopieren',
|
|
9
|
-
copied: 'Kopiert',
|
|
10
|
-
no_content: 'Kein Inhalt',
|
|
11
|
-
unresolved_reference: 'Nicht aufgelöste Referenz',
|
|
12
|
-
circular_reference: 'Zirkuläre Referenz',
|
|
13
|
-
read_only: 'Nur lesen',
|
|
14
|
-
write_only: 'Nur schreiben',
|
|
15
|
-
optional: 'Optional',
|
|
16
|
-
min: 'Min',
|
|
17
|
-
max: 'Max',
|
|
18
|
-
nullable: 'Nullfähig',
|
|
19
|
-
body: 'Rumpf',
|
|
20
|
-
payload: 'Nutzlast',
|
|
21
|
-
headers: 'Header',
|
|
22
|
-
header: 'Header',
|
|
23
|
-
authorizations: 'Autorisierungen',
|
|
24
|
-
responses: 'Antworten',
|
|
25
|
-
response: 'Antwort',
|
|
26
|
-
path_parameters: 'Pfadparameter',
|
|
27
|
-
query_parameters: 'Abfrageparameter',
|
|
28
|
-
header_parameters: 'Header-Parameter',
|
|
29
|
-
attributes: 'Attribute',
|
|
30
|
-
test_it: 'Teste es',
|
|
31
|
-
information: 'Information',
|
|
32
|
-
success: 'Erfolg',
|
|
33
|
-
redirect: 'Umleitung',
|
|
34
|
-
error: 'Fehler',
|
|
35
|
-
show: 'Zeige ${1}',
|
|
36
|
-
hide: 'Verstecke ${1}',
|
|
37
|
-
available_items: 'Verfügbare Elemente',
|
|
38
|
-
available_scopes: 'Verfügbare scopes',
|
|
39
|
-
properties: 'Eigenschaften',
|
|
40
|
-
or: 'oder',
|
|
41
|
-
and: 'und',
|
|
42
|
-
possible_values: 'Mögliche Werte',
|
|
43
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const en: {
|
|
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
|
-
header: string;
|
|
23
|
-
authorizations: string;
|
|
24
|
-
responses: string;
|
|
25
|
-
response: 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
|
-
available_scopes: string;
|
|
39
|
-
possible_values: string;
|
|
40
|
-
properties: string;
|
|
41
|
-
or: string;
|
|
42
|
-
and: string;
|
|
43
|
-
};
|
package/dist/translations/en.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export var en = {
|
|
2
|
-
required: 'Required',
|
|
3
|
-
deprecated: 'Deprecated',
|
|
4
|
-
deprecated_and_sunset_on: 'This operation is deprecated and will be sunset on ${1}.',
|
|
5
|
-
stability_experimental: 'Experimental',
|
|
6
|
-
stability_alpha: 'Alpha',
|
|
7
|
-
stability_beta: 'Beta',
|
|
8
|
-
copy_to_clipboard: 'Copy to clipboard',
|
|
9
|
-
copied: 'Copied',
|
|
10
|
-
no_content: 'No content',
|
|
11
|
-
unresolved_reference: 'Unresolved reference',
|
|
12
|
-
circular_reference: 'Circular reference',
|
|
13
|
-
read_only: 'Read-only',
|
|
14
|
-
write_only: 'Write-only',
|
|
15
|
-
optional: 'Optional',
|
|
16
|
-
min: 'Min',
|
|
17
|
-
max: 'Max',
|
|
18
|
-
nullable: 'Nullable',
|
|
19
|
-
body: 'Body',
|
|
20
|
-
payload: 'Payload',
|
|
21
|
-
headers: 'Headers',
|
|
22
|
-
header: 'Header',
|
|
23
|
-
authorizations: 'Authorizations',
|
|
24
|
-
responses: 'Responses',
|
|
25
|
-
response: 'Response',
|
|
26
|
-
path_parameters: 'Path parameters',
|
|
27
|
-
query_parameters: 'Query parameters',
|
|
28
|
-
header_parameters: 'Header parameters',
|
|
29
|
-
attributes: 'Attributes',
|
|
30
|
-
test_it: 'Test it',
|
|
31
|
-
information: 'Information',
|
|
32
|
-
success: 'Success',
|
|
33
|
-
redirect: 'Redirect',
|
|
34
|
-
error: 'Error',
|
|
35
|
-
show: 'Show ${1}',
|
|
36
|
-
hide: 'Hide ${1}',
|
|
37
|
-
available_items: 'Available items',
|
|
38
|
-
available_scopes: 'Available scopes',
|
|
39
|
-
possible_values: 'Possible values',
|
|
40
|
-
properties: 'Properties',
|
|
41
|
-
or: 'or',
|
|
42
|
-
and: 'and',
|
|
43
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const es: {
|
|
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
|
-
header: string;
|
|
23
|
-
authorizations: string;
|
|
24
|
-
responses: string;
|
|
25
|
-
response: 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
|
-
available_scopes: string;
|
|
39
|
-
properties: string;
|
|
40
|
-
or: string;
|
|
41
|
-
and: string;
|
|
42
|
-
possible_values: string;
|
|
43
|
-
};
|
package/dist/translations/es.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export var es = {
|
|
2
|
-
required: 'Requerido',
|
|
3
|
-
deprecated: 'Obsoleto',
|
|
4
|
-
deprecated_and_sunset_on: 'Esta operación está obsoleta y se retirará el ${1}.',
|
|
5
|
-
stability_experimental: 'Experimental',
|
|
6
|
-
stability_alpha: 'Alfa',
|
|
7
|
-
stability_beta: 'Beta',
|
|
8
|
-
copy_to_clipboard: 'Copiar al portapapeles',
|
|
9
|
-
copied: 'Copiado',
|
|
10
|
-
no_content: 'Sin contenido',
|
|
11
|
-
unresolved_reference: 'Referencia no resuelta',
|
|
12
|
-
circular_reference: 'Referencia circular',
|
|
13
|
-
read_only: 'Solo lectura',
|
|
14
|
-
write_only: 'Solo escritura',
|
|
15
|
-
optional: 'Opcional',
|
|
16
|
-
min: 'Mín',
|
|
17
|
-
max: 'Máx',
|
|
18
|
-
nullable: 'Nulo',
|
|
19
|
-
body: 'Cuerpo',
|
|
20
|
-
payload: 'Caga útil',
|
|
21
|
-
headers: 'Headers',
|
|
22
|
-
header: 'Header',
|
|
23
|
-
authorizations: 'Autorizaciones',
|
|
24
|
-
responses: 'Respuestas',
|
|
25
|
-
response: 'Respuesta',
|
|
26
|
-
path_parameters: 'Parámetros de ruta',
|
|
27
|
-
query_parameters: 'Parámetros de consulta',
|
|
28
|
-
header_parameters: 'Parámetros de encabezado',
|
|
29
|
-
attributes: 'Atributos',
|
|
30
|
-
test_it: 'Pruébalo',
|
|
31
|
-
information: 'Información',
|
|
32
|
-
success: 'Éxito',
|
|
33
|
-
redirect: 'Redirección',
|
|
34
|
-
error: 'Error',
|
|
35
|
-
show: 'Mostrar ${1}',
|
|
36
|
-
hide: 'Ocultar ${1}',
|
|
37
|
-
available_items: 'Elementos disponibles',
|
|
38
|
-
available_scopes: 'Scopes disponibles',
|
|
39
|
-
properties: 'Propiedades',
|
|
40
|
-
or: 'o',
|
|
41
|
-
and: 'y',
|
|
42
|
-
possible_values: 'Valores posibles',
|
|
43
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const fr: {
|
|
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
|
-
header: string;
|
|
23
|
-
authorizations: string;
|
|
24
|
-
responses: string;
|
|
25
|
-
response: 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
|
-
available_scopes: string;
|
|
39
|
-
properties: string;
|
|
40
|
-
or: string;
|
|
41
|
-
and: string;
|
|
42
|
-
possible_values: string;
|
|
43
|
-
};
|
package/dist/translations/fr.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export var fr = {
|
|
2
|
-
required: 'Requis',
|
|
3
|
-
deprecated: 'Obsolète',
|
|
4
|
-
deprecated_and_sunset_on: 'Cette opération est obsolète et sera supprimée le ${1}.',
|
|
5
|
-
stability_experimental: 'Expérimental',
|
|
6
|
-
stability_alpha: 'Alpha',
|
|
7
|
-
stability_beta: 'Bêta',
|
|
8
|
-
copy_to_clipboard: 'Copier dans le presse-papiers',
|
|
9
|
-
copied: 'Copié',
|
|
10
|
-
no_content: 'Aucun contenu',
|
|
11
|
-
unresolved_reference: 'Référence non résolue',
|
|
12
|
-
circular_reference: 'Référence circulaire',
|
|
13
|
-
read_only: 'Lecture seule',
|
|
14
|
-
write_only: 'Écriture seule',
|
|
15
|
-
optional: 'Optionnel',
|
|
16
|
-
min: 'Min',
|
|
17
|
-
max: 'Max',
|
|
18
|
-
nullable: 'Nullable',
|
|
19
|
-
body: 'Corps',
|
|
20
|
-
payload: 'Charge utile',
|
|
21
|
-
headers: 'Headers',
|
|
22
|
-
header: 'Header',
|
|
23
|
-
authorizations: 'Autorisations',
|
|
24
|
-
responses: 'Réponses',
|
|
25
|
-
response: 'Réponse',
|
|
26
|
-
path_parameters: 'Paramètres de chemin',
|
|
27
|
-
query_parameters: 'Paramètres de requête',
|
|
28
|
-
header_parameters: "Paramètres d'en-tête",
|
|
29
|
-
attributes: 'Attributs',
|
|
30
|
-
test_it: 'Tester',
|
|
31
|
-
information: 'Information',
|
|
32
|
-
success: 'Succès',
|
|
33
|
-
redirect: 'Redirection',
|
|
34
|
-
error: 'Erreur',
|
|
35
|
-
show: 'Afficher ${1}',
|
|
36
|
-
hide: 'Masquer ${1}',
|
|
37
|
-
available_items: 'Éléments disponibles',
|
|
38
|
-
available_scopes: 'Scopes disponibles',
|
|
39
|
-
properties: 'Propriétés',
|
|
40
|
-
or: 'ou',
|
|
41
|
-
and: 'et',
|
|
42
|
-
possible_values: 'Valeurs possibles',
|
|
43
|
-
};
|
|
@@ -1,395 +0,0 @@
|
|
|
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
|
-
header: string;
|
|
25
|
-
authorizations: string;
|
|
26
|
-
responses: string;
|
|
27
|
-
response: string;
|
|
28
|
-
path_parameters: string;
|
|
29
|
-
query_parameters: string;
|
|
30
|
-
header_parameters: string;
|
|
31
|
-
attributes: string;
|
|
32
|
-
test_it: string;
|
|
33
|
-
information: string;
|
|
34
|
-
success: string;
|
|
35
|
-
redirect: string;
|
|
36
|
-
error: string;
|
|
37
|
-
show: string;
|
|
38
|
-
hide: string;
|
|
39
|
-
available_items: string;
|
|
40
|
-
available_scopes: string;
|
|
41
|
-
possible_values: string;
|
|
42
|
-
properties: string;
|
|
43
|
-
or: string;
|
|
44
|
-
and: string;
|
|
45
|
-
};
|
|
46
|
-
de: {
|
|
47
|
-
required: string;
|
|
48
|
-
deprecated: string;
|
|
49
|
-
deprecated_and_sunset_on: string;
|
|
50
|
-
stability_experimental: string;
|
|
51
|
-
stability_alpha: string;
|
|
52
|
-
stability_beta: string;
|
|
53
|
-
copy_to_clipboard: string;
|
|
54
|
-
copied: string;
|
|
55
|
-
no_content: string;
|
|
56
|
-
unresolved_reference: string;
|
|
57
|
-
circular_reference: string;
|
|
58
|
-
read_only: string;
|
|
59
|
-
write_only: string;
|
|
60
|
-
optional: string;
|
|
61
|
-
min: string;
|
|
62
|
-
max: string;
|
|
63
|
-
nullable: string;
|
|
64
|
-
body: string;
|
|
65
|
-
payload: string;
|
|
66
|
-
headers: string;
|
|
67
|
-
header: string;
|
|
68
|
-
authorizations: string;
|
|
69
|
-
responses: string;
|
|
70
|
-
response: string;
|
|
71
|
-
path_parameters: string;
|
|
72
|
-
query_parameters: string;
|
|
73
|
-
header_parameters: string;
|
|
74
|
-
attributes: string;
|
|
75
|
-
test_it: string;
|
|
76
|
-
information: string;
|
|
77
|
-
success: string;
|
|
78
|
-
redirect: string;
|
|
79
|
-
error: string;
|
|
80
|
-
show: string;
|
|
81
|
-
hide: string;
|
|
82
|
-
available_items: string;
|
|
83
|
-
available_scopes: string;
|
|
84
|
-
properties: string;
|
|
85
|
-
or: string;
|
|
86
|
-
and: string;
|
|
87
|
-
possible_values: string;
|
|
88
|
-
};
|
|
89
|
-
es: {
|
|
90
|
-
required: string;
|
|
91
|
-
deprecated: string;
|
|
92
|
-
deprecated_and_sunset_on: string;
|
|
93
|
-
stability_experimental: string;
|
|
94
|
-
stability_alpha: string;
|
|
95
|
-
stability_beta: string;
|
|
96
|
-
copy_to_clipboard: string;
|
|
97
|
-
copied: string;
|
|
98
|
-
no_content: string;
|
|
99
|
-
unresolved_reference: string;
|
|
100
|
-
circular_reference: string;
|
|
101
|
-
read_only: string;
|
|
102
|
-
write_only: string;
|
|
103
|
-
optional: string;
|
|
104
|
-
min: string;
|
|
105
|
-
max: string;
|
|
106
|
-
nullable: string;
|
|
107
|
-
body: string;
|
|
108
|
-
payload: string;
|
|
109
|
-
headers: string;
|
|
110
|
-
header: string;
|
|
111
|
-
authorizations: string;
|
|
112
|
-
responses: string;
|
|
113
|
-
response: string;
|
|
114
|
-
path_parameters: string;
|
|
115
|
-
query_parameters: string;
|
|
116
|
-
header_parameters: string;
|
|
117
|
-
attributes: string;
|
|
118
|
-
test_it: string;
|
|
119
|
-
information: string;
|
|
120
|
-
success: string;
|
|
121
|
-
redirect: string;
|
|
122
|
-
error: string;
|
|
123
|
-
show: string;
|
|
124
|
-
hide: string;
|
|
125
|
-
available_items: string;
|
|
126
|
-
available_scopes: string;
|
|
127
|
-
properties: string;
|
|
128
|
-
or: string;
|
|
129
|
-
and: string;
|
|
130
|
-
possible_values: string;
|
|
131
|
-
};
|
|
132
|
-
fr: {
|
|
133
|
-
required: string;
|
|
134
|
-
deprecated: string;
|
|
135
|
-
deprecated_and_sunset_on: string;
|
|
136
|
-
stability_experimental: string;
|
|
137
|
-
stability_alpha: string;
|
|
138
|
-
stability_beta: string;
|
|
139
|
-
copy_to_clipboard: string;
|
|
140
|
-
copied: string;
|
|
141
|
-
no_content: string;
|
|
142
|
-
unresolved_reference: string;
|
|
143
|
-
circular_reference: string;
|
|
144
|
-
read_only: string;
|
|
145
|
-
write_only: string;
|
|
146
|
-
optional: string;
|
|
147
|
-
min: string;
|
|
148
|
-
max: string;
|
|
149
|
-
nullable: string;
|
|
150
|
-
body: string;
|
|
151
|
-
payload: string;
|
|
152
|
-
headers: string;
|
|
153
|
-
header: string;
|
|
154
|
-
authorizations: string;
|
|
155
|
-
responses: string;
|
|
156
|
-
response: string;
|
|
157
|
-
path_parameters: string;
|
|
158
|
-
query_parameters: string;
|
|
159
|
-
header_parameters: string;
|
|
160
|
-
attributes: string;
|
|
161
|
-
test_it: string;
|
|
162
|
-
information: string;
|
|
163
|
-
success: string;
|
|
164
|
-
redirect: string;
|
|
165
|
-
error: string;
|
|
166
|
-
show: string;
|
|
167
|
-
hide: string;
|
|
168
|
-
available_items: string;
|
|
169
|
-
available_scopes: string;
|
|
170
|
-
properties: string;
|
|
171
|
-
or: string;
|
|
172
|
-
and: string;
|
|
173
|
-
possible_values: string;
|
|
174
|
-
};
|
|
175
|
-
ja: {
|
|
176
|
-
required: string;
|
|
177
|
-
deprecated: string;
|
|
178
|
-
deprecated_and_sunset_on: string;
|
|
179
|
-
stability_experimental: string;
|
|
180
|
-
stability_alpha: string;
|
|
181
|
-
stability_beta: string;
|
|
182
|
-
copy_to_clipboard: string;
|
|
183
|
-
copied: string;
|
|
184
|
-
no_content: string;
|
|
185
|
-
unresolved_reference: string;
|
|
186
|
-
circular_reference: string;
|
|
187
|
-
read_only: string;
|
|
188
|
-
write_only: string;
|
|
189
|
-
optional: string;
|
|
190
|
-
min: string;
|
|
191
|
-
max: string;
|
|
192
|
-
nullable: string;
|
|
193
|
-
body: string;
|
|
194
|
-
payload: string;
|
|
195
|
-
headers: string;
|
|
196
|
-
header: string;
|
|
197
|
-
authorizations: string;
|
|
198
|
-
responses: string;
|
|
199
|
-
response: string;
|
|
200
|
-
path_parameters: string;
|
|
201
|
-
query_parameters: string;
|
|
202
|
-
header_parameters: string;
|
|
203
|
-
attributes: string;
|
|
204
|
-
test_it: string;
|
|
205
|
-
information: string;
|
|
206
|
-
success: string;
|
|
207
|
-
redirect: string;
|
|
208
|
-
error: string;
|
|
209
|
-
show: string;
|
|
210
|
-
hide: string;
|
|
211
|
-
available_items: string;
|
|
212
|
-
available_scopes: string;
|
|
213
|
-
properties: string;
|
|
214
|
-
or: string;
|
|
215
|
-
and: string;
|
|
216
|
-
possible_values: string;
|
|
217
|
-
};
|
|
218
|
-
nl: {
|
|
219
|
-
required: string;
|
|
220
|
-
deprecated: string;
|
|
221
|
-
deprecated_and_sunset_on: string;
|
|
222
|
-
stability_experimental: string;
|
|
223
|
-
stability_alpha: string;
|
|
224
|
-
stability_beta: string;
|
|
225
|
-
copy_to_clipboard: string;
|
|
226
|
-
copied: string;
|
|
227
|
-
no_content: string;
|
|
228
|
-
unresolved_reference: string;
|
|
229
|
-
circular_reference: string;
|
|
230
|
-
read_only: string;
|
|
231
|
-
write_only: string;
|
|
232
|
-
optional: string;
|
|
233
|
-
min: string;
|
|
234
|
-
max: string;
|
|
235
|
-
nullable: string;
|
|
236
|
-
body: string;
|
|
237
|
-
payload: string;
|
|
238
|
-
headers: string;
|
|
239
|
-
header: string;
|
|
240
|
-
authorizations: string;
|
|
241
|
-
responses: string;
|
|
242
|
-
response: string;
|
|
243
|
-
path_parameters: string;
|
|
244
|
-
query_parameters: string;
|
|
245
|
-
header_parameters: string;
|
|
246
|
-
attributes: string;
|
|
247
|
-
test_it: string;
|
|
248
|
-
information: string;
|
|
249
|
-
success: string;
|
|
250
|
-
redirect: string;
|
|
251
|
-
error: string;
|
|
252
|
-
show: string;
|
|
253
|
-
hide: string;
|
|
254
|
-
available_items: string;
|
|
255
|
-
available_scopes: string;
|
|
256
|
-
properties: string;
|
|
257
|
-
or: string;
|
|
258
|
-
and: string;
|
|
259
|
-
possible_values: string;
|
|
260
|
-
};
|
|
261
|
-
no: {
|
|
262
|
-
required: string;
|
|
263
|
-
deprecated: string;
|
|
264
|
-
deprecated_and_sunset_on: string;
|
|
265
|
-
stability_experimental: string;
|
|
266
|
-
stability_alpha: string;
|
|
267
|
-
stability_beta: string;
|
|
268
|
-
copy_to_clipboard: string;
|
|
269
|
-
copied: string;
|
|
270
|
-
no_content: string;
|
|
271
|
-
unresolved_reference: string;
|
|
272
|
-
circular_reference: string;
|
|
273
|
-
read_only: string;
|
|
274
|
-
write_only: string;
|
|
275
|
-
optional: string;
|
|
276
|
-
min: string;
|
|
277
|
-
max: string;
|
|
278
|
-
nullable: string;
|
|
279
|
-
body: string;
|
|
280
|
-
payload: string;
|
|
281
|
-
headers: string;
|
|
282
|
-
header: string;
|
|
283
|
-
authorizations: string;
|
|
284
|
-
responses: string;
|
|
285
|
-
response: string;
|
|
286
|
-
path_parameters: string;
|
|
287
|
-
query_parameters: string;
|
|
288
|
-
header_parameters: string;
|
|
289
|
-
attributes: string;
|
|
290
|
-
test_it: string;
|
|
291
|
-
information: string;
|
|
292
|
-
success: string;
|
|
293
|
-
redirect: string;
|
|
294
|
-
error: string;
|
|
295
|
-
show: string;
|
|
296
|
-
hide: string;
|
|
297
|
-
available_items: string;
|
|
298
|
-
available_scopes: string;
|
|
299
|
-
properties: string;
|
|
300
|
-
or: string;
|
|
301
|
-
and: string;
|
|
302
|
-
possible_values: string;
|
|
303
|
-
};
|
|
304
|
-
'pt-br': {
|
|
305
|
-
required: string;
|
|
306
|
-
deprecated: string;
|
|
307
|
-
deprecated_and_sunset_on: string;
|
|
308
|
-
stability_experimental: string;
|
|
309
|
-
stability_alpha: string;
|
|
310
|
-
stability_beta: string;
|
|
311
|
-
copy_to_clipboard: string;
|
|
312
|
-
copied: string;
|
|
313
|
-
no_content: string;
|
|
314
|
-
unresolved_reference: string;
|
|
315
|
-
circular_reference: string;
|
|
316
|
-
read_only: string;
|
|
317
|
-
write_only: string;
|
|
318
|
-
optional: string;
|
|
319
|
-
min: string;
|
|
320
|
-
max: string;
|
|
321
|
-
nullable: string;
|
|
322
|
-
body: string;
|
|
323
|
-
payload: string;
|
|
324
|
-
headers: string;
|
|
325
|
-
header: string;
|
|
326
|
-
authorizations: string;
|
|
327
|
-
responses: string;
|
|
328
|
-
response: string;
|
|
329
|
-
path_parameters: string;
|
|
330
|
-
query_parameters: string;
|
|
331
|
-
header_parameters: string;
|
|
332
|
-
attributes: string;
|
|
333
|
-
test_it: string;
|
|
334
|
-
information: string;
|
|
335
|
-
success: string;
|
|
336
|
-
redirect: string;
|
|
337
|
-
error: string;
|
|
338
|
-
show: string;
|
|
339
|
-
hide: string;
|
|
340
|
-
available_items: string;
|
|
341
|
-
available_scopes: string;
|
|
342
|
-
properties: string;
|
|
343
|
-
or: string;
|
|
344
|
-
and: string;
|
|
345
|
-
possible_values: string;
|
|
346
|
-
};
|
|
347
|
-
zh: {
|
|
348
|
-
required: string;
|
|
349
|
-
deprecated: string;
|
|
350
|
-
deprecated_and_sunset_on: string;
|
|
351
|
-
stability_experimental: string;
|
|
352
|
-
stability_alpha: string;
|
|
353
|
-
stability_beta: string;
|
|
354
|
-
copy_to_clipboard: string;
|
|
355
|
-
copied: string;
|
|
356
|
-
no_content: string;
|
|
357
|
-
unresolved_reference: string;
|
|
358
|
-
circular_reference: string;
|
|
359
|
-
read_only: string;
|
|
360
|
-
write_only: string;
|
|
361
|
-
optional: string;
|
|
362
|
-
min: string;
|
|
363
|
-
max: string;
|
|
364
|
-
nullable: string;
|
|
365
|
-
body: string;
|
|
366
|
-
payload: string;
|
|
367
|
-
headers: string;
|
|
368
|
-
header: string;
|
|
369
|
-
authorizations: string;
|
|
370
|
-
responses: string;
|
|
371
|
-
response: string;
|
|
372
|
-
path_parameters: string;
|
|
373
|
-
query_parameters: string;
|
|
374
|
-
header_parameters: string;
|
|
375
|
-
attributes: string;
|
|
376
|
-
test_it: string;
|
|
377
|
-
information: string;
|
|
378
|
-
success: string;
|
|
379
|
-
redirect: string;
|
|
380
|
-
error: string;
|
|
381
|
-
show: string;
|
|
382
|
-
hide: string;
|
|
383
|
-
available_items: string;
|
|
384
|
-
available_scopes: string;
|
|
385
|
-
properties: string;
|
|
386
|
-
or: string;
|
|
387
|
-
and: string;
|
|
388
|
-
possible_values: string;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
|
-
export type TranslationLocale = keyof typeof translations;
|
|
392
|
-
/**
|
|
393
|
-
* Check if the locale is valid.
|
|
394
|
-
*/
|
|
395
|
-
export declare function checkIsValidLocale(locale: string): locale is TranslationLocale;
|