@publish-cms/type
Version:
Publish CMS Core Type
37 lines (36 loc) • 872 B
TypeScript
import { ILink } from '../link';
import { IMedia } from '../media';
import { IPost } from '../post';
import { IUser } from '../user';
export declare class IFollowAlong {
id?: string;
title?: string;
description?: string;
seoTitle?: string;
seoDescription?: string;
seoKeyword?: string;
status?: EFollowAlongStatus;
views?: number;
authorId?: string;
author?: IUser;
createdAt?: Date | string;
updatedAt?: Date | string;
mediaImage?: IMedia;
link?: ILink;
followAlongMeta?: IFollowAlongMeta[];
posts?: IPost[];
}
export declare class IFollowAlongMeta {
id: string;
key?: string;
value?: string;
createdAt?: Date | string;
updatedAt?: Date | string;
followAlong?: IFollowAlong;
}
export declare enum EFollowAlongStatus {
DRAF = 1,
PENDING = 2,
PUBLISH = 3,
CANCEL = 4
}