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 authored and GitHub committed 2025-05-27 18:35:39 +03:00
1 parent 562f6288cd
commit d155f492be
27 files changed
+53 -53

No files matched your search

@@ -23,7 +23,7 @@ export type UploadFilesStepInput = {
mimeType: string
/**
* The content of the file. For images, for example,
* use base64 encoding. For CSV files, use the CSV content.
* use binary string. For CSV files, use the CSV content.
*/
content: string
/**
@@ -48,7 +48,7 @@ export const uploadFilesStepId = "upload-files"
* {
* filename: "test.jpg",
* mimeType: "img/jpg",
* content: "base64Content",
* content: "binary-string",
* access: "public"
* }
* ]
@@ -27,7 +27,7 @@ export type UploadFilesWorkflowInput = {
mimeType: string
/**
* The content of the file. For images, for example,
* use base64 encoding. For CSV files, use the CSV content.
* use binary string. For CSV files, use the CSV content.
*/
content: string
/**
@@ -58,7 +58,7 @@ export const uploadFilesWorkflowId = "upload-files"
* {
* filename: "test.jpg",
* mimeType: "img/jpg",
* content: "base64Content",
* content: "binary-string",
* access: "public"
* }
* ]
+2 -2
View File
@@ -32,10 +32,10 @@ export class Upload {
* 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 string of the file
* },
* // file uploaded as a File object
* new File(["test"], "test.txt", { type: "text/plain" })
+1 -1
View File
@@ -18,7 +18,7 @@ export interface CreateFileDTO {
mimeType: string
/**
* The file content as a binary-encoded string (For example, base64).
* The file content as a binary-encoded string.
*/
content: string
+2 -2
View File
@@ -30,7 +30,7 @@ export interface IFileModuleService extends IModuleService {
* const [file] = await fileModuleService.createFiles([{
* filename: "product.png",
* mimeType: "image/png",
* content: "somecontent" // base64 encoded
* content: "somecontent" // binary string
* }])
*/
createFiles(
@@ -49,7 +49,7 @@ export interface IFileModuleService extends IModuleService {
* const file = await fileModuleService.createFiles({
* filename: "product.png",
* mimeType: "image/png",
* content: "somecontent" // base64 encoded
* content: "somecontent" // binary string
* })
*/
@@ -8,7 +8,7 @@ import { OperatorMap } from "../dal/utils"
*/
export interface Attachment {
/**
* The content of the attachment, encoded as a base64 string.
* The content of the attachment, encoded as a binary string.
*/
content: string
/**