Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/api-endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4688,6 +4688,7 @@ export type PageObjectResponse = {
in_trash: boolean
url: string
public_url: string | null
request_id:string
}

export type PartialPageObjectResponse = { object: "page"; id: string }
Expand Down Expand Up @@ -4979,6 +4980,7 @@ export type PartialDatabaseObjectResponse = {
object: "database"
id: string
properties: Record<string, DatabasePropertyConfigResponse>
request_id:string
}

export type DatabaseObjectResponse = {
Expand Down Expand Up @@ -5013,6 +5015,7 @@ export type DatabaseObjectResponse = {
in_trash: boolean
url: string
public_url: string | null
request_id:string
}

export type PartialBlockObjectResponse = { object: "block"; id: string }
Expand Down Expand Up @@ -11231,6 +11234,7 @@ export type QueryDatabaseResponse = {
object: "list"
next_cursor: string | null
has_more: boolean
request_id:string
results: Array<
| PageObjectResponse
| PartialPageObjectResponse
Expand Down Expand Up @@ -11582,6 +11586,7 @@ export type OauthTokenResponse = {
}
| { type: "workspace"; workspace: true }
duplicated_template_id: string | null
request_id:string
}

export const oauthToken = {
Expand Down