New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@heseya/advanced-ui-modules-sdk

Package Overview
Dependencies
Maintainers
2
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heseya/advanced-ui-modules-sdk - npm Package Compare versions

Comparing version 1.0.0-dev.3 to 1.0.0-dev.4

2

dist/index.js

@@ -1,2 +0,2 @@

// Advanced UI Modules SDK v1.0.0-dev.3 Copyright (c) 2023 Heseya and contributors
// Advanced UI Modules SDK v1.0.0-dev.4 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.3 Copyright (c) 2023 Heseya and contributors
// Advanced UI Modules SDK v1.0.0-dev.4 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')) :

@@ -18,3 +18,3 @@ import { AxiosInstance } from 'axios';

get: (modelType: import("../..").ModelType, modelId: string) => Promise<import("../..").Module[]>;
update: (modelType: import("../..").ModelType, modelId: string, payload: import("../..").BannerModuleDto[]) => Promise<import("../..").Module[]>;
update: (modelType: import("../..").ModelType, modelId: string, payload: import("../..").ModuleDto[]) => Promise<import("../..").Module[]>;
};

@@ -21,0 +21,0 @@ Media: {

import { GenericModule, ModuleData, ModuleType, TextAlignment } from '../interfaces/';
import { Link } from './Link';
import { ModuleUpdateData } from './Module';
export declare enum BlogTypes {

@@ -52,1 +53,2 @@ Slider = "slider",

export type BlogModule = GenericModule<ModuleType.Blog, BlogModuleData>;
export type BlogModuleDto = ModuleUpdateData<BlogModule>;
import { GenericModule, ModuleType, TextAlignment, Media, ModuleData } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface BrandsSliderModuleSliderSettings {

@@ -20,1 +21,2 @@ slidesPerView: number;

export type BrandsSliderModule = GenericModule<ModuleType.BrandsSlider, BrandsSliderModuleData>;
export type BrandsSliderModuleDto = ModuleUpdateData<BrandsSliderModule>;
import { Media, GenericModule, ModuleData, ModuleType, Translations, TextPosition } from '../interfaces';
import { Link } from './Link';
import { ModuleUpdateData } from './Module';
export declare enum ImagesMasonryTypes {

@@ -33,1 +34,2 @@ equal = "equal",

export type ImagesModule = GenericModule<ModuleType.Images, ImagesModuleData>;
export type ImagesModuleDto = ModuleUpdateData<ImagesModule>;
import { GenericModule, ModuleType, TextPosition, Media, ModuleData } from '../interfaces/';
import { Link } from './Link';
import { ModuleUpdateData } from './Module';
export interface LinksModuleConfigOptions {

@@ -25,1 +26,2 @@ leftColumnTextAlignment: TextPosition;

export type LinksModule = GenericModule<ModuleType.Links, LinksModuleData>;
export type LinksModuleDto = ModuleUpdateData<LinksModule>;

@@ -1,4 +0,4 @@

import { BannerModule, BlogModule, BrandsSliderModule, ImagesModule, LinksModule, NotificationBarModule, OneToOneModule, ProductDetailsModule, PackageContentsModule, ProductHeaderModule, ProductsShowcaseModule, ProductSliderModule, ProductTextWithImageModule, SpecificationModule, TextAndIconsModule, TextAndPhotoModule, BannerModuleDto } from './';
export type Module = BannerModule | BlogModule | BrandsSliderModule | ImagesModule | LinksModule | NotificationBarModule | OneToOneModule | ProductDetailsModule | PackageContentsModule | ProductHeaderModule | ProductsShowcaseModule | ProductSliderModule | ProductTextWithImageModule | SpecificationModule | TextAndIconsModule | TextAndPhotoModule;
export type ModuleDto = BannerModuleDto;
import { BannerModule, BannerModuleDto, BlogModule, BlogModuleDto, BrandsSliderModule, BrandsSliderModuleDto, ImagesModule, ImagesModuleDto, LinksModule, LinksModuleDto, NotificationBarModule, NotificationBarModuleDto, OneToOneModule, OneToOneModuleDto, PackageContentModuleDto, PackageContentsModule, ProductDetailsModule, ProductDetailsModuleDto, ProductHeaderModule, ProductHeaderModuleDto, ProductShowcaseModuleDto, ProductSliderModule, ProductTextWithIconsModule, ProductSliderModuleDto, ProductTextWithIconsModuleDto, ProductTextWithImageModule, ProductTextWithImageModuleDto, ProductVariantSelectionModule, ProductVariantSelectionModuleDto, ProductsShowcaseModule, SpecificationModule, TabsModule, TabsModuleDto, TextAndIconsModule, TextAndIconsModuleDto, TextAndPhotoModule, TextAndPhotoModuleDto } from './';
export type Module = BannerModule | BlogModule | BrandsSliderModule | ImagesModule | LinksModule | NotificationBarModule | OneToOneModule | ProductDetailsModule | PackageContentsModule | ProductHeaderModule | ProductsShowcaseModule | ProductSliderModule | ProductTextWithImageModule | SpecificationModule | TextAndIconsModule | TextAndPhotoModule | TabsModule | ProductVariantSelectionModule | ProductTextWithIconsModule;
export type ModuleDto = BannerModuleDto | BlogModuleDto | BrandsSliderModuleDto | ImagesModuleDto | LinksModuleDto | NotificationBarModuleDto | OneToOneModuleDto | PackageContentModuleDto | SpecificationModule | TabsModuleDto | TextAndPhotoModuleDto | ProductVariantSelectionModuleDto | ProductDetailsModuleDto | ProductHeaderModuleDto | ProductTextWithIconsModuleDto | ProductTextWithImageModuleDto | TextAndIconsModuleDto | ProductShowcaseModuleDto | ProductSliderModuleDto;
export type ModuleUpdateData<TModuleData extends {

@@ -5,0 +5,0 @@ id: string;

import { GenericModule, ModuleData, ModuleType, Translations } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface NotificationBarConfigOptions {

@@ -12,1 +13,2 @@ backgroundColor?: string;

export type NotificationBarModule = GenericModule<ModuleType.NotificationBar, NotificationBarModuleData>;
export type NotificationBarModuleDto = ModuleUpdateData<NotificationBarModule>;
import { ModuleType, GenericModule, Media, Translations, ModuleData } from '../interfaces';
import { ModuleUpdateData } from './Module';
export interface ProductThumbCta {

@@ -22,1 +23,2 @@ type: 'link' | 'button';

export type OneToOneModule = GenericModule<ModuleType.OneToOne, OneToOneModuleData>;
export type OneToOneModuleDto = ModuleUpdateData<OneToOneModule>;

@@ -1,2 +0,3 @@

import { GenericModule, ModuleType, Media, Translations, ModuleData } from '../interfaces/';
import { GenericModule, Media, ModuleData, ModuleType, Translations } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface PackageContentsConfigOptions {

@@ -30,1 +31,2 @@ isFullWidth: boolean;

export type PackageContentsModule = GenericModule<ModuleType.PackageContents, PackageContentsModuleData>;
export type PackageContentModuleDto = ModuleUpdateData<PackageContentsModule>;

@@ -1,2 +0,3 @@

import { GenericModule, ModuleType, Media, ModuleData } from '../interfaces/';
import { GenericModule, Media, ModuleData, ModuleType } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface ProductDetailsModuleConfigOptions {

@@ -22,1 +23,2 @@ productID: string;

export type ProductDetailsModule = GenericModule<ModuleType.ProductDetails, ProductDetailsModuleData>;
export type ProductDetailsModuleDto = ModuleUpdateData<ProductDetailsModule>;
import { GenericModule, ModuleData, ModuleType } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface ProductHeaderModuleConfigOptions {

@@ -15,1 +16,2 @@ title?: string;

export type ProductHeaderModule = GenericModule<ModuleType.ProductHeader, ProductHeaderModuleData>;
export type ProductHeaderModuleDto = ModuleUpdateData<ProductHeaderModule>;
import { GenericModule, ModuleData, ModuleType, TextAlignment } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface ProductsShowcaseModuleConfigOptions {

@@ -12,1 +13,2 @@ title: string;

export type ProductsShowcaseModule = GenericModule<ModuleType.ProductsShowcase, ProductsShowcaseModuleData>;
export type ProductShowcaseModuleDto = ModuleUpdateData<ProductsShowcaseModule>;
import { GenericModule, ModuleData, ModuleType } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface ProductSliderModuleConfigOptions {

@@ -20,1 +21,2 @@ variant: 'default' | 'scaled';

export type ProductSliderModule = GenericModule<ModuleType.ProductSlider, ProductSliderModuleData>;
export type ProductSliderModuleDto = ModuleUpdateData<ProductSliderModule>;
import { GenericModule, ModuleType, Media, ModuleData } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface ProductTextWithIconsModuleConfigOptions {

@@ -20,1 +21,2 @@ title: string;

export type ProductTextWithIconsModule = GenericModule<ModuleType.ProductTextWithIcons, ProductTextWithIconsModuleData>;
export type ProductTextWithIconsModuleDto = ModuleUpdateData<ProductTextWithIconsModule>;
import { GenericModule, ModuleType, Media, TextAlignment, ModuleData } from '../interfaces/';
import { Link } from './Link';
import { ModuleUpdateData } from './Module';
export interface ProductTextWithImageModuleConfigOptions {

@@ -27,1 +28,2 @@ title: string;

export type ProductTextWithImageModule = GenericModule<ModuleType.ProductTextWithImage, ProductTextWithImageModuleData>;
export type ProductTextWithImageModuleDto = ModuleUpdateData<ProductTextWithImageModule>;

@@ -0,1 +1,2 @@

import { ModuleUpdateData } from './Module';
import { GenericModule, ModuleType, Media, ModuleData } from '../interfaces/';

@@ -15,5 +16,6 @@ export interface ProductVariantSelectionModuleConfigOptions {

export interface ProductVariantSelectionModuleContent {
variants: ProductVariantSelectionModuleVariant[];
items: ProductVariantSelectionModuleVariant[];
}
export type ProductVariantSelectionData = ModuleData<ProductVariantSelectionModuleConfigOptions, ProductVariantSelectionModuleContent>;
export type ProductVariantSelectionModule = GenericModule<ModuleType.ProductVariantSelection, ProductVariantSelectionData>;
export type ProductVariantSelectionModuleDto = ModuleUpdateData<ProductVariantSelectionModule>;
import { GenericModule, ModuleData, ModuleType, Translations, Direction } from '../interfaces/';
import { ModuleUpdateData } from './Module';
export interface SpecificationModuleConfigOptions {

@@ -10,1 +11,2 @@ title: Translations;

export type SpecificationModule = GenericModule<ModuleType.Specification, SpecificationModuleData>;
export type SpecificationModuleDto = ModuleUpdateData<SpecificationModule>;

@@ -0,1 +1,2 @@

import { ModuleUpdateData } from './Module';
import { Media, GenericModule, ModuleData, ModuleType, Translations } from '../interfaces';

@@ -14,2 +15,3 @@ export type Tab = {

export type TabsModuleData = ModuleData<TabsModuleConfigOptions, TabsModuleContent>;
export type TabsModule = GenericModule<ModuleType.Images, TabsModuleData>;
export type TabsModule = GenericModule<ModuleType.Tabs, TabsModuleData>;
export type TabsModuleDto = ModuleUpdateData<TabsModule>;
import { Media, GenericModule, ModuleData, ModuleType, TextAlignment, TextSizes } from '../interfaces';
import { ModuleUpdateData } from './Module';
export type TextAndIconTranslation = {

@@ -28,1 +29,2 @@ [lang: string]: {

export type TextAndIconsModule = GenericModule<ModuleType.TextAndIcons, TextAndIconsModuleData>;
export type TextAndIconsModuleDto = ModuleUpdateData<TextAndIconsModule>;
import { GenericModule, HeroModuleContent, Direction, TextAlignment, TextPosition, Translations, ModuleType, ModuleData } from '../interfaces/';
import { Link } from './Link';
import { ModuleUpdateData } from './Module';
export interface TextAndPhotoModuleConfigOptions {

@@ -21,1 +22,2 @@ textBoxBackground: boolean;

export type TextAndPhotoModule = GenericModule<ModuleType.TextAndPhoto, TextAndPhotoModuleData>;
export type TextAndPhotoModuleDto = ModuleUpdateData<TextAndPhotoModule>;
{
"name": "@heseya/advanced-ui-modules-sdk",
"version": "1.0.0-dev.3",
"version": "1.0.0-dev.4",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc