Confirm this is a TypeScript library issue and not an underlying Cloudflare API issue
Describe the bug
The return value of client.pages.projects.list is still PagePromise<Cloudflare.Pages.Projects.DeploymentsSinglePage, Cloudflare.Pages.Projects.Deployment> which is still wrong.
The API should list projects instead of deployments.
This is the same issue as #2489 where @vaishakdinesh claims it has been fixed in the v6 release, but it is not.
To Reproduce
for await (const project of await client.pages.projects.list({
account_id: cloudflareAccountId
})) {
// The `project` type is wrong, it should be project not deployment
}
Code snippets
OS
macOS
Runtime version
TypeScript 6.0.3
Library version
v6.1.0
Confirm this is a TypeScript library issue and not an underlying Cloudflare API issue
Describe the bug
The return value of
client.pages.projects.listis stillPagePromise<Cloudflare.Pages.Projects.DeploymentsSinglePage, Cloudflare.Pages.Projects.Deployment>which is still wrong.The API should list projects instead of deployments.
This is the same issue as #2489 where @vaishakdinesh claims it has been fixed in the v6 release, but it is not.
To Reproduce
Code snippets
OS
macOS
Runtime version
TypeScript 6.0.3
Library version
v6.1.0