@twin.org/core 0.0.3-next.21 → 0.0.3-next.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +1 -9
  2. package/dist/es/encoding/base32.js +1 -1
  3. package/dist/es/encoding/base32.js.map +1 -1
  4. package/dist/es/factories/factory.js +1 -13
  5. package/dist/es/factories/factory.js.map +1 -1
  6. package/dist/es/helpers/arrayHelper.js.map +1 -1
  7. package/dist/es/index.js +2 -1
  8. package/dist/es/index.js.map +1 -1
  9. package/dist/es/types/objectOrArray.js.map +1 -0
  10. package/dist/es/types/singleOccurrenceArray.js +2 -0
  11. package/dist/es/types/singleOccurrenceArray.js.map +1 -0
  12. package/dist/es/utils/guards.js.map +1 -1
  13. package/dist/types/encoding/base32.d.ts +1 -1
  14. package/dist/types/factories/factory.d.ts +1 -5
  15. package/dist/types/helpers/arrayHelper.d.ts +1 -1
  16. package/dist/types/index.d.ts +2 -1
  17. package/dist/types/types/singleOccurrenceArray.d.ts +9 -0
  18. package/dist/types/utils/guards.d.ts +1 -1
  19. package/docs/changelog.md +36 -1
  20. package/docs/examples.md +308 -1
  21. package/docs/reference/classes/AlreadyExistsError.md +18 -18
  22. package/docs/reference/classes/ArrayHelper.md +2 -2
  23. package/docs/reference/classes/AsyncCache.md +6 -6
  24. package/docs/reference/classes/Base32.md +4 -4
  25. package/docs/reference/classes/Base58.md +3 -3
  26. package/docs/reference/classes/Base64.md +4 -4
  27. package/docs/reference/classes/Base64Url.md +3 -3
  28. package/docs/reference/classes/BaseError.md +17 -17
  29. package/docs/reference/classes/BitString.md +6 -6
  30. package/docs/reference/classes/Coerce.md +11 -11
  31. package/docs/reference/classes/Compression.md +3 -3
  32. package/docs/reference/classes/ConflictError.md +18 -18
  33. package/docs/reference/classes/Converter.md +18 -18
  34. package/docs/reference/classes/EnvHelper.md +1 -1
  35. package/docs/reference/classes/ErrorHelper.md +3 -3
  36. package/docs/reference/classes/Factory.md +21 -31
  37. package/docs/reference/classes/FilenameHelper.md +1 -1
  38. package/docs/reference/classes/GeneralError.md +18 -18
  39. package/docs/reference/classes/GuardError.md +18 -18
  40. package/docs/reference/classes/Guards.md +31 -31
  41. package/docs/reference/classes/HexHelper.md +6 -6
  42. package/docs/reference/classes/I18n.md +14 -14
  43. package/docs/reference/classes/Is.md +40 -40
  44. package/docs/reference/classes/JsonHelper.md +8 -8
  45. package/docs/reference/classes/NotFoundError.md +18 -18
  46. package/docs/reference/classes/NotImplementedError.md +18 -18
  47. package/docs/reference/classes/NotSupportedError.md +18 -18
  48. package/docs/reference/classes/NumberHelper.md +2 -2
  49. package/docs/reference/classes/ObjectHelper.md +20 -20
  50. package/docs/reference/classes/RandomHelper.md +6 -6
  51. package/docs/reference/classes/SharedStore.md +3 -3
  52. package/docs/reference/classes/StringHelper.md +23 -23
  53. package/docs/reference/classes/Uint8ArrayHelper.md +1 -1
  54. package/docs/reference/classes/UnauthorizedError.md +18 -18
  55. package/docs/reference/classes/UnprocessableError.md +18 -18
  56. package/docs/reference/classes/Url.md +8 -8
  57. package/docs/reference/classes/Urn.md +22 -22
  58. package/docs/reference/classes/Validation.md +25 -25
  59. package/docs/reference/classes/ValidationError.md +18 -18
  60. package/docs/reference/index.md +2 -0
  61. package/docs/reference/interfaces/IComponent.md +4 -4
  62. package/docs/reference/interfaces/IError.md +6 -6
  63. package/docs/reference/interfaces/II18nShared.md +4 -4
  64. package/docs/reference/interfaces/IKeyValue.md +2 -2
  65. package/docs/reference/interfaces/ILabelledValue.md +2 -2
  66. package/docs/reference/interfaces/ILocale.md +2 -2
  67. package/docs/reference/interfaces/ILocalesIndex.md +1 -1
  68. package/docs/reference/interfaces/IPatchOperation.md +4 -4
  69. package/docs/reference/interfaces/IUrlParts.md +6 -6
  70. package/docs/reference/interfaces/IValidationFailure.md +3 -3
  71. package/docs/reference/type-aliases/SingleOccurrenceArray.md +15 -0
  72. package/docs/reference/type-aliases/SingleOccurrenceArrayDepthHelper.md +19 -0
  73. package/docs/reference/variables/CoerceType.md +10 -10
  74. package/docs/reference/variables/CompressionType.md +2 -2
  75. package/package.json +4 -4
  76. package/dist/es/models/objectOrArray.js.map +0 -1
  77. /package/dist/es/{models → types}/objectOrArray.js +0 -0
  78. /package/dist/types/{models → types}/objectOrArray.d.ts +0 -0
