forked from mirrors/misskey
Feat: ドライブ周りのUIの強化 (#16011)
* wip * wip * Update MkDrive.vue * wip * Update MkDrive.vue * Update MkDrive.vue * wip * Update MkDrive.vue * Update MkDrive.vue * wip * Update MkDrive.vue * wip * wip * wip * wip * Update MkDrive.vue * wip * wip * wip * wip * wip * wip * wip * feat(frontend): upload dialog (#16032) * wip * wip * Update MkUploadDialog.vue * wip * wip * wip * wip * wip * Update MkUploadDialog.vue * wip * wip * Update MkDrive.vue * wip * wip * Update MkPostForm.vue * wip * Update room.form.vue * Update os.ts * wiop * wip * wip * wip * wip * wip * wip * wip * Update select-file.ts * wip * wip * Update MkDrive.vue * Update drag-and-drop.ts * wip * wip * wop * wip * wip * Update MkDrive.vue * Update CHANGELOG.md * wipo * Update MkDrive.folder.vue * wip * Update MkUploaderDialog.vue * wip * wip * Update MkUploaderDialog.vue * wip * Update MkDrive.vue * Update MkDrive.vue * wip * wip
This commit is contained in:
@@ -1247,6 +1247,9 @@ type DriveFilesFindRequest = operations['drive___files___find']['requestBody']['
|
||||
// @public (undocumented)
|
||||
type DriveFilesFindResponse = operations['drive___files___find']['responses']['200']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type DriveFilesMoveBulkRequest = operations['drive___files___move-bulk']['requestBody']['content']['application/json'];
|
||||
|
||||
// @public (undocumented)
|
||||
type DriveFilesRequest = operations['drive___files']['requestBody']['content']['application/json'];
|
||||
|
||||
@@ -1732,6 +1735,7 @@ declare namespace entities {
|
||||
DriveFilesFindResponse,
|
||||
DriveFilesFindByHashRequest,
|
||||
DriveFilesFindByHashResponse,
|
||||
DriveFilesMoveBulkRequest,
|
||||
DriveFilesShowRequest,
|
||||
DriveFilesShowResponse,
|
||||
DriveFilesUpdateRequest,
|
||||
|
||||
@@ -2073,6 +2073,17 @@ declare module '../api.js' {
|
||||
credential?: string | null,
|
||||
): Promise<SwitchCaseResponseType<E, P>>;
|
||||
|
||||
/**
|
||||
* No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *write:drive*
|
||||
*/
|
||||
request<E extends 'drive/files/move-bulk', P extends Endpoints[E]['req']>(
|
||||
endpoint: E,
|
||||
params: P,
|
||||
credential?: string | null,
|
||||
): Promise<SwitchCaseResponseType<E, P>>;
|
||||
|
||||
/**
|
||||
* Show the properties of a drive file.
|
||||
*
|
||||
|
||||
@@ -282,6 +282,7 @@ import type {
|
||||
DriveFilesFindResponse,
|
||||
DriveFilesFindByHashRequest,
|
||||
DriveFilesFindByHashResponse,
|
||||
DriveFilesMoveBulkRequest,
|
||||
DriveFilesShowRequest,
|
||||
DriveFilesShowResponse,
|
||||
DriveFilesUpdateRequest,
|
||||
@@ -823,6 +824,7 @@ export type Endpoints = {
|
||||
'drive/files/delete': { req: DriveFilesDeleteRequest; res: EmptyResponse };
|
||||
'drive/files/find': { req: DriveFilesFindRequest; res: DriveFilesFindResponse };
|
||||
'drive/files/find-by-hash': { req: DriveFilesFindByHashRequest; res: DriveFilesFindByHashResponse };
|
||||
'drive/files/move-bulk': { req: DriveFilesMoveBulkRequest; res: EmptyResponse };
|
||||
'drive/files/show': { req: DriveFilesShowRequest; res: DriveFilesShowResponse };
|
||||
'drive/files/update': { req: DriveFilesUpdateRequest; res: DriveFilesUpdateResponse };
|
||||
'drive/files/upload-from-url': { req: DriveFilesUploadFromUrlRequest; res: EmptyResponse };
|
||||
|
||||
@@ -285,6 +285,7 @@ export type DriveFilesFindRequest = operations['drive___files___find']['requestB
|
||||
export type DriveFilesFindResponse = operations['drive___files___find']['responses']['200']['content']['application/json'];
|
||||
export type DriveFilesFindByHashRequest = operations['drive___files___find-by-hash']['requestBody']['content']['application/json'];
|
||||
export type DriveFilesFindByHashResponse = operations['drive___files___find-by-hash']['responses']['200']['content']['application/json'];
|
||||
export type DriveFilesMoveBulkRequest = operations['drive___files___move-bulk']['requestBody']['content']['application/json'];
|
||||
export type DriveFilesShowRequest = operations['drive___files___show']['requestBody']['content']['application/json'];
|
||||
export type DriveFilesShowResponse = operations['drive___files___show']['responses']['200']['content']['application/json'];
|
||||
export type DriveFilesUpdateRequest = operations['drive___files___update']['requestBody']['content']['application/json'];
|
||||
|
||||
@@ -1799,6 +1799,15 @@ export type paths = {
|
||||
*/
|
||||
post: operations['drive___files___find-by-hash'];
|
||||
};
|
||||
'/drive/files/move-bulk': {
|
||||
/**
|
||||
* drive/files/move-bulk
|
||||
* @description No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *write:drive*
|
||||
*/
|
||||
post: operations['drive___files___move-bulk'];
|
||||
};
|
||||
'/drive/files/show': {
|
||||
/**
|
||||
* drive/files/show
|
||||
@@ -16845,6 +16854,59 @@ export type operations = {
|
||||
};
|
||||
};
|
||||
};
|
||||
/**
|
||||
* drive/files/move-bulk
|
||||
* @description No description provided.
|
||||
*
|
||||
* **Credential required**: *Yes* / **Permission**: *write:drive*
|
||||
*/
|
||||
'drive___files___move-bulk': {
|
||||
requestBody: {
|
||||
content: {
|
||||
'application/json': {
|
||||
fileIds: string[];
|
||||
/** Format: misskey:id */
|
||||
folderId?: string | null;
|
||||
};
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description OK (without any results) */
|
||||
204: {
|
||||
content: never;
|
||||
};
|
||||
/** @description Client error */
|
||||
400: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description Authentication error */
|
||||
401: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description Forbidden error */
|
||||
403: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description I'm Ai */
|
||||
418: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
/** @description Internal server error */
|
||||
500: {
|
||||
content: {
|
||||
'application/json': components['schemas']['Error'];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
/**
|
||||
* drive/files/show
|
||||
* @description Show the properties of a drive file.
|
||||
|
||||
Reference in New Issue
Block a user