@bolttech/server-side-next
Version:
This library was generated with [Nx](https://nx.dev).
36 lines (35 loc) • 875 B
TypeScript
import { Component } from '../types';
export declare type PageContent<T = any> = {
[key: string]: T;
};
declare type CustomUrl = {
[key: string]: string;
};
export declare type Page = {
availableLanguages: string[] | null;
children_ids?: string[];
children?: Page[];
content: PageContent;
customUrls?: CustomUrl;
id: number;
pageType?: string;
publishDate?: string;
status: boolean;
statusDescription: string;
template: string;
time?: number;
unpublishDate?: string;
updatedAt?: number;
vulcanize: boolean;
};
export declare type PageComponents = {
url?: string;
locale?: string;
components: Component[];
};
export declare type GetPageIdByUrlResponse = {
pageId?: string;
success: boolean;
};
export declare type GetPageByIdResponse = Page;
export {};