@walkeros/web-destination-plausible 0.3.0 → 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/examples/index.js +12548 -5137
- package/dist/examples/index.mjs +12548 -5137
- package/dist/index.browser.js +1 -1
- package/dist/index.d.mts +5 -19
- package/dist/index.d.ts +5 -19
- 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 +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
1
2
|
import { WalkerOS, Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
2
3
|
import { DestinationWeb } from '@walkeros/web-core';
|
|
3
|
-
import * as zod_to_json_schema from 'zod-to-json-schema';
|
|
4
4
|
|
|
5
5
|
declare global {
|
|
6
6
|
interface Window {
|
|
@@ -87,35 +87,21 @@ declare namespace index$1 {
|
|
|
87
87
|
|
|
88
88
|
declare const SettingsSchema: z.ZodObject<{
|
|
89
89
|
domain: z.ZodOptional<z.ZodString>;
|
|
90
|
-
},
|
|
91
|
-
domain?: string | undefined;
|
|
92
|
-
}, {
|
|
93
|
-
domain?: string | undefined;
|
|
94
|
-
}>;
|
|
90
|
+
}, z.core.$strip>;
|
|
95
91
|
type Settings = z.infer<typeof SettingsSchema>;
|
|
96
92
|
|
|
97
93
|
/**
|
|
98
94
|
* Plausible Mapping Schema
|
|
99
95
|
* Plausible has no event-level mapping configuration
|
|
100
96
|
*/
|
|
101
|
-
declare const MappingSchema: z.ZodObject<{},
|
|
97
|
+
declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
|
|
102
98
|
/**
|
|
103
99
|
* Type inference from MappingSchema
|
|
104
100
|
*/
|
|
105
101
|
type Mapping = z.infer<typeof MappingSchema>;
|
|
106
102
|
|
|
107
|
-
declare const settings:
|
|
108
|
-
|
|
109
|
-
definitions?: {
|
|
110
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
111
|
-
} | undefined;
|
|
112
|
-
};
|
|
113
|
-
declare const mapping: zod_to_json_schema.JsonSchema7Type & {
|
|
114
|
-
$schema?: string | undefined;
|
|
115
|
-
definitions?: {
|
|
116
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
117
|
-
} | undefined;
|
|
118
|
-
};
|
|
103
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
104
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
119
105
|
|
|
120
106
|
type index_Mapping = Mapping;
|
|
121
107
|
declare const index_MappingSchema: typeof MappingSchema;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import * as _walkeros_core from '@walkeros/core';
|
|
1
2
|
import { WalkerOS, Destination as Destination$1, Mapping as Mapping$2, z } from '@walkeros/core';
|
|
2
3
|
import { DestinationWeb } from '@walkeros/web-core';
|
|
3
|
-
import * as zod_to_json_schema from 'zod-to-json-schema';
|
|
4
4
|
|
|
5
5
|
declare global {
|
|
6
6
|
interface Window {
|
|
@@ -87,35 +87,21 @@ declare namespace index$1 {
|
|
|
87
87
|
|
|
88
88
|
declare const SettingsSchema: z.ZodObject<{
|
|
89
89
|
domain: z.ZodOptional<z.ZodString>;
|
|
90
|
-
},
|
|
91
|
-
domain?: string | undefined;
|
|
92
|
-
}, {
|
|
93
|
-
domain?: string | undefined;
|
|
94
|
-
}>;
|
|
90
|
+
}, z.core.$strip>;
|
|
95
91
|
type Settings = z.infer<typeof SettingsSchema>;
|
|
96
92
|
|
|
97
93
|
/**
|
|
98
94
|
* Plausible Mapping Schema
|
|
99
95
|
* Plausible has no event-level mapping configuration
|
|
100
96
|
*/
|
|
101
|
-
declare const MappingSchema: z.ZodObject<{},
|
|
97
|
+
declare const MappingSchema: z.ZodObject<{}, z.core.$strip>;
|
|
102
98
|
/**
|
|
103
99
|
* Type inference from MappingSchema
|
|
104
100
|
*/
|
|
105
101
|
type Mapping = z.infer<typeof MappingSchema>;
|
|
106
102
|
|
|
107
|
-
declare const settings:
|
|
108
|
-
|
|
109
|
-
definitions?: {
|
|
110
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
111
|
-
} | undefined;
|
|
112
|
-
};
|
|
113
|
-
declare const mapping: zod_to_json_schema.JsonSchema7Type & {
|
|
114
|
-
$schema?: string | undefined;
|
|
115
|
-
definitions?: {
|
|
116
|
-
[key: string]: zod_to_json_schema.JsonSchema7Type;
|
|
117
|
-
} | undefined;
|
|
118
|
-
};
|
|
103
|
+
declare const settings: _walkeros_core.JSONSchema;
|
|
104
|
+
declare const mapping: _walkeros_core.JSONSchema;
|
|
119
105
|
|
|
120
106
|
type index_Mapping = Mapping;
|
|
121
107
|
declare const index_MappingSchema: typeof MappingSchema;
|