gantri-components 2.134.0-beta.2 → 2.134.0-beta.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.
@@ -64,6 +64,8 @@ export interface FileMetaData {
64
64
  name: string;
65
65
  }
66
66
  export interface SelectedFileDetails {
67
+ /** Included on invalid files passed to `onValidationCompleted`. */
68
+ errorMessage?: string | undefined;
67
69
  fileBlob: Blob;
68
70
  fileExtension: string;
69
71
  fileName: string;
@@ -1,6 +1,6 @@
1
1
  import { TemplateVersion } from '../../globals.types';
2
2
  import { Environment } from '../../../../global';
3
- export type ProductsFileType = 'bulb-change-instructions' | 'dimming-photos' | 'downloads' | 'handouts' | 'universal-handouts' | 'instructions' | 'lifestyle-photos' | 'model' | 'part-files' | 'product-photos' | 'scale-photo' | 'value-props' | 'videos';
3
+ export type ProductsFileType = 'bulb-change-instructions' | 'dimming-photos' | 'downloads' | 'handouts' | 'instructions' | 'lifestyle-photos-sku' | 'lifestyle-photos' | 'model' | 'part-files' | 'product-photos' | 'scale-photo' | 'universal-handouts' | 'value-props' | 'videos-sku' | 'videos';
4
4
  interface ProductsRootLevel {
5
5
  productId: number;
6
6
  }
@@ -17,5 +17,5 @@ interface ProductsArgs<FileType extends ProductsFileType, Identifiers extends Re
17
17
  fileType: FileType;
18
18
  identifiers: Identifiers;
19
19
  }
20
- export type GetProductsArgs<FileType extends ProductsFileType> = FileType extends 'bulb-change-instructions' | 'downloads' | 'handouts' | 'value-props' ? ProductsArgs<FileType, ProductsRootLevel> : FileType extends 'dimming-photos' | 'lifestyle-photos' | 'model' | 'product-photos' | 'scale-photo' | 'videos' ? ProductsArgs<FileType, ProductsSkuLevel> : FileType extends 'instructions' | 'part-files' ? ProductsArgs<FileType, ProductsTemplateLevel> : FileType extends 'universal-handouts' ? ProductsArgs<FileType, Record<string, never>> : never;
20
+ export type GetProductsArgs<FileType extends ProductsFileType> = FileType extends 'bulb-change-instructions' | 'downloads' | 'handouts' | 'lifestyle-photos' | 'value-props' | 'videos' ? ProductsArgs<FileType, ProductsRootLevel> : FileType extends 'dimming-photos' | 'lifestyle-photos-sku' | 'model' | 'product-photos' | 'scale-photo' | 'videos-sku' ? ProductsArgs<FileType, ProductsSkuLevel> : FileType extends 'instructions' | 'part-files' ? ProductsArgs<FileType, ProductsTemplateLevel> : FileType extends 'universal-handouts' ? ProductsArgs<FileType, Record<string, never>> : never;
21
21
  export {};