@twin.org/ts-to-openapi 0.0.1-next.9 → 0.0.2-next.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.
@@ -1,278 +1,304 @@
1
1
  {
2
- "error": {
3
- "baseRestClient": {
4
- "missingRouteProp": "Missing route parameter in data \"{routeProp}\" for route \"{route}\"",
5
- "decodingFailed": "Decoding JSON failed for route \"{route}\"",
6
- "failureStatusText": "The request to the API failed: \"{statusText}\""
7
- },
8
- "validation": {
9
- "beEmpty": "{fieldName} must be empty",
10
- "beNotEmpty": "{fieldName} must not be empty",
11
- "beText": "{fieldName} must be text",
12
- "beTextValue": "{fieldName} must contain some text",
13
- "beTextMinMax": "{fieldName} must be longer than {minLength} and shorter than {maxLength} characters",
14
- "beTextMin": "{fieldName} must be longer than {minLength} characters",
15
- "beTextMax": "{fieldName} must be shorter than {maxLength} characters",
16
- "beNumber": "{fieldName} must be a number",
17
- "beNumberMinMax": "{fieldName} must be >= {minValue} and <= {maxValue}",
18
- "beNumberMin": "{fieldName} must be >= {minValue}",
19
- "beNumberMax": "{fieldName} must be <= {maxValue}",
20
- "beWholeNumber": "{fieldName} must be a whole number",
21
- "beWholeNumberMinMax": "{fieldName} must be a whole number >= {minValue} and <= {maxValue}",
22
- "beWholeNumberMin": "{fieldName} must be a whole number >= {minValue}",
23
- "beWholeNumberMax": "{fieldName} must be a whole number <= {maxValue}",
24
- "beBigInteger": "{fieldName} must be a bigint",
25
- "beBigIntegerMinMax": "{fieldName} must be a bigint >= {minValue} and <= {maxValue}",
26
- "beBigIntegerMin": "{fieldName} must be a bigint >= {minValue}",
27
- "beBigIntegerMax": "{fieldName} must be a bigint <= {maxValue}",
28
- "beBoolean": "{fieldName} must be true or false",
29
- "beDate": "{fieldName} must be a date",
30
- "beDateTime": "{fieldName} must be a date/time",
31
- "beTime": "{fieldName} must be a time",
32
- "beTimestampMilliseconds": "{fieldName} must be a timestamp in milliseconds",
33
- "beTimestampSeconds": "{fieldName} must be a timestamp in seconds",
34
- "beObject": "{fieldName} must be an object",
35
- "beArray": "{fieldName} must be an array",
36
- "beArrayValue": "{fieldName} must be an array with at least one item",
37
- "beIncluded": "{fieldName} is unrecognised",
38
- "beByteArray": "{fieldName} must be a byte array",
39
- "beUrn": "{fieldName} must be a correctly formatted urn",
40
- "beUrl": "{fieldName} must be a correctly formatted url",
41
- "beJSON": "{fieldName} must be correctly formatted JSON",
42
- "beEmail": "{fieldName} must be a correctly formatted e-mail address",
43
- "failed": "Validation failed",
44
- "failedObject": "Validation of \"{objectName}\" failed"
45
- },
46
- "guard": {
47
- "undefined": "Property \"{property}\" must be defined, it is \"{value}\"",
48
- "string": "Property \"{property}\" must be a string, it is \"{value}\"",
49
- "stringEmpty": "Property \"{property}\" must have a value, it is empty",
50
- "stringBase64": "Property \"{property}\" must be a base64 encoded string, it is \"{value}\"",
51
- "stringBase64Url": "Property \"{property}\" must be a base64 url encoded string, it is \"{value}\"",
52
- "stringHex": "Property \"{property}\" must be a hex string, it is \"{value}\"",
53
- "stringHexLength": "Property \"{property}\" must be a hex string of length \"{options}\", it is \"{value}\"",
54
- "number": "Property \"{property}\" must be a number, it is \"{value}\"",
55
- "integer": "Property \"{property}\" must be an integer, it is \"{value}\"",
56
- "bigint": "Property \"{property}\" must be a bigint, it is \"{value}\"",
57
- "boolean": "Property \"{property}\" must be a boolean, it is \"{value}\"",
58
- "date": "Property \"{property}\" must be a date, it is \"{value}\"",
59
- "timestampMilliseconds": "Property \"{property}\" must be a timestamp in milliseconds, it is \"{value}\"",
60
- "timestampSeconds": "Property \"{property}\" must be a timestamp in seconds, it is \"{value}\"",
61
- "objectUndefined": "Property \"{property}\" must be an object, it is \"undefined\"",
62
- "object": "Property \"{property}\" must be an object, it is \"{value}\"",
63
- "objectValue": "Property \"{property}\" must be an object, with at least one property, it is \"{value}\"",
64
- "array": "Property \"{property}\" must be an array, it is \"{value}\"",
65
- "arrayValue": "Property \"{property}\" must be an array with at least one item",
66
- "arrayOneOf": "Property \"{property}\" must be one of [{options}], it is \"{value}\"",
67
- "uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
68
- "function": "Property \"{property}\" must be a function, it is \"{value}\"",
69
- "urn": "Property \"{property}\" must be a Urn formatted string, it is \"{value}\"",
70
- "url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
71
- "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
72
- "length32Multiple": "Property \"{property}\" should be a multiple of 32, it is {value}",
73
- "lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}",
74
- "length3Multiple": "Property \"{property}\" should be a multiple of 3, it is {value}",
75
- "greaterThan0": "Property \"{property}\" must be greater than zero, it is {value}"
76
- },
77
- "objectHelper": {
78
- "failedBytesToJSON": "Failed converting bytes to JSON"
79
- },
80
- "common": {
81
- "notImplementedMethod": "The method \"{method}\" has not been implemented",
82
- "validation": "Validation failed"
83
- },
84
- "factory": {
85
- "noUnregister": "There is no {typeName} registered with the name \"{name}\"",
86
- "noGet": "The requested {typeName} \"{name}\" does not exist in the factory"
87
- },
88
- "bitString": {
89
- "outOfRange": "The index should be >= 0 and less than the length of the bit string"
90
- },
91
- "entitySchemaHelper": {
92
- "noIsPrimary": "Property \"entitySchema.properties\" must contain a value with isPrimary set",
93
- "multipleIsPrimary": "Property \"entitySchema.properties\" contains more than one property with isPrimary set"
94
- },
95
- "fetchHelper": {
96
- "decodingJSON": "Decoding JSON failed for route \"{route}\"",
97
- "failureStatusText": "The request to the API failed: \"{statusText}\"",
98
- "connectivity": "The request failed, the API could be offline, or there are other connectivity issues",
99
- "timeout": "The request timed out",
100
- "general": "A general failure occurred during the request"
101
- },
102
- "jwt": {
103
- "noKeyOrSigner": "No key or signer was provided for JWT creation",
104
- "noKeyOrVerifier": "No key or verifier was provided for JWT creation"
105
- },
106
- "bip39": {
107
- "missingMnemonicWord": "The mnemonic contains a word not in the wordlist, \"{value}\"",
108
- "checksumMismatch": "The checksum does not match \"{newChecksum}\" != \"{checksumBits}\""
109
- },
110
- "ed25519": {
111
- "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
112
- "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
113
- },
114
- "secp256k1": {
115
- "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
116
- "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
117
- },
118
- "x25519": {
119
- "invalidPublicKey": "Invalid Ed25519 Public Key"
120
- },
121
- "blake2b": {
122
- "outputLength64": "The output length should be between 1 and 64, it is \"{outputLength}\"",
123
- "keyLength64": "The key length should be between 1 and 64, it is \"{keyLength}\""
124
- },
125
- "sha512": {
126
- "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
127
- },
128
- "sha256": {
129
- "bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
130
- },
131
- "hmacSha256": {
132
- "bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
133
- },
134
- "hmacSha512": {
135
- "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
136
- },
137
- "base32": {
138
- "invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
139
- },
140
- "base64": {
141
- "length4Multiple": "Invalid length should be a multiple of 4, it is \"{value}\""
142
- },
143
- "bech32": {
144
- "decodeFailed": "The address contains decoding failed for address \"{bech32}\"",
145
- "invalidChecksum": "The address contains an invalid checksum in address, \"{bech32}\"",
146
- "separatorMisused": "The separator character '1' should only be used between hrp and data, \"{bech32}\"",
147
- "lowerUpper": "The address my use either lowercase or uppercase, \"{bech32}\"",
148
- "dataTooShort": "The address does not contain enough data to decode, \"{bech32}\""
149
- },
150
- "pbkdf2": {
151
- "keyTooLong": "The requested key length \"{keyLength}\" is too long, based on the \"{macLength}\""
152
- },
153
- "chaCha20Poly1305": {
154
- "noAadWithData": "You can not set the aad when there is already data",
155
- "noAuthTag": "Can not finalise when the auth tag is not set",
156
- "authenticationFailed": "The data could not be authenticated",
157
- "authTagDecrypting": "Can not get the auth tag when decrypting",
158
- "authTagEncrypting": "Can not set the auth tag when encrypting",
159
- "noAuthTagSet": "The auth tag has not been set"
160
- },
161
- "bip44": {
162
- "unsupportedKeyType": "The key type \"{keyType}\" is not supported"
163
- },
164
- "slip0010": {
165
- "invalidSeed": "The seed is invalid \"{seed}\""
166
- },
167
- "commands": {
168
- "common": {
169
- "missingEnv": "The \"{option}\" option is configured as an environment variable, but there is no environment variable with the name \"{value}\" set.",
170
- "optionInvalidHex": "The \"{option}\" does not appear to be hex. \"{value}\"",
171
- "optionInvalidBase64": "The \"{option}\" does not appear to be base64. \"{value}\"",
172
- "optionInvalidHexBase64": "The \"{option}\" does not appear to be hex or base64. \"{value}\"",
173
- "optionInvalidBech32": "The \"{option}\" does not appear to be bech32. \"{value}\"",
174
- "optionMinValue": "The \"{option}\" option must be greater than or equal to {minValue}, it is {value}.",
175
- "optionMaxValue": "The \"{option}\" option must be less than or equal to {maxValue}, it is {value}."
176
- },
177
- "ts-to-openapi": {
178
- "configFailed": "Configuration failed to load.",
179
- "missingRestRoutesEntryPoints": "Missing REST routes method \"{method}\" in package \"{package}\".",
180
- "missingRestRoutesEntryPoint": "Missing REST routes entryPoint \"{entryPoint}\" in package \"{package}\".",
181
- "unsupportedProperties": "Unsupported properties found in the request object \"{keys}\"."
182
- }
183
- }
184
- },
185
- "errorNames": {
186
- "error": "Error",
187
- "generalError": "General",
188
- "guardError": "Guard",
189
- "conflictError": "Conflict",
190
- "notFoundError": "Not Found",
191
- "notSupportedError": "Not Supported",
192
- "alreadyExistsError": "Already Exists",
193
- "notImplementedError": "Not Implemented",
194
- "validationError": "Validation",
195
- "unprocessableError": "Unprocessable"
196
- },
197
- "validation": {
198
- "defaultFieldName": "The field"
199
- },
200
- "errorMessages": {
201
- "fetch": "Fetch"
202
- },
203
- "cli": {
204
- "progress": {
205
- "done": "Done.",
206
- "error": "Error",
207
- "loadingEnvFiles": "Loading env files",
208
- "pleaseWait": "Please wait...",
209
- "writingJsonFile": "Writing JSON file",
210
- "writingEnvFile": "Writing env file",
211
- "readingJsonFile": "Reading JSON file",
212
- "readingEnvFile": "Reading env file"
213
- },
214
- "options": {
215
- "lang": {
216
- "param": "--lang '<'lang'>'",
217
- "description": "The language to display the output in."
218
- },
219
- "load-env": {
220
- "param": "--load-env [env...]",
221
- "description": "Load the env files to initialise any environment variables."
222
- },
223
- "no-console": {
224
- "param": "--no-console",
225
- "description": "Hides the output in the console."
226
- },
227
- "json": {
228
- "param": "--json '<'filename'>'",
229
- "description": "Creates a JSON file containing the output."
230
- },
231
- "env": {
232
- "param": "--env '<'filename'>'",
233
- "description": "Creates an env file containing the output."
234
- },
235
- "merge-json": {
236
- "param": "--merge-json",
237
- "description": "If the JSON file already exists merge the data instead of overwriting."
238
- },
239
- "merge-env": {
240
- "param": "--merge-env",
241
- "description": "If the env file already exists merge the data instead of overwriting."
242
- }
243
- }
244
- },
245
- "commands": {
246
- "ts-to-openapi": {
247
- "options": {
248
- "config": {
249
- "param": "'<'config'>'",
250
- "description": "Path to the JSON configuration file."
251
- },
252
- "output-file": {
253
- "param": "'<'output-file'>'",
254
- "description": "The JSON file to write the OpenAPI spec."
255
- }
256
- },
257
- "progress": {
258
- "loadingConfigJson": "Loading Config JSON",
259
- "creatingWorkingDir": "Creating Working Directory",
260
- "creatingSecuritySchemas": "Creating Security Schemas",
261
- "generatingSchemas": "Generating Schemas",
262
- "finalisingSchemas": "Finalising Schemas",
263
- "writingOutputFile": "Writing Output File",
264
- "models": "Models",
265
- "installingNpmPackages": "Installing NPM Packages",
266
- "processingPackage": "Processing Package",
267
- "importingModule": "Importing Module",
268
- "processingRoutes": "Processing Routes"
269
- },
270
- "labels": {
271
- "configJson": "Config JSON",
272
- "outputFile": "Output File",
273
- "outputWorkingDir": "Output Working Directory",
274
- "route": "Route"
275
- }
276
- }
277
- }
278
- }
2
+ "error": {
3
+ "baseRestClient": {
4
+ "missingRouteProp": "Missing route parameter in data \"{routeProp}\" for route \"{route}\"",
5
+ "decodingFailed": "Decoding JSON failed for route \"{route}\"",
6
+ "failureStatusText": "The request to the API failed: \"{statusText}\""
7
+ },
8
+ "validation": {
9
+ "beEmpty": "{fieldName} must be empty",
10
+ "beNotEmpty": "{fieldName} must not be empty",
11
+ "beText": "{fieldName} must be text",
12
+ "beTextValue": "{fieldName} must contain some text",
13
+ "beTextMinMax": "{fieldName} must be longer than {minLength} and shorter than {maxLength} characters",
14
+ "beTextMin": "{fieldName} must be longer than {minLength} characters",
15
+ "beTextMax": "{fieldName} must be shorter than {maxLength} characters",
16
+ "beTextBase58": "{fieldName} must be text formatted using Base58 characters",
17
+ "beTextBase64": "{fieldName} must be text formatted using Base64 characters",
18
+ "beTextHex": "{fieldName} must be text formatted using Hex characters",
19
+ "beTextRegExp": "{fieldName} must be text formatted using the matching pattern {format}",
20
+ "beNumber": "{fieldName} must be a number",
21
+ "beNumberMinMax": "{fieldName} must be >= {minValue} and <= {maxValue}",
22
+ "beNumberMin": "{fieldName} must be >= {minValue}",
23
+ "beNumberMax": "{fieldName} must be <= {maxValue}",
24
+ "beWholeNumber": "{fieldName} must be a whole number",
25
+ "beWholeNumberMinMax": "{fieldName} must be a whole number >= {minValue} and <= {maxValue}",
26
+ "beWholeNumberMin": "{fieldName} must be a whole number >= {minValue}",
27
+ "beWholeNumberMax": "{fieldName} must be a whole number <= {maxValue}",
28
+ "beBigInteger": "{fieldName} must be a bigint",
29
+ "beBigIntegerMinMax": "{fieldName} must be a bigint >= {minValue} and <= {maxValue}",
30
+ "beBigIntegerMin": "{fieldName} must be a bigint >= {minValue}",
31
+ "beBigIntegerMax": "{fieldName} must be a bigint <= {maxValue}",
32
+ "beBoolean": "{fieldName} must be true or false",
33
+ "beDate": "{fieldName} must be a date",
34
+ "beDateTime": "{fieldName} must be a date/time",
35
+ "beTime": "{fieldName} must be a time",
36
+ "beTimestampMilliseconds": "{fieldName} must be a timestamp in milliseconds",
37
+ "beTimestampSeconds": "{fieldName} must be a timestamp in seconds",
38
+ "beObject": "{fieldName} must be an object",
39
+ "beArray": "{fieldName} must be an array",
40
+ "beArrayValue": "{fieldName} must be an array with at least one item",
41
+ "beIncluded": "{fieldName} is unrecognised",
42
+ "beByteArray": "{fieldName} must be a byte array",
43
+ "beUrn": "{fieldName} must be a correctly formatted urn",
44
+ "beUrl": "{fieldName} must be a correctly formatted url",
45
+ "beJSON": "{fieldName} must be correctly formatted JSON",
46
+ "beEmail": "{fieldName} must be a correctly formatted e-mail address",
47
+ "failed": "Validation failed",
48
+ "failedObject": "Validation of \"{objectName}\" failed"
49
+ },
50
+ "guard": {
51
+ "undefined": "Property \"{property}\" must be defined, it is \"{value}\"",
52
+ "string": "Property \"{property}\" must be a string, it is \"{value}\"",
53
+ "stringEmpty": "Property \"{property}\" must have a value, it is empty",
54
+ "stringBase64": "Property \"{property}\" must be a base64 encoded string, it is \"{value}\"",
55
+ "stringBase64Url": "Property \"{property}\" must be a base64 url encoded string, it is \"{value}\"",
56
+ "stringBase58": "Property \"{property}\" must be a base58 encoded string, it is \"{value}\"",
57
+ "stringHex": "Property \"{property}\" must be a hex string, it is \"{value}\"",
58
+ "stringHexLength": "Property \"{property}\" must be a hex string of length \"{options}\", it is \"{value}\"",
59
+ "stringJson": "Property \"{property}\" must be a JSON string",
60
+ "number": "Property \"{property}\" must be a number, it is \"{value}\"",
61
+ "integer": "Property \"{property}\" must be an integer, it is \"{value}\"",
62
+ "bigint": "Property \"{property}\" must be a bigint, it is \"{value}\"",
63
+ "boolean": "Property \"{property}\" must be a boolean, it is \"{value}\"",
64
+ "date": "Property \"{property}\" must be a date, it is \"{value}\"",
65
+ "timestampMilliseconds": "Property \"{property}\" must be a timestamp in milliseconds, it is \"{value}\"",
66
+ "timestampSeconds": "Property \"{property}\" must be a timestamp in seconds, it is \"{value}\"",
67
+ "objectUndefined": "Property \"{property}\" must be an object, it is \"undefined\"",
68
+ "object": "Property \"{property}\" must be an object, it is \"{value}\"",
69
+ "objectValue": "Property \"{property}\" must be an object, with at least one property, it is \"{value}\"",
70
+ "array": "Property \"{property}\" must be an array, it is \"{value}\"",
71
+ "arrayValue": "Property \"{property}\" must be an array with at least one item",
72
+ "arrayOneOf": "Property \"{property}\" must be one of [{options}], it is \"{value}\"",
73
+ "arrayStartsWith": "Property \"{property}\" must be an array starting with [{startValues}], it is \"{value}\"",
74
+ "arrayEndsWith": "Property \"{property}\" must be an array ending with [{endValues}], it is \"{value}\"",
75
+ "uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
76
+ "function": "Property \"{property}\" must be a function, it is \"{value}\"",
77
+ "urn": "Property \"{property}\" must be a Urn formatted string, it is \"{value}\"",
78
+ "url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
79
+ "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
80
+ "length32Multiple": "Property \"{property}\" should be a multiple of 32, it is {value}",
81
+ "lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}",
82
+ "length3Multiple": "Property \"{property}\" should be a multiple of 3, it is {value}",
83
+ "greaterThan0": "Property \"{property}\" must be greater than zero, it is {value}"
84
+ },
85
+ "objectHelper": {
86
+ "failedBytesToJSON": "Failed converting bytes to JSON",
87
+ "cannotSetArrayIndex": "Cannot set property \"{property}\" using index \"{index}\" as it is not an array",
88
+ "cannotSetProperty": "Cannot set property \"{property}\" when the target is not an object"
89
+ },
90
+ "common": {
91
+ "notImplementedMethod": "The method \"{method}\" has not been implemented",
92
+ "validation": "Validation failed"
93
+ },
94
+ "factory": {
95
+ "noUnregister": "There is no {typeName} registered with the name \"{name}\"",
96
+ "noGet": "The requested {typeName} \"{name}\" does not exist in the factory"
97
+ },
98
+ "bitString": {
99
+ "outOfRange": "The index should be >= 0 and less than the length of the bit string"
100
+ },
101
+ "base32": {
102
+ "invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
103
+ },
104
+ "base64": {
105
+ "length4Multiple": "Invalid length should be a multiple of 4, it is \"{value}\""
106
+ },
107
+ "base58": {
108
+ "invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
109
+ },
110
+ "jsonHelper": {
111
+ "failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
112
+ },
113
+ "fetchHelper": {
114
+ "decodingJSON": "Decoding JSON failed for route \"{route}\"",
115
+ "failureStatusText": "The request to the API failed: \"{statusText}\"",
116
+ "connectivity": "The request failed, the API could be offline, or there are other connectivity issues",
117
+ "timeout": "The request timed out",
118
+ "general": "A general failure occurred during the request"
119
+ },
120
+ "jwt": {
121
+ "noKeyOrSigner": "No key or signer was provided for JWT creation",
122
+ "noKeyOrVerifier": "No key or verifier was provided for JWT creation",
123
+ "verifyFailed": "Failed to verify JWT",
124
+ "invalidTokenParts": "The JSON Web Token could not be parsed, it should contain three parts separated by dots",
125
+ "invalidSigningBytes": "The signing bytes are invalid, it should contain two parts separated by a dot"
126
+ },
127
+ "jwk": {
128
+ "jwkImportFailed": "Failed to import JWK"
129
+ },
130
+ "jws": {
131
+ "createFailed": "Failed to create JWS",
132
+ "verifyFailed": "Failed to verify JWS"
133
+ },
134
+ "bip39": {
135
+ "missingMnemonicWord": "The mnemonic contains a word not in the wordlist, \"{value}\"",
136
+ "checksumMismatch": "The checksum does not match \"{newChecksum}\" != \"{checksumBits}\""
137
+ },
138
+ "ed25519": {
139
+ "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
140
+ "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
141
+ },
142
+ "secp256k1": {
143
+ "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
144
+ "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
145
+ },
146
+ "x25519": {
147
+ "invalidPublicKey": "Invalid Ed25519 Public Key"
148
+ },
149
+ "blake2b": {
150
+ "outputLength64": "The output length should be between 1 and 64, it is \"{outputLength}\"",
151
+ "keyLength64": "The key length should be between 1 and 64, it is \"{keyLength}\""
152
+ },
153
+ "sha512": {
154
+ "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
155
+ },
156
+ "sha256": {
157
+ "bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
158
+ },
159
+ "sha3": {
160
+ "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
161
+ },
162
+ "hmacSha256": {
163
+ "bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
164
+ },
165
+ "hmacSha512": {
166
+ "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
167
+ },
168
+ "bech32": {
169
+ "decodeFailed": "The address contains decoding failed for address \"{bech32}\"",
170
+ "invalidChecksum": "The address contains an invalid checksum in address, \"{bech32}\"",
171
+ "separatorMisused": "The separator character '1' should only be used between hrp and data, \"{bech32}\"",
172
+ "lowerUpper": "The address my use either lowercase or uppercase, \"{bech32}\"",
173
+ "dataTooShort": "The address does not contain enough data to decode, \"{bech32}\""
174
+ },
175
+ "pbkdf2": {
176
+ "keyTooLong": "The requested key length \"{keyLength}\" is too long, based on the \"{macLength}\""
177
+ },
178
+ "chaCha20Poly1305": {
179
+ "noAadWithData": "You can not set the aad when there is already data",
180
+ "noAuthTag": "Can not finalise when the auth tag is not set",
181
+ "authenticationFailed": "The data could not be authenticated",
182
+ "authTagDecrypting": "Can not get the auth tag when decrypting",
183
+ "authTagEncrypting": "Can not set the auth tag when encrypting",
184
+ "noAuthTagSet": "The auth tag has not been set"
185
+ },
186
+ "bip44": {
187
+ "unsupportedKeyType": "The key type \"{keyType}\" is not supported"
188
+ },
189
+ "slip0010": {
190
+ "invalidSeed": "The seed is invalid \"{seed}\""
191
+ },
192
+ "commands": {
193
+ "common": {
194
+ "missingEnv": "The \"{option}\" option is configured as an environment variable, but there is no environment variable with the name \"{value}\" set.",
195
+ "optionInvalidHex": "The \"{option}\" does not appear to be hex. \"{value}\"",
196
+ "optionInvalidBase64": "The \"{option}\" does not appear to be base64. \"{value}\"",
197
+ "optionInvalidHexBase64": "The \"{option}\" does not appear to be hex or base64. \"{value}\"",
198
+ "optionInvalidBech32": "The \"{option}\" does not appear to be bech32. \"{value}\"",
199
+ "optionMinValue": "The \"{option}\" option must be greater than or equal to {minValue}, it is {value}.",
200
+ "optionMaxValue": "The \"{option}\" option must be less than or equal to {maxValue}, it is {value}."
201
+ },
202
+ "ts-to-openapi": {
203
+ "configFailed": "Configuration failed to load.",
204
+ "missingRestRoutesEntryPoints": "Missing REST routes method \"{method}\" in package \"{package}\".",
205
+ "missingRestRoutesEntryPoint": "Missing REST routes entryPoint \"{entryPoint}\" in package \"{package}\".",
206
+ "unsupportedProperties": "Unsupported properties found in the request object \"{keys}\"."
207
+ }
208
+ }
209
+ },
210
+ "errorNames": {
211
+ "error": "Error",
212
+ "generalError": "General",
213
+ "guardError": "Guard",
214
+ "conflictError": "Conflict",
215
+ "notFoundError": "Not Found",
216
+ "notSupportedError": "Not Supported",
217
+ "alreadyExistsError": "Already Exists",
218
+ "notImplementedError": "Not Implemented",
219
+ "validationError": "Validation",
220
+ "unprocessableError": "Unprocessable"
221
+ },
222
+ "validation": {
223
+ "defaultFieldName": "The field"
224
+ },
225
+ "errorMessages": {
226
+ "fetch": "Fetch"
227
+ },
228
+ "cli": {
229
+ "progress": {
230
+ "done": "Done.",
231
+ "error": "Error",
232
+ "loadingEnvFiles": "Loading env files",
233
+ "pleaseWait": "Please wait...",
234
+ "writingJsonFile": "Writing JSON file",
235
+ "writingEnvFile": "Writing env file",
236
+ "readingJsonFile": "Reading JSON file",
237
+ "readingEnvFile": "Reading env file"
238
+ },
239
+ "options": {
240
+ "lang": {
241
+ "param": "--lang '<'lang'>'",
242
+ "description": "The language to display the output in."
243
+ },
244
+ "load-env": {
245
+ "param": "--load-env [env...]",
246
+ "description": "Load the env files to initialise any environment variables."
247
+ },
248
+ "no-console": {
249
+ "param": "--no-console",
250
+ "description": "Hides the output in the console."
251
+ },
252
+ "json": {
253
+ "param": "--json '<'filename'>'",
254
+ "description": "Creates a JSON file containing the output."
255
+ },
256
+ "env": {
257
+ "param": "--env '<'filename'>'",
258
+ "description": "Creates an env file containing the output."
259
+ },
260
+ "merge-json": {
261
+ "param": "--merge-json",
262
+ "description": "If the JSON file already exists merge the data instead of overwriting."
263
+ },
264
+ "merge-env": {
265
+ "param": "--merge-env",
266
+ "description": "If the env file already exists merge the data instead of overwriting."
267
+ }
268
+ }
269
+ },
270
+ "commands": {
271
+ "ts-to-openapi": {
272
+ "options": {
273
+ "config": {
274
+ "param": "'<'config'>'",
275
+ "description": "Path to the JSON configuration file."
276
+ },
277
+ "output-file": {
278
+ "param": "'<'output-file'>'",
279
+ "description": "The JSON file to write the OpenAPI spec."
280
+ }
281
+ },
282
+ "progress": {
283
+ "loadingConfigJson": "Loading Config JSON",
284
+ "creatingWorkingDir": "Creating Working Directory",
285
+ "creatingSecuritySchemas": "Creating Security Schemas",
286
+ "generatingSchemas": "Generating Schemas",
287
+ "overridingSchema": "Overriding Schema",
288
+ "finalisingSchemas": "Finalising Schemas",
289
+ "writingOutputFile": "Writing Output File",
290
+ "models": "Models",
291
+ "installingNpmPackages": "Installing NPM Packages",
292
+ "processingPackage": "Processing Package",
293
+ "importingModule": "Importing Module",
294
+ "processingRoutes": "Processing Routes"
295
+ },
296
+ "labels": {
297
+ "configJson": "Config JSON",
298
+ "outputFile": "Output File",
299
+ "outputWorkingDir": "Output Working Directory",
300
+ "route": "Route"
301
+ }
302
+ }
303
+ }
304
+ }