@kong-ui-public/entities-upstreams-targets 3.5.16 → 3.5.17

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,1462 +1,9 @@
1
- export default function useI18n(): {
2
- i18n: import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
3
- upstreams: {
4
- list: {
5
- table_headers: {
6
- id: string;
7
- name: string;
8
- slots: string;
9
- tags: string;
10
- };
11
- empty_state: {
12
- title: string;
13
- description: string;
14
- };
15
- toolbar_actions: {
16
- new_upstream: string;
17
- };
18
- };
19
- title: string;
20
- search: {
21
- placeholder: string;
22
- };
23
- actions: {
24
- create: string;
25
- copy_id: string;
26
- copy_json: string;
27
- edit: string;
28
- delete: string;
29
- view: string;
30
- };
31
- delete: {
32
- title: string;
33
- description: string;
34
- };
35
- errors: {
36
- general: string;
37
- delete: string;
38
- copy: string;
39
- };
40
- copy: {
41
- success: string;
42
- success_brief: string;
43
- };
44
- form: {
45
- errors: {
46
- name_required: string;
47
- should_be_integer: string;
48
- in_range: string;
49
- };
50
- general_info: {
51
- title: string;
52
- help: string;
53
- };
54
- load_balancing: {
55
- title: string;
56
- help: string;
57
- };
58
- health_check: {
59
- title: string;
60
- help: string;
61
- };
62
- active_health_check: {
63
- title: string;
64
- help: string;
65
- };
66
- passive_health_check: {
67
- title: string;
68
- help: string;
69
- };
70
- buttons: {
71
- view_documentation: string;
72
- };
73
- algorithms: {
74
- round_robin_label: string;
75
- least_connections_label: string;
76
- consistent_hashing_label: string;
77
- latency_label: string;
78
- };
79
- hash_labels: {
80
- none: string;
81
- consumer: string;
82
- ip: string;
83
- header: string;
84
- cookie: string;
85
- path: string;
86
- query_argument: string;
87
- uri_capture: string;
88
- };
89
- hash_tooltips: {
90
- hash_on_header: {
91
- text: string;
92
- hash_on: string;
93
- header: string;
94
- };
95
- hash_on_uri_capture: {
96
- text: string;
97
- hash_on: string;
98
- uri_capture: string;
99
- };
100
- hash_on_query_arg: {
101
- text: string;
102
- hash_on: string;
103
- query_arg: string;
104
- };
105
- hash_on_cookie: {
106
- text: string;
107
- hash_on: string;
108
- hash_fallback: string;
109
- cookie: string;
110
- };
111
- hash_on_cookie_path: {
112
- text: string;
113
- hash_on: string;
114
- hash_fallback: string;
115
- cookie: string;
116
- };
117
- slots: {
118
- text: string;
119
- algorithm: string;
120
- round_robin: string;
121
- consistent_hashing: string;
122
- };
123
- tags: string;
124
- hash_fallback: {
125
- text: string;
126
- hash_on: string;
127
- cookie: string;
128
- };
129
- hash_fallback_header: {
130
- text: string;
131
- hash_fallback: string;
132
- header: string;
133
- };
134
- hash_fallback_query_arg: {
135
- text: string;
136
- hash_fallback: string;
137
- query_arg: string;
138
- };
139
- hash_fallback_uri_capture: {
140
- text: string;
141
- hash_fallback: string;
142
- uri_capture: string;
143
- };
144
- host_header: {
145
- text: string;
146
- host: string;
147
- };
148
- client_certificate: string;
149
- };
150
- healthcheck_type_labels: {
151
- http: string;
152
- https: string;
153
- tcp: string;
154
- grsp: string;
155
- grsps: string;
156
- };
157
- healthy: {
158
- label: string;
159
- help: string;
160
- };
161
- unhealthy: {
162
- label: string;
163
- help: string;
164
- };
165
- passive_healthy: {
166
- label: string;
167
- help: string;
168
- };
169
- passive_unhealthy: {
170
- label: string;
171
- help: string;
172
- };
173
- fields: {
174
- name: {
175
- label: string;
176
- placeholder: string;
177
- tooltip: string;
178
- host: string;
179
- };
180
- host_header: {
181
- label: string;
182
- };
183
- client_certificate: {
184
- label: string;
185
- placeholder: string;
186
- tooltip: string;
187
- };
188
- tags: {
189
- label: string;
190
- placeholder: string;
191
- help: string;
192
- tooltip: string;
193
- };
194
- algorithm: {
195
- label: string;
196
- tooltip: string;
197
- };
198
- slots: {
199
- label: string;
200
- help: string;
201
- };
202
- hash_on: {
203
- label: string;
204
- help: string;
205
- tooltip: string;
206
- };
207
- hash_fallback: {
208
- label: string;
209
- help: string;
210
- tooltip: string;
211
- hash_on: string;
212
- cookie: string;
213
- };
214
- active_health_checks: {
215
- label: string;
216
- help: string;
217
- };
218
- passive_health_checks: {
219
- label: string;
220
- help: string;
221
- };
222
- healthchecks_threshold: {
223
- label: string;
224
- };
225
- header: {
226
- label: string;
227
- };
228
- headers: {
229
- label: string;
230
- tooltip_active: string;
231
- };
232
- cookie: {
233
- label: string;
234
- };
235
- cookie_path: {
236
- label: string;
237
- };
238
- query_argument: {
239
- label: string;
240
- };
241
- uri_capture: {
242
- label: string;
243
- };
244
- active_healthcheck_type: {
245
- label: string;
246
- };
247
- http_path: {
248
- label: string;
249
- };
250
- timeout: {
251
- label: string;
252
- };
253
- concurrency: {
254
- label: string;
255
- };
256
- https_sni: {
257
- label: string;
258
- };
259
- verify_ssl: {
260
- label: string;
261
- };
262
- interval: {
263
- label: string;
264
- help: string;
265
- };
266
- successes: {
267
- label: string;
268
- };
269
- http_statuses: {
270
- label: string;
271
- };
272
- http_failures: {
273
- label: string;
274
- };
275
- tcp_failures: {
276
- label: string;
277
- };
278
- timeouts: {
279
- label: string;
280
- };
281
- passive_health_check_type: {
282
- label: string;
283
- };
284
- };
285
- };
286
- labels: {
287
- created_at: string;
288
- };
289
- };
290
- targets: {
291
- list: {
292
- table_headers: {
293
- id: string;
294
- target_address: string;
295
- weight: string;
296
- tags: string;
297
- };
298
- empty_state: {
299
- title: string;
300
- description: string;
301
- };
302
- toolbar_actions: {
303
- new_target: string;
304
- };
305
- };
306
- title: string;
307
- actions: {
308
- create: string;
309
- copy_id: string;
310
- copy_json: string;
311
- edit: string;
312
- delete: string;
313
- mark_healthy: string;
314
- mark_unhealthy: string;
315
- };
316
- delete: {
317
- title: string;
318
- description: string;
319
- };
320
- errors: {
321
- general: string;
322
- delete: string;
323
- copy: string;
324
- weight: string;
325
- };
326
- copy: {
327
- success: string;
328
- success_brief: string;
329
- };
330
- form: {
331
- create: {
332
- title: string;
333
- };
334
- edit: {
335
- title: string;
336
- };
337
- buttons: {
338
- save: string;
339
- cancel: string;
340
- };
341
- fields: {
342
- target: {
343
- label: string;
344
- placeholder: string;
345
- tooltip: string;
346
- };
347
- weight: {
348
- label: string;
349
- tooltip: string;
350
- };
351
- tags: {
352
- label: string;
353
- placeholder: string;
354
- help: string;
355
- };
356
- };
357
- };
358
- };
359
- }>;
360
- i18nT: import("@vue/runtime-core").DefineComponent<{
361
- i18n: {
362
- type: import("@vue/runtime-core").PropType<import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
363
- upstreams: {
364
- list: {
365
- table_headers: {
366
- id: string;
367
- name: string;
368
- slots: string;
369
- tags: string;
370
- };
371
- empty_state: {
372
- title: string;
373
- description: string;
374
- };
375
- toolbar_actions: {
376
- new_upstream: string;
377
- };
378
- };
379
- title: string;
380
- search: {
381
- placeholder: string;
382
- };
383
- actions: {
384
- create: string;
385
- copy_id: string;
386
- copy_json: string;
387
- edit: string;
388
- delete: string;
389
- view: string;
390
- };
391
- delete: {
392
- title: string;
393
- description: string;
394
- };
395
- errors: {
396
- general: string;
397
- delete: string;
398
- copy: string;
399
- };
400
- copy: {
401
- success: string;
402
- success_brief: string;
403
- };
404
- form: {
405
- errors: {
406
- name_required: string;
407
- should_be_integer: string;
408
- in_range: string;
409
- };
410
- general_info: {
411
- title: string;
412
- help: string;
413
- };
414
- load_balancing: {
415
- title: string;
416
- help: string;
417
- };
418
- health_check: {
419
- title: string;
420
- help: string;
421
- };
422
- active_health_check: {
423
- title: string;
424
- help: string;
425
- };
426
- passive_health_check: {
427
- title: string;
428
- help: string;
429
- };
430
- buttons: {
431
- view_documentation: string;
432
- };
433
- algorithms: {
434
- round_robin_label: string;
435
- least_connections_label: string;
436
- consistent_hashing_label: string;
437
- latency_label: string;
438
- };
439
- hash_labels: {
440
- none: string;
441
- consumer: string;
442
- ip: string;
443
- header: string;
444
- cookie: string;
445
- path: string;
446
- query_argument: string;
447
- uri_capture: string;
448
- };
449
- hash_tooltips: {
450
- hash_on_header: {
451
- text: string;
452
- hash_on: string;
453
- header: string;
454
- };
455
- hash_on_uri_capture: {
456
- text: string;
457
- hash_on: string;
458
- uri_capture: string;
459
- };
460
- hash_on_query_arg: {
461
- text: string;
462
- hash_on: string;
463
- query_arg: string;
464
- };
465
- hash_on_cookie: {
466
- text: string;
467
- hash_on: string;
468
- hash_fallback: string;
469
- cookie: string;
470
- };
471
- hash_on_cookie_path: {
472
- text: string;
473
- hash_on: string;
474
- hash_fallback: string;
475
- cookie: string;
476
- };
477
- slots: {
478
- text: string;
479
- algorithm: string;
480
- round_robin: string;
481
- consistent_hashing: string;
482
- };
483
- tags: string;
484
- hash_fallback: {
485
- text: string;
486
- hash_on: string;
487
- cookie: string;
488
- };
489
- hash_fallback_header: {
490
- text: string;
491
- hash_fallback: string;
492
- header: string;
493
- };
494
- hash_fallback_query_arg: {
495
- text: string;
496
- hash_fallback: string;
497
- query_arg: string;
498
- };
499
- hash_fallback_uri_capture: {
500
- text: string;
501
- hash_fallback: string;
502
- uri_capture: string;
503
- };
504
- host_header: {
505
- text: string;
506
- host: string;
507
- };
508
- client_certificate: string;
509
- };
510
- healthcheck_type_labels: {
511
- http: string;
512
- https: string;
513
- tcp: string;
514
- grsp: string;
515
- grsps: string;
516
- };
517
- healthy: {
518
- label: string;
519
- help: string;
520
- };
521
- unhealthy: {
522
- label: string;
523
- help: string;
524
- };
525
- passive_healthy: {
526
- label: string;
527
- help: string;
528
- };
529
- passive_unhealthy: {
530
- label: string;
531
- help: string;
532
- };
533
- fields: {
534
- name: {
535
- label: string;
536
- placeholder: string;
537
- tooltip: string;
538
- host: string;
539
- };
540
- host_header: {
541
- label: string;
542
- };
543
- client_certificate: {
544
- label: string;
545
- placeholder: string;
546
- tooltip: string;
547
- };
548
- tags: {
549
- label: string;
550
- placeholder: string;
551
- help: string;
552
- tooltip: string;
553
- };
554
- algorithm: {
555
- label: string;
556
- tooltip: string;
557
- };
558
- slots: {
559
- label: string;
560
- help: string;
561
- };
562
- hash_on: {
563
- label: string;
564
- help: string;
565
- tooltip: string;
566
- };
567
- hash_fallback: {
568
- label: string;
569
- help: string;
570
- tooltip: string;
571
- hash_on: string;
572
- cookie: string;
573
- };
574
- active_health_checks: {
575
- label: string;
576
- help: string;
577
- };
578
- passive_health_checks: {
579
- label: string;
580
- help: string;
581
- };
582
- healthchecks_threshold: {
583
- label: string;
584
- };
585
- header: {
586
- label: string;
587
- };
588
- headers: {
589
- label: string;
590
- tooltip_active: string;
591
- };
592
- cookie: {
593
- label: string;
594
- };
595
- cookie_path: {
596
- label: string;
597
- };
598
- query_argument: {
599
- label: string;
600
- };
601
- uri_capture: {
602
- label: string;
603
- };
604
- active_healthcheck_type: {
605
- label: string;
606
- };
607
- http_path: {
608
- label: string;
609
- };
610
- timeout: {
611
- label: string;
612
- };
613
- concurrency: {
614
- label: string;
615
- };
616
- https_sni: {
617
- label: string;
618
- };
619
- verify_ssl: {
620
- label: string;
621
- };
622
- interval: {
623
- label: string;
624
- help: string;
625
- };
626
- successes: {
627
- label: string;
628
- };
629
- http_statuses: {
630
- label: string;
631
- };
632
- http_failures: {
633
- label: string;
634
- };
635
- tcp_failures: {
636
- label: string;
637
- };
638
- timeouts: {
639
- label: string;
640
- };
641
- passive_health_check_type: {
642
- label: string;
643
- };
644
- };
645
- };
646
- labels: {
647
- created_at: string;
648
- };
649
- };
650
- targets: {
651
- list: {
652
- table_headers: {
653
- id: string;
654
- target_address: string;
655
- weight: string;
656
- tags: string;
657
- };
658
- empty_state: {
659
- title: string;
660
- description: string;
661
- };
662
- toolbar_actions: {
663
- new_target: string;
664
- };
665
- };
666
- title: string;
667
- actions: {
668
- create: string;
669
- copy_id: string;
670
- copy_json: string;
671
- edit: string;
672
- delete: string;
673
- mark_healthy: string;
674
- mark_unhealthy: string;
675
- };
676
- delete: {
677
- title: string;
678
- description: string;
679
- };
680
- errors: {
681
- general: string;
682
- delete: string;
683
- copy: string;
684
- weight: string;
685
- };
686
- copy: {
687
- success: string;
688
- success_brief: string;
689
- };
690
- form: {
691
- create: {
692
- title: string;
693
- };
694
- edit: {
695
- title: string;
696
- };
697
- buttons: {
698
- save: string;
699
- cancel: string;
700
- };
701
- fields: {
702
- target: {
703
- label: string;
704
- placeholder: string;
705
- tooltip: string;
706
- };
707
- weight: {
708
- label: string;
709
- tooltip: string;
710
- };
711
- tags: {
712
- label: string;
713
- placeholder: string;
714
- help: string;
715
- };
716
- };
717
- };
718
- };
719
- }>>;
720
- default: null;
721
- };
722
- keypath: {
723
- type: StringConstructor;
724
- required: true;
725
- };
726
- tag: {
727
- type: StringConstructor;
728
- default: string;
729
- };
730
- }, () => import("@vue/runtime-core").VNodeChild, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
731
- i18n: {
732
- type: import("@vue/runtime-core").PropType<import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
733
- upstreams: {
734
- list: {
735
- table_headers: {
736
- id: string;
737
- name: string;
738
- slots: string;
739
- tags: string;
740
- };
741
- empty_state: {
742
- title: string;
743
- description: string;
744
- };
745
- toolbar_actions: {
746
- new_upstream: string;
747
- };
748
- };
749
- title: string;
750
- search: {
751
- placeholder: string;
752
- };
753
- actions: {
754
- create: string;
755
- copy_id: string;
756
- copy_json: string;
757
- edit: string;
758
- delete: string;
759
- view: string;
760
- };
761
- delete: {
762
- title: string;
763
- description: string;
764
- };
765
- errors: {
766
- general: string;
767
- delete: string;
768
- copy: string;
769
- };
770
- copy: {
771
- success: string;
772
- success_brief: string;
773
- };
774
- form: {
775
- errors: {
776
- name_required: string;
777
- should_be_integer: string;
778
- in_range: string;
779
- };
780
- general_info: {
781
- title: string;
782
- help: string;
783
- };
784
- load_balancing: {
785
- title: string;
786
- help: string;
787
- };
788
- health_check: {
789
- title: string;
790
- help: string;
791
- };
792
- active_health_check: {
793
- title: string;
794
- help: string;
795
- };
796
- passive_health_check: {
797
- title: string;
798
- help: string;
799
- };
800
- buttons: {
801
- view_documentation: string;
802
- };
803
- algorithms: {
804
- round_robin_label: string;
805
- least_connections_label: string;
806
- consistent_hashing_label: string;
807
- latency_label: string;
808
- };
809
- hash_labels: {
810
- none: string;
811
- consumer: string;
812
- ip: string;
813
- header: string;
814
- cookie: string;
815
- path: string;
816
- query_argument: string;
817
- uri_capture: string;
818
- };
819
- hash_tooltips: {
820
- hash_on_header: {
821
- text: string;
822
- hash_on: string;
823
- header: string;
824
- };
825
- hash_on_uri_capture: {
826
- text: string;
827
- hash_on: string;
828
- uri_capture: string;
829
- };
830
- hash_on_query_arg: {
831
- text: string;
832
- hash_on: string;
833
- query_arg: string;
834
- };
835
- hash_on_cookie: {
836
- text: string;
837
- hash_on: string;
838
- hash_fallback: string;
839
- cookie: string;
840
- };
841
- hash_on_cookie_path: {
842
- text: string;
843
- hash_on: string;
844
- hash_fallback: string;
845
- cookie: string;
846
- };
847
- slots: {
848
- text: string;
849
- algorithm: string;
850
- round_robin: string;
851
- consistent_hashing: string;
852
- };
853
- tags: string;
854
- hash_fallback: {
855
- text: string;
856
- hash_on: string;
857
- cookie: string;
858
- };
859
- hash_fallback_header: {
860
- text: string;
861
- hash_fallback: string;
862
- header: string;
863
- };
864
- hash_fallback_query_arg: {
865
- text: string;
866
- hash_fallback: string;
867
- query_arg: string;
868
- };
869
- hash_fallback_uri_capture: {
870
- text: string;
871
- hash_fallback: string;
872
- uri_capture: string;
873
- };
874
- host_header: {
875
- text: string;
876
- host: string;
877
- };
878
- client_certificate: string;
879
- };
880
- healthcheck_type_labels: {
881
- http: string;
882
- https: string;
883
- tcp: string;
884
- grsp: string;
885
- grsps: string;
886
- };
887
- healthy: {
888
- label: string;
889
- help: string;
890
- };
891
- unhealthy: {
892
- label: string;
893
- help: string;
894
- };
895
- passive_healthy: {
896
- label: string;
897
- help: string;
898
- };
899
- passive_unhealthy: {
900
- label: string;
901
- help: string;
902
- };
903
- fields: {
904
- name: {
905
- label: string;
906
- placeholder: string;
907
- tooltip: string;
908
- host: string;
909
- };
910
- host_header: {
911
- label: string;
912
- };
913
- client_certificate: {
914
- label: string;
915
- placeholder: string;
916
- tooltip: string;
917
- };
918
- tags: {
919
- label: string;
920
- placeholder: string;
921
- help: string;
922
- tooltip: string;
923
- };
924
- algorithm: {
925
- label: string;
926
- tooltip: string;
927
- };
928
- slots: {
929
- label: string;
930
- help: string;
931
- };
932
- hash_on: {
933
- label: string;
934
- help: string;
935
- tooltip: string;
936
- };
937
- hash_fallback: {
938
- label: string;
939
- help: string;
940
- tooltip: string;
941
- hash_on: string;
942
- cookie: string;
943
- };
944
- active_health_checks: {
945
- label: string;
946
- help: string;
947
- };
948
- passive_health_checks: {
949
- label: string;
950
- help: string;
951
- };
952
- healthchecks_threshold: {
953
- label: string;
954
- };
955
- header: {
956
- label: string;
957
- };
958
- headers: {
959
- label: string;
960
- tooltip_active: string;
961
- };
962
- cookie: {
963
- label: string;
964
- };
965
- cookie_path: {
966
- label: string;
967
- };
968
- query_argument: {
969
- label: string;
970
- };
971
- uri_capture: {
972
- label: string;
973
- };
974
- active_healthcheck_type: {
975
- label: string;
976
- };
977
- http_path: {
978
- label: string;
979
- };
980
- timeout: {
981
- label: string;
982
- };
983
- concurrency: {
984
- label: string;
985
- };
986
- https_sni: {
987
- label: string;
988
- };
989
- verify_ssl: {
990
- label: string;
991
- };
992
- interval: {
993
- label: string;
994
- help: string;
995
- };
996
- successes: {
997
- label: string;
998
- };
999
- http_statuses: {
1000
- label: string;
1001
- };
1002
- http_failures: {
1003
- label: string;
1004
- };
1005
- tcp_failures: {
1006
- label: string;
1007
- };
1008
- timeouts: {
1009
- label: string;
1010
- };
1011
- passive_health_check_type: {
1012
- label: string;
1013
- };
1014
- };
1015
- };
1016
- labels: {
1017
- created_at: string;
1018
- };
1019
- };
1020
- targets: {
1021
- list: {
1022
- table_headers: {
1023
- id: string;
1024
- target_address: string;
1025
- weight: string;
1026
- tags: string;
1027
- };
1028
- empty_state: {
1029
- title: string;
1030
- description: string;
1031
- };
1032
- toolbar_actions: {
1033
- new_target: string;
1034
- };
1035
- };
1036
- title: string;
1037
- actions: {
1038
- create: string;
1039
- copy_id: string;
1040
- copy_json: string;
1041
- edit: string;
1042
- delete: string;
1043
- mark_healthy: string;
1044
- mark_unhealthy: string;
1045
- };
1046
- delete: {
1047
- title: string;
1048
- description: string;
1049
- };
1050
- errors: {
1051
- general: string;
1052
- delete: string;
1053
- copy: string;
1054
- weight: string;
1055
- };
1056
- copy: {
1057
- success: string;
1058
- success_brief: string;
1059
- };
1060
- form: {
1061
- create: {
1062
- title: string;
1063
- };
1064
- edit: {
1065
- title: string;
1066
- };
1067
- buttons: {
1068
- save: string;
1069
- cancel: string;
1070
- };
1071
- fields: {
1072
- target: {
1073
- label: string;
1074
- placeholder: string;
1075
- tooltip: string;
1076
- };
1077
- weight: {
1078
- label: string;
1079
- tooltip: string;
1080
- };
1081
- tags: {
1082
- label: string;
1083
- placeholder: string;
1084
- help: string;
1085
- };
1086
- };
1087
- };
1088
- };
1089
- }>>;
1090
- default: null;
1091
- };
1092
- keypath: {
1093
- type: StringConstructor;
1094
- required: true;
1095
- };
1096
- tag: {
1097
- type: StringConstructor;
1098
- default: string;
1099
- };
1100
- }>>, {
1101
- i18n: import("@kong-ui-public/i18n/dist/types/types").IntlShapeEx<{
1102
- upstreams: {
1103
- list: {
1104
- table_headers: {
1105
- id: string;
1106
- name: string;
1107
- slots: string;
1108
- tags: string;
1109
- };
1110
- empty_state: {
1111
- title: string;
1112
- description: string;
1113
- };
1114
- toolbar_actions: {
1115
- new_upstream: string;
1116
- };
1117
- };
1118
- title: string;
1119
- search: {
1120
- placeholder: string;
1121
- };
1122
- actions: {
1123
- create: string;
1124
- copy_id: string;
1125
- copy_json: string;
1126
- edit: string;
1127
- delete: string;
1128
- view: string;
1129
- };
1130
- delete: {
1131
- title: string;
1132
- description: string;
1133
- };
1134
- errors: {
1135
- general: string;
1136
- delete: string;
1137
- copy: string;
1138
- };
1139
- copy: {
1140
- success: string;
1141
- success_brief: string;
1142
- };
1143
- form: {
1144
- errors: {
1145
- name_required: string;
1146
- should_be_integer: string;
1147
- in_range: string;
1148
- };
1149
- general_info: {
1150
- title: string;
1151
- help: string;
1152
- };
1153
- load_balancing: {
1154
- title: string;
1155
- help: string;
1156
- };
1157
- health_check: {
1158
- title: string;
1159
- help: string;
1160
- };
1161
- active_health_check: {
1162
- title: string;
1163
- help: string;
1164
- };
1165
- passive_health_check: {
1166
- title: string;
1167
- help: string;
1168
- };
1169
- buttons: {
1170
- view_documentation: string;
1171
- };
1172
- algorithms: {
1173
- round_robin_label: string;
1174
- least_connections_label: string;
1175
- consistent_hashing_label: string;
1176
- latency_label: string;
1177
- };
1178
- hash_labels: {
1179
- none: string;
1180
- consumer: string;
1181
- ip: string;
1182
- header: string;
1183
- cookie: string;
1184
- path: string;
1185
- query_argument: string;
1186
- uri_capture: string;
1187
- };
1188
- hash_tooltips: {
1189
- hash_on_header: {
1190
- text: string;
1191
- hash_on: string;
1192
- header: string;
1193
- };
1194
- hash_on_uri_capture: {
1195
- text: string;
1196
- hash_on: string;
1197
- uri_capture: string;
1198
- };
1199
- hash_on_query_arg: {
1200
- text: string;
1201
- hash_on: string;
1202
- query_arg: string;
1203
- };
1204
- hash_on_cookie: {
1205
- text: string;
1206
- hash_on: string;
1207
- hash_fallback: string;
1208
- cookie: string;
1209
- };
1210
- hash_on_cookie_path: {
1211
- text: string;
1212
- hash_on: string;
1213
- hash_fallback: string;
1214
- cookie: string;
1215
- };
1216
- slots: {
1217
- text: string;
1218
- algorithm: string;
1219
- round_robin: string;
1220
- consistent_hashing: string;
1221
- };
1222
- tags: string;
1223
- hash_fallback: {
1224
- text: string;
1225
- hash_on: string;
1226
- cookie: string;
1227
- };
1228
- hash_fallback_header: {
1229
- text: string;
1230
- hash_fallback: string;
1231
- header: string;
1232
- };
1233
- hash_fallback_query_arg: {
1234
- text: string;
1235
- hash_fallback: string;
1236
- query_arg: string;
1237
- };
1238
- hash_fallback_uri_capture: {
1239
- text: string;
1240
- hash_fallback: string;
1241
- uri_capture: string;
1242
- };
1243
- host_header: {
1244
- text: string;
1245
- host: string;
1246
- };
1247
- client_certificate: string;
1248
- };
1249
- healthcheck_type_labels: {
1250
- http: string;
1251
- https: string;
1252
- tcp: string;
1253
- grsp: string;
1254
- grsps: string;
1255
- };
1256
- healthy: {
1257
- label: string;
1258
- help: string;
1259
- };
1260
- unhealthy: {
1261
- label: string;
1262
- help: string;
1263
- };
1264
- passive_healthy: {
1265
- label: string;
1266
- help: string;
1267
- };
1268
- passive_unhealthy: {
1269
- label: string;
1270
- help: string;
1271
- };
1272
- fields: {
1273
- name: {
1274
- label: string;
1275
- placeholder: string;
1276
- tooltip: string;
1277
- host: string;
1278
- };
1279
- host_header: {
1280
- label: string;
1281
- };
1282
- client_certificate: {
1283
- label: string;
1284
- placeholder: string;
1285
- tooltip: string;
1286
- };
1287
- tags: {
1288
- label: string;
1289
- placeholder: string;
1290
- help: string;
1291
- tooltip: string;
1292
- };
1293
- algorithm: {
1294
- label: string;
1295
- tooltip: string;
1296
- };
1297
- slots: {
1298
- label: string;
1299
- help: string;
1300
- };
1301
- hash_on: {
1302
- label: string;
1303
- help: string;
1304
- tooltip: string;
1305
- };
1306
- hash_fallback: {
1307
- label: string;
1308
- help: string;
1309
- tooltip: string;
1310
- hash_on: string;
1311
- cookie: string;
1312
- };
1313
- active_health_checks: {
1314
- label: string;
1315
- help: string;
1316
- };
1317
- passive_health_checks: {
1318
- label: string;
1319
- help: string;
1320
- };
1321
- healthchecks_threshold: {
1322
- label: string;
1323
- };
1324
- header: {
1325
- label: string;
1326
- };
1327
- headers: {
1328
- label: string;
1329
- tooltip_active: string;
1330
- };
1331
- cookie: {
1332
- label: string;
1333
- };
1334
- cookie_path: {
1335
- label: string;
1336
- };
1337
- query_argument: {
1338
- label: string;
1339
- };
1340
- uri_capture: {
1341
- label: string;
1342
- };
1343
- active_healthcheck_type: {
1344
- label: string;
1345
- };
1346
- http_path: {
1347
- label: string;
1348
- };
1349
- timeout: {
1350
- label: string;
1351
- };
1352
- concurrency: {
1353
- label: string;
1354
- };
1355
- https_sni: {
1356
- label: string;
1357
- };
1358
- verify_ssl: {
1359
- label: string;
1360
- };
1361
- interval: {
1362
- label: string;
1363
- help: string;
1364
- };
1365
- successes: {
1366
- label: string;
1367
- };
1368
- http_statuses: {
1369
- label: string;
1370
- };
1371
- http_failures: {
1372
- label: string;
1373
- };
1374
- tcp_failures: {
1375
- label: string;
1376
- };
1377
- timeouts: {
1378
- label: string;
1379
- };
1380
- passive_health_check_type: {
1381
- label: string;
1382
- };
1383
- };
1384
- };
1385
- labels: {
1386
- created_at: string;
1387
- };
1388
- };
1389
- targets: {
1390
- list: {
1391
- table_headers: {
1392
- id: string;
1393
- target_address: string;
1394
- weight: string;
1395
- tags: string;
1396
- };
1397
- empty_state: {
1398
- title: string;
1399
- description: string;
1400
- };
1401
- toolbar_actions: {
1402
- new_target: string;
1403
- };
1404
- };
1405
- title: string;
1406
- actions: {
1407
- create: string;
1408
- copy_id: string;
1409
- copy_json: string;
1410
- edit: string;
1411
- delete: string;
1412
- mark_healthy: string;
1413
- mark_unhealthy: string;
1414
- };
1415
- delete: {
1416
- title: string;
1417
- description: string;
1418
- };
1419
- errors: {
1420
- general: string;
1421
- delete: string;
1422
- copy: string;
1423
- weight: string;
1424
- };
1425
- copy: {
1426
- success: string;
1427
- success_brief: string;
1428
- };
1429
- form: {
1430
- create: {
1431
- title: string;
1432
- };
1433
- edit: {
1434
- title: string;
1435
- };
1436
- buttons: {
1437
- save: string;
1438
- cancel: string;
1439
- };
1440
- fields: {
1441
- target: {
1442
- label: string;
1443
- placeholder: string;
1444
- tooltip: string;
1445
- };
1446
- weight: {
1447
- label: string;
1448
- tooltip: string;
1449
- };
1450
- tags: {
1451
- label: string;
1452
- placeholder: string;
1453
- help: string;
1454
- };
1455
- };
1456
- };
1457
- };
1458
- }>;
1459
- tag: string;
1460
- }, {}>;
1461
- };
1
+ import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
2
+ import english from '../locales/en.json';
3
+ interface UseI18nReturn {
4
+ i18n: ReturnType<typeof createI18n<typeof english>>;
5
+ i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
6
+ }
7
+ export default function useI18n(): UseI18nReturn;
8
+ export {};
1462
9
  //# sourceMappingURL=useI18n.d.ts.map