@genesislcap/foundation-utils 15.50.3 → 15.51.0

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.
@@ -71,6 +71,14 @@
71
71
  "package": "./error"
72
72
  }
73
73
  },
74
+ {
75
+ "kind": "js",
76
+ "name": "*",
77
+ "declaration": {
78
+ "name": "*",
79
+ "package": "./error-monitoring"
80
+ }
81
+ },
74
82
  {
75
83
  "kind": "js",
76
84
  "name": "*",
@@ -250,6 +258,208 @@
250
258
  }
251
259
  ]
252
260
  },
261
+ {
262
+ "kind": "javascript-module",
263
+ "path": "src/design-system/design-system.ts",
264
+ "declarations": [
265
+ {
266
+ "kind": "function",
267
+ "name": "assureDesignSystem",
268
+ "return": {
269
+ "type": {
270
+ "text": "DesignSystemModule"
271
+ }
272
+ },
273
+ "parameters": [
274
+ {
275
+ "name": "module",
276
+ "type": {
277
+ "text": "DesignSystemModule"
278
+ }
279
+ }
280
+ ],
281
+ "description": "assureDesignSystem.",
282
+ "privacy": "public"
283
+ },
284
+ {
285
+ "kind": "function",
286
+ "name": "getCurrentDesignSystem",
287
+ "return": {
288
+ "type": {
289
+ "text": ""
290
+ }
291
+ },
292
+ "parameters": [
293
+ {
294
+ "name": "element",
295
+ "type": {
296
+ "text": "HTMLElement"
297
+ },
298
+ "description": "The starting HTML element"
299
+ },
300
+ {
301
+ "name": "fallbackPrefix",
302
+ "type": {
303
+ "text": "string"
304
+ },
305
+ "description": "The prefix to fallback to if the provider is not available"
306
+ }
307
+ ],
308
+ "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
309
+ "privacy": "public"
310
+ },
311
+ {
312
+ "kind": "function",
313
+ "name": "getCurrentDesignSystemPrefix",
314
+ "return": {
315
+ "type": {
316
+ "text": ""
317
+ }
318
+ },
319
+ "parameters": [
320
+ {
321
+ "name": "element",
322
+ "type": {
323
+ "text": "HTMLElement"
324
+ },
325
+ "description": "The starting HTML element"
326
+ },
327
+ {
328
+ "name": "fallbackPrefix",
329
+ "type": {
330
+ "text": "string"
331
+ },
332
+ "description": "The prefix to fallback to if the provider is not available"
333
+ }
334
+ ],
335
+ "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
336
+ "privacy": "public"
337
+ }
338
+ ],
339
+ "exports": [
340
+ {
341
+ "kind": "js",
342
+ "name": "assureDesignSystem",
343
+ "declaration": {
344
+ "name": "assureDesignSystem",
345
+ "module": "src/design-system/design-system.ts"
346
+ }
347
+ },
348
+ {
349
+ "kind": "js",
350
+ "name": "getCurrentDesignSystem",
351
+ "declaration": {
352
+ "name": "getCurrentDesignSystem",
353
+ "module": "src/design-system/design-system.ts"
354
+ }
355
+ },
356
+ {
357
+ "kind": "js",
358
+ "name": "getCurrentDesignSystemPrefix",
359
+ "declaration": {
360
+ "name": "getCurrentDesignSystemPrefix",
361
+ "module": "src/design-system/design-system.ts"
362
+ }
363
+ }
364
+ ]
365
+ },
366
+ {
367
+ "kind": "javascript-module",
368
+ "path": "src/design-system/editable-elements.ts",
369
+ "declarations": [
370
+ {
371
+ "kind": "variable",
372
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
373
+ "type": {
374
+ "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
375
+ },
376
+ "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
377
+ "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
378
+ },
379
+ {
380
+ "kind": "variable",
381
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
382
+ "type": {
383
+ "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
384
+ },
385
+ "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
386
+ "description": "Design-system specific editable host selectors."
387
+ },
388
+ {
389
+ "kind": "function",
390
+ "name": "buildEditableElementSelector",
391
+ "return": {
392
+ "type": {
393
+ "text": "string"
394
+ }
395
+ },
396
+ "parameters": [
397
+ {
398
+ "name": "designSystems",
399
+ "type": {
400
+ "text": "readonly EditableDesignSystemPrefix[]"
401
+ }
402
+ },
403
+ {
404
+ "name": "customEditableSelectors",
405
+ "default": "[]",
406
+ "type": {
407
+ "text": "readonly string[]"
408
+ }
409
+ }
410
+ ]
411
+ }
412
+ ],
413
+ "exports": [
414
+ {
415
+ "kind": "js",
416
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
417
+ "declaration": {
418
+ "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
419
+ "module": "src/design-system/editable-elements.ts"
420
+ }
421
+ },
422
+ {
423
+ "kind": "js",
424
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
425
+ "declaration": {
426
+ "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
427
+ "module": "src/design-system/editable-elements.ts"
428
+ }
429
+ },
430
+ {
431
+ "kind": "js",
432
+ "name": "buildEditableElementSelector",
433
+ "declaration": {
434
+ "name": "buildEditableElementSelector",
435
+ "module": "src/design-system/editable-elements.ts"
436
+ }
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "kind": "javascript-module",
442
+ "path": "src/design-system/index.ts",
443
+ "declarations": [],
444
+ "exports": [
445
+ {
446
+ "kind": "js",
447
+ "name": "*",
448
+ "declaration": {
449
+ "name": "*",
450
+ "package": "./design-system"
451
+ }
452
+ },
453
+ {
454
+ "kind": "js",
455
+ "name": "*",
456
+ "declaration": {
457
+ "name": "*",
458
+ "package": "./editable-elements"
459
+ }
460
+ }
461
+ ]
462
+ },
253
463
  {
254
464
  "kind": "javascript-module",
255
465
  "path": "src/data/inMemoryDatabase.ts",
@@ -450,217 +660,53 @@
450
660
  },
451
661
  {
452
662
  "kind": "javascript-module",
453
- "path": "src/design-system/design-system.ts",
663
+ "path": "src/decorators/index.ts",
664
+ "declarations": [],
665
+ "exports": [
666
+ {
667
+ "kind": "js",
668
+ "name": "*",
669
+ "declaration": {
670
+ "name": "*",
671
+ "package": "./renderOnChange"
672
+ }
673
+ }
674
+ ]
675
+ },
676
+ {
677
+ "kind": "javascript-module",
678
+ "path": "src/decorators/renderOnChange.ts",
454
679
  "declarations": [
455
680
  {
456
681
  "kind": "function",
457
- "name": "assureDesignSystem",
458
- "return": {
459
- "type": {
460
- "text": "DesignSystemModule"
461
- }
462
- },
682
+ "name": "renderOnChange",
463
683
  "parameters": [
464
684
  {
465
- "name": "module",
685
+ "name": "target",
466
686
  "type": {
467
- "text": "DesignSystemModule"
468
- }
687
+ "text": "FASTElement & { render(): void }"
688
+ },
689
+ "description": "The target to define the property change handler on."
690
+ },
691
+ {
692
+ "name": "name",
693
+ "type": {
694
+ "text": "string"
695
+ },
696
+ "description": "The property name."
469
697
  }
470
698
  ],
471
- "description": "assureDesignSystem.",
699
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
472
700
  "privacy": "public"
473
- },
474
- {
475
- "kind": "function",
476
- "name": "getCurrentDesignSystem",
477
- "return": {
478
- "type": {
479
- "text": ""
480
- }
481
- },
482
- "parameters": [
483
- {
484
- "name": "element",
485
- "type": {
486
- "text": "HTMLElement"
487
- },
488
- "description": "The starting HTML element"
489
- },
490
- {
491
- "name": "fallbackPrefix",
492
- "type": {
493
- "text": "string"
494
- },
495
- "description": "The prefix to fallback to if the provider is not available"
496
- }
497
- ],
498
- "description": "Get the current design system provider element and prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
499
- "privacy": "public"
500
- },
501
- {
502
- "kind": "function",
503
- "name": "getCurrentDesignSystemPrefix",
504
- "return": {
505
- "type": {
506
- "text": ""
507
- }
508
- },
509
- "parameters": [
510
- {
511
- "name": "element",
512
- "type": {
513
- "text": "HTMLElement"
514
- },
515
- "description": "The starting HTML element"
516
- },
517
- {
518
- "name": "fallbackPrefix",
519
- "type": {
520
- "text": "string"
521
- },
522
- "description": "The prefix to fallback to if the provider is not available"
523
- }
524
- ],
525
- "description": "Get the current design system prefix by checking available providers.\nIf no provider is found, falls back to the provided prefix.",
526
- "privacy": "public"
527
- }
528
- ],
529
- "exports": [
530
- {
531
- "kind": "js",
532
- "name": "assureDesignSystem",
533
- "declaration": {
534
- "name": "assureDesignSystem",
535
- "module": "src/design-system/design-system.ts"
536
- }
537
- },
538
- {
539
- "kind": "js",
540
- "name": "getCurrentDesignSystem",
541
- "declaration": {
542
- "name": "getCurrentDesignSystem",
543
- "module": "src/design-system/design-system.ts"
544
- }
545
- },
546
- {
547
- "kind": "js",
548
- "name": "getCurrentDesignSystemPrefix",
549
- "declaration": {
550
- "name": "getCurrentDesignSystemPrefix",
551
- "module": "src/design-system/design-system.ts"
552
- }
553
- }
554
- ]
555
- },
556
- {
557
- "kind": "javascript-module",
558
- "path": "src/design-system/editable-elements.ts",
559
- "declarations": [
560
- {
561
- "kind": "variable",
562
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
563
- "type": {
564
- "text": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]"
565
- },
566
- "default": "[\n ...NATIVE_EDITABLE_ELEMENT_SELECTORS,\n ...CONTENT_EDITABLE_SELECTORS,\n ...ARIA_EDITABLE_ROLE_SELECTORS,\n]",
567
- "description": "Base selectors treated as editable context regardless of design system.\nIncludes native controls, contenteditable, and ARIA-editable roles."
568
- },
569
- {
570
- "kind": "variable",
571
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
572
- "type": {
573
- "text": "Record<\n EditableDesignSystemPrefix,\n readonly string[]\n>"
574
- },
575
- "default": "{\n rapid: buildDesignSystemEditableSelectors('rapid'),\n zero: buildDesignSystemEditableSelectors('zero'),\n}",
576
- "description": "Design-system specific editable host selectors."
577
- },
578
- {
579
- "kind": "function",
580
- "name": "buildEditableElementSelector",
581
- "return": {
582
- "type": {
583
- "text": "string"
584
- }
585
- },
586
- "parameters": [
587
- {
588
- "name": "designSystems",
589
- "type": {
590
- "text": "readonly EditableDesignSystemPrefix[]"
591
- }
592
- },
593
- {
594
- "name": "customEditableSelectors",
595
- "default": "[]",
596
- "type": {
597
- "text": "readonly string[]"
598
- }
599
- }
600
- ]
601
- }
602
- ],
603
- "exports": [
604
- {
605
- "kind": "js",
606
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
607
- "declaration": {
608
- "name": "BASE_EDITABLE_ELEMENT_SELECTORS",
609
- "module": "src/design-system/editable-elements.ts"
610
- }
611
- },
612
- {
613
- "kind": "js",
614
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
615
- "declaration": {
616
- "name": "DESIGN_SYSTEM_EDITABLE_ELEMENT_SELECTORS",
617
- "module": "src/design-system/editable-elements.ts"
618
- }
619
- },
620
- {
621
- "kind": "js",
622
- "name": "buildEditableElementSelector",
623
- "declaration": {
624
- "name": "buildEditableElementSelector",
625
- "module": "src/design-system/editable-elements.ts"
626
- }
627
- }
628
- ]
629
- },
630
- {
631
- "kind": "javascript-module",
632
- "path": "src/design-system/index.ts",
633
- "declarations": [],
634
- "exports": [
635
- {
636
- "kind": "js",
637
- "name": "*",
638
- "declaration": {
639
- "name": "*",
640
- "package": "./design-system"
641
- }
642
- },
643
- {
644
- "kind": "js",
645
- "name": "*",
646
- "declaration": {
647
- "name": "*",
648
- "package": "./editable-elements"
649
- }
650
- }
651
- ]
652
- },
653
- {
654
- "kind": "javascript-module",
655
- "path": "src/encoding/index.ts",
656
- "declarations": [],
657
- "exports": [
701
+ }
702
+ ],
703
+ "exports": [
658
704
  {
659
705
  "kind": "js",
660
- "name": "*",
706
+ "name": "renderOnChange",
661
707
  "declaration": {
662
- "name": "*",
663
- "package": "./base64"
708
+ "name": "renderOnChange",
709
+ "module": "src/decorators/renderOnChange.ts"
664
710
  }
665
711
  }
666
712
  ]
