@heseya/advanced-ui-modules-sdk
Advanced tools
Comparing version 1.0.0-dev.10 to 1.0.0-dev.11
@@ -1,2 +0,2 @@ | ||
// Advanced UI Modules SDK v1.0.0-dev.10 Copyright (c) 2023 Heseya and contributors | ||
// Advanced UI Modules SDK v1.0.0-dev.11 Copyright (c) 2023 Heseya and contributors | ||
import { stringifyQueryParams } from '@heseya/store-core'; | ||
@@ -3,0 +3,0 @@ import { __awaiter } from 'tslib'; |
@@ -1,2 +0,2 @@ | ||
// Advanced UI Modules SDK v1.0.0-dev.10 Copyright (c) 2023 Heseya and contributors | ||
// Advanced UI Modules SDK v1.0.0-dev.11 Copyright (c) 2023 Heseya and contributors | ||
(function (global, factory) { | ||
@@ -3,0 +3,0 @@ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@heseya/store-core'), require('tslib')) : |
@@ -11,8 +11,13 @@ import { Media, GenericModule, ModuleData, ModuleType, Translations, TextPosition } from '../interfaces'; | ||
} | ||
export interface ImagesModuleImageTranslations { | ||
[lang: string]: { | ||
title?: string; | ||
description?: string; | ||
}; | ||
} | ||
export type ImagesModuleImage = { | ||
productID: number; | ||
productID: string; | ||
image: Media; | ||
cta?: Link; | ||
title?: string; | ||
description?: string; | ||
translations?: ImagesModuleImageTranslations; | ||
textPosition?: TextPosition; | ||
@@ -19,0 +24,0 @@ imagePosition?: TextPosition; |
@@ -8,3 +8,3 @@ import { ModuleType, GenericModule, Media, Translations, ModuleData } from '../interfaces'; | ||
export type ProductThumb = { | ||
id: number; | ||
id: string; | ||
image: Media; | ||
@@ -11,0 +11,0 @@ margin?: number; |
@@ -10,3 +10,3 @@ import { GenericModule, Media, ModuleData, ModuleType, Translations } from '../interfaces/'; | ||
image: Media; | ||
name: string; | ||
name: Translations; | ||
} | ||
@@ -13,0 +13,0 @@ export interface PackageContentContentTranslation { |
import { GenericModule, ModuleData, ModuleType, Translations } from '../interfaces/'; | ||
import { Link } from './Link'; | ||
import { ModuleUpdateData } from './Module'; | ||
@@ -7,8 +8,4 @@ export interface ProductHeaderModuleConfigOptions { | ||
} | ||
export interface ProductHeaderModuleLinks { | ||
label: string; | ||
anchor: string; | ||
} | ||
export interface ProductHeaderModuleContent { | ||
links: ProductHeaderModuleLinks[]; | ||
links: Link[]; | ||
} | ||
@@ -15,0 +12,0 @@ export type ProductHeaderModuleData = ModuleData<ProductHeaderModuleConfigOptions, ProductHeaderModuleContent>; |
@@ -6,6 +6,7 @@ import { ModuleUpdateData } from './Module'; | ||
subtitle: Translations; | ||
description: string; | ||
description: Translations; | ||
direction: 'ltr' | 'rtl'; | ||
image: Media; | ||
margin?: number; | ||
productID?: string; | ||
} | ||
@@ -17,3 +18,3 @@ export type ProductVariantSelectionModuleVariant = { | ||
export interface ProductVariantSelectionModuleContent { | ||
items: ProductVariantSelectionModuleVariant[]; | ||
items?: ProductVariantSelectionModuleVariant[]; | ||
} | ||
@@ -20,0 +21,0 @@ export type ProductVariantSelectionData = ModuleData<ProductVariantSelectionModuleConfigOptions, ProductVariantSelectionModuleContent>; |
import { ModuleUpdateData } from './Module'; | ||
import { Media, GenericModule, ModuleData, ModuleType, Translations } from '../interfaces'; | ||
export type Tab = { | ||
label: string; | ||
label: Translations; | ||
content: string | Media; | ||
@@ -6,0 +6,0 @@ }; |
{ | ||
"name": "@heseya/advanced-ui-modules-sdk", | ||
"version": "1.0.0-dev.10", | ||
"version": "1.0.0-dev.11", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Heseya" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
81944
1030