Browse Source

chore(sdk): regenerate Api.ts

pull/6854/head
աɨռɢӄաօռɢ 1 year ago
parent
commit
9c5116ac98
  1. 24
      packages/nocodb-sdk/src/lib/Api.ts

24
packages/nocodb-sdk/src/lib/Api.ts

@ -85,6 +85,26 @@ export interface AttachmentReqType {
title?: string; title?: string;
/** Attachment URL to be uploaded via upload-by-url */ /** Attachment URL to be uploaded via upload-by-url */
url?: string; url?: string;
/** The name of the attachment file name */
fileName?: string;
}
/**
* Model for File Request
*/
export interface FileReqType {
/** The mimetype of the file */
mimetype?: string;
/** The name of the input used to upload the file */
fieldname?: string;
/** The original name of the file */
originalname?: string;
/** The size of the file */
size?: number;
/** The encoding of the file */
encoding?: string;
/** An buffer array containing the file content */
buffer?: any;
} }
/** /**
@ -10308,7 +10328,9 @@ export class Api<
*/ */
path: string; path: string;
}, },
data: AttachmentReqType, data: {
files: FileReqType[];
},
params: RequestParams = {} params: RequestParams = {}
) => ) =>
this.request<any, any>({ this.request<any, any>({

Loading…
Cancel
Save