@@ -14,7 +14,7 @@ Class to handle validation operations.
14
14
 
15
15
  ## Methods
16
16
 
17
- ### empty()
17
+ ### empty() {#empty}
18
18
 
19
19
  > `static` **empty**(`property`, `value`, `failures`, `fieldNameResource?`): value is null \| undefined
20
20
 
@@ -54,7 +54,7 @@ True if the value is a empty.
54
54
 
55
55
  ***
56
56
 
57
- ### notEmpty()
57
+ ### notEmpty() {#notempty}
58
58
 
59
59
  > `static` **notEmpty**(`property`, `value`, `failures`, `fieldNameResource?`): `boolean`
60
60
 
@@ -94,7 +94,7 @@ True if the value is a not empty.
94
94
 
95
95
  ***
96
96
 
97
- ### string()
97
+ ### string() {#string}
98
98
 
99
99
  > `static` **string**(`property`, `value`, `failures`, `fieldNameResource?`, `options?`): `value is string`
100
100
 
@@ -156,7 +156,7 @@ True if the value is a valid string.
156
156
 
157
157
  ***
158
158
 
159
- ### stringValue()
159
+ ### stringValue() {#stringvalue}
160
160
 
161
161
  > `static` **stringValue**(`property`, `value`, `failures`, `fieldNameResource?`, `options?`): `value is string`
162
162
 
@@ -212,7 +212,7 @@ True if the value is a valid string.
212
212
 
213
213
  ***
214
214
 
215
- ### number()
215
+ ### number() {#number}
216
216
 
217
217
  > `static` **number**(`property`, `value`, `failures`, `fieldNameResource?`, `options?`): `value is number`
218
218
 
@@ -268,7 +268,7 @@ True if the value is a valid number.
268
268
 
269
269
  ***
270
270
 
271
- ### integer()
271
+ ### integer() {#integer}
272
272
 
273
273
  > `static` **integer**(`property`, `value`, `failures`, `fieldNameResource?`, `options?`): `value is number`
274
274
 
@@ -324,7 +324,7 @@ True if the value is a valid integer.
324
324
 
325
325
  ***
326
326
 
327
- ### bigint()
327
+ ### bigint() {#bigint}
328
328
 
329
329
  > `static` **bigint**(`property`, `value`, `failures`, `fieldNameResource?`, `options?`): `value is bigint`
330
330
 
@@ -380,7 +380,7 @@ True if the value is a valid bigint.
380
380
 
381
381
  ***
382
382
 
383
- ### boolean()
383
+ ### boolean() {#boolean}
384
384
 
385
385
  > `static` **boolean**(`property`, `value`, `failures`, `fieldNameResource?`): `value is boolean`
386
386
 
@@ -420,7 +420,7 @@ True if the value is a boolean.
420
420
 
421
421
  ***
422
422
 
423
- ### date()
423
+ ### date() {#date}
424
424
 
425
425
  > `static` **date**(`property`, `value`, `failures`, `fieldNameResource?`): `value is Date`
