@reactionary/core 0.0.69 → 0.0.71

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.
@@ -1,18 +1,18 @@
1
1
  import { z } from "zod";
2
- export declare const CategoryQueryById: z.ZodObject<{
2
+ export declare const CategoryQueryByIdSchema: z.ZodObject<{
3
3
  id: z.ZodDefault<z.ZodObject<{
4
4
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
5
5
  }, z.core.$loose>>;
6
6
  }, z.core.$loose>;
7
- export declare const CategoryQueryBySlug: z.ZodObject<{
7
+ export declare const CategoryQueryBySlugSchema: z.ZodObject<{
8
8
  slug: z.ZodDefault<z.ZodString>;
9
9
  }, z.core.$loose>;
10
- export declare const CategoryQueryForBreadcrumb: z.ZodObject<{
10
+ export declare const CategoryQueryForBreadcrumbSchema: z.ZodObject<{
11
11
  id: z.ZodDefault<z.ZodObject<{
12
12
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
13
13
  }, z.core.$loose>>;
14
14
  }, z.core.$loose>;
15
- export declare const CategoryQueryForChildCategories: z.ZodObject<{
15
+ export declare const CategoryQueryForChildCategoriesSchema: z.ZodObject<{
16
16
  parentId: z.ZodDefault<z.ZodObject<{
17
17
  key: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
18
18
  }, z.core.$loose>>;
@@ -21,14 +21,14 @@ export declare const CategoryQueryForChildCategories: z.ZodObject<{
21
21
  pageSize: z.ZodDefault<z.ZodNumber>;
22
22
  }, z.core.$loose>>;
23
23
  }, z.core.$loose>;
24
- export declare const CategoryQueryForTopCategories: z.ZodObject<{
24
+ export declare const CategoryQueryForTopCategoriesSchema: z.ZodObject<{
25
25
  paginationOptions: z.ZodDefault<z.ZodObject<{
26
26
  pageNumber: z.ZodDefault<z.ZodNumber>;
27
27
  pageSize: z.ZodDefault<z.ZodNumber>;
28
28
  }, z.core.$loose>>;
29
29
  }, z.core.$loose>;
30
- export type CategoryQueryById = z.infer<typeof CategoryQueryById>;
31
- export type CategoryQueryBySlug = z.infer<typeof CategoryQueryBySlug>;
32
- export type CategoryQueryForBreadcrumb = z.infer<typeof CategoryQueryForBreadcrumb>;
33
- export type CategoryQueryForChildCategories = z.infer<typeof CategoryQueryForChildCategories>;
34
- export type CategoryQueryForTopCategories = z.infer<typeof CategoryQueryForTopCategories>;
30
+ export type CategoryQueryById = z.infer<typeof CategoryQueryByIdSchema>;
31
+ export type CategoryQueryBySlug = z.infer<typeof CategoryQueryBySlugSchema>;
32
+ export type CategoryQueryForBreadcrumb = z.infer<typeof CategoryQueryForBreadcrumbSchema>;
33
+ export type CategoryQueryForChildCategories = z.infer<typeof CategoryQueryForChildCategoriesSchema>;
34
+ export type CategoryQueryForTopCategories = z.infer<typeof CategoryQueryForTopCategoriesSchema>;
@@ -1,7 +1,8 @@
1
- import type { z } from 'zod';
1
+ import { z } from 'zod';
2
2
  export declare const PriceQueryBySkuSchema: z.ZodObject<{
3
3
  variant: z.ZodObject<{
4
4
  sku: z.ZodNonOptional<z.ZodNonOptional<z.ZodDefault<z.ZodString>>>;
5
5
  }, z.core.$loose>;
6
+ type: z.ZodDefault<z.ZodLiteral<"List" | "Offer">>;
6
7
  }, z.core.$loose>;
7
8
  export type PriceQueryBySku = z.infer<typeof PriceQueryBySkuSchema>;