@medusajs/types 2.8.4-preview-20250527120146 → 2.8.4-preview-20250527180137

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,7 +15,7 @@ export interface CreateFileDTO {
15
15
  */
16
16
  mimeType: string;
17
17
  /**
18
- * The file content as a binary-encoded string (For example, base64).
18
+ * The file content as a binary-encoded string.
19
19
  */
20
20
  content: string;
21
21
  /**
@@ -28,7 +28,7 @@ export interface IFileModuleService extends IModuleService {
28
28
  * const [file] = await fileModuleService.createFiles([{
29
29
  * filename: "product.png",
30
30
  * mimeType: "image/png",
31
- * content: "somecontent" // base64 encoded
31
+ * content: "somecontent" // binary string
32
32
  * }])
33
33
  */
34
34
  createFiles(data: CreateFileDTO[], sharedContext?: Context): Promise<FileDTO[]>;
@@ -43,7 +43,7 @@ export interface IFileModuleService extends IModuleService {
43
43
  * const file = await fileModuleService.createFiles({
44
44
  * filename: "product.png",
45
45
  * mimeType: "image/png",
46
- * content: "somecontent" // base64 encoded
46
+ * content: "somecontent" // binary string
47
47
  * })
48
48
  */
49
49
  createFiles(data: CreateFileDTO, sharedContext?: Context): Promise<FileDTO>;
@@ -7,7 +7,7 @@ import { OperatorMap } from "../dal/utils";
7
7
  */
8
8
  export interface Attachment {
9
9
  /**
10
- * The content of the attachment, encoded as a base64 string.
10
+ * The content of the attachment, encoded as a binary string.
11
11
  */
12
12
  content: string;
13
13
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/types",
3
- "version": "2.8.4-preview-20250527120146",
3
+ "version": "2.8.4-preview-20250527180137",
4
4
  "description": "Medusa Types definition",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",