-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #99 from EasyAbp/remove-file-reupload-apis
Remove file re-upload APIs
- Loading branch information
Showing
28 changed files
with
119 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/EasyAbp.FileManagement.Domain.Core/EasyAbp/FileManagement/Files/MoveFileModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using JetBrains.Annotations; | ||
|
||
namespace EasyAbp.FileManagement.Files; | ||
|
||
public class MoveFileModel : UpdateFileInfoModel | ||
{ | ||
[CanBeNull] | ||
public File NewParent { get; set; } | ||
|
||
public MoveFileModel() | ||
{ | ||
} | ||
|
||
public MoveFileModel([CanBeNull] File newParent, [NotNull] string newFileName, | ||
[CanBeNull] string newMimeType) : base(newFileName, newMimeType) | ||
{ | ||
NewParent = newParent; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/EasyAbp.FileManagement.Domain.Core/EasyAbp/FileManagement/Files/UpdateFileInfoModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using JetBrains.Annotations; | ||
using Volo.Abp.ObjectExtending; | ||
|
||
namespace EasyAbp.FileManagement.Files; | ||
|
||
public class UpdateFileInfoModel : ExtensibleObject | ||
{ | ||
[NotNull] | ||
public string NewFileName { get; set; } | ||
|
||
[CanBeNull] | ||
public string NewMimeType { get; set; } | ||
|
||
public UpdateFileInfoModel() | ||
{ | ||
} | ||
|
||
public UpdateFileInfoModel([NotNull] string newFileName, [CanBeNull] string newMimeType) | ||
{ | ||
NewFileName = newFileName; | ||
NewMimeType = newMimeType; | ||
} | ||
} |
34 changes: 0 additions & 34 deletions
34
src/EasyAbp.FileManagement.Domain.Shared/EasyAbp/FileManagement/Files/UpdateFileModel.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.