@engagently/types 4.6.1 → 4.7.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.
Files changed (2) hide show
  1. package/dist/i18n/i18n.d.ts +677 -17
  2. package/package.json +1 -1
@@ -1,8 +1,9 @@
1
- import type { InitOptions } from 'i18next';
1
+ import type { InitOptions, TFuncKey } from 'i18next';
2
2
  import i18n from 'i18next';
3
+ export type TranslationKeys = TFuncKey<[keyof (typeof resources)['en']]>;
3
4
  export declare const defaultResources: {
4
5
  de: {
5
- common: {
6
+ readonly common: {
6
7
  account: {
7
8
  account: string;
8
9
  bookmarks: string;
@@ -17,6 +18,7 @@ export declare const defaultResources: {
17
18
  cancel: string;
18
19
  close: string;
19
20
  continue: string;
21
+ confirm: string;
20
22
  "open-discussion": string;
21
23
  "go-to-discussion": string;
22
24
  na: string;
@@ -61,8 +63,9 @@ export declare const defaultResources: {
61
63
  };
62
64
  vote: string;
63
65
  vote_other: string;
66
+ "are-you-sure": string;
64
67
  };
65
- discussions: {
68
+ readonly discussions: {
66
69
  alerts: {
67
70
  "featured-comments-only": {
68
71
  message: string;
@@ -173,6 +176,8 @@ export declare const defaultResources: {
173
176
  "no-comments-yet": string;
174
177
  "no-recent-comments": string;
175
178
  "onboarding-username-change": string;
179
+ "username-change-blocked": string;
180
+ "username-change-confirm": string;
176
181
  placeholders: {
177
182
  "new-commentary": string;
178
183
  "new-reply": string;
@@ -218,7 +223,7 @@ export declare const defaultResources: {
218
223
  };
219
224
  };
220
225
  };
221
- emojis: {
226
+ readonly emojis: {
222
227
  categories: {
223
228
  people: string;
224
229
  nature: string;
@@ -233,13 +238,659 @@ export declare const defaultResources: {
233
238
  "recently-used": string;
234
239
  search: string;
235
240
  };
236
- errors: {
241
+ readonly errors: {
237
242
  inline: {
238
243
  "write-comment": string;
239
244
  };
240
245
  "report-commentary": string;
246
+ api: {
247
+ EGY_USERNAME_NOT_EDITABLE: string;
248
+ EGY_USERNAME_LOCKED: string;
249
+ EGY_USERNAME_INVALID: string;
250
+ };
251
+ };
252
+ readonly features: {
253
+ COMMENT: {
254
+ "call-to-action": string;
255
+ };
256
+ COMMENTARY_READ: {
257
+ "call-to-action": string;
258
+ };
259
+ INSTANT_CONTEXT: {
260
+ "call-to-action": string;
261
+ };
262
+ MY_PROFILE: {
263
+ "call-to-action": string;
264
+ };
265
+ ONBOARD_NAMEHINT: {
266
+ "call-to-action": string;
267
+ };
268
+ PROFILE: {
269
+ "call-to-action": string;
270
+ };
271
+ REACTION: {
272
+ "call-to-action": string;
273
+ };
274
+ REPLY: {
275
+ "call-to-action": string;
276
+ };
277
+ REPORT: {
278
+ "call-to-action": string;
279
+ };
280
+ SHARE: {
281
+ "call-to-action": string;
282
+ };
283
+ IGNORE: {
284
+ "call-to-action": string;
285
+ };
286
+ };
287
+ readonly interpolation: {
288
+ comment: string;
289
+ "comment-do": string;
290
+ comments: string;
291
+ conversation: string;
292
+ conversations: string;
293
+ discussion: string;
294
+ discussions: string;
295
+ list: string;
296
+ lists: string;
297
+ message: string;
298
+ messages: string;
299
+ poll: string;
300
+ polls: string;
301
+ replies: string;
302
+ reply: string;
303
+ "reply-do": string;
304
+ thread: string;
305
+ threads: string;
306
+ vote: string;
307
+ votes: string;
308
+ };
309
+ readonly messages: {
310
+ "discussion-closed": string;
311
+ "discussion-global-closed": string;
312
+ "discussion-live-closed": string;
313
+ "discussion-preamble": string;
314
+ "log-in-to-comment": string;
315
+ "user-sanction-block-until": string;
316
+ "user-sanction-block": string;
317
+ "user-sanction-warn": string;
318
+ "username-change": string;
319
+ };
320
+ readonly poll: {
321
+ "thank-you-for-vote": string;
322
+ "call-to-action": string;
323
+ };
324
+ };
325
+ en: {
326
+ readonly common: {
327
+ account: {
328
+ account: string;
329
+ bookmarks: string;
330
+ "last-active": string;
331
+ "member-since": string;
332
+ profile: string;
333
+ "profile-not-public": string;
334
+ "recent-activity": string;
335
+ settings: string;
336
+ };
337
+ actions: {
338
+ cancel: string;
339
+ close: string;
340
+ continue: string;
341
+ confirm: string;
342
+ "open-discussion": string;
343
+ "go-to-discussion": string;
344
+ na: string;
345
+ save: string;
346
+ edit: string;
347
+ send: string;
348
+ "show-all-comments": string;
349
+ view: string;
350
+ };
351
+ and: string;
352
+ comment: string;
353
+ "comment-in-thread": string;
354
+ comment_other: string;
355
+ commentary: string;
356
+ commentary_other: string;
357
+ confirm: string;
358
+ "copy-to-clipboard": string;
359
+ "date-and-time": string;
360
+ edited: string;
361
+ "featured-comment": string;
362
+ live: string;
363
+ "load-more": string;
364
+ "load-more-comments": string;
365
+ "load-newer-comments": string;
366
+ "load-older-comments": string;
367
+ "load-newer-replies": string;
368
+ "load-older-replies": string;
369
+ logout: string;
370
+ "logout-hint": string;
371
+ options: string;
372
+ reply: string;
373
+ reply_other: string;
374
+ "reply-count": string;
375
+ "reply-count_other": string;
376
+ session: string;
377
+ share: string;
378
+ "shared-comment": string;
379
+ user: {
380
+ bio: string;
381
+ name: string;
382
+ "private-profile": string;
383
+ };
384
+ vote: string;
385
+ vote_other: string;
386
+ "are-you-sure": string;
387
+ };
388
+ readonly discussions: {
389
+ alerts: {
390
+ "featured-comments-only": {
391
+ message: string;
392
+ title_one: string;
393
+ title_other: string;
394
+ };
395
+ "bookmark-limit": {
396
+ message: string;
397
+ };
398
+ "ignore-user-limit": {
399
+ message: string;
400
+ };
401
+ "no-bookmarks": {
402
+ message: string;
403
+ title: string;
404
+ };
405
+ "no-ignored-users": {
406
+ message: string;
407
+ title: string;
408
+ };
409
+ "no-comments": {
410
+ message: string;
411
+ title: string;
412
+ };
413
+ };
414
+ "comment-as": string;
415
+ "commentary-actions": {
416
+ bookmark: {
417
+ inactive: string;
418
+ active: string;
419
+ deletable: string;
420
+ };
421
+ ignore: string;
422
+ unignore: string;
423
+ "ignore-hint": string;
424
+ edit: string;
425
+ delete: string;
426
+ moderate: string;
427
+ reply: string;
428
+ report: {
429
+ action: string;
430
+ title: string;
431
+ "justification-description": string;
432
+ reasons: {
433
+ OTHER: string;
434
+ SPAM: string;
435
+ TOXIC: string;
436
+ BULLY: string;
437
+ HATE: string;
438
+ VIOLENCE: string;
439
+ SEXUAL: string;
440
+ PRIVACY: string;
441
+ FAKE: string;
442
+ TERMS: string;
443
+ LEGAL: string;
444
+ };
445
+ submitted: string;
446
+ };
447
+ reaction: {
448
+ REACTION1: string;
449
+ REACTION1_zero: string;
450
+ REACTION2: string;
451
+ REACTION2_zero: string;
452
+ REACTION3: string;
453
+ REACTION3_zero: string;
454
+ };
455
+ share: string;
456
+ };
457
+ "commentary-not-available": string;
458
+ feedback: string;
459
+ filters: {
460
+ CREATED_AT_ASC: {
461
+ description: string;
462
+ header: string;
463
+ title: string;
464
+ };
465
+ CREATED_AT_DESC: {
466
+ description: string;
467
+ header: string;
468
+ title: string;
469
+ };
470
+ POPULARITY_DESC: {
471
+ description: string;
472
+ header: string;
473
+ title: string;
474
+ };
475
+ LIST: {
476
+ description: string;
477
+ title: string;
478
+ };
479
+ THREAD: {
480
+ description: string;
481
+ title: string;
482
+ };
483
+ sort: string;
484
+ };
485
+ labels: {
486
+ "sort-comments": string;
487
+ "view-structure": string;
488
+ "author-badge": string;
489
+ "comment-list": string;
490
+ "discussion-link": string;
491
+ "commentary-actions": string;
492
+ };
493
+ "new-commentary": string;
494
+ "new-commentary_other": string;
495
+ "no-more-comments": string;
496
+ "no-comments-yet": string;
497
+ "no-recent-comments": string;
498
+ "onboarding-username-change": string;
499
+ "username-change-blocked": string;
500
+ "username-change-confirm": string;
501
+ placeholders: {
502
+ "new-commentary": string;
503
+ "new-reply": string;
504
+ };
505
+ "reply-as": string;
506
+ "reply-to": string;
507
+ "show-less": string;
508
+ "show-more": string;
509
+ "text-editor": {
510
+ bold: string;
511
+ emojis: string;
512
+ italic: string;
513
+ underline: string;
514
+ };
515
+ "view-mode": string;
516
+ "view-modes": {
517
+ "all-comments": string;
518
+ featured: string;
519
+ focus: string;
520
+ list: string;
521
+ live: string;
522
+ };
523
+ views: {
524
+ user: {
525
+ "back-to-discussion": string;
526
+ data: {
527
+ nav: string;
528
+ title: string;
529
+ tabs: {
530
+ comments: string;
531
+ bookmarks: string;
532
+ "ignored-users": string;
533
+ };
534
+ };
535
+ settings: {
536
+ nav: string;
537
+ title: string;
538
+ tabs: {
539
+ account: string;
540
+ };
541
+ };
542
+ };
543
+ };
544
+ };
545
+ readonly emojis: {
546
+ categories: {
547
+ people: string;
548
+ nature: string;
549
+ foods: string;
550
+ activity: string;
551
+ places: string;
552
+ objects: string;
553
+ symbols: string;
554
+ flags: string;
555
+ };
556
+ choose: string;
557
+ "recently-used": string;
558
+ search: string;
559
+ };
560
+ readonly errors: {
561
+ inline: {
562
+ "write-comment": string;
563
+ };
564
+ "report-commentary": string;
565
+ api: {
566
+ EGY_USERNAME_NOT_EDITABLE: string;
567
+ EGY_USERNAME_LOCKED: string;
568
+ EGY_USERNAME_INVALID: string;
569
+ };
570
+ };
571
+ readonly features: {
572
+ COMMENT: {
573
+ "call-to-action": string;
574
+ };
575
+ COMMENTARY_READ: {
576
+ "call-to-action": string;
577
+ };
578
+ INSTANT_CONTEXT: {
579
+ "call-to-action": string;
580
+ };
581
+ MY_PROFILE: {
582
+ "call-to-action": string;
583
+ };
584
+ ONBOARD_NAMEHINT: {
585
+ "call-to-action": string;
586
+ };
587
+ PROFILE: {
588
+ "call-to-action": string;
589
+ };
590
+ REACTION: {
591
+ "call-to-action": string;
592
+ };
593
+ REPLY: {
594
+ "call-to-action": string;
595
+ };
596
+ REPORT: {
597
+ "call-to-action": string;
598
+ };
599
+ SHARE: {
600
+ "call-to-action": string;
601
+ };
602
+ IGNORE: {
603
+ "call-to-action": string;
604
+ };
605
+ };
606
+ readonly interpolation: {
607
+ comment: string;
608
+ "comment-do": string;
609
+ comments: string;
610
+ conversation: string;
611
+ conversations: string;
612
+ discussion: string;
613
+ discussions: string;
614
+ list: string;
615
+ lists: string;
616
+ message: string;
617
+ messages: string;
618
+ poll: string;
619
+ polls: string;
620
+ replies: string;
621
+ reply: string;
622
+ "reply-do": string;
623
+ thread: string;
624
+ threads: string;
625
+ vote: string;
626
+ votes: string;
627
+ };
628
+ readonly messages: {
629
+ "discussion-closed": string;
630
+ "discussion-global-closed": string;
631
+ "discussion-live-closed": string;
632
+ "discussion-preamble": string;
633
+ "log-in-to-comment": string;
634
+ "user-sanction-block-until": string;
635
+ "user-sanction-block": string;
636
+ "user-sanction-warn": string;
637
+ "username-change": string;
638
+ };
639
+ readonly poll: {
640
+ "thank-you-for-vote": string;
641
+ "call-to-action": string;
642
+ };
643
+ };
644
+ };
645
+ declare const resources: {
646
+ de: {
647
+ readonly common: {
648
+ account: {
649
+ account: string;
650
+ bookmarks: string;
651
+ "last-active": string;
652
+ "member-since": string;
653
+ profile: string;
654
+ "profile-not-public": string;
655
+ "recent-activity": string;
656
+ settings: string;
657
+ };
658
+ actions: {
659
+ cancel: string;
660
+ close: string;
661
+ continue: string;
662
+ confirm: string;
663
+ "open-discussion": string;
664
+ "go-to-discussion": string;
665
+ na: string;
666
+ save: string;
667
+ edit: string;
668
+ send: string;
669
+ "show-all-comments": string;
670
+ view: string;
671
+ };
672
+ and: string;
673
+ comment: string;
674
+ "comment-in-thread": string;
675
+ comment_other: string;
676
+ commentary: string;
677
+ commentary_other: string;
678
+ confirm: string;
679
+ "copy-to-clipboard": string;
680
+ "date-and-time": string;
681
+ edited: string;
682
+ "featured-comment": string;
683
+ live: string;
684
+ "load-more": string;
685
+ "load-more-comments": string;
686
+ "load-newer-comments": string;
687
+ "load-older-comments": string;
688
+ "load-newer-replies": string;
689
+ "load-older-replies": string;
690
+ logout: string;
691
+ "logout-hint": string;
692
+ options: string;
693
+ reply: string;
694
+ reply_other: string;
695
+ "reply-count": string;
696
+ "reply-count_other": string;
697
+ session: string;
698
+ share: string;
699
+ "shared-comment": string;
700
+ user: {
701
+ bio: string;
702
+ name: string;
703
+ "private-profile": string;
704
+ };
705
+ vote: string;
706
+ vote_other: string;
707
+ "are-you-sure": string;
708
+ };
709
+ readonly discussions: {
710
+ alerts: {
711
+ "featured-comments-only": {
712
+ message: string;
713
+ title_one: string;
714
+ title_other: string;
715
+ };
716
+ "bookmark-limit": {
717
+ message: string;
718
+ };
719
+ "ignore-user-limit": {
720
+ message: string;
721
+ };
722
+ "no-bookmarks": {
723
+ message: string;
724
+ title: string;
725
+ };
726
+ "no-ignored-users": {
727
+ message: string;
728
+ title: string;
729
+ };
730
+ "no-comments": {
731
+ message: string;
732
+ title: string;
733
+ };
734
+ };
735
+ "comment-as": string;
736
+ "commentary-actions": {
737
+ bookmark: {
738
+ inactive: string;
739
+ active: string;
740
+ deletable: string;
741
+ };
742
+ ignore: string;
743
+ unignore: string;
744
+ "ignore-hint": string;
745
+ edit: string;
746
+ delete: string;
747
+ moderate: string;
748
+ reply: string;
749
+ report: {
750
+ action: string;
751
+ title: string;
752
+ "justification-description": string;
753
+ reasons: {
754
+ OTHER: string;
755
+ SPAM: string;
756
+ TOXIC: string;
757
+ BULLY: string;
758
+ HATE: string;
759
+ VIOLENCE: string;
760
+ SEXUAL: string;
761
+ PRIVACY: string;
762
+ FAKE: string;
763
+ TERMS: string;
764
+ LEGAL: string;
765
+ };
766
+ submitted: string;
767
+ };
768
+ reaction: {
769
+ REACTION1: string;
770
+ REACTION1_zero: string;
771
+ REACTION2: string;
772
+ REACTION2_zero: string;
773
+ REACTION3: string;
774
+ REACTION3_zero: string;
775
+ };
776
+ share: string;
777
+ };
778
+ "commentary-not-available": string;
779
+ feedback: string;
780
+ filters: {
781
+ CREATED_AT_ASC: {
782
+ description: string;
783
+ header: string;
784
+ title: string;
785
+ };
786
+ CREATED_AT_DESC: {
787
+ description: string;
788
+ header: string;
789
+ title: string;
790
+ };
791
+ POPULARITY_DESC: {
792
+ description: string;
793
+ header: string;
794
+ title: string;
795
+ };
796
+ LIST: {
797
+ description: string;
798
+ title: string;
799
+ };
800
+ THREAD: {
801
+ description: string;
802
+ title: string;
803
+ };
804
+ sort: string;
805
+ };
806
+ labels: {
807
+ "sort-comments": string;
808
+ "view-structure": string;
809
+ "author-badge": string;
810
+ "comment-list": string;
811
+ "discussion-link": string;
812
+ "commentary-actions": string;
813
+ };
814
+ "new-commentary": string;
815
+ "new-commentary_other": string;
816
+ "no-more-comments": string;
817
+ "no-comments-yet": string;
818
+ "no-recent-comments": string;
819
+ "onboarding-username-change": string;
820
+ "username-change-blocked": string;
821
+ "username-change-confirm": string;
822
+ placeholders: {
823
+ "new-commentary": string;
824
+ "new-reply": string;
825
+ };
826
+ "reply-as": string;
827
+ "reply-to": string;
828
+ "show-less": string;
829
+ "show-more": string;
830
+ "text-editor": {
831
+ bold: string;
832
+ emojis: string;
833
+ italic: string;
834
+ underline: string;
835
+ };
836
+ "view-mode": string;
837
+ "view-modes": {
838
+ "all-comments": string;
839
+ featured: string;
840
+ focus: string;
841
+ list: string;
842
+ live: string;
843
+ thread: string;
844
+ };
845
+ views: {
846
+ user: {
847
+ "back-to-discussion": string;
848
+ data: {
849
+ nav: string;
850
+ title: string;
851
+ tabs: {
852
+ comments: string;
853
+ bookmarks: string;
854
+ "ignored-users": string;
855
+ };
856
+ };
857
+ settings: {
858
+ nav: string;
859
+ title: string;
860
+ tabs: {
861
+ account: string;
862
+ };
863
+ };
864
+ };
865
+ };
866
+ };
867
+ readonly emojis: {
868
+ categories: {
869
+ people: string;
870
+ nature: string;
871
+ foods: string;
872
+ activity: string;
873
+ places: string;
874
+ objects: string;
875
+ symbols: string;
876
+ flags: string;
877
+ };
878
+ choose: string;
879
+ "recently-used": string;
880
+ search: string;
881
+ };
882
+ readonly errors: {
883
+ inline: {
884
+ "write-comment": string;
885
+ };
886
+ "report-commentary": string;
887
+ api: {
888
+ EGY_USERNAME_NOT_EDITABLE: string;
889
+ EGY_USERNAME_LOCKED: string;
890
+ EGY_USERNAME_INVALID: string;
891
+ };
241
892
  };
242
- features: {
893
+ readonly features: {
243
894
  COMMENT: {
244
895
  "call-to-action": string;
245
896
  };
@@ -274,7 +925,7 @@ export declare const defaultResources: {
274
925
  "call-to-action": string;
275
926
  };
276
927
  };
277
- interpolation: {
928
+ readonly interpolation: {
278
929
  comment: string;
279
930
  "comment-do": string;
280
931
  comments: string;
@@ -296,7 +947,7 @@ export declare const defaultResources: {
296
947
  vote: string;
297
948
  votes: string;
298
949
  };
299
- messages: {
950
+ readonly messages: {
300
951
  "discussion-closed": string;
301
952
  "discussion-global-closed": string;
302
953
  "discussion-live-closed": string;
@@ -307,13 +958,13 @@ export declare const defaultResources: {
307
958
  "user-sanction-warn": string;
308
959
  "username-change": string;
309
960
  };
310
- poll: {
961
+ readonly poll: {
311
962
  "thank-you-for-vote": string;
312
963
  "call-to-action": string;
313
964
  };
314
965
  };
315
966
  en: {
316
- common: {
967
+ readonly common: {
317
968
  account: {
318
969
  account: string;
319
970
  bookmarks: string;
@@ -328,6 +979,7 @@ export declare const defaultResources: {
328
979
  cancel: string;
329
980
  close: string;
330
981
  continue: string;
982
+ confirm: string;
331
983
  "open-discussion": string;
332
984
  "go-to-discussion": string;
333
985
  na: string;
@@ -372,8 +1024,9 @@ export declare const defaultResources: {
372
1024
  };
373
1025
  vote: string;
374
1026
  vote_other: string;
1027
+ "are-you-sure": string;
375
1028
  };
376
- discussions: {
1029
+ readonly discussions: {
377
1030
  alerts: {
378
1031
  "featured-comments-only": {
379
1032
  message: string;
@@ -484,6 +1137,8 @@ export declare const defaultResources: {
484
1137
  "no-comments-yet": string;
485
1138
  "no-recent-comments": string;
486
1139
  "onboarding-username-change": string;
1140
+ "username-change-blocked": string;
1141
+ "username-change-confirm": string;
487
1142
  placeholders: {
488
1143
  "new-commentary": string;
489
1144
  "new-reply": string;
@@ -528,7 +1183,7 @@ export declare const defaultResources: {
528
1183
  };
529
1184
  };
530
1185
  };
531
- emojis: {
1186
+ readonly emojis: {
532
1187
  categories: {
533
1188
  people: string;
534
1189
  nature: string;
@@ -543,13 +1198,18 @@ export declare const defaultResources: {
543
1198
  "recently-used": string;
544
1199
  search: string;
545
1200
  };
546
- errors: {
1201
+ readonly errors: {
547
1202
  inline: {
548
1203
  "write-comment": string;
549
1204
  };
550
1205
  "report-commentary": string;
1206
+ api: {
1207
+ EGY_USERNAME_NOT_EDITABLE: string;
1208
+ EGY_USERNAME_LOCKED: string;
1209
+ EGY_USERNAME_INVALID: string;
1210
+ };
551
1211
  };
552
- features: {
1212
+ readonly features: {
553
1213
  COMMENT: {
554
1214
  "call-to-action": string;
555
1215
  };
@@ -584,7 +1244,7 @@ export declare const defaultResources: {
584
1244
  "call-to-action": string;
585
1245
  };
586
1246
  };
587
- interpolation: {
1247
+ readonly interpolation: {
588
1248
  comment: string;
589
1249
  "comment-do": string;
590
1250
  comments: string;
@@ -606,7 +1266,7 @@ export declare const defaultResources: {
606
1266
  vote: string;
607
1267
  votes: string;
608
1268
  };
609
- messages: {
1269
+ readonly messages: {
610
1270
  "discussion-closed": string;
611
1271
  "discussion-global-closed": string;
612
1272
  "discussion-live-closed": string;
@@ -617,7 +1277,7 @@ export declare const defaultResources: {
617
1277
  "user-sanction-warn": string;
618
1278
  "username-change": string;
619
1279
  };
620
- poll: {
1280
+ readonly poll: {
621
1281
  "thank-you-for-vote": string;
622
1282
  "call-to-action": string;
623
1283
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engagently/types",
3
- "version": "4.6.1",
3
+ "version": "4.7.0",
4
4
  "main": "./index.ts",
5
5
  "types": "dist/types/engagently.d.ts",
6
6
  "files": [