426
426
 
@@ -460,7 +460,7 @@ True if the value is a date.
460
460
 
461
461
  ***
462
462
 
463
- ### dateString()
463
+ ### dateString() {#datestring}
464
464
 
465
465
  > `static` **dateString**(`property`, `value`, `failures`, `fieldNameResource?`): `value is string`
466
466
 
@@ -500,7 +500,7 @@ True if the value is a date.
500
500
 
501
501
  ***
502
502
 
503
- ### dateTimeString()
503
+ ### dateTimeString() {#datetimestring}
504
504
 
505
505
  > `static` **dateTimeString**(`property`, `value`, `failures`, `fieldNameResource?`): `value is string`
506
506
 
@@ -540,7 +540,7 @@ True if the value is a date/time.
540
540
 
541
541
  ***
542
542
 
543
- ### timeString()
543
+ ### timeString() {#timestring}
544
544
 
545
545
  > `static` **timeString**(`property`, `value`, `failures`, `fieldNameResource?`): `value is string`
546
546
 
@@ -580,7 +580,7 @@ True if the value is a time.
580
580
 
581
581
  ***
582
582
 
583
- ### timestampMilliseconds()
583
+ ### timestampMilliseconds() {#timestampmilliseconds}
584
584
 
585
585
  > `static` **timestampMilliseconds**(`property`, `value`, `failures`, `fieldNameResource?`): `value is number`
586
586
 
@@ -620,7 +620,7 @@ True if the value is a timestamp in milliseconds.
620
620
 
621
621
  ***
622
622
 
623
- ### timestampSeconds()
623
+ ### timestampSeconds() {#timestampseconds}
624
624
 
625
625
  > `static` **timestampSeconds**(`property`, `value`, `failures`, `fieldNameResource?`): `value is number`
626
626
 
@@ -660,7 +660,7 @@ True if the value is a timestamp in seconds.
660
660
 
661
661
  ***
662
662
 
663
- ### object()
663
+ ### object() {#object}
664
664
 
665
665
  > `static` **object**\<`T`\>(`property`, `value`, `failures`, `fieldNameResource?`): `value is T`
666
666
 
@@ -706,7 +706,7 @@ True if the value is a object.
706
706
 
707
707
  ***
708
708
 
709
- ### array()
709
+ ### array() {#array}
710
710
 
711
711
  > `static` **array**\<`T`\>(`property`, `value`, `failures`, `fieldNameResource?`): `value is T[]`
712
712
 
@@ -752,7 +752,7 @@ True if the value is an array.
752
752
 
753
753
  ***
754
754
 
755
- ### arrayValue()
755
+ ### arrayValue() {#arrayvalue}
756
756
 
757
757
  > `static` **arrayValue**\<`T`\>(`property`, `value`, `failures`, `fieldNameResource?`): `value is T[]`
758
758
 
@@ -798,7 +798,7 @@ True if the value is an array with at least one element.
798
798
 
799
799
  ***
800
800
 
801
- ### arrayOneOf()
801
+ ### arrayOneOf() {#arrayoneof}
802
802
 
803
803
  > `static` **arrayOneOf**\<`T`\>(`property`, `value`, `options`, `failures`, `fieldNameResource?`): `value is T`
804
804
 
@@ -850,7 +850,7 @@ True if the value is one of the items in the options.
850
850
 
851
851
  ***
852
852
 
853
- ### uint8Array()
853
+ ### uint8Array() {#uint8array}
854
854
 
855
855
  > `static` **uint8Array**(`property`, `value`, `failures`, `fieldNameResource?`): `value is Uint8Array<ArrayBufferLike>`
856
856
 
@@ -890,7 +890,7 @@ True if the value is a Uint8Array.
890
890
 
891
891
  ***
892
892
 
893
- ### json()
893
+ ### json() {#json}
894
894
 
895
895
  > `static` **json**(`property`, `value`, `failures`, `fieldNameResource?`): `value is string`
896
896
 
@@ -930,7 +930,7 @@ True if the value is valid JSON.
930
930
 
931
931
  ***
932
932
 
933
- ### email()
933
+ ### email() {#email}
934
934
 
