gantri-components 1.152.2 → 1.152.4

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,13 +1,12 @@
1
1
  import { Environment, TemplateVersion } from './globals.types';
2
- export declare type ProductsFileType = 'bulb-change-instructions' | 'dimming-photos' | 'handouts' | 'job-instructions' | 'lifestyle-photos' | 'model' | 'part-stl' | 'part-thumbnail' | 'product-photos' | 'scale-photo' | 'value-props';
2
+ export declare type ProductsFileType = 'bulb-change-instructions' | 'dimming-photos' | 'handouts' | 'instructions' | 'lifestyle-photos' | 'model' | 'part-files' | 'product-photos' | 'scale-photo' | 'value-props';
3
3
  interface ProductsRootLevel {
4
4
  productId: number;
5
5
  }
6
6
  interface ProductsSkuLevel extends ProductsRootLevel {
7
7
  sku: string;
8
8
  }
9
- interface ProductsTemplateLevel extends ProductsRootLevel {
10
- partId: number;
9
+ interface ProductsTemplateLevel extends ProductsSkuLevel {
11
10
  /** String with the value of `draft` or `${number}.${number}`. */
12
11
  templateVersion: TemplateVersion;
13
12
  }
@@ -17,5 +16,5 @@ interface ProductsArgs<FileType extends ProductsFileType, Identifiers extends Re
17
16
  fileType: FileType;
18
17
  identifiers: Identifiers;
19
18
  }
20
- export declare type GetProductsArgs<FileType extends ProductsFileType> = FileType extends 'bulb-change-instructions' | 'handouts' | 'value-props' ? ProductsArgs<FileType, ProductsRootLevel> : FileType extends 'dimming-photos' | 'lifestyle-photos' | 'model' | 'product-photos' | 'scale-photo' ? ProductsArgs<FileType, ProductsSkuLevel> : FileType extends 'job-instructions' | 'part-stl' | 'part-thumbnail' ? ProductsArgs<FileType, ProductsTemplateLevel> : never;
19
+ export declare type GetProductsArgs<FileType extends ProductsFileType> = FileType extends 'bulb-change-instructions' | 'handouts' | 'value-props' ? ProductsArgs<FileType, ProductsRootLevel> : FileType extends 'dimming-photos' | 'lifestyle-photos' | 'model' | 'product-photos' | 'scale-photo' ? ProductsArgs<FileType, ProductsSkuLevel> : FileType extends 'instructions' | 'part-files' ? ProductsArgs<FileType, ProductsTemplateLevel> : never;
21
20
  export {};