Skip to content

Commit 054c8d5

Browse files
authored
Merge pull request #72 from PandaTechAM/development
File set added
2 parents ebda787 + 9ef52c4 commit 054c8d5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/SharedKernel/SharedKernel.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
<PackageReadmeFile>Readme.md</PackageReadmeFile>
99
<Authors>Pandatech</Authors>
1010
<Copyright>MIT</Copyright>
11-
<Version>1.8.0</Version>
11+
<Version>1.8.1</Version>
1212
<PackageId>Pandatech.SharedKernel</PackageId>
1313
<Title>Pandatech Shared Kernel Library</Title>
1414
<PackageTags>Pandatech, shared kernel, library, OpenAPI, Swagger, utilities, scalar</PackageTags>
1515
<Description>Pandatech.SharedKernel provides centralized configurations, utilities, and extensions for ASP.NET Core projects. For more information refere to readme.md document.</Description>
1616
<RepositoryUrl>https://github.com/PandaTechAM/be-lib-sharedkernel</RepositoryUrl>
17-
<PackageReleaseNotes>Validator for files has breaking changes, but very easy to migrate (just name change)</PackageReleaseNotes>
17+
<PackageReleaseNotes>File set added</PackageReleaseNotes>
1818
</PropertyGroup>
1919

2020
<ItemGroup>

src/SharedKernel/ValidatorAndMediatR/Validators/Files/CommonFileSets.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public static class CommonFileSets
1212

1313
public static readonly string[] Images = [".jpg", ".jpeg", ".png", ".webp", ".heic", ".heif", ".svg", ".avif"];
1414

15+
public static readonly string[] ImportFiles = [".csv", ".xlsx"];
16+
1517
public static readonly string[] ImagesAndDocuments = Images.Concat(Documents)
1618
.ToArray();
1719
}

0 commit comments

Comments
 (0)