935
935
  > `static` **email**(`property`, `value`, `failures`, `fieldNameResource?`): `value is string`
936
936
 
@@ -970,7 +970,7 @@ True if the value is a valid looking e-mail.
970
970
 
971
971
  ***
972
972
 
973
- ### asValidationError()
973
+ ### asValidationError() {#asvalidationerror}
974
974
 
975
975
  > `static` **asValidationError**(`source`, `objectName`, `failures`): `void`
976
976
 
@@ -1006,9 +1006,9 @@ ValidationError From the converted failures.
1006
1006
 
1007
1007
  ***
1008
1008
 
1009
- ### toPropertyMap()
1009
+ ### toPropertyMap() {#topropertymap}
1010
1010
 
1011
- > `static` **toPropertyMap**(`failures`, `propertyMap`, `clearMap`): `void`
1011
+ > `static` **toPropertyMap**(`failures`, `propertyMap`, `clearMap?`): `void`
1012
1012
 
1013
1013
  Map a list of failures to their properties in a map.
1014
1014
 
@@ -1024,7 +1024,7 @@ The validation failures to combine into the map for the properties.
1024
1024
 
1025
1025
  The map to add the failures to.
1026
1026
 
1027
- ##### clearMap
1027
+ ##### clearMap?
1028
1028
 
1029
1029
  `boolean` = `true`
1030
1030
 
@@ -44,7 +44,7 @@ The validation failures.
44
44
 
45
45
  ## Properties
46
46
 
47
- ### source?
47
+ ### source? {#source}
48
48
 
49
49
  > `optional` **source**: `string`
50
50
 
@@ -56,7 +56,7 @@ The source of the error.
56
56
 
57
57
  ***
58
58
 
59
- ### properties?
59
+ ### properties? {#properties}
60
60
 
61
61
  > `optional` **properties**: `object`
62
62
 
@@ -72,7 +72,7 @@ Any additional information for the error.
72
72
 
73
73
  ***
74
74
 
75
- ### cause?
75
+ ### cause? {#cause}
76
76
 
77
77
  > `optional` **cause**: [`IError`](../interfaces/IError.md)
78
78
 
@@ -84,7 +84,7 @@ The cause of the error.
84
84
 
85
85
  ***
86
86
 
87
- ### CLASS\_NAME
87
+ ### CLASS\_NAME {#class_name}
88
88
 
89
89
  > `readonly` `static` **CLASS\_NAME**: `string`
90
90
 
@@ -92,7 +92,7 @@ Runtime name for the class.s
92
92
 
93
93
  ## Methods
94
94
 
95
- ### fromError()
95
+ ### fromError() {#fromerror}
96
96
 
97
97
  > `static` **fromError**(`err`): [`BaseError`](BaseError.md)
98
98
 
@@ -118,7 +118,7 @@ The new instance.
118
118
 
119
119
  ***
120
120
 
121
- ### flatten()
121
+ ### flatten() {#flatten}
122
122
 
123
123
  > `static` **flatten**(`err`): [`IError`](../interfaces/IError.md)[]
124
124
 
@@ -144,7 +144,7 @@ The list of all internal errors.
144
144
 
145
145
  ***
146
146
 
147
- ### expand()
147
+ ### expand() {#expand}
148
148
 
149
149
  > `static` **expand**(`errors`): [`IError`](../interfaces/IError.md) \| `undefined`
150
150
 
@@ -170,7 +170,7 @@ The first level error.
170
170
 
171
171
  ***
172
172
 
173
- ### isErrorName()
173
+ ### isErrorName() {#iserrorname}
174
174
 
175
175
  > `static` **isErrorName**(`error`, `name`): `error is BaseError`
176
176
 
@@ -202,7 +202,7 @@ True if the error has the name.
202
202
 
203
203
  ***
204
204
 
205
- ### isErrorMessage()
205
+ ### isErrorMessage() {#iserrormessage}
206
206
 
207
207
  > `static` **isErrorMessage**(`error`, `message`): `error is BaseError`
208
208
 
@@ -234,7 +234,7 @@ True if the error has the name.
234
234
 
235
235
  ***
236
236
 
