@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.
@@ -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 = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@redneckz/wildless-cms-uni-blocks",
3
- "version": "0.14.538",
3
+ "version": "0.14.539",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "author": "ЦК",
@@ -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 = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect;
50
+ export type AspectsDef =
51
+ | EmptyAspect
52
+ | ChatBotAspect
53
+ | YandexReachGoalAspect
54
+ | MindboxEventAspect
55
+ | SnowplowEventAspect;
42
56
 
43
57
  export type AspectsProps = {
44
58
  /** @title Дополнительные атрибуты */