@walkeros/web-source-browser 0.3.2 → 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 ADDED
@@ -0,0 +1,59 @@
1
+ import * as _walkeros_core_dev from '@walkeros/core/dev';
2
+ import { z } from '@walkeros/core/dev';
3
+
4
+ /**
5
+ * Data attribute prefix
6
+ * Used for DOM event tracking
7
+ */
8
+ declare const DataAttributePrefix: z.ZodString;
9
+ /**
10
+ * JavaScript variable name
11
+ * Used for global function names
12
+ */
13
+ declare const JavaScriptVarName: z.ZodString;
14
+ /**
15
+ * DOM scope selector
16
+ * Note: Runtime type is Element | Document (non-serializable)
17
+ */
18
+ declare const ScopeSelector: z.ZodOptional<z.ZodString>;
19
+
20
+ /**
21
+ * Browser source settings schema
22
+ */
23
+ declare const SettingsSchema: z.ZodObject<{
24
+ prefix: z.ZodDefault<z.ZodString>;
25
+ scope: z.ZodOptional<z.ZodString>;
26
+ pageview: z.ZodDefault<z.ZodBoolean>;
27
+ session: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodAny]>>;
28
+ elb: z.ZodDefault<z.ZodString>;
29
+ name: z.ZodOptional<z.ZodString>;
30
+ elbLayer: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodAny]>>;
31
+ }, z.core.$strip>;
32
+ type Settings = z.infer<typeof SettingsSchema>;
33
+
34
+ /**
35
+ * Tagger configuration schema
36
+ * Used for automatic data attribute generation
37
+ */
38
+ declare const TaggerSchema: z.ZodObject<{
39
+ prefix: z.ZodDefault<z.ZodString>;
40
+ }, z.core.$strip>;
41
+ type TaggerConfig = z.infer<typeof TaggerSchema>;
42
+
43
+ declare const settings: _walkeros_core_dev.JSONSchema;
44
+ declare const tagger: _walkeros_core_dev.JSONSchema;
45
+
46
+ declare const index_DataAttributePrefix: typeof DataAttributePrefix;
47
+ declare const index_JavaScriptVarName: typeof JavaScriptVarName;
48
+ declare const index_ScopeSelector: typeof ScopeSelector;
49
+ type index_Settings = Settings;
50
+ declare const index_SettingsSchema: typeof SettingsSchema;
51
+ type index_TaggerConfig = TaggerConfig;
52
+ declare const index_TaggerSchema: typeof TaggerSchema;
53
+ declare const index_settings: typeof settings;
54
+ declare const index_tagger: typeof tagger;
55
+ declare namespace index {
56
+ export { index_DataAttributePrefix as DataAttributePrefix, index_JavaScriptVarName as JavaScriptVarName, index_ScopeSelector as ScopeSelector, type index_Settings as Settings, index_SettingsSchema as SettingsSchema, type index_TaggerConfig as TaggerConfig, index_TaggerSchema as TaggerSchema, index_settings as settings, index_tagger as tagger };
57
+ }
58
+
59
+ export { index as schemas };
package/dist/dev.d.ts ADDED
@@ -0,0 +1,59 @@
1
+ import * as _walkeros_core_dev from '@walkeros/core/dev';
2
+ import { z } from '@walkeros/core/dev';
3
+
4
+ /**
5
+ * Data attribute prefix
6
+ * Used for DOM event tracking
7
+ */
8
+ declare const DataAttributePrefix: z.ZodString;
9
+ /**
10
+ * JavaScript variable name
11
+ * Used for global function names
12
+ */
13
+ declare const JavaScriptVarName: z.ZodString;
14
+ /**
15
+ * DOM scope selector
16
+ * Note: Runtime type is Element | Document (non-serializable)
17
+ */
18
+ declare const ScopeSelector: z.ZodOptional<z.ZodString>;
19
+
20
+ /**
21
+ * Browser source settings schema
22
+ */
23
+ declare const SettingsSchema: z.ZodObject<{
24
+ prefix: z.ZodDefault<z.ZodString>;
25
+ scope: z.ZodOptional<z.ZodString>;
26
+ pageview: z.ZodDefault<z.ZodBoolean>;
27
+ session: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodAny]>>;
28
+ elb: z.ZodDefault<z.ZodString>;
29
+ name: z.ZodOptional<z.ZodString>;
30
+ elbLayer: z.ZodDefault<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString, z.ZodAny]>>;
31
+ }, z.core.$strip>;
32
+ type Settings = z.infer<typeof SettingsSchema>;
33
+
34
+ /**
35
+ * Tagger configuration schema
36
+ * Used for automatic data attribute generation
37
+ */
38
+ declare const TaggerSchema: z.ZodObject<{
39
+ prefix: z.ZodDefault<z.ZodString>;
40
+ }, z.core.$strip>;
41
+ type TaggerConfig = z.infer<typeof TaggerSchema>;
42
+
43
+ declare const settings: _walkeros_core_dev.JSONSchema;
44
+ declare const tagger: _walkeros_core_dev.JSONSchema;
45
+
46
+ declare const index_DataAttributePrefix: typeof DataAttributePrefix;
47
+ declare const index_JavaScriptVarName: typeof JavaScriptVarName;
48
+ declare const index_ScopeSelector: typeof ScopeSelector;
49
+ type index_Settings = Settings;
50
+ declare const index_SettingsSchema: typeof SettingsSchema;
51
+ type index_TaggerConfig = TaggerConfig;
52
+ declare const index_TaggerSchema: typeof TaggerSchema;
53
+ declare const index_settings: typeof settings;
54
+ declare const index_tagger: typeof tagger;
55
+ declare namespace index {
56
+ export { index_DataAttributePrefix as DataAttributePrefix, index_JavaScriptVarName as JavaScriptVarName, index_ScopeSelector as ScopeSelector, type index_Settings as Settings, index_SettingsSchema as SettingsSchema, type index_TaggerConfig as TaggerConfig, index_TaggerSchema as TaggerSchema, index_settings as settings, index_tagger as tagger };
57
+ }
58
+
59
+ export { index as schemas };