237
- ### isErrorCode()
237
+ ### isErrorCode() {#iserrorcode}
238
238
 
239
239
  > `static` **isErrorCode**(`error`, `code`): `boolean`
240
240
 
@@ -266,7 +266,7 @@ True if the error has the code.
266
266
 
267
267
  ***
268
268
 
269
- ### someErrorName()
269
+ ### someErrorName() {#someerrorname}
270
270
 
271
271
  > `static` **someErrorName**(`error`, `name`): `error is BaseError`
272
272
 
@@ -298,7 +298,7 @@ True if the error has the name.
298
298
 
299
299
  ***
300
300
 
301
- ### someErrorMessage()
301
+ ### someErrorMessage() {#someerrormessage}
302
302
 
303
303
  > `static` **someErrorMessage**(`error`, `message`): `error is BaseError`
304
304
 
@@ -330,7 +330,7 @@ True if the error has the name.
330
330
 
331
331
  ***
332
332
 
333
- ### someErrorClass()
333
+ ### someErrorClass() {#someerrorclass}
334
334
 
335
335
  > `static` **someErrorClass**(`error`, `cls`): `error is BaseError`
336
336
 
@@ -362,7 +362,7 @@ True if the error has the specific class.
362
362
 
363
363
  ***
364
364
 
365
- ### someErrorCode()
365
+ ### someErrorCode() {#someerrorcode}
366
366
 
367
367
  > `static` **someErrorCode**(`error`, `code`): `error is BaseError`
368
368
 
@@ -394,7 +394,7 @@ True if the error has the name.
394
394
 
395
395
  ***
396
396
 
397
- ### isEmpty()
397
+ ### isEmpty() {#isempty}
398
398
 
399
399
  > `static` **isEmpty**(`err`): `boolean`
400
400
 
@@ -420,7 +420,7 @@ True if the error is empty.
420
420
 
421
421
  ***
422
422
 
423
- ### isAggregateError()
423
+ ### isAggregateError() {#isaggregateerror}
424
424
 
425
425
  > `static` **isAggregateError**(`err`): `err is AggregateError`
426
426
 
@@ -446,7 +446,7 @@ True if the error is an aggregate error.
446
446
 
447
447
  ***
448
448
 
449
- ### fromAggregate()
449
+ ### fromAggregate() {#fromaggregate}
450
450
 
451
451
  > `static` **fromAggregate**(`err`, `includeStackTrace?`): [`IError`](../interfaces/IError.md)[]
452
452
 
@@ -478,7 +478,7 @@ The array of errors.
478
478
 
479
479
  ***
480
480
 
481
- ### toJsonObject()
481
+ ### toJsonObject() {#tojsonobject}
482
482
 
483
483
  > **toJsonObject**(`includeStackTrace?`): [`IError`](../interfaces/IError.md)
484
484
 
@@ -61,6 +61,8 @@
61
61
  - [CoerceType](type-aliases/CoerceType.md)
62
62
  - [CompressionType](type-aliases/CompressionType.md)
63
63
  - [ObjectOrArray](type-aliases/ObjectOrArray.md)
64
+ - [SingleOccurrenceArrayDepthHelper](type-aliases/SingleOccurrenceArrayDepthHelper.md)
65
+ - [SingleOccurrenceArray](type-aliases/SingleOccurrenceArray.md)
64
66
 
65
67
  ## Variables
66
68
 
@@ -4,7 +4,7 @@ Interface describing a component which can be bootstrapped, started and stopped.
4
4
 
5
5
  ## Methods
6
6
 
7
- ### className()
7
+ ### className() {#classname}
8
8
 
9
9
  > **className**(): `string`
10
10
 
@@ -18,7 +18,7 @@ The class name of the component.
18
18
 
19
19
  ***
20
20
 
21
- ### bootstrap()?
21
+ ### bootstrap()? {#bootstrap}
22
22
 
23
23
  > `optional` **bootstrap**(`nodeLoggingComponentType?`): `Promise`\<`boolean`\>
24
24
 
@@ -40,7 +40,7 @@ True if the bootstrapping process was successful.
40
40
 
41
41
  ***
42
42
 
