@groww-tech/ella
Version:
Ella is a utility-belt library for JavaScript that provides general purpose methods used in day to day programming.
51 lines (49 loc) • 1.23 kB
TypeScript
declare type MultiLevelObject = {
[key: string]: unknown;
};
declare type SingleLevelObject = {
[key: string]: string | number;
};
declare type GenericArguments = any[];
declare type GenericFunction = (...args: GenericArguments) => any;
declare type ArticleSchema = {
headline: string;
datePublished: string;
dateModified: string;
inLanguage?: string;
image?: string;
};
declare type MetatagsData = {
title: string;
desc: string;
routeName: string;
noIndex: boolean;
featuredImage?: string;
canonicalUrl?: string;
};
declare type WebpageSchema = {
desc: string;
title: string;
routeName: string;
};
declare type ProductSchema = {
desc: string;
schemeName: string;
routeName: string;
fundHouse: string;
rating: number;
logoUrl?: string;
};
declare type FaqSchema = {
question: string;
answer: string;
};
declare type BreadcrumbSchema = {
url: string;
name: string;
};
declare type TabsData = {
searchId: string;
[key: string]: unknown;
};
export { ArticleSchema, BreadcrumbSchema, FaqSchema, GenericArguments, GenericFunction, MetatagsData, MultiLevelObject, ProductSchema, SingleLevelObject, TabsData, WebpageSchema };