Type Alias PageObjectResponse
PageObjectResponse: {
archived: boolean;
cover: null | {
external: {
url: string;
};
type: "external";
} | {
file: {
expiry_time: string;
url: string;
};
type: "file";
};
created_by: PartialUserObjectResponse;
created_time: string;
icon:
| null
| {
emoji: EmojiRequest;
type: "emoji";
}
| {
external: {
url: string;
};
type: "external";
}
| {
file: {
expiry_time: string;
url: string;
};
type: "file";
};
id: string;
last_edited_by: PartialUserObjectResponse;
last_edited_time: string;
object: "page";
parent:
| {
database_id: string;
type: "database_id";
}
| {
page_id: string;
type: "page_id";
}
| {
block_id: string;
type: "block_id";
}
| {
type: "workspace";
workspace: true;
};
properties: Record<string,
| {
id: string;
number: null | number;
type: "number";
}
| {
id: string;
type: "url";
url: null | string;
}
| {
id: string;
select: null | SelectPropertyResponse;
type: "select";
}
| {
id: string;
multi_select: SelectPropertyResponse[];
type: "multi_select";
}
| {
id: string;
status: null | SelectPropertyResponse;
type: "status";
}
| {
date: null | DateResponse;
id: string;
type: "date";
}
| {
email: null | string;
id: string;
type: "email";
}
| {
id: string;
phone_number: null | string;
type: "phone_number";
}
| {
checkbox: boolean;
id: string;
type: "checkbox";
}
| {
files: ({
file: {
expiry_time: string;
url: string;
};
name: string;
type?: "file";
} | {
external: {
url: string;
};
name: string;
type?: "external";
})[];
id: string;
type: "files";
}
| {
created_by: PartialUserObjectResponse | UserObjectResponse;
id: string;
type: "created_by";
}
| {
created_time: string;
id: string;
type: "created_time";
}
| {
id: string;
last_edited_by: PartialUserObjectResponse | UserObjectResponse;
type: "last_edited_by";
}
| {
id: string;
last_edited_time: string;
type: "last_edited_time";
}
| {
formula: FormulaPropertyResponse;
id: string;
type: "formula";
}
| {
id: string;
type: "unique_id";
unique_id: {
number: null | number;
prefix: null | string;
};
}
| {
id: string;
title: RichTextItemResponse[];
type: "title";
}
| {
id: string;
rich_text: RichTextItemResponse[];
type: "rich_text";
}
| {
id: string;
people: (PartialUserObjectResponse | UserObjectResponse)[];
type: "people";
}
| {
id: string;
relation: {
id: string;
}[];
type: "relation";
}
| {
id: string;
rollup: {
function: RollupFunction;
number: null | number;
type: "number";
} | {
date: null | DateResponse;
function: RollupFunction;
type: "date";
} | {
array: (
| {
title: RichTextItemResponse[];
type: "title";
}
| {
rich_text: RichTextItemResponse[];
type: "rich_text";
}
| {
people: (PartialUserObjectResponse | UserObjectResponse)[];
type: "people";
}
| {
relation: {
id: string;
}[];
type: "relation";
})[];
function: RollupFunction;
type: "array";
};
type: "rollup";
}>;
public_url: null | string;
url: string;
}