43
- ### start()?
43
+ ### start()? {#start}
44
44
 
45
45
  > `optional` **start**(`nodeLoggingComponentType?`): `Promise`\<`void`\>
46
46
 
@@ -62,7 +62,7 @@ Nothing.
62
62
 
63
63
  ***
64
64
 
65
- ### stop()?
65
+ ### stop()? {#stop}
66
66
 
67
67
  > `optional` **stop**(`nodeLoggingComponentType?`): `Promise`\<`void`\>
68
68
 
@@ -4,7 +4,7 @@ Model to describe serialized error.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### name
7
+ ### name {#name}
8
8
 
9
9
  > **name**: `string`
10
10
 
@@ -12,7 +12,7 @@ The name for the error.
12
12
 
13
13
  ***
14
14
 
15
- ### message
15
+ ### message {#message}
16
16
 
17
17
  > **message**: `string`
18
18
 
@@ -20,7 +20,7 @@ The message for the error.
20
20
 
21
21
  ***
22
22
 
23
- ### source?
23
+ ### source? {#source}
24
24
 
25
25
  > `optional` **source**: `string`
26
26
 
@@ -28,7 +28,7 @@ The source of the error.
28
28
 
29
29
  ***
30
30
 
31
- ### properties?
31
+ ### properties? {#properties}
32
32
 
33
33
  > `optional` **properties**: `object`
34
34
 
@@ -40,7 +40,7 @@ Any additional information for the error.
40
40
 
41
41
  ***
42
42
 
43
- ### stack?
43
+ ### stack? {#stack}
44
44
 
45
45
  > `optional` **stack**: `string`
46
46
 
@@ -48,7 +48,7 @@ The stack trace for the error.
48
48
 
49
49
  ***
50
50
 
51
- ### cause?
51
+ ### cause? {#cause}
52
52
 
53
53
  > `optional` **cause**: `IError`
54
54
 
@@ -4,7 +4,7 @@ The shared state for the I18n global.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### localeDictionaries
7
+ ### localeDictionaries {#localedictionaries}
8
8
 
9
9
  > **localeDictionaries**: `object`
10
10
 
@@ -16,7 +16,7 @@ Dictionaries for lookups.
16
16
 
17
17
  ***
18
18
 
19
- ### currentLocale
19
+ ### currentLocale {#currentlocale}
20
20
 
21
21
  > **currentLocale**: `string`
22
22
 
@@ -24,7 +24,7 @@ The current locale.
24
24
 
25
25
  ***
26
26
 
27
- ### localeChangedHandlers
27
+ ### localeChangedHandlers {#localechangedhandlers}
28
28
 
29
29
  > **localeChangedHandlers**: `object`
30
30
 
@@ -36,7 +36,7 @@ Change handler for the locale being updated.
36
36
 
37
37
  ***
38
38
 
39
- ### dictionaryChangedHandlers
39
+ ### dictionaryChangedHandlers {#dictionarychangedhandlers}
40
40
 
41
41
  > **dictionaryChangedHandlers**: `object`
42
42
 
@@ -10,7 +10,7 @@ Interface describing a key/value pair.
10
10
 
11
11
  ## Properties
12
12
 
13
- ### key
13
+ ### key {#key}
14
14
 
15
15
  > **key**: `string`
16
16
 
@@ -18,7 +18,7 @@ The key for the item.
18
18
 
19
19
  ***
20
20
 
21
- ### value
21
+ ### value {#value}
22
22
 
23
23
  > **value**: `T`
24
24
 
@@ -10,7 +10,7 @@ Interface describing a label/value pair.
10
10
 
11
11
  ## Properties
12
12
 
13
- ### label
13
+ ### label {#label}
14
14
 
15
15
  > **label**: `string`
16
16
 
@@ -18,7 +18,7 @@ The label for the item.
18
18
 
19
19
  ***
20
20
 
21
- ### value
21
+ ### value {#value}
22
22
 
23
23
  > **value**: `T`
24
24
 
@@ -4,7 +4,7 @@ Model for a local.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### label
7
+ ### label {#label}
8
8
 
9
9
  > **label**: `string`
10
10
 
@@ -12,7 +12,7 @@ The label.
12
12
 
