@walkeros/web-destination-api 0.3.1 → 0.4.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 +81 -0
- package/dist/dev.d.ts +81 -0
- package/dist/dev.js +1 -0
- package/dist/dev.js.map +1 -0
- package/dist/dev.mjs +1 -0
- package/dist/dev.mjs.map +1 -0
- package/dist/examples/index.js +19 -12922
- package/dist/examples/index.mjs +19 -12922
- package/dist/index.browser.js +1 -1
- package/dist/index.d.mts +19 -85
- package/dist/index.d.ts +19 -85
- 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 +7 -2
package/dist/dev.d.mts
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as _walkeros_core_dev from '@walkeros/core/dev';
|
|
2
|
+
import { z } from '@walkeros/core/dev';
|
|
3
|
+
import { Mapping as Mapping$2 } from '@walkeros/core';
|
|
4
|
+
import { DestinationWeb, sendWeb } from '@walkeros/web-core';
|
|
5
|
+
|
|
6
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
7
|
+
url: z.ZodString;
|
|
8
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9
|
+
method: z.ZodDefault<z.ZodString>;
|
|
10
|
+
transform: z.ZodOptional<z.ZodAny>;
|
|
11
|
+
transport: z.ZodDefault<z.ZodEnum<{
|
|
12
|
+
fetch: "fetch";
|
|
13
|
+
xhr: "xhr";
|
|
14
|
+
beacon: "beacon";
|
|
15
|
+
}>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
18
|
+
|
|
19
|
+
declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
|
|
20
|
+
type Mapping$1 = z.infer<typeof MappingSchema>;
|
|
21
|
+
|
|
22
|
+
declare const settings: _walkeros_core_dev.JSONSchema;
|
|
23
|
+
declare const mapping$1: _walkeros_core_dev.JSONSchema;
|
|
24
|
+
|
|
25
|
+
declare const index$1_MappingSchema: typeof MappingSchema;
|
|
26
|
+
type index$1_Settings = Settings;
|
|
27
|
+
declare const index$1_SettingsSchema: typeof SettingsSchema;
|
|
28
|
+
declare const index$1_settings: typeof settings;
|
|
29
|
+
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 };
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface Mapping {
|
|
34
|
+
}
|
|
35
|
+
interface Env extends DestinationWeb.Env {
|
|
36
|
+
sendWeb?: typeof sendWeb;
|
|
37
|
+
}
|
|
38
|
+
type Rule = Mapping$2.Rule<Mapping>;
|
|
39
|
+
|
|
40
|
+
declare const init: Env | undefined;
|
|
41
|
+
declare const push: Env;
|
|
42
|
+
/**
|
|
43
|
+
* Simulation tracking paths
|
|
44
|
+
* Specifies which function calls to track during simulation
|
|
45
|
+
*/
|
|
46
|
+
declare const simulation: string[];
|
|
47
|
+
|
|
48
|
+
declare const env_init: typeof init;
|
|
49
|
+
declare const env_push: typeof push;
|
|
50
|
+
declare const env_simulation: typeof simulation;
|
|
51
|
+
declare namespace env {
|
|
52
|
+
export { env_init as init, env_push as push, env_simulation as simulation };
|
|
53
|
+
}
|
|
54
|
+
|
|
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
|
+
};
|
|
67
|
+
|
|
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 };
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare const index_env: typeof env;
|
|
75
|
+
declare const index_events: typeof events;
|
|
76
|
+
declare const index_mapping: typeof mapping;
|
|
77
|
+
declare namespace index {
|
|
78
|
+
export { index_env as env, index_events as events, index_mapping as mapping };
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { index as examples, index$1 as schemas };
|
package/dist/dev.d.ts
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as _walkeros_core_dev from '@walkeros/core/dev';
|
|
2
|
+
import { z } from '@walkeros/core/dev';
|
|
3
|
+
import { Mapping as Mapping$2 } from '@walkeros/core';
|
|
4
|
+
import { DestinationWeb, sendWeb } from '@walkeros/web-core';
|
|
5
|
+
|
|
6
|
+
declare const SettingsSchema: z.ZodObject<{
|
|
7
|
+
url: z.ZodString;
|
|
8
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9
|
+
method: z.ZodDefault<z.ZodString>;
|
|
10
|
+
transform: z.ZodOptional<z.ZodAny>;
|
|
11
|
+
transport: z.ZodDefault<z.ZodEnum<{
|
|
12
|
+
fetch: "fetch";
|
|
13
|
+
xhr: "xhr";
|
|
14
|
+
beacon: "beacon";
|
|
15
|
+
}>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
type Settings = z.infer<typeof SettingsSchema>;
|
|
18
|
+
|
|
19
|
+
declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
|
|
20
|
+
type Mapping$1 = z.infer<typeof MappingSchema>;
|
|
21
|
+
|
|
22
|
+
declare const settings: _walkeros_core_dev.JSONSchema;
|
|
23
|
+
declare const mapping$1: _walkeros_core_dev.JSONSchema;
|
|
24
|
+
|
|
25
|
+
declare const index$1_MappingSchema: typeof MappingSchema;
|
|
26
|
+
type index$1_Settings = Settings;
|
|
27
|
+
declare const index$1_SettingsSchema: typeof SettingsSchema;
|
|
28
|
+
declare const index$1_settings: typeof settings;
|
|
29
|
+
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 };
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface Mapping {
|
|
34
|
+
}
|
|
35
|
+
interface Env extends DestinationWeb.Env {
|
|
36
|
+
sendWeb?: typeof sendWeb;
|
|
37
|
+
}
|
|
38
|
+
type Rule = Mapping$2.Rule<Mapping>;
|
|
39
|
+
|
|
40
|
+
declare const init: Env | undefined;
|
|
41
|
+
declare const push: Env;
|
|
42
|
+
/**
|
|
43
|
+
* Simulation tracking paths
|
|
44
|
+
* Specifies which function calls to track during simulation
|
|
45
|
+
*/
|
|
46
|
+
declare const simulation: string[];
|
|
47
|
+
|
|
48
|
+
declare const env_init: typeof init;
|
|
49
|
+
declare const env_push: typeof push;
|
|
50
|
+
declare const env_simulation: typeof simulation;
|
|
51
|
+
declare namespace env {
|
|
52
|
+
export { env_init as init, env_push as push, env_simulation as simulation };
|
|
53
|
+
}
|
|
54
|
+
|
|
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
|
+
};
|
|
67
|
+
|
|
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 };
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
declare const index_env: typeof env;
|
|
75
|
+
declare const index_events: typeof events;
|
|
76
|
+
declare const index_mapping: typeof mapping;
|
|
77
|
+
declare namespace index {
|
|
78
|
+
export { index_env as env, index_events as events, index_mapping as mapping };
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export { index as examples, index$1 as schemas };
|