@reactionary/provider-fake 0.3.9 → 0.3.11

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,10 +1,10 @@
1
1
  {
2
2
  "name": "@reactionary/provider-fake",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "main": "index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "dependencies": {
7
- "@reactionary/core": "0.3.9",
7
+ "@reactionary/core": "0.3.11",
8
8
  "zod": "4.1.9",
9
9
  "@faker-js/faker": "^9.8.0"
10
10
  },
@@ -10,7 +10,7 @@ var __decorateClass = (decorators, target, key, kind) => {
10
10
  return result;
11
11
  };
12
12
  import { success, error, CategoryPaginatedResultSchema, CategoryProvider, CategoryQueryByIdSchema, CategoryQueryBySlugSchema, CategoryQueryForBreadcrumbSchema, CategoryQueryForChildCategoriesSchema, CategoryQueryForTopCategoriesSchema, CategorySchema, Reactionary } from "@reactionary/core";
13
- import { z } from "zod";
13
+ import * as z from "zod";
14
14
  import { Faker, en, base } from "@faker-js/faker";
15
15
  class FakeCategoryProvider extends CategoryProvider {
16
16
  constructor(config, cache, context) {
@@ -27,7 +27,7 @@ import {
27
27
  ShippingMethodSchema
28
28
  } from "@reactionary/core";
29
29
  import { base, en, Faker } from "@faker-js/faker";
30
- import { z } from "zod";
30
+ import * as z from "zod";
31
31
  class FakeCheckoutProvider extends CheckoutProvider {
32
32
  constructor(config, cache, context) {
33
33
  super(cache, context);
@@ -10,7 +10,7 @@ var __decorateClass = (decorators, target, key, kind) => {
10
10
  return result;
11
11
  };
12
12
  import { Reactionary, StoreProvider, StoreQueryByProximitySchema, StoreSchema, success } from "@reactionary/core";
13
- import { z } from "zod";
13
+ import * as z from "zod";
14
14
  import { base, en, Faker } from "@faker-js/faker";
15
15
  class FakeStoreProvider extends StoreProvider {
16
16
  constructor(config, cache, context) {
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import * as z from "zod";
2
2
  const FakeConfigurationSchema = z.looseObject({
3
3
  jitter: z.looseObject({
4
4
  mean: z.number().min(0).max(1e4),
@@ -1,4 +1,4 @@
1
- import type { z } from 'zod';
1
+ import type * as z from 'zod';
2
2
  export declare const FakeCapabilitiesSchema: z.ZodObject<{
3
3
  price: z.ZodOptional<z.ZodBoolean>;
4
4
  product: z.ZodOptional<z.ZodBoolean>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import * as z from 'zod';
2
2
  export declare const FakeConfigurationSchema: z.ZodObject<{
3
3
  jitter: z.ZodDefault<z.ZodObject<{
4
4
  mean: z.ZodNumber;