File

src/converter/link-factory/fs-link.model.ts

Description

This class represents a link.

Index

Methods

Methods

create
create()
Returns : T
import { CmsInputTextFormData, FsIndexFormData, FsReferenceFormData } from '../teaser/fs-teaser.model';

/**
 * This class represents a link.
 *
 * @export
 * @interface FsLinkFactoryInterface
 * @template T
 */
export interface FsLinkFactoryInterface<T> {
  create(): T;
}

/**
 * This interface represents the data of a search link within FirstSpirit.
 *
 * @export
 * @interface FsSearchLinkTemplate
 */
export interface FsSearchLinkTemplate {
  template: {
    uid: string;
  };
  formData: {
    lt_search_term: CmsInputTextFormData;
    lt_tooltip_text: CmsInputTextFormData;
  };
}

/**
 * This interface represents the data of a category link within FirstSpirit.
 *
 * @export
 * @interface FsCategoryLinkTemplate
 */
export interface FsCategoryLinkTemplate {
  template: {
    uid: string;
  };
  formData: {
    lt_category: FsIndexFormData;
    lt_tooltip_text: CmsInputTextFormData;
  };
}

/**
 * This interface represents the data of a product link within FirstSpirit.
 *
 * @export
 * @interface FsProductLinkTemplate
 */
export interface FsProductLinkTemplate {
  template: {
    uid: string;
  };
  formData: {
    lt_product: FsIndexFormData;
    lt_tooltip_text: CmsInputTextFormData;
  };
}

/**
 * This interface represents the data of a content link within FirstSpirit.
 *
 * @export
 * @interface FsContentLinkTemplate
 */
export interface FsContentLinkTemplate {
  template: {
    uid: string;
  };
  formData: {
    lt_page: FsReferenceFormData;
    lt_tooltip_text: CmsInputTextFormData;
  };
}

results matching ""

    No results matching ""