jormungandr-bite/packages/iceshrimp-js/markdown/iceshrimp-js.entities.page.md
2023-07-21 19:33:01 +02:00

1,019 B

Home > iceshrimp-js > entities > Page

entities.Page type

Signature:

export declare type Page = {
	id: ID;
	createdAt: DateString;
	updatedAt: DateString;
	userId: User["id"];
	user: User;
	content: Record<string, any>[];
	variables: Record<string, any>[];
	title: string;
	name: string;
	summary: string | null;
	hideTitleWhenPinned: boolean;
	alignCenter: boolean;
	font: string;
	script: string;
	eyeCatchingImageId: DriveFile["id"] | null;
	eyeCatchingImage: DriveFile | null;
	attachedFiles: any;
	likedCount: number;
	isLiked?: boolean;
};

References: ID, DateString, User, DriveFile