Skip to content

Commit a48f722

Browse files
author
perminov_dd
committed
feat: Добавлен новая цель customer/card:appeals
1 parent 744ba3f commit a48f722

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

meta/index.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,25 @@ export const targetListDocumentation: {
5252
customContexts: ['customer'],
5353
actions: [],
5454
},
55+
'customer/card:appeals': {
56+
description: {
57+
'en-GB': 'Widget for the contact request item',
58+
'es-ES': 'Widget para el elemento de solicitud de contacto',
59+
'ru-RU': 'Виджет для элемента обращений',
60+
},
61+
location: {
62+
'en-GB': 'Before the "In Progress" header in the client card',
63+
'es-ES': 'Antes del encabezado "En progreso" en la tarjeta del cliente',
64+
'ru-RU': 'Перед заголовком "В работе" в карточке клиента',
65+
},
66+
contexts: [
67+
'customer/card',
68+
'user/current',
69+
'settings',
70+
],
71+
customContexts: ['customer'],
72+
actions: [],
73+
},
5574
'order/card:common.before': {
5675
description: {
5776
'en-GB': 'Widget for the section with common data',

types/widget.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ export type SchemaListByTarget = {
4343
| 'user/current'
4444
| 'settings'
4545
>,
46+
'customer/card:appeals': Pick<SchemaList,
47+
| 'customer/card'
48+
| 'user/current'
49+
| 'settings'
50+
>;
4651
'order/card:common.before': Pick<SchemaList,
4752
| 'order/card'
4853
| 'user/current'

0 commit comments

Comments
 (0)