Skip to content

Commit

Permalink
Update rollup types (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhart92 authored Aug 11, 2023
1 parent bcff1ef commit f2845b3
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions src/api-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4485,6 +4485,58 @@ export type PageObjectResponse = {
| {
type: "array"
array: Array<
| { type: "number"; number: number | null }
| { type: "url"; url: string | null }
| { type: "select"; select: SelectPropertyResponse | null }
| {
type: "multi_select"
multi_select: Array<SelectPropertyResponse>
}
| { type: "status"; status: SelectPropertyResponse | null }
| { type: "date"; date: DateResponse | null }
| { type: "email"; email: string | null }
| { type: "phone_number"; phone_number: string | null }
| { type: "checkbox"; checkbox: boolean }
| {
type: "files"
files: Array<
| {
file: { url: string; expiry_time: string }
name: StringRequest
type?: "file"
}
| {
external: { url: TextRequest }
name: StringRequest
type?: "external"
}
>
}
| {
type: "created_by"
created_by: PartialUserObjectResponse | UserObjectResponse
}
| { type: "created_time"; created_time: string }
| {
type: "last_edited_by"
last_edited_by:
| PartialUserObjectResponse
| UserObjectResponse
}
| { type: "last_edited_time"; last_edited_time: string }
| { type: "formula"; formula: FormulaPropertyResponse }
| {
type: "unique_id"
unique_id: { prefix: string | null; number: number | null }
}
| {
type: "verification"
verification:
| VerificationPropertyUnverifiedResponse
| null
| VerificationPropertyResponse
| null
}
| { type: "title"; title: Array<RichTextItemResponse> }
| { type: "rich_text"; rich_text: Array<RichTextItemResponse> }
| {
Expand Down

0 comments on commit f2845b3

Please sign in to comment.