UNPKG

@aptly-as/types

Version:
17 lines (16 loc) 558 B
import { AptlyBaseSchema } from './extends'; import { AptlyModules } from '../core'; import { AptlyMediaSrcSchema } from './media'; import { AptlySlugLevel } from '../enums/index'; export type AptlyInfo = AptlyInfoSchema<string, string>; export interface AptlyInfoSchema<ID, DATE> extends AptlyBaseSchema<ID, DATE> { index: number; published: boolean; media: AptlyMediaSrcSchema<ID, DATE> | null; embed: string; module: AptlyModules; modules: AptlyModules[]; description: string; levels: AptlySlugLevel[]; href: string; }