@@ -690,7 +736,7 @@
690
736
  },
691
737
  {
692
738
  "kind": "javascript-module",
693
- "path": "src/decorators/index.ts",
739
+ "path": "src/encoding/index.ts",
694
740
  "declarations": [],
695
741
  "exports": [
696
742
  {
@@ -698,45 +744,7 @@
698
744
  "name": "*",
699
745
  "declaration": {
700
746
  "name": "*",
701
- "package": "./renderOnChange"
702
- }
703
- }
704
- ]
705
- },
706
- {
707
- "kind": "javascript-module",
708
- "path": "src/decorators/renderOnChange.ts",
709
- "declarations": [
710
- {
711
- "kind": "function",
712
- "name": "renderOnChange",
713
- "parameters": [
714
- {
715
- "name": "target",
716
- "type": {
717
- "text": "FASTElement & { render(): void }"
718
- },
719
- "description": "The target to define the property change handler on."
720
- },
721
- {
722
- "name": "name",
723
- "type": {
724
- "text": "string"
725
- },
726
- "description": "The property name."
727
- }
728
- ],
729
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
730
- "privacy": "public"
731
- }
732
- ],
733
- "exports": [
734
- {
735
- "kind": "js",
736
- "name": "renderOnChange",
737
- "declaration": {
738
- "name": "renderOnChange",
739
- "module": "src/decorators/renderOnChange.ts"
747
+ "package": "./base64"
740
748
  }
741
749
  }
742
750
  ]
@@ -1441,49 +1449,173 @@
1441
1449
  },
