@whizzes/wsfc 0.0.1-early-dev-12 → 0.0.1-early-dev-14

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@whizzes/wsfc",
3
- "version": "0.0.1-early-dev-12",
3
+ "version": "0.0.1-early-dev-14",
4
4
  "main": "./src/index.ts",
5
5
  "module": "./src/index.ts",
6
6
  "types": "./src/index.d.ts",
@@ -38,6 +38,7 @@ fragment ProductsListFields on Product {
38
38
  name
39
39
  path
40
40
  position
41
+ pathString
41
42
  isActive
42
43
  createdAt
43
44
  updatedAt
@@ -13,6 +13,8 @@ export class ProductService extends WizardGraphQLClient<unknown> {
13
13
 
14
14
  constructor(urqlClient: Client, channel: string) {
15
15
  super(urqlClient);
16
+
17
+ this.channel = channel;
16
18
  }
17
19
 
18
20
  async listProducts(): Promise<ProductsListFieldsFragment[]> {
@@ -33,6 +33,8 @@ export type Category = {
33
33
  isActive: Scalars['Boolean']['output'];
34
34
  name: Scalars['String']['output'];
35
35
  path: Array<Scalars['CategoryLabel']['output']>;
36
+ /** String representation of the category path. */
37
+ pathString: Scalars['String']['output'];
36
38
  position: Scalars['Int']['output'];
37
39
  updatedAt: Scalars['DateTime']['output'];
38
40
  };
@@ -364,9 +366,9 @@ export type ProductsListQueryVariables = Exact<{
364
366
  }>;
365
367
 
366
368
 
367
- export type ProductsListQuery = { __typename?: 'Query', products: { __typename?: 'ProductConnection', edges: Array<{ __typename?: 'ProductEdge', node: { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, metadata?: any | null, defaultVariantId: any, position: number, defaultVariant: { __typename?: 'Variant', id: any, channelCode: any, sku?: string | null, productId: any, requiresShipping: boolean, images: Array<{ __typename?: 'Image', id: any, channelCode: any, height: number, width: number, url: string, thumbnailUrl?: string | null, size: number, mimeType: MimeType, useCase: UseCase, createdAt: any, updatedAt: any }>, prices: Array<{ __typename?: 'Price', variantId: any, channelCode: any, currency: Iso4217, price: any }> }, categories: Array<{ __typename?: 'Category', id: any, name: string, path: Array<any>, position: number, isActive: boolean, createdAt: any, updatedAt: any }> } }> } };
369
+ export type ProductsListQuery = { __typename?: 'Query', products: { __typename?: 'ProductConnection', edges: Array<{ __typename?: 'ProductEdge', node: { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, metadata?: any | null, defaultVariantId: any, position: number, defaultVariant: { __typename?: 'Variant', id: any, channelCode: any, sku?: string | null, productId: any, requiresShipping: boolean, images: Array<{ __typename?: 'Image', id: any, channelCode: any, height: number, width: number, url: string, thumbnailUrl?: string | null, size: number, mimeType: MimeType, useCase: UseCase, createdAt: any, updatedAt: any }>, prices: Array<{ __typename?: 'Price', variantId: any, channelCode: any, currency: Iso4217, price: any }> }, categories: Array<{ __typename?: 'Category', id: any, name: string, path: Array<any>, position: number, pathString: string, isActive: boolean, createdAt: any, updatedAt: any }> } }> } };
368
370
 
369
- export type ProductsListFieldsFragment = { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, metadata?: any | null, defaultVariantId: any, position: number, defaultVariant: { __typename?: 'Variant', id: any, channelCode: any, sku?: string | null, productId: any, requiresShipping: boolean, images: Array<{ __typename?: 'Image', id: any, channelCode: any, height: number, width: number, url: string, thumbnailUrl?: string | null, size: number, mimeType: MimeType, useCase: UseCase, createdAt: any, updatedAt: any }>, prices: Array<{ __typename?: 'Price', variantId: any, channelCode: any, currency: Iso4217, price: any }> }, categories: Array<{ __typename?: 'Category', id: any, name: string, path: Array<any>, position: number, isActive: boolean, createdAt: any, updatedAt: any }> };
371
+ export type ProductsListFieldsFragment = { __typename?: 'Product', channelCode: any, id: any, name: string, slug: any, description: any, metadata?: any | null, defaultVariantId: any, position: number, defaultVariant: { __typename?: 'Variant', id: any, channelCode: any, sku?: string | null, productId: any, requiresShipping: boolean, images: Array<{ __typename?: 'Image', id: any, channelCode: any, height: number, width: number, url: string, thumbnailUrl?: string | null, size: number, mimeType: MimeType, useCase: UseCase, createdAt: any, updatedAt: any }>, prices: Array<{ __typename?: 'Price', variantId: any, channelCode: any, currency: Iso4217, price: any }> }, categories: Array<{ __typename?: 'Category', id: any, name: string, path: Array<any>, position: number, pathString: string, isActive: boolean, createdAt: any, updatedAt: any }> };
370
372
 
371
373
  export const CategoriesListFieldsFragmentDoc = gql`
372
374
  fragment CategoriesListFields on Category {
@@ -455,6 +457,7 @@ export const ProductsListFieldsFragmentDoc = gql`
455
457
  name
456
458
  path
457
459
  position
460
+ pathString
458
461
  isActive
459
462
  createdAt
460
463
  updatedAt