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:
@@ -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" })
|
||||
|
||||
Reference in New Issue
Block a user