-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
70 changed files
with
863 additions
and
3,219 deletions.
There are no files selected for viewing
File renamed without changes.
41 changes: 41 additions & 0 deletions
41
src/Umbraco.Community.Sustainability.UI/Umbraco.Community.Sustainability.UI.esproj
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,41 @@ | ||
<Project Sdk="Microsoft.VisualStudio.JavaScript.Sdk/1.0.1738743"> | ||
<PropertyGroup> | ||
<ShouldRunNpmInstall>false</ShouldRunNpmInstall> | ||
<ShouldRunBuildScript>false</ShouldRunBuildScript> | ||
<StaticWebAssetSourceId>Umbraco.Community.Sustainability</StaticWebAssetSourceId> | ||
<DebugAssetsDirectory>$(MSBuildProjectDirectory)\dist</DebugAssetsDirectory> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Update="openapitools.json"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile> | ||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
</None> | ||
<None Update="package-lock.json"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile> | ||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
</None> | ||
<None Update="package.json"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile> | ||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
</None> | ||
<None Update="public\resource-checker.js"> | ||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile> | ||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
</None> | ||
<None Update="public\umbraco-package.json"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile> | ||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<TypeScriptConfiguration Update="tsconfig.json"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
<ExcludeFromSingleFile>true</ExcludeFromSingleFile> | ||
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory> | ||
</TypeScriptConfiguration> | ||
</ItemGroup> | ||
</Project> |
File renamed without changes.
19 changes: 19 additions & 0 deletions
19
src/Umbraco.Community.Sustainability.UI/openapi-ts.config.js
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 @@ | ||
import { defineConfig } from '@hey-api/openapi-ts'; | ||
|
||
export default defineConfig({ | ||
client: 'fetch', | ||
debug: true, | ||
input: 'http://localhost:26292/umbraco/swagger/sustainability/swagger.json', | ||
output: { | ||
path: 'src/api', | ||
format: 'prettier', | ||
lint: 'eslint', | ||
}, | ||
schemas: false, | ||
services: { | ||
asClass: true, | ||
}, | ||
types: { | ||
enums: 'typescript', | ||
} | ||
}); |
File renamed without changes.
Oops, something went wrong.