@bolttech/server-side-next
Version:
This library was generated with [Nx](https://nx.dev).
22 lines (21 loc) • 888 B
TypeScript
/// <reference types="node" />
import { IncomingMessage } from 'http';
import { Source } from '../../../common/enums/source.enum';
import { Vertical } from '@bolttech/essentials';
import { Nullable } from '../../../common/types/nullable.type';
export interface CmsHelperInterface {
locale: string;
vertical: Vertical;
request: Nullable<IncomingMessage> | undefined;
country: string;
device: Nullable<string>;
source: Source;
flow: string;
setLocale(locale: string): CmsHelperInterface;
setVertical(vertical: Vertical): CmsHelperInterface;
setRequest(request: Nullable<IncomingMessage> | undefined): CmsHelperInterface;
setCountry(country?: string): CmsHelperInterface;
setDevice(device?: string): CmsHelperInterface;
setSource(source?: Source): CmsHelperInterface;
setFlow(flow?: string): CmsHelperInterface;
}