@walkeros/web-destination-api 2.0.1 → 2.1.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/dev.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _walkeros_core_dev from '@walkeros/core/dev';
2
2
  import { z } from '@walkeros/core/dev';
3
- import { Mapping as Mapping$2 } from '@walkeros/core';
4
3
  import { DestinationWeb, sendWeb } from '@walkeros/web-core';
4
+ import { Flow } from '@walkeros/core';
5
5
 
6
6
  declare const SettingsSchema: z.ZodObject<{
7
7
  url: z.ZodString;
@@ -17,25 +17,24 @@ declare const SettingsSchema: z.ZodObject<{
17
17
  type Settings = z.infer<typeof SettingsSchema>;
18
18
 
19
19
  declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
20
- type Mapping$1 = z.infer<typeof MappingSchema>;
20
+ type Mapping = z.infer<typeof MappingSchema>;
21
21
 
22
22
  declare const settings: _walkeros_core_dev.JSONSchema;
23
- declare const mapping$1: _walkeros_core_dev.JSONSchema;
23
+ declare const mapping: _walkeros_core_dev.JSONSchema;
24
24
 
25
+ type index$1_Mapping = Mapping;
25
26
  declare const index$1_MappingSchema: typeof MappingSchema;
26
27
  type index$1_Settings = Settings;
27
28
  declare const index$1_SettingsSchema: typeof SettingsSchema;
29
+ declare const index$1_mapping: typeof mapping;
28
30
  declare const index$1_settings: typeof settings;
29
31
  declare namespace index$1 {
30
- export { type Mapping$1 as Mapping, index$1_MappingSchema as MappingSchema, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, mapping$1 as mapping, index$1_settings as settings };
32
+ export { type index$1_Mapping as Mapping, index$1_MappingSchema as MappingSchema, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, index$1_mapping as mapping, index$1_settings as settings };
31
33
  }
32
34
 
33
- interface Mapping {
34
- }
35
35
  interface Env extends DestinationWeb.Env {
36
36
  sendWeb?: typeof sendWeb;
37
37
  }
38
- type Rule = Mapping$2.Rule<Mapping>;
39
38
 
40
39
  declare const init: Env | undefined;
41
40
  declare const push: Env;
@@ -52,30 +51,19 @@ declare namespace env {
52
51
  export { env_init as init, env_push as push, env_simulation as simulation };
53
52
  }
54
53
 
55
- declare function entity_action$1(): string;
56
-
57
- declare namespace events {
58
- export { entity_action$1 as entity_action };
59
- }
60
-
61
- declare const entity_action: Rule;
62
- declare const config: {
63
- entity: {
64
- action: Rule;
65
- };
66
- };
54
+ declare const entityAction: Flow.StepExample;
55
+ declare const pageView: Flow.StepExample;
67
56
 
68
- declare const mapping_config: typeof config;
69
- declare const mapping_entity_action: typeof entity_action;
70
- declare namespace mapping {
71
- export { mapping_config as config, mapping_entity_action as entity_action };
57
+ declare const step_entityAction: typeof entityAction;
58
+ declare const step_pageView: typeof pageView;
59
+ declare namespace step {
60
+ export { step_entityAction as entityAction, step_pageView as pageView };
72
61
  }
73
62
 
74
63
  declare const index_env: typeof env;
75
- declare const index_events: typeof events;
76
- declare const index_mapping: typeof mapping;
64
+ declare const index_step: typeof step;
77
65
  declare namespace index {
78
- export { index_env as env, index_events as events, index_mapping as mapping };
66
+ export { index_env as env, index_step as step };
79
67
  }
80
68
 
81
69
  export { index as examples, index$1 as schemas };
package/dist/dev.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _walkeros_core_dev from '@walkeros/core/dev';
2
2
  import { z } from '@walkeros/core/dev';
3
- import { Mapping as Mapping$2 } from '@walkeros/core';
4
3
  import { DestinationWeb, sendWeb } from '@walkeros/web-core';
4
+ import { Flow } from '@walkeros/core';
5
5
 
6
6
  declare const SettingsSchema: z.ZodObject<{
7
7
  url: z.ZodString;
@@ -17,25 +17,24 @@ declare const SettingsSchema: z.ZodObject<{
17
17
  type Settings = z.infer<typeof SettingsSchema>;
18
18
 
19
19
  declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
20
- type Mapping$1 = z.infer<typeof MappingSchema>;
20
+ type Mapping = z.infer<typeof MappingSchema>;
21
21
 
22
22
  declare const settings: _walkeros_core_dev.JSONSchema;
23
- declare const mapping$1: _walkeros_core_dev.JSONSchema;
23
+ declare const mapping: _walkeros_core_dev.JSONSchema;
24
24
 
25
+ type index$1_Mapping = Mapping;
25
26
  declare const index$1_MappingSchema: typeof MappingSchema;
26
27
  type index$1_Settings = Settings;
27
28
  declare const index$1_SettingsSchema: typeof SettingsSchema;
29
+ declare const index$1_mapping: typeof mapping;
28
30
  declare const index$1_settings: typeof settings;
29
31
  declare namespace index$1 {
30
- export { type Mapping$1 as Mapping, index$1_MappingSchema as MappingSchema, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, mapping$1 as mapping, index$1_settings as settings };
32
+ export { type index$1_Mapping as Mapping, index$1_MappingSchema as MappingSchema, type index$1_Settings as Settings, index$1_SettingsSchema as SettingsSchema, index$1_mapping as mapping, index$1_settings as settings };
31
33
  }
32
34
 
33
- interface Mapping {
34
- }
35
35
  interface Env extends DestinationWeb.Env {
36
36
  sendWeb?: typeof sendWeb;
37
37
  }
38
- type Rule = Mapping$2.Rule<Mapping>;
39
38
 
40
39
  declare const init: Env | undefined;
41
40
  declare const push: Env;
@@ -52,30 +51,19 @@ declare namespace env {
52
51
  export { env_init as init, env_push as push, env_simulation as simulation };
53
52
  }
54
53
 
55
- declare function entity_action$1(): string;
56
-
57
- declare namespace events {
58
- export { entity_action$1 as entity_action };
59
- }
60
-
61
- declare const entity_action: Rule;
62
- declare const config: {
63
- entity: {
64
- action: Rule;
65
- };
66
- };
54
+ declare const entityAction: Flow.StepExample;
55
+ declare const pageView: Flow.StepExample;
67
56
 
68
- declare const mapping_config: typeof config;
69
- declare const mapping_entity_action: typeof entity_action;
70
- declare namespace mapping {
71
- export { mapping_config as config, mapping_entity_action as entity_action };
57
+ declare const step_entityAction: typeof entityAction;
58
+ declare const step_pageView: typeof pageView;
59
+ declare namespace step {
60
+ export { step_entityAction as entityAction, step_pageView as pageView };
72
61
  }
73
62
 
74
63
  declare const index_env: typeof env;
75
- declare const index_events: typeof events;
76
- declare const index_mapping: typeof mapping;
64
+ declare const index_step: typeof step;
77
65
  declare namespace index {
78
- export { index_env as env, index_events as events, index_mapping as mapping };
66
+ export { index_env as env, index_step as step };
79
67
  }
80
68
 
81
69
  export { index as examples, index$1 as schemas };