jormungandr-bite/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.entities.page.md
Laura Hausmann 91dddc439f
[sdk] Rename iceshrimp-js package to iceshrimp-sdk
This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
2024-07-23 23:15:19 +02:00

1.1 KiB

Home > iceshrimp-sdk > entities > Page

entities.Page type

Signature:

export 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