chore(core-flows, types): change base64 comment fo files in TSDocs to binary (#12627)

* chore(core-flows, types): change base64 comment fo files in TSDocs to binary

* add in generatd
This commit is contained in:
Shahed Nasser
2025-05-27 18:35:39 +03:00
committed by GitHub
parent 562f6288cd
commit d155f492be
27 changed files with 53 additions and 53 deletions

View File

@@ -11,10 +11,10 @@ export const sdk = new Medusa({
sdk.admin.upload.create(
{
files: [
// file uploaded as a base64 string
// file uploaded as a binary string
{
name: "test.txt",
content: "test", // Should be the base64 content of the file
content: "test", // Should be the binary content of the file
},
// file uploaded as a File object
new File(["test"], "test.txt", { type: "text/plain" })