@walkeros/web-destination-piwikpro 0.2.1 → 0.3.1
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/dist/index.browser.js +1 -1
- package/dist/index.d.mts +52 -28
- package/dist/index.d.ts +52 -28
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
2
|
+
import { Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
2
3
|
import { DestinationWeb } from '@walkeros/web-core';
|
|
3
4
|
|
|
4
5
|
declare global {
|
|
@@ -6,12 +7,12 @@ declare global {
|
|
|
6
7
|
_paq?: Array<unknown>;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
interface Settings {
|
|
10
|
+
interface Settings$1 {
|
|
10
11
|
appId: string;
|
|
11
12
|
linkTracking?: boolean;
|
|
12
13
|
url: string;
|
|
13
14
|
}
|
|
14
|
-
interface Mapping {
|
|
15
|
+
interface Mapping$1 {
|
|
15
16
|
goalId?: string;
|
|
16
17
|
goalValue?: string;
|
|
17
18
|
}
|
|
@@ -31,26 +32,24 @@ interface Env extends DestinationWeb.Env {
|
|
|
31
32
|
};
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
|
-
type Types = Destination$1.Types<Settings, Mapping, Env>;
|
|
35
|
+
type Types = Destination$1.Types<Settings$1, Mapping$1, Env>;
|
|
35
36
|
type Destination = DestinationWeb.Destination<Types>;
|
|
36
37
|
type Config = DestinationWeb.Config<Types>;
|
|
37
|
-
type Rule = Mapping$
|
|
38
|
-
type Rules = Mapping$
|
|
38
|
+
type Rule = Mapping$2.Rule<Mapping$1>;
|
|
39
|
+
type Rules = Mapping$2.Rules<Rule>;
|
|
39
40
|
interface Dimensions {
|
|
40
41
|
[i: number]: string;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
type index$
|
|
44
|
-
type index$
|
|
45
|
-
type index$
|
|
46
|
-
type index$
|
|
47
|
-
type index$
|
|
48
|
-
type index$
|
|
49
|
-
type index$
|
|
50
|
-
|
|
51
|
-
type index$
|
|
52
|
-
declare namespace index$1 {
|
|
53
|
-
export type { index$1_Config as Config, index$1_Destination as Destination, index$1_Dimensions as Dimensions, index$1_Env as Env, index$1_Mapping as Mapping, index$1_Rule as Rule, index$1_Rules as Rules, index$1_Settings as Settings, index$1_Types as Types };
|
|
44
|
+
type index$2_Config = Config;
|
|
45
|
+
type index$2_Destination = Destination;
|
|
46
|
+
type index$2_Dimensions = Dimensions;
|
|
47
|
+
type index$2_Env = Env;
|
|
48
|
+
type index$2_Rule = Rule;
|
|
49
|
+
type index$2_Rules = Rules;
|
|
50
|
+
type index$2_Types = Types;
|
|
51
|
+
declare namespace index$2 {
|
|
52
|
+
export type { index$2_Config as Config, index$2_Destination as Destination, index$2_Dimensions as Dimensions, index$2_Env as Env, Mapping$1 as Mapping, index$2_Rule as Rule, index$2_Rules as Rules, Settings$1 as Settings, index$2_Types as Types };
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
/**
|
|
@@ -94,22 +93,47 @@ declare const config: {
|
|
|
94
93
|
};
|
|
95
94
|
};
|
|
96
95
|
|
|
97
|
-
declare const
|
|
98
|
-
declare const
|
|
99
|
-
declare const
|
|
100
|
-
declare const
|
|
101
|
-
declare const
|
|
102
|
-
declare namespace mapping {
|
|
103
|
-
export {
|
|
96
|
+
declare const mapping$1_config: typeof config;
|
|
97
|
+
declare const mapping$1_ecommerceAddToCart: typeof ecommerceAddToCart;
|
|
98
|
+
declare const mapping$1_ecommerceCartUpdate: typeof ecommerceCartUpdate;
|
|
99
|
+
declare const mapping$1_ecommerceOrder: typeof ecommerceOrder;
|
|
100
|
+
declare const mapping$1_ecommerceProductDetailView: typeof ecommerceProductDetailView;
|
|
101
|
+
declare namespace mapping$1 {
|
|
102
|
+
export { mapping$1_config as config, mapping$1_ecommerceAddToCart as ecommerceAddToCart, mapping$1_ecommerceCartUpdate as ecommerceCartUpdate, mapping$1_ecommerceOrder as ecommerceOrder, mapping$1_ecommerceProductDetailView as ecommerceProductDetailView };
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare const index$1_env: typeof env;
|
|
106
|
+
declare const index$1_events: typeof events;
|
|
107
|
+
declare namespace index$1 {
|
|
108
|
+
export { index$1_env as env, index$1_events as events, mapping$1 as mapping };
|
|
104
109
|
}
|
|
105
110
|
|
|
106
|
-
declare const
|
|
107
|
-
|
|
111
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
112
|
+
appId: z.ZodString;
|
|
113
|
+
url: z.ZodString;
|
|
114
|
+
linkTracking: z.ZodDefault<z.ZodBoolean>;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
117
|
+
|
|
118
|
+
declare const MappingSchema: z.ZodObject<{
|
|
119
|
+
goalId: z.ZodString;
|
|
120
|
+
goalValue: z.ZodOptional<z.ZodString>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
type Mapping = z.infer<typeof MappingSchema>;
|
|
123
|
+
|
|
124
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
125
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
126
|
+
|
|
127
|
+
type index_Mapping = Mapping;
|
|
128
|
+
declare const index_MappingSchema: typeof MappingSchema;
|
|
129
|
+
type index_Settings = Settings;
|
|
130
|
+
declare const index_SettingsSchema: typeof SettingsSchema;
|
|
108
131
|
declare const index_mapping: typeof mapping;
|
|
132
|
+
declare const index_settings: typeof settings;
|
|
109
133
|
declare namespace index {
|
|
110
|
-
export {
|
|
134
|
+
export { type index_Mapping as Mapping, index_MappingSchema as MappingSchema, type index_Settings as Settings, index_SettingsSchema as SettingsSchema, index_mapping as mapping, index_settings as settings };
|
|
111
135
|
}
|
|
112
136
|
|
|
113
137
|
declare const destinationPiwikPro: Destination;
|
|
114
138
|
|
|
115
|
-
export { index$
|
|
139
|
+
export { index$2 as DestinationPiwikPro, destinationPiwikPro as default, destinationPiwikPro, index$1 as examples, index as schemas };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
2
|
+
import { Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
2
3
|
import { DestinationWeb } from '@walkeros/web-core';
|
|
3
4
|
|
|
4
5
|
declare global {
|
|
@@ -6,12 +7,12 @@ declare global {
|
|
|
6
7
|
_paq?: Array<unknown>;
|
|
7
8
|
}
|
|
8
9
|
}
|
|
9
|
-
interface Settings {
|
|
10
|
+
interface Settings$1 {
|
|
10
11
|
appId: string;
|
|
11
12
|
linkTracking?: boolean;
|
|
12
13
|
url: string;
|
|
13
14
|
}
|
|
14
|
-
interface Mapping {
|
|
15
|
+
interface Mapping$1 {
|
|
15
16
|
goalId?: string;
|
|
16
17
|
goalValue?: string;
|
|
17
18
|
}
|
|
@@ -31,26 +32,24 @@ interface Env extends DestinationWeb.Env {
|
|
|
31
32
|
};
|
|
32
33
|
};
|
|
33
34
|
}
|
|
34
|
-
type Types = Destination$1.Types<Settings, Mapping, Env>;
|
|
35
|
+
type Types = Destination$1.Types<Settings$1, Mapping$1, Env>;
|
|
35
36
|
type Destination = DestinationWeb.Destination<Types>;
|
|
36
37
|
type Config = DestinationWeb.Config<Types>;
|
|
37
|
-
type Rule = Mapping$
|
|
38
|
-
type Rules = Mapping$
|
|
38
|
+
type Rule = Mapping$2.Rule<Mapping$1>;
|
|
39
|
+
type Rules = Mapping$2.Rules<Rule>;
|
|
39
40
|
interface Dimensions {
|
|
40
41
|
[i: number]: string;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
type index$
|
|
44
|
-
type index$
|
|
45
|
-
type index$
|
|
46
|
-
type index$
|
|
47
|
-
type index$
|
|
48
|
-
type index$
|
|
49
|
-
type index$
|
|
50
|
-
|
|
51
|
-
type index$
|
|
52
|
-
declare namespace index$1 {
|
|
53
|
-
export type { index$1_Config as Config, index$1_Destination as Destination, index$1_Dimensions as Dimensions, index$1_Env as Env, index$1_Mapping as Mapping, index$1_Rule as Rule, index$1_Rules as Rules, index$1_Settings as Settings, index$1_Types as Types };
|
|
44
|
+
type index$2_Config = Config;
|
|
45
|
+
type index$2_Destination = Destination;
|
|
46
|
+
type index$2_Dimensions = Dimensions;
|
|
47
|
+
type index$2_Env = Env;
|
|
48
|
+
type index$2_Rule = Rule;
|
|
49
|
+
type index$2_Rules = Rules;
|
|
50
|
+
type index$2_Types = Types;
|
|
51
|
+
declare namespace index$2 {
|
|
52
|
+
export type { index$2_Config as Config, index$2_Destination as Destination, index$2_Dimensions as Dimensions, index$2_Env as Env, Mapping$1 as Mapping, index$2_Rule as Rule, index$2_Rules as Rules, Settings$1 as Settings, index$2_Types as Types };
|
|
54
53
|
}
|
|
55
54
|
|
|
56
55
|
/**
|
|
@@ -94,22 +93,47 @@ declare const config: {
|
|
|
94
93
|
};
|
|
95
94
|
};
|
|
96
95
|
|
|
97
|
-
declare const
|
|
98
|
-
declare const
|
|
99
|
-
declare const
|
|
100
|
-
declare const
|
|
101
|
-
declare const
|
|
102
|
-
declare namespace mapping {
|
|
103
|
-
export {
|
|
96
|
+
declare const mapping$1_config: typeof config;
|
|
97
|
+
declare const mapping$1_ecommerceAddToCart: typeof ecommerceAddToCart;
|
|
98
|
+
declare const mapping$1_ecommerceCartUpdate: typeof ecommerceCartUpdate;
|
|
99
|
+
declare const mapping$1_ecommerceOrder: typeof ecommerceOrder;
|
|
100
|
+
declare const mapping$1_ecommerceProductDetailView: typeof ecommerceProductDetailView;
|
|
101
|
+
declare namespace mapping$1 {
|
|
102
|
+
export { mapping$1_config as config, mapping$1_ecommerceAddToCart as ecommerceAddToCart, mapping$1_ecommerceCartUpdate as ecommerceCartUpdate, mapping$1_ecommerceOrder as ecommerceOrder, mapping$1_ecommerceProductDetailView as ecommerceProductDetailView };
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare const index$1_env: typeof env;
|
|
106
|
+
declare const index$1_events: typeof events;
|
|
107
|
+
declare namespace index$1 {
|
|
108
|
+
export { index$1_env as env, index$1_events as events, mapping$1 as mapping };
|
|
104
109
|
}
|
|
105
110
|
|
|
106
|
-
declare const
|
|
107
|
-
|
|
111
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
112
|
+
appId: z.ZodString;
|
|
113
|
+
url: z.ZodString;
|
|
114
|
+
linkTracking: z.ZodDefault<z.ZodBoolean>;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
117
|
+
|
|
118
|
+
declare const MappingSchema: z.ZodObject<{
|
|
119
|
+
goalId: z.ZodString;
|
|
120
|
+
goalValue: z.ZodOptional<z.ZodString>;
|
|
121
|
+
}, z.core.$strip>;
|
|
122
|
+
type Mapping = z.infer<typeof MappingSchema>;
|
|
123
|
+
|
|
124
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
125
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
126
|
+
|
|
127
|
+
type index_Mapping = Mapping;
|
|
128
|
+
declare const index_MappingSchema: typeof MappingSchema;
|
|
129
|
+
type index_Settings = Settings;
|
|
130
|
+
declare const index_SettingsSchema: typeof SettingsSchema;
|
|
108
131
|
declare const index_mapping: typeof mapping;
|
|
132
|
+
declare const index_settings: typeof settings;
|
|
109
133
|
declare namespace index {
|
|
110
|
-
export {
|
|
134
|
+
export { type index_Mapping as Mapping, index_MappingSchema as MappingSchema, type index_Settings as Settings, index_SettingsSchema as SettingsSchema, index_mapping as mapping, index_settings as settings };
|
|
111
135
|
}
|
|
112
136
|
|
|
113
137
|
declare const destinationPiwikPro: Destination;
|
|
114
138
|
|
|
115
|
-
export { index$
|
|
139
|
+
export { index$2 as DestinationPiwikPro, destinationPiwikPro as default, destinationPiwikPro, index$1 as examples, index as schemas };
|