@genesislcap/foundation-utils 14.221.0 → 14.221.1-alpha-457a890.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,6 +45,14 @@
45
45
  "package": "./directives"
46
46
  }
47
47
  },
48
+ {
49
+ "kind": "js",
50
+ "name": "*",
51
+ "declaration": {
52
+ "name": "*",
53
+ "package": "./encoding"
54
+ }
55
+ },
48
56
  {
49
57
  "kind": "js",
50
58
  "name": "*",
@@ -190,6 +198,219 @@
190
198
  }
191
199
  ]
192
200
  },
201
+ {
202
+ "kind": "javascript-module",
203
+ "path": "src/encoding/index.ts",
204
+ "declarations": [],
205
+ "exports": [
206
+ {
207
+ "kind": "js",
208
+ "name": "*",
209
+ "declaration": {
210
+ "name": "*",
211
+ "package": "./base64"
212
+ }
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ "kind": "javascript-module",
218
+ "path": "src/data/inMemoryDatabase.ts",
219
+ "declarations": [
220
+ {
221
+ "kind": "class",
222
+ "description": "An in memory database of specific DatabaseRecord types.",
223
+ "name": "InMemoryDatabase",
224
+ "members": [
225
+ {
226
+ "kind": "field",
227
+ "name": "isWorking",
228
+ "type": {
229
+ "text": "boolean"
230
+ },
231
+ "privacy": "public",
232
+ "default": "false"
233
+ },
234
+ {
235
+ "kind": "field",
236
+ "name": "records",
237
+ "type": {
238
+ "text": "Record<string, T>"
239
+ },
240
+ "privacy": "private",
241
+ "default": "{}"
242
+ },
243
+ {
244
+ "kind": "field",
245
+ "name": "beforeUpdateListeners",
246
+ "privacy": "private"
247
+ },
248
+ {
249
+ "kind": "field",
250
+ "name": "afterUpdateListeners",
251
+ "privacy": "private"
252
+ },
253
+ {
254
+ "kind": "method",
255
+ "name": "create",
256
+ "privacy": "public",
257
+ "return": {
258
+ "type": {
259
+ "text": "Promise<DatabaseAccessResult.Create<T>>"
260
+ }
261
+ },
262
+ "parameters": [
263
+ {
264
+ "name": "newValue",
265
+ "type": {
266
+ "text": "Omit<T, 'id'>"
267
+ }
268
+ }
269
+ ]
270
+ },
271
+ {
272
+ "kind": "method",
273
+ "name": "read",
274
+ "privacy": "public",
275
+ "return": {
276
+ "type": {
277
+ "text": "Promise<DatabaseAccessResult.Read<T>>"
278
+ }
279
+ },
280
+ "parameters": [
281
+ {
282
+ "name": "id",
283
+ "type": {
284
+ "text": "string"
285
+ }
286
+ }
287
+ ]
288
+ },
289
+ {
290
+ "kind": "method",
291
+ "name": "update",
292
+ "privacy": "public",
293
+ "return": {
294
+ "type": {
295
+ "text": "Promise<DatabaseAccessResult.Update<T>>"
296
+ }
297
+ },
298
+ "parameters": [
299
+ {
300
+ "name": "id",
301
+ "type": {
302
+ "text": "string"
303
+ }
304
+ },
305
+ {
306
+ "name": "newValue",
307
+ "type": {
308
+ "text": "Omit<Partial<T>, 'id'>"
309
+ }
310
+ }
311
+ ]
312
+ },
313
+ {
314
+ "kind": "method",
315
+ "name": "delete",
316
+ "privacy": "public",
317
+ "return": {
318
+ "type": {
319
+ "text": "Promise<DatabaseAccessResult.Delete>"
320
+ }
321
+ },
322
+ "parameters": [
323
+ {
324
+ "name": "id",
325
+ "type": {
326
+ "text": "string"
327
+ }
328
+ }
329
+ ]
330
+ },
331
+ {
332
+ "kind": "method",
333
+ "name": "visit",
334
+ "privacy": "public",
335
+ "return": {
336
+ "type": {
337
+ "text": "Promise<void>"
338
+ }
339
+ },
340
+ "parameters": [
341
+ {
342
+ "name": "visitor",
343
+ "type": {
344
+ "text": "(record: T) => void"
345
+ }
346
+ }
347
+ ]
348
+ },
349
+ {
350
+ "kind": "method",
351
+ "name": "onBeforeUpdate",
352
+ "privacy": "public",
353
+ "return": {
354
+ "type": {
355
+ "text": "() => void"
356
+ }
357
+ },
358
+ "parameters": [
359
+ {
360
+ "name": "listener",
361
+ "type": {
362
+ "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
363
+ }
364
+ }
365
+ ]
366
+ },
367
+ {
368
+ "kind": "method",
369
+ "name": "onAfterUpdate",
370
+ "privacy": "public",
371
+ "return": {
372
+ "type": {
373
+ "text": "() => void"
374
+ }
375
+ },
376
+ "parameters": [
377
+ {
378
+ "name": "listener",
379
+ "type": {
380
+ "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
381
+ }
382
+ }
383
+ ]
384
+ }
385
+ ]
386
+ }
387
+ ],
388
+ "exports": [
389
+ {
390
+ "kind": "js",
391
+ "name": "InMemoryDatabase",
392
+ "declaration": {
393
+ "name": "InMemoryDatabase",
394
+ "module": "src/data/inMemoryDatabase.ts"
395
+ }
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "kind": "javascript-module",
401
+ "path": "src/data/index.ts",
402
+ "declarations": [],
403
+ "exports": [
404
+ {
405
+ "kind": "js",
406
+ "name": "*",
407
+ "declaration": {
408
+ "name": "*",
409
+ "package": "./inMemoryDatabase"
410
+ }
411
+ }
412
+ ]
413
+ },
193
414
  {
194
415
  "kind": "javascript-module",
195
416
  "path": "src/env/index.ts",
@@ -430,38 +651,141 @@
430
651
  },
431
652
  {
432
653
  "kind": "javascript-module",
433
- "path": "src/error/errorMap.ts",
654
+ "path": "src/design-system/design-system.ts",
434
655
  "declarations": [
435
656
  {
436
- "kind": "class",
437
- "description": "",
438
- "name": "DefaultErrorMap",
439
- "members": [
440
- {
441
- "kind": "field",
442
- "name": "map",
443
- "privacy": "private",
444
- "default": "new Map<keyof TErrorDetailMap, Error>()"
445
- },
657
+ "kind": "function",
658
+ "name": "assureDesignSystem",
659
+ "return": {
660
+ "type": {
661
+ "text": "DesignSystemModule"
662
+ }
663
+ },
664
+ "parameters": [
446
665
  {
447
- "kind": "field",
448
- "name": "lastError",
666
+ "name": "module",
449
667
  "type": {
450
- "text": "Error"
451
- },
452
- "description": "{@inheritDoc ErrorMap.lastError}"
453
- },
454
- {
455
- "kind": "method",
456
- "name": "set",
457
- "return": {
458
- "type": {
459
- "text": "void"
460
- }
461
- },
462
- "parameters": [
463
- {
464
- "name": "key",
668
+ "text": "DesignSystemModule"
669
+ }
670
+ }
671
+ ],
672
+ "description": "assureDesignSystem.",
673
+ "privacy": "public"
674
+ }
675
+ ],
676
+ "exports": [
677
+ {
678
+ "kind": "js",
679
+ "name": "assureDesignSystem",
680
+ "declaration": {
681
+ "name": "assureDesignSystem",
682
+ "module": "src/design-system/design-system.ts"
683
+ }
684
+ }
685
+ ]
686
+ },
687
+ {
688
+ "kind": "javascript-module",
689
+ "path": "src/design-system/index.ts",
690
+ "declarations": [],
691
+ "exports": [
692
+ {
693
+ "kind": "js",
694
+ "name": "*",
695
+ "declaration": {
696
+ "name": "*",
697
+ "package": "./design-system"
698
+ }
699
+ }
700
+ ]
701
+ },
702
+ {
703
+ "kind": "javascript-module",
704
+ "path": "src/decorators/index.ts",
705
+ "declarations": [],
706
+ "exports": [
707
+ {
708
+ "kind": "js",
709
+ "name": "*",
710
+ "declaration": {
711
+ "name": "*",
712
+ "package": "./renderOnChange"
713
+ }
714
+ }
715
+ ]
716
+ },
717
+ {
718
+ "kind": "javascript-module",
719
+ "path": "src/decorators/renderOnChange.ts",
720
+ "declarations": [
721
+ {
722
+ "kind": "function",
723
+ "name": "renderOnChange",
724
+ "parameters": [
725
+ {
726
+ "name": "target",
727
+ "type": {
728
+ "text": "FASTElement & { render(): void }"
729
+ },
730
+ "description": "The target to define the property change handler on."
731
+ },
732
+ {
733
+ "name": "name",
734
+ "type": {
735
+ "text": "string"
736
+ },
737
+ "description": "The property name."
738
+ }
739
+ ],
740
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
741
+ "privacy": "public"
742
+ }
743
+ ],
744
+ "exports": [
745
+ {
746
+ "kind": "js",
747
+ "name": "renderOnChange",
748
+ "declaration": {
749
+ "name": "renderOnChange",
750
+ "module": "src/decorators/renderOnChange.ts"
751
+ }
752
+ }
753
+ ]
754
+ },
755
+ {
756
+ "kind": "javascript-module",
757
+ "path": "src/error/errorMap.ts",
758
+ "declarations": [
759
+ {
760
+ "kind": "class",
761
+ "description": "",
762
+ "name": "DefaultErrorMap",
763
+ "members": [
764
+ {
765
+ "kind": "field",
766
+ "name": "map",
767
+ "privacy": "private",
768
+ "default": "new Map<keyof TErrorDetailMap, Error>()"
769
+ },
770
+ {
771
+ "kind": "field",
772
+ "name": "lastError",
773
+ "type": {
774
+ "text": "Error"
775
+ },
776
+ "description": "{@inheritDoc ErrorMap.lastError}"
777
+ },
778
+ {
779
+ "kind": "method",
780
+ "name": "set",
781
+ "return": {
782
+ "type": {
783
+ "text": "void"
784
+ }
785
+ },
786
+ "parameters": [
787
+ {
788
+ "name": "key",
465
789
  "type": {
466
790
  "text": "keyof TErrorDetailMap"
467
791
  }
@@ -627,109 +951,6 @@
627
951
  }
628
952
  ]
629
953
  },
630
- {
631
- "kind": "javascript-module",
632
- "path": "src/design-system/design-system.ts",
633
- "declarations": [
634
- {
635
- "kind": "function",
636
- "name": "assureDesignSystem",
637
- "return": {
638
- "type": {
639
- "text": "DesignSystemModule"
640
- }
641
- },
642
- "parameters": [
643
- {
644
- "name": "module",
645
- "type": {
646
- "text": "DesignSystemModule"
647
- }
648
- }
649
- ],
650
- "description": "assureDesignSystem.",
651
- "privacy": "public"
652
- }
653
- ],
654
- "exports": [
655
- {
656
- "kind": "js",
657
- "name": "assureDesignSystem",
658
- "declaration": {
659
- "name": "assureDesignSystem",
660
- "module": "src/design-system/design-system.ts"
661
- }
662
- }
663
- ]
664
- },
665
- {
666
- "kind": "javascript-module",
667
- "path": "src/design-system/index.ts",
668
- "declarations": [],
669
- "exports": [
670
- {
671
- "kind": "js",
672
- "name": "*",
673
- "declaration": {
674
- "name": "*",
675
- "package": "./design-system"
676
- }
677
- }
678
- ]
679
- },
680
- {
681
- "kind": "javascript-module",
682
- "path": "src/decorators/index.ts",
683
- "declarations": [],
684
- "exports": [
685
- {
686
- "kind": "js",
687
- "name": "*",
688
- "declaration": {
689
- "name": "*",
690
- "package": "./renderOnChange"
691
- }
692
- }
693
- ]
694
- },
695
- {
696
- "kind": "javascript-module",
697
- "path": "src/decorators/renderOnChange.ts",
698
- "declarations": [
699
- {
700
- "kind": "function",
701
- "name": "renderOnChange",
702
- "parameters": [
703
- {
704
- "name": "target",
705
- "type": {
706
- "text": "FASTElement & { render(): void }"
707
- },
708
- "description": "The target to define the property change handler on."
709
- },
710
- {
711
- "name": "name",
712
- "type": {
713
- "text": "string"
714
- },
715
- "description": "The property name."
716
- }
717
- ],
718
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
719
- "privacy": "public"
720
- }
721
- ],
722
- "exports": [
723
- {
724
- "kind": "js",
725
- "name": "renderOnChange",
726
- "declaration": {
727
- "name": "renderOnChange",
728
- "module": "src/decorators/renderOnChange.ts"
729
- }
730
- }
731
- ]
732
- },
733
954
  {
734
955
  "kind": "javascript-module",
735
956
  "path": "src/formatters/datetime.ts",
@@ -901,288 +1122,69 @@
901
1122
  "name": "_decimal",
902
1123
  "type": {
903
1124
  "text": "RegExp"
904
- },
905
- "privacy": "private",
906
- "default": "new RegExp(`[${parts.find((d) => d.type === 'decimal').value}]`)"
907
- },
908
- {
909
- "kind": "field",
910
- "name": "_separator",
911
- "type": {
912
- "text": "RegExp"
913
- },
914
- "privacy": "private",
915
- "default": "new RegExp(\n `[$${parts.find((d) => d.type === 'decimal').value}](?:0*$|[^0]0+$)`,\n )"
916
- },
917
- {
918
- "kind": "field",
919
- "name": "_numeral",
920
- "type": {
921
- "text": "RegExp"
922
- },
923
- "privacy": "private",
924
- "default": "new RegExp(`[${numerals.join('')}]`, 'g')"
925
- },
926
- {
927
- "kind": "field",
928
- "name": "_index",
929
- "type": {
930
- "text": "any"
931
- },
932
- "privacy": "private"
933
- },
934
- {
935
- "kind": "method",
936
- "name": "parse",
937
- "parameters": [
938
- {
939
- "name": "localeNumber",
940
- "type": {
941
- "text": "string"
942
- }
943
- }
944
- ]
945
- },
946
- {
947
- "kind": "method",
948
- "name": "hasSeparator",
949
- "return": {
950
- "type": {
951
- "text": "boolean"
952
- }
953
- },
954
- "parameters": [
955
- {
956
- "name": "localeNumber",
957
- "type": {
958
- "text": "string"
959
- }
960
- }
961
- ]
962
- },
963
- {
964
- "kind": "field",
965
- "name": "_group",
966
- "default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
967
- }
968
- ]
969
- }
970
- ],
971
- "exports": [
972
- {
973
- "kind": "js",
974
- "name": "NumberParser",
975
- "declaration": {
976
- "name": "NumberParser",
977
- "module": "src/formatters/localeNumberParser.ts"
978
- }
979
- }
980
- ]
981
- },
982
- {
983
- "kind": "javascript-module",
984
- "path": "src/formatters/number.ts",
985
- "declarations": [
986
- {
987
- "kind": "function",
988
- "name": "getNumberFormatter",
989
- "parameters": [
990
- {
991
- "name": "format",
992
- "type": {
993
- "text": "string"
994
- }
995
- },
996
- {
997
- "name": "locale",
998
- "optional": true,
999
- "type": {
1000
- "text": "string | null"
1001
- }
1002
- }
1003
- ],
1004
- "privacy": "public"
1005
- }
1006
- ],
1007
- "exports": [
1008
- {
1009
- "kind": "js",
1010
- "name": "getNumberFormatter",
1011
- "declaration": {
1012
- "name": "getNumberFormatter",
1013
- "module": "src/formatters/number.ts"
1014
- }
1015
- }
1016
- ]
1017
- },
1018
- {
1019
- "kind": "javascript-module",
1020
- "path": "src/data/inMemoryDatabase.ts",
1021
- "declarations": [
1022
- {
1023
- "kind": "class",
1024
- "description": "An in memory database of specific DatabaseRecord types.",
1025
- "name": "InMemoryDatabase",
1026
- "members": [
1027
- {
1028
- "kind": "field",
1029
- "name": "isWorking",
1030
- "type": {
1031
- "text": "boolean"
1032
- },
1033
- "privacy": "public",
1034
- "default": "false"
1035
- },
1036
- {
1037
- "kind": "field",
1038
- "name": "records",
1039
- "type": {
1040
- "text": "Record<string, T>"
1041
- },
1042
- "privacy": "private",
1043
- "default": "{}"
1044
- },
1045
- {
1046
- "kind": "field",
1047
- "name": "beforeUpdateListeners",
1048
- "privacy": "private"
1049
- },
1050
- {
1051
- "kind": "field",
1052
- "name": "afterUpdateListeners",
1053
- "privacy": "private"
1054
- },
1055
- {
1056
- "kind": "method",
1057
- "name": "create",
1058
- "privacy": "public",
1059
- "return": {
1060
- "type": {
1061
- "text": "Promise<DatabaseAccessResult.Create<T>>"
1062
- }
1063
- },
1064
- "parameters": [
1065
- {
1066
- "name": "newValue",
1067
- "type": {
1068
- "text": "Omit<T, 'id'>"
1069
- }
1070
- }
1071
- ]
1072
- },
1073
- {
1074
- "kind": "method",
1075
- "name": "read",
1076
- "privacy": "public",
1077
- "return": {
1078
- "type": {
1079
- "text": "Promise<DatabaseAccessResult.Read<T>>"
1080
- }
1081
- },
1082
- "parameters": [
1083
- {
1084
- "name": "id",
1085
- "type": {
1086
- "text": "string"
1087
- }
1088
- }
1089
- ]
1125
+ },
1126
+ "privacy": "private",
1127
+ "default": "new RegExp(`[${parts.find((d) => d.type === 'decimal').value}]`)"
1090
1128
  },
1091
1129
  {
1092
- "kind": "method",
1093
- "name": "update",
1094
- "privacy": "public",
1095
- "return": {
1096
- "type": {
1097
- "text": "Promise<DatabaseAccessResult.Update<T>>"
1098
- }
1130
+ "kind": "field",
1131
+ "name": "_separator",
1132
+ "type": {
1133
+ "text": "RegExp"
1099
1134
  },
1100
- "parameters": [
1101
- {
1102
- "name": "id",
1103
- "type": {
1104
- "text": "string"
1105
- }
1106
- },
1107
- {
1108
- "name": "newValue",
1109
- "type": {
1110
- "text": "Omit<Partial<T>, 'id'>"
1111
- }
1112
- }
1113
- ]
1135
+ "privacy": "private",
1136
+ "default": "new RegExp(\n `[$${parts.find((d) => d.type === 'decimal').value}](?:0*$|[^0]0+$)`,\n )"
1114
1137
  },
1115
1138
  {
1116
- "kind": "method",
1117
- "name": "delete",
1118
- "privacy": "public",
1119
- "return": {
1120
- "type": {
1121
- "text": "Promise<DatabaseAccessResult.Delete>"
1122
- }
1139
+ "kind": "field",
1140
+ "name": "_numeral",
1141
+ "type": {
1142
+ "text": "RegExp"
1123
1143
  },
1124
- "parameters": [
1125
- {
1126
- "name": "id",
1127
- "type": {
1128
- "text": "string"
1129
- }
1130
- }
1131
- ]
1144
+ "privacy": "private",
1145
+ "default": "new RegExp(`[${numerals.join('')}]`, 'g')"
1132
1146
  },
1133
1147
  {
1134
- "kind": "method",
1135
- "name": "visit",
1136
- "privacy": "public",
1137
- "return": {
1138
- "type": {
1139
- "text": "Promise<void>"
1140
- }
1148
+ "kind": "field",
1149
+ "name": "_index",
1150
+ "type": {
1151
+ "text": "any"
1141
1152
  },
1142
- "parameters": [
1143
- {
1144
- "name": "visitor",
1145
- "type": {
1146
- "text": "(record: T) => void"
1147
- }
1148
- }
1149
- ]
1153
+ "privacy": "private"
1150
1154
  },
1151
1155
  {
1152
1156
  "kind": "method",
1153
- "name": "onBeforeUpdate",
1154
- "privacy": "public",
1155
- "return": {
1156
- "type": {
1157
- "text": "() => void"
1158
- }
1159
- },
1157
+ "name": "parse",
1160
1158
  "parameters": [
1161
1159
  {
1162
- "name": "listener",
1160
+ "name": "localeNumber",
1163
1161
  "type": {
1164
- "text": "Listener<DatabaseEvent.BeforeUpdate<T>>"
1162
+ "text": "string"
1165
1163
  }
1166
1164
  }
1167
1165
  ]
1168
1166
  },
1169
1167
  {
1170
1168
  "kind": "method",
1171
- "name": "onAfterUpdate",
1172
- "privacy": "public",
1169
+ "name": "hasSeparator",
1173
1170
  "return": {
1174
1171
  "type": {
1175
- "text": "() => void"
1172
+ "text": "boolean"
1176
1173
  }
1177
1174
  },
1178
1175
  "parameters": [
1179
1176
  {
1180
- "name": "listener",
1177
+ "name": "localeNumber",
1181
1178
  "type": {
1182
- "text": "Listener<DatabaseEvent.AfterUpdate<T>>"
1179
+ "text": "string"
1183
1180
  }
1184
1181
  }
1185
1182
  ]
1183
+ },
1184
+ {
1185
+ "kind": "field",
1186
+ "name": "_group",
1187
+ "default": "new RegExp(`[${parts.find((d) => d.type === 'group').value}]`, 'g')"
1186
1188
  }
1187
1189
  ]
1188
1190
  }
@@ -1190,25 +1192,46 @@
1190
1192
  "exports": [
1191
1193
  {
1192
1194
  "kind": "js",
1193
- "name": "InMemoryDatabase",
1195
+ "name": "NumberParser",
1194
1196
  "declaration": {
1195
- "name": "InMemoryDatabase",
1196
- "module": "src/data/inMemoryDatabase.ts"
1197
+ "name": "NumberParser",
1198
+ "module": "src/formatters/localeNumberParser.ts"
1197
1199
  }
1198
1200
  }
1199
1201
  ]
1200
1202
  },
1201
1203
  {
1202
1204
  "kind": "javascript-module",
1203
- "path": "src/data/index.ts",
1204
- "declarations": [],
1205
+ "path": "src/formatters/number.ts",
1206
+ "declarations": [
1207
+ {
1208
+ "kind": "function",
1209
+ "name": "getNumberFormatter",
1210
+ "parameters": [
1211
+ {
1212
+ "name": "format",
1213
+ "type": {
1214
+ "text": "string"
1215
+ }
1216
+ },
1217
+ {
1218
+ "name": "locale",
1219
+ "optional": true,
1220
+ "type": {
1221
+ "text": "string | null"
1222
+ }
1223
+ }
1224
+ ],
1225
+ "privacy": "public"
1226
+ }
1227
+ ],
1205
1228
  "exports": [
1206
1229
  {
1207
1230
  "kind": "js",
1208
- "name": "*",
1231
+ "name": "getNumberFormatter",
1209
1232
  "declaration": {
1210
- "name": "*",
1211
- "package": "./inMemoryDatabase"
1233
+ "name": "getNumberFormatter",
1234
+ "module": "src/formatters/number.ts"
1212
1235
  }
1213
1236
  }
1214
1237
  ]
@@ -2370,6 +2393,160 @@
2370
2393
  }
2371
2394
  ]
2372
2395
  },
2396
+ {
2397
+ "kind": "javascript-module",
2398
+ "path": "src/encoding/base64/decode.ts",
2399
+ "declarations": [
2400
+ {
2401
+ "kind": "function",
2402
+ "name": "decodeFromBase64",
2403
+ "return": {
2404
+ "type": {
2405
+ "text": ""
2406
+ }
2407
+ },
2408
+ "parameters": [
2409
+ {
2410
+ "name": "base64Value",
2411
+ "type": {
2412
+ "text": "string"
2413
+ }
2414
+ },
2415
+ {
2416
+ "description": "The value to decode from base64.",
2417
+ "name": "value"
2418
+ }
2419
+ ],
2420
+ "description": "Decodes a value from base64.",
2421
+ "privacy": "public"
2422
+ },
2423
+ {
2424
+ "kind": "function",
2425
+ "name": "decodeFromBase64WithPrefix",
2426
+ "return": {
2427
+ "type": {
2428
+ "text": ""
2429
+ }
2430
+ },
2431
+ "parameters": [
2432
+ {
2433
+ "name": "value",
2434
+ "type": {
2435
+ "text": "string"
2436
+ },
2437
+ "description": "The value to decode from base64."
2438
+ }
2439
+ ],
2440
+ "description": "Decodes a value from base64 with a prefix.",
2441
+ "privacy": "public"
2442
+ }
2443
+ ],
2444
+ "exports": [
2445
+ {
2446
+ "kind": "js",
2447
+ "name": "decodeFromBase64",
2448
+ "declaration": {
2449
+ "name": "decodeFromBase64",
2450
+ "module": "src/encoding/base64/decode.ts"
2451
+ }
2452
+ },
2453
+ {
2454
+ "kind": "js",
2455
+ "name": "decodeFromBase64WithPrefix",
2456
+ "declaration": {
2457
+ "name": "decodeFromBase64WithPrefix",
2458
+ "module": "src/encoding/base64/decode.ts"
2459
+ }
2460
+ }
2461
+ ]
2462
+ },
2463
+ {
2464
+ "kind": "javascript-module",
2465
+ "path": "src/encoding/base64/encode.ts",
2466
+ "declarations": [
2467
+ {
2468
+ "kind": "function",
2469
+ "name": "encodeToBase64",
2470
+ "return": {
2471
+ "type": {
2472
+ "text": ""
2473
+ }
2474
+ },
2475
+ "parameters": [
2476
+ {
2477
+ "name": "value",
2478
+ "type": {
2479
+ "text": "string | ArrayBuffer"
2480
+ },
2481
+ "description": "The value to encode to base64."
2482
+ }
2483
+ ],
2484
+ "description": "Encodes the given value to base64.",
2485
+ "privacy": "public"
2486
+ },
2487
+ {
2488
+ "kind": "function",
2489
+ "name": "encodeToBase64WithPrefix",
2490
+ "return": {
2491
+ "type": {
2492
+ "text": ""
2493
+ }
2494
+ },
2495
+ "parameters": [
2496
+ {
2497
+ "name": "value",
2498
+ "type": {
2499
+ "text": "string | ArrayBuffer"
2500
+ },
2501
+ "description": "The value to encode to base64."
2502
+ }
2503
+ ],
2504
+ "description": "Encodes the given value with a prefix to base64.",
2505
+ "privacy": "public"
2506
+ }
2507
+ ],
2508
+ "exports": [
2509
+ {
2510
+ "kind": "js",
2511
+ "name": "encodeToBase64",
2512
+ "declaration": {
2513
+ "name": "encodeToBase64",
2514
+ "module": "src/encoding/base64/encode.ts"
2515
+ }
2516
+ },
2517
+ {
2518
+ "kind": "js",
2519
+ "name": "encodeToBase64WithPrefix",
2520
+ "declaration": {
2521
+ "name": "encodeToBase64WithPrefix",
2522
+ "module": "src/encoding/base64/encode.ts"
2523
+ }
2524
+ }
2525
+ ]
2526
+ },
2527
+ {
2528
+ "kind": "javascript-module",
2529
+ "path": "src/encoding/base64/index.ts",
2530
+ "declarations": [],
2531
+ "exports": [
2532
+ {
2533
+ "kind": "js",
2534
+ "name": "*",
2535
+ "declaration": {
2536
+ "name": "*",
2537
+ "package": "./decode"
2538
+ }
2539
+ },
2540
+ {
2541
+ "kind": "js",
2542
+ "name": "*",
2543
+ "declaration": {
2544
+ "name": "*",
2545
+ "package": "./encode"
2546
+ }
2547
+ }
2548
+ ]
2549
+ },
2373
2550
  {
2374
2551
  "kind": "javascript-module",
2375
2552
  "path": "src/mappers/dto/index.ts",