[x] Upgraded to the latest version of the @shopify packages
Affected @shopify/shopify-* package and version: v2024.07.16
Node version: 20.12.2
Operating system: Mac OS Sonoma
[x] Set { logger: { level: LogSeverity.Debug } } in my configuration
[x] Found a reliable way to reproduce the problem that indicates it's a problem with the package
[x] Looked for similar issues in this repository
[x] Checked that this isn't an issue with a Shopify API
After the @shopify/shopify-api package was removed as a direct dependency from the package, I can no longer import the types for the REST Resources, such as Product, Variant, and Order etc. More information can be found here
Expected behavior
I should be able to import the aforementioned types from the @shopify/shopify-api package the same way as I could, before the package was removed as direct dependency
Actual behavior
The types are no longer exported, as they could be when the @shopify/shopiyf-api package was a direct dependency
Steps to reproduce the problem
Create a boilerplate remix app
Try importing any type, such as Product using import type { Product } from "node_modules/@shopify/shopify-api/dist/ts/rest/admin/2024-04/product";
Issue summary
Before opening this issue, I have:
@shopify
packages@shopify/shopify-*
package and version: v2024.07.16{ logger: { level: LogSeverity.Debug } }
in my configurationAfter the
@shopify/shopify-api
package was removed as a direct dependency from the package, I can no longer import the types for the REST Resources, such as Product, Variant, and Order etc. More information can be found hereExpected behavior
I should be able to import the aforementioned types from the
@shopify/shopify-api
package the same way as I could, before the package was removed as direct dependencyActual behavior
The types are no longer exported, as they could be when the
@shopify/shopiyf-api
package was a direct dependencySteps to reproduce the problem
Product
usingimport type { Product } from "node_modules/@shopify/shopify-api/dist/ts/rest/admin/2024-04/product";
Debug logs
Not applicable