@ninetailed/experience.js-utils 3.0.2-beta.2 → 3.0.3-beta.0

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/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@ninetailed/experience.js-utils",
3
- "version": "3.0.2-beta.2",
3
+ "version": "3.0.3-beta.0",
4
4
  "module": "./index.js",
5
5
  "main": "./index.cjs",
6
6
  "type": "module",
7
7
  "types": "./index.d.ts",
8
8
  "dependencies": {
9
- "@ninetailed/experience.js": "3.0.2-beta.2",
10
- "@ninetailed/experience.js-shared": "3.0.2-beta.2",
9
+ "@ninetailed/experience.js": "3.0.3-beta.0",
10
+ "@ninetailed/experience.js-shared": "3.0.3-beta.0",
11
11
  "zod": "3.20.2"
12
12
  },
13
13
  "peerDependencies": {}
@@ -6,5 +6,5 @@ export declare const Audience: z.ZodObject<{
6
6
  }, {
7
7
  id: string;
8
8
  }>;
9
- export declare type AudienceLike = z.input<typeof Audience>;
10
- export declare type Audience = z.infer<typeof Audience>;
9
+ export type AudienceLike = z.input<typeof Audience>;
10
+ export type Audience = z.infer<typeof Audience>;
package/types/Config.d.ts CHANGED
@@ -63,8 +63,8 @@ export declare const Config: z.ZodObject<{
63
63
  }[];
64
64
  }[] | undefined;
65
65
  }>;
66
- export declare type ConfigLike = z.input<typeof Config>;
67
- export declare type Config = z.infer<typeof Config>;
66
+ export type ConfigLike = z.input<typeof Config>;
67
+ export type Config = z.infer<typeof Config>;
68
68
  export interface BaselineWithVariantRefs {
69
69
  baseline: Baseline;
70
70
  variants: VariantRef[];
@@ -147,12 +147,12 @@ export declare const ExperienceSchema: z.ZodObject<{
147
147
  name: string;
148
148
  type: string;
149
149
  }>;
150
- declare type ExperienceInput = z.input<typeof ExperienceSchema>;
151
- export declare type ExperienceLike<Variant extends Reference = Reference> = Omit<ExperienceInput, 'variants'> & {
150
+ type ExperienceInput = z.input<typeof ExperienceSchema>;
151
+ export type ExperienceLike<Variant extends Reference = Reference> = Omit<ExperienceInput, 'variants'> & {
152
152
  variants: Variant[];
153
153
  };
154
- declare type ExperienceOutput = z.infer<typeof ExperienceSchema>;
155
- export declare type Experience<Variant extends Reference = Reference> = Omit<ExperienceOutput, 'variants'> & {
154
+ type ExperienceOutput = z.infer<typeof ExperienceSchema>;
155
+ export type Experience<Variant extends Reference = Reference> = Omit<ExperienceOutput, 'variants'> & {
156
156
  variants: Variant[];
157
157
  };
158
158
  export declare const Experience: {
@@ -135,12 +135,12 @@ export declare const ExperimentSchema: z.ZodObject<z.extendShape<{
135
135
  name: string;
136
136
  type: string;
137
137
  }>;
138
- declare type ExperimentInput = z.input<typeof ExperimentSchema>;
139
- export declare type ExperimentLike<Variant extends Reference = Reference> = Omit<ExperimentInput, 'variants'> & {
138
+ type ExperimentInput = z.input<typeof ExperimentSchema>;
139
+ export type ExperimentLike<Variant extends Reference = Reference> = Omit<ExperimentInput, 'variants'> & {
140
140
  variants: Variant[];
141
141
  };
142
- declare type ExperimentOutput = z.infer<typeof ExperienceSchema>;
143
- export declare type Experiment<Variant extends Reference = Reference> = Omit<ExperimentOutput, 'variants'> & {
142
+ type ExperimentOutput = z.infer<typeof ExperienceSchema>;
143
+ export type Experiment<Variant extends Reference = Reference> = Omit<ExperimentOutput, 'variants'> & {
144
144
  variants: Variant[];
145
145
  };
146
146
  export declare const Experiment: {
@@ -8,5 +8,5 @@ export declare const Variant: z.ZodObject<{
8
8
  [x: string]: unknown;
9
9
  id: string;
10
10
  }>;
11
- export declare type VariantLike = z.input<typeof Variant>;
12
- export declare type Variant = z.infer<typeof Variant>;
11
+ export type VariantLike = z.input<typeof Variant>;
12
+ export type Variant = z.infer<typeof Variant>;