@redneckz/wildless-cms-uni-blocks 0.14.538 → 0.14.539
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.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +1 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/model/AspectsProps.d.ts +9 -1
- package/dist/model/AspectsProps.d.ts +9 -1
- package/lib/model/AspectsProps.d.ts +9 -1
- package/mobile/bundle/bundle.umd.js +1 -1
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/model/AspectsProps.d.ts +9 -1
- package/mobile/dist/model/AspectsProps.d.ts +9 -1
- package/mobile/lib/model/AspectsProps.d.ts +9 -1
- package/mobile/src/model/AspectsProps.ts +15 -1
- package/package.json +1 -1
- package/src/model/AspectsProps.ts +15 -1
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { type AspectData } from '../hooks/useAspects/useAspects';
|
|
2
|
+
/**
|
|
3
|
+
* @title Отправить событие в Snoplow
|
|
4
|
+
* @default {"aspectName": "snowplowEvent", "params": {"eventAction": "", eventCategory: ""}}
|
|
5
|
+
*/
|
|
6
|
+
export declare type SnowplowEventAspect = {
|
|
7
|
+
aspectName: 'snowplowEvent';
|
|
8
|
+
params?: AspectData;
|
|
9
|
+
};
|
|
2
10
|
/**
|
|
3
11
|
* @title Отправить цель Яндекс Метрики
|
|
4
12
|
* @default {"aspectName": "ymReachGoal", "params": {"yandexId": "", "targetName": ""}}
|
|
@@ -33,7 +41,7 @@ export declare type EmptyAspect = {
|
|
|
33
41
|
* @title Параметр
|
|
34
42
|
* @default { "aspectName": "" }
|
|
35
43
|
*/
|
|
36
|
-
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect;
|
|
44
|
+
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect;
|
|
37
45
|
export declare type AspectsProps = {
|
|
38
46
|
/** @title Дополнительные атрибуты */
|
|
39
47
|
data?: AspectsDef[];
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { type AspectData } from '../hooks/useAspects/useAspects';
|
|
2
|
+
/**
|
|
3
|
+
* @title Отправить событие в Snoplow
|
|
4
|
+
* @default {"aspectName": "snowplowEvent", "params": {"eventAction": "", eventCategory: ""}}
|
|
5
|
+
*/
|
|
6
|
+
export declare type SnowplowEventAspect = {
|
|
7
|
+
aspectName: 'snowplowEvent';
|
|
8
|
+
params?: AspectData;
|
|
9
|
+
};
|
|
2
10
|
/**
|
|
3
11
|
* @title Отправить цель Яндекс Метрики
|
|
4
12
|
* @default {"aspectName": "ymReachGoal", "params": {"yandexId": "", "targetName": ""}}
|
|
@@ -33,7 +41,7 @@ export declare type EmptyAspect = {
|
|
|
33
41
|
* @title Параметр
|
|
34
42
|
* @default { "aspectName": "" }
|
|
35
43
|
*/
|
|
36
|
-
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect;
|
|
44
|
+
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect;
|
|
37
45
|
export declare type AspectsProps = {
|
|
38
46
|
/** @title Дополнительные атрибуты */
|
|
39
47
|
data?: AspectsDef[];
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { type AspectData } from '../hooks/useAspects/useAspects';
|
|
2
|
+
/**
|
|
3
|
+
* @title Отправить событие в Snoplow
|
|
4
|
+
* @default {"aspectName": "snowplowEvent", "params": {"eventAction": "", eventCategory: ""}}
|
|
5
|
+
*/
|
|
6
|
+
export declare type SnowplowEventAspect = {
|
|
7
|
+
aspectName: 'snowplowEvent';
|
|
8
|
+
params?: AspectData;
|
|
9
|
+
};
|
|
2
10
|
/**
|
|
3
11
|
* @title Отправить цель Яндекс Метрики
|
|
4
12
|
* @default {"aspectName": "ymReachGoal", "params": {"yandexId": "", "targetName": ""}}
|
|
@@ -33,7 +41,7 @@ export declare type EmptyAspect = {
|
|
|
33
41
|
* @title Параметр
|
|
34
42
|
* @default { "aspectName": "" }
|
|
35
43
|
*/
|
|
36
|
-
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect;
|
|
44
|
+
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect;
|
|
37
45
|
export declare type AspectsProps = {
|
|
38
46
|
/** @title Дополнительные атрибуты */
|
|
39
47
|
data?: AspectsDef[];
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { type AspectData } from '../hooks/useAspects/useAspects';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @title Отправить событие в Snoplow
|
|
5
|
+
* @default {"aspectName": "snowplowEvent", "params": {"eventAction": "", eventCategory: ""}}
|
|
6
|
+
*/
|
|
7
|
+
export type SnowplowEventAspect = {
|
|
8
|
+
aspectName: 'snowplowEvent';
|
|
9
|
+
params?: AspectData;
|
|
10
|
+
};
|
|
11
|
+
|
|
3
12
|
/**
|
|
4
13
|
* @title Отправить цель Яндекс Метрики
|
|
5
14
|
* @default {"aspectName": "ymReachGoal", "params": {"yandexId": "", "targetName": ""}}
|
|
@@ -38,7 +47,12 @@ export type EmptyAspect = {
|
|
|
38
47
|
* @title Параметр
|
|
39
48
|
* @default { "aspectName": "" }
|
|
40
49
|
*/
|
|
41
|
-
export type AspectsDef =
|
|
50
|
+
export type AspectsDef =
|
|
51
|
+
| EmptyAspect
|
|
52
|
+
| ChatBotAspect
|
|
53
|
+
| YandexReachGoalAspect
|
|
54
|
+
| MindboxEventAspect
|
|
55
|
+
| SnowplowEventAspect;
|
|
42
56
|
|
|
43
57
|
export type AspectsProps = {
|
|
44
58
|
/** @title Дополнительные атрибуты */
|
package/package.json
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { type AspectData } from '../hooks/useAspects/useAspects';
|
|
2
2
|
|
|
3
|
+
/**
|
|
4
|
+
* @title Отправить событие в Snoplow
|
|
5
|
+
* @default {"aspectName": "snowplowEvent", "params": {"eventAction": "", eventCategory: ""}}
|
|
6
|
+
*/
|
|
7
|
+
export type SnowplowEventAspect = {
|
|
8
|
+
aspectName: 'snowplowEvent';
|
|
9
|
+
params?: AspectData;
|
|
10
|
+
};
|
|
11
|
+
|
|
3
12
|
/**
|
|
4
13
|
* @title Отправить цель Яндекс Метрики
|
|
5
14
|
* @default {"aspectName": "ymReachGoal", "params": {"yandexId": "", "targetName": ""}}
|
|
@@ -38,7 +47,12 @@ export type EmptyAspect = {
|
|
|
38
47
|
* @title Параметр
|
|
39
48
|
* @default { "aspectName": "" }
|
|
40
49
|
*/
|
|
41
|
-
export type AspectsDef =
|
|
50
|
+
export type AspectsDef =
|
|
51
|
+
| EmptyAspect
|
|
52
|
+
| ChatBotAspect
|
|
53
|
+
| YandexReachGoalAspect
|
|
54
|
+
| MindboxEventAspect
|
|
55
|
+
| SnowplowEventAspect;
|
|
42
56
|
|
|
43
57
|
export type AspectsProps = {
|
|
44
58
|
/** @title Дополнительные атрибуты */
|