1442
1450
  {
1443
1451
  "kind": "javascript-module",
1444
- "path": "src/feature-flags/featureFlags.ts",
1452
+ "path": "src/error-monitoring/error-monitoring.ts",
1445
1453
  "declarations": [
1446
1454
  {
1447
1455
  "kind": "function",
1448
- "name": "isFeatureActivated",
1456
+ "name": "createErrorMonitoringReporter",
1449
1457
  "return": {
1450
1458
  "type": {
1451
- "text": "boolean"
1459
+ "text": "ConsolaReporter"
1452
1460
  }
1453
1461
  },
1454
1462
  "parameters": [
1455
1463
  {
1456
- "name": "feature",
1464
+ "name": "client",
1457
1465
  "type": {
1458
- "text": "string"
1466
+ "text": "ErrorMonitoringClient"
1467
+ },
1468
+ "description": "The monitoring client."
1469
+ },
1470
+ {
1471
+ "name": "{ breadcrumbs = true }",
1472
+ "default": "{}",
1473
+ "type": {
1474
+ "text": "Pick<ErrorMonitoringOptions, 'breadcrumbs'>"
1459
1475
  }
1476
+ },
1477
+ {
1478
+ "description": "Set `breadcrumbs: false` to skip breadcrumbs.",
1479
+ "name": "options"
1460
1480
  }
1461
1481
  ],
1462
- "description": "Returns true when `feature.<name>` is present in the current URL query string.",
1482
+ "description": "Creates a global log reporter that sends foundation logger output to a monitoring client.",
1463
1483
  "privacy": "public"
1464
1484
  },
1465
1485
  {
1466
1486
  "kind": "function",
1467
- "name": "getActivatedFeatures",
1487
+ "name": "isFoundationLoggerConsoleBreadcrumb",
1468
1488
  "return": {
1469
1489
  "type": {
1470
- "text": "string[]"
1490
+ "text": "boolean"
1471
1491
  }
1472
1492
  },
1473
- "description": "Returns the names of all feature flags currently present in the URL query string.",
1493
+ "parameters": [
1494
+ {
1495
+ "name": "breadcrumb",
1496
+ "type": {
1497
+ "text": "ErrorMonitoringBreadcrumb"
1498
+ }
1499
+ }
1500
+ ],
1501
+ "description": "True for a console breadcrumb written by a foundation logger.",
1474
1502
  "privacy": "public"
1475
1503
  },
1476
1504
  {
1477
1505
  "kind": "function",
1478
- "name": "setActivatedFeatures",
1506
+ "name": "setupErrorMonitoring",
1479
1507
  "return": {
1480
1508
  "type": {
1481
- "text": "void"
1509
+ "text": ""
1482
1510
  }
1483
1511
  },
1484
1512
  "parameters": [
1485
1513
  {
1486
- "name": "features",
1514
+ "name": "client",
1515
+ "type": {
1516
+ "text": "ErrorMonitoringClient"
1517
+ },
1518
+ "description": "The monitoring SDK (for example the Sentry namespace) or an adapter for one."
1519
+ },
1520
+ {
1521
+ "name": "options",
1522
+ "type": {
1523
+ "text": "ErrorMonitoringOptions"
1524
+ },
1525
+ "description": "The DSN, the environment, and extra init options."
1526
+ }
1527
+ ],
1528
+ "description": "Sets up error monitoring for a Genesis app in one call.",
1529
+ "privacy": "public"
1530
+ }
1531
+ ],
1532
+ "exports": [
1533
+ {
1534
+ "kind": "js",
1535
+ "name": "createErrorMonitoringReporter",
1536
+ "declaration": {
1537
+ "name": "createErrorMonitoringReporter",
1538
+ "module": "src/error-monitoring/error-monitoring.ts"
1539
+ }
1540
+ },
1541
+ {
1542
+ "kind": "js",
1543
+ "name": "isFoundationLoggerConsoleBreadcrumb",
1544
+ "declaration": {
1545
+ "name": "isFoundationLoggerConsoleBreadcrumb",
1546
+ "module": "src/error-monitoring/error-monitoring.ts"
1547
+ }
1548
+ },
1549
+ {
1550
+ "kind": "js",
1551
+ "name": "setupErrorMonitoring",
1552
+ "declaration": {
1553
+ "name": "setupErrorMonitoring",
1554
+ "module": "src/error-monitoring/error-monitoring.ts"
1555
+ }
1556
+ }
1557
+ ]
1558
+ },
1559
+ {
1560
+ "kind": "javascript-module",
1561
+ "path": "src/error-monitoring/index.ts",
1562
+ "declarations": [],
1563
+ "exports": [
1564
+ {
1565
+ "kind": "js",
1566
+ "name": "*",
1567
+ "declaration": {
1568
+ "name": "*",
1569
+ "package": "./error-monitoring"
1570
+ }
1571
+ }
1572
+ ]
1573
+ },
1574
+ {
1575
+ "kind": "javascript-module",
1576
+ "path": "src/feature-flags/featureFlags.ts",
1577
+ "declarations": [
1578
+ {
1579
+ "kind": "function",
1580
+ "name": "isFeatureActivated",
1581
+ "return": {
1582
+ "type": {
1583
+ "text": "boolean"
1584
+ }
1585
+ },
1586
+ "parameters": [
1587
+ {
1588
+ "name": "feature",
1589
+ "type": {
1590
+ "text": "string"
1591
+ }
1592
+ }
1593
+ ],
1594
+ "description": "Returns true when `feature.<name>` is present in the current URL query string.",
1595
+ "privacy": "public"
1596
+ },
1597
+ {
1598
+ "kind": "function",
1599
+ "name": "getActivatedFeatures",
1600
+ "return": {
1601
+ "type": {
1602
+ "text": "string[]"
1603
+ }
1604
+ },
1605
+ "description": "Returns the names of all feature flags currently present in the URL query string.",
1606
+ "privacy": "public"
1607
+ },
1608
+ {
1609
+ "kind": "function",
1610
+ "name": "setActivatedFeatures",
1611
+ "return": {
1612
+ "type": {
1613
+ "text": "void"
1614
+ }
1615
+ },
1616
+ "parameters": [
1617
+ {
1618
+ "name": "features",
1487
1619
  "type": {
1488
1620
  "text": "string[]"
1489
1621
  }
@@ -4902,160 +5034,6 @@
4902
5034
  }
4903
5035
  ]
4904
5036
  },
4905
- {
4906
- "kind": "javascript-module",
4907
- "path": "src/encoding/base64/decode.ts",
4908
- "declarations": [
4909
- {
4910
- "kind": "function",
4911
- "name": "decodeFromBase64",
4912
- "return": {
4913
- "type": {
4914
- "text": ""
4915
- }
4916
- },
4917
- "parameters": [
4918
- {
4919
- "name": "base64Value",
4920
- "type": {
4921
- "text": "string"
4922
- }
4923
- },
4924
- {
4925
- "description": "The value to decode from base64.",
4926
- "name": "value"
4927
- }
4928
- ],
4929
- "description": "Decodes a value from base64.",
4930
- "privacy": "public"
4931
- },
4932
- {
4933
- "kind": "function",
4934
- "name": "decodeFromBase64WithPrefix",
4935
- "return": {
4936
- "type": {
4937
- "text": ""
4938
- }
4939
- },
4940
- "parameters": [
4941
- {
4942
- "name": "value",
4943
- "type": {
4944
- "text": "string"
4945
- },
4946
- "description": "The value to decode from base64."
4947
- }
4948
- ],
4949
- "description": "Decodes a value from base64 with a prefix.",
4950
- "privacy": "public"
4951
- }
4952
- ],
4953
- "exports": [
4954
- {
4955
- "kind": "js",
4956
- "name": "decodeFromBase64",
4957
- "declaration": {
4958
- "name": "decodeFromBase64",
4959
- "module": "src/encoding/base64/decode.ts"
4960
- }
4961
- },
4962
- {
4963
- "kind": "js",
4964
- "name": "decodeFromBase64WithPrefix",
4965
- "declaration": {
4966
- "name": "decodeFromBase64WithPrefix",
4967
- "module": "src/encoding/base64/decode.ts"
4968
- }
4969
- }
4970
- ]
4971
- },
4972
- {
4973
- "kind": "javascript-module",
4974
- "path": "src/encoding/base64/encode.ts",
4975
- "declarations": [
4976
- {
4977
- "kind": "function",
4978
- "name": "encodeToBase64",
4979
- "return": {
4980
- "type": {
4981
- "text": ""
4982
- }
4983
- },
4984
- "parameters": [
4985
- {
4986
- "name": "value",
4987
- "type": {
4988
- "text": "string | ArrayBuffer"
4989
- },
4990
- "description": "The value to encode to base64."
4991
- }
4992
- ],
4993
- "description": "Encodes the given value to base64.",
4994
- "privacy": "public"
4995
- },
4996
- {
4997
- "kind": "function",
4998
- "name": "encodeToBase64WithPrefix",
4999
- "return": {
5000
- "type": {
5001
- "text": ""
5002
- }
5003
- },
5004
- "parameters": [
5005
- {
5006
- "name": "value",
5007
- "type": {
5008
- "text": "string | ArrayBuffer"
5009
- },
5010
- "description": "The value to encode to base64."
5011
- }
5012
- ],
5013
- "description": "Encodes the given value with a prefix to base64.",
5014
- "privacy": "public"
5015
- }
5016
- ],
5017
- "exports": [
5018
- {
5019
- "kind": "js",
5020
- "name": "encodeToBase64",
5021
- "declaration": {
5022
- "name": "encodeToBase64",
5023
- "module": "src/encoding/base64/encode.ts"
5024
- }
5025
- },
5026
- {
5027
- "kind": "js",
5028
- "name": "encodeToBase64WithPrefix",
5029
- "declaration": {
5030
- "name": "encodeToBase64WithPrefix",
5031
- "module": "src/encoding/base64/encode.ts"
5032
- }
5033
- }
5034
- ]
5035
- },
5036
- {
5037
- "kind": "javascript-module",
5038
- "path": "src/encoding/base64/index.ts",
5039
- "declarations": [],
5040
- "exports": [
5041
- {
5042
- "kind": "js",
5043
- "name": "*",
5044
- "declaration": {
5045
- "name": "*",
5046
- "package": "./decode"
5047
- }
5048
- },
5049
- {
5050
- "kind": "js",
5051
- "name": "*",
5052
- "declaration": {
5053
- "name": "*",
5054
- "package": "./encode"
5055
- }
5056
- }
5057
- ]
5058
- },
5059
5037
  {
5060
5038
  "kind": "javascript-module",
5061
5039
  "path": "src/directives/sync/index.ts",
@@ -5210,6 +5188,160 @@
5210
5188
  }
5211
5189
  ]
5212
5190
  },