13
13
  ***
14
14
 
15
- ### code
15
+ ### code {#code}
16
16
 
17
17
  > **code**: `string`
18
18
 
@@ -4,7 +4,7 @@ Model for a locales index.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### locales
7
+ ### locales {#locales}
8
8
 
9
9
  > **locales**: [`ILocale`](ILocale.md)[]
10
10
 
@@ -4,7 +4,7 @@ Interface describing a patch operation to add a property.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### op
7
+ ### op {#op}
8
8
 
9
9
  > **op**: `"add"` \| `"remove"` \| `"replace"` \| `"move"` \| `"copy"` \| `"test"`
10
10
 
@@ -12,7 +12,7 @@ The operation that was performed on the item.
12
12
 
13
13
  ***
14
14
 
15
- ### path
15
+ ### path {#path}
16
16
 
17
17
  > **path**: `string`
18
18
 
@@ -20,7 +20,7 @@ The path to the object that was changed.
20
20
 
21
21
  ***
22
22
 
23
- ### from?
23
+ ### from? {#from}
24
24
 
25
25
  > `optional` **from**: `string`
26
26
 
@@ -28,7 +28,7 @@ The path the value was copied or moved from.
28
28
 
29
29
  ***
30
30
 
31
- ### value?
31
+ ### value? {#value}
32
32
 
33
33
  > `optional` **value**: `unknown`
34
34
 
@@ -4,7 +4,7 @@ Model to describe the parts of a url.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### schema
7
+ ### schema {#schema}
8
8
 
9
9
  > **schema**: `string`
10
10
 
@@ -12,7 +12,7 @@ The schema for the url.
12
12
 
13
13
  ***
14
14
 
15
- ### host
15
+ ### host {#host}
16
16
 
17
17
  > **host**: `string`
18
18
 
@@ -20,7 +20,7 @@ The host for the url.
20
20
 
21
21
  ***
22
22
 
23
- ### port?
23
+ ### port? {#port}
24
24
 
25
25
  > `optional` **port**: `number`
26
26
 
@@ -28,7 +28,7 @@ The port for the url.
28
28
 
29
29
  ***
30
30
 
31
- ### path
31
+ ### path {#path}
32
32
 
33
33
  > **path**: `string`
34
34
 
@@ -36,7 +36,7 @@ The path for the url.
36
36
 
37
37
  ***
38
38
 
39
- ### params?
39
+ ### params? {#params}
40
40
 
41
41
  > `optional` **params**: `string`
42
42
 
@@ -44,7 +44,7 @@ The params for the url.
44
44
 
45
45
  ***
46
46
 
47
- ### hash?
47
+ ### hash? {#hash}
48
48
 
49
49
  > `optional` **hash**: `string`
50
50
 
@@ -4,7 +4,7 @@ Interface describing the reason a validation failed.
4
4
 
5
5
  ## Properties
6
6
 
7
- ### property
7
+ ### property {#property}
8
8
 
9
9
  > **property**: `string`
10
10
 
@@ -12,7 +12,7 @@ The property that failed validation.
12
12
 
13
13
  ***
14
14
 
15
- ### reason
15
+ ### reason {#reason}
16
16
 
17
17
  > **reason**: `string`
18
18
 
@@ -20,7 +20,7 @@ The reason the validation failed as an i18 resource error.
20
20
 
21
21
  ***
22
22
 
23
- ### properties?
23
+ ### properties? {#properties}
24
24
 
25
25
  > `optional` **properties**: `object`
26
26
 
@@ -0,0 +1,15 @@
1
+ # Type Alias: SingleOccurrenceArray\<T, U\>
2
+
3
+ > **SingleOccurrenceArray**\<`T`, `U`\> = [`SingleOccurrenceArrayDepthHelper`](SingleOccurrenceArrayDepthHelper.md)\<`T`, `U`, \[\]\>
4
+
5
+ Utility type to create a non-empty array with values of type T and exactly one value of type U.
6
+
7
+ ## Type Parameters
8
+
9
+ ### T
10
+
11
+ `T` = `unknown`
12
+
13
+ ### U
14
+
15
+ `U` = `never`