@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/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
- }, "strip", z.ZodTypeAny, {
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<{}, "strip", z.ZodTypeAny, {}, {}>;
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: zod_to_json_schema.JsonSchema7Type & {
108
- $schema?: string | undefined;
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
- }, "strip", z.ZodTypeAny, {
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<{}, "strip", z.ZodTypeAny, {}, {}>;
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: zod_to_json_schema.JsonSchema7Type & {
108
- $schema?: string | undefined;
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;