5191
+ {
5192
+ "kind": "javascript-module",
5193
+ "path": "src/encoding/base64/decode.ts",
5194
+ "declarations": [
5195
+ {
5196
+ "kind": "function",
5197
+ "name": "decodeFromBase64",
5198
+ "return": {
5199
+ "type": {
5200
+ "text": ""
5201
+ }
5202
+ },
5203
+ "parameters": [
5204
+ {
5205
+ "name": "base64Value",
5206
+ "type": {
5207
+ "text": "string"
5208
+ }
5209
+ },
5210
+ {
5211
+ "description": "The value to decode from base64.",
5212
+ "name": "value"
5213
+ }
5214
+ ],
5215
+ "description": "Decodes a value from base64.",
5216
+ "privacy": "public"
5217
+ },
5218
+ {
5219
+ "kind": "function",
5220
+ "name": "decodeFromBase64WithPrefix",
5221
+ "return": {
5222
+ "type": {
5223
+ "text": ""
5224
+ }
5225
+ },
5226
+ "parameters": [
5227
+ {
5228
+ "name": "value",
5229
+ "type": {
5230
+ "text": "string"
5231
+ },
5232
+ "description": "The value to decode from base64."
5233
+ }
5234
+ ],
5235
+ "description": "Decodes a value from base64 with a prefix.",
5236
+ "privacy": "public"
5237
+ }
5238
+ ],
5239
+ "exports": [
5240
+ {
5241
+ "kind": "js",
5242
+ "name": "decodeFromBase64",
5243
+ "declaration": {
5244
+ "name": "decodeFromBase64",
5245
+ "module": "src/encoding/base64/decode.ts"
5246
+ }
5247
+ },
5248
+ {
5249
+ "kind": "js",
5250
+ "name": "decodeFromBase64WithPrefix",
5251
+ "declaration": {
5252
+ "name": "decodeFromBase64WithPrefix",
5253
+ "module": "src/encoding/base64/decode.ts"
5254
+ }
5255
+ }
5256
+ ]
5257
+ },
5258
+ {
5259
+ "kind": "javascript-module",
5260
+ "path": "src/encoding/base64/encode.ts",
5261
+ "declarations": [
5262
+ {
5263
+ "kind": "function",
5264
+ "name": "encodeToBase64",
5265
+ "return": {
5266
+ "type": {
5267
+ "text": ""
5268
+ }
5269
+ },
5270
+ "parameters": [
5271
+ {
5272
+ "name": "value",
5273
+ "type": {
5274
+ "text": "string | ArrayBuffer"
5275
+ },
5276
+ "description": "The value to encode to base64."
5277
+ }
5278
+ ],
5279
+ "description": "Encodes the given value to base64.",
5280
+ "privacy": "public"
5281
+ },
5282
+ {
5283
+ "kind": "function",
5284
+ "name": "encodeToBase64WithPrefix",
5285
+ "return": {
5286
+ "type": {
5287
+ "text": ""
5288
+ }
5289
+ },
5290
+ "parameters": [
5291
+ {
5292
+ "name": "value",
5293
+ "type": {
5294
+ "text": "string | ArrayBuffer"
5295
+ },
5296
+ "description": "The value to encode to base64."
5297
+ }
5298
+ ],
5299
+ "description": "Encodes the given value with a prefix to base64.",
5300
+ "privacy": "public"
5301
+ }
5302
+ ],
5303
+ "exports": [
5304
+ {
5305
+ "kind": "js",
5306
+ "name": "encodeToBase64",
5307
+ "declaration": {
5308
+ "name": "encodeToBase64",
5309
+ "module": "src/encoding/base64/encode.ts"
5310
+ }
5311
+ },
5312
+ {
5313
+ "kind": "js",
5314
+ "name": "encodeToBase64WithPrefix",
5315
+ "declaration": {
5316
+ "name": "encodeToBase64WithPrefix",
5317
+ "module": "src/encoding/base64/encode.ts"
5318
+ }
5319
+ }
5320
+ ]
5321
+ },
5322
+ {
5323
+ "kind": "javascript-module",
5324
+ "path": "src/encoding/base64/index.ts",
5325
+ "declarations": [],
5326
+ "exports": [
5327
+ {
5328
+ "kind": "js",
5329
+ "name": "*",
5330
+ "declaration": {
5331
+ "name": "*",
5332
+ "package": "./decode"
5333
+ }
5334
+ },
5335
+ {
5336
+ "kind": "js",
5337
+ "name": "*",
5338
+ "declaration": {
5339
+ "name": "*",
5340
+ "package": "./encode"
5341
+ }
5342
+ }
5343
+ ]
5344
+ },
5213
5345
  {
5214
5346
  "kind": "javascript-module",
5215
5347
  "path": "src/mappers/dto/index.ts",