Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Issue #505 and issue #487. #515

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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