Skip to content

Commit 72c7efd

Browse files
committed
feature: support Umbraco 16.0.0-rc
1 parent f4fb07e commit 72c7efd

File tree

109 files changed

+2080
-2231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+2080
-2231
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ jobs:
1414
npm-working-dir: src/jcdcdev.Umbraco.ReadingTime.Client
1515
npm-enabled: true
1616
npm-version: "22.x"
17-
umbraco-version: 15
17+
umbraco-version: 16
1818
dotnet-version: "9"

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
npm-working-dir: src/jcdcdev.Umbraco.ReadingTime.Client
2020
npm-enabled: true
2121
npm-version: "22.x"
22-
umbraco-version: 15
22+
umbraco-version: 16
2323
dotnet-version: "9"
2424
- name: Release
2525
uses: jcdcdev/jcdcdev.Umbraco.GitHub.Release@main

src/jcdcdev.Umbraco.ReadingTime.Client/openapi-ts.config.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
import { defineConfig, defaultPlugins } from '@hey-api/openapi-ts';
22

33
export default defineConfig({
4-
input: 'http://localhost:54813/umbraco/swagger/default/swagger.json',
4+
input: 'http://localhost:54813/umbraco/swagger/ReadingTime/swagger.json',
55
plugins: [
6-
...defaultPlugins,
7-
'legacy/fetch',
8-
'@hey-api/schemas',
9-
{
10-
dates: true,
11-
name: '@hey-api/transformers',
12-
},
13-
{
14-
enums: 'javascript',
15-
name: '@hey-api/typescript',
16-
},
17-
{
18-
name: '@hey-api/sdk',
19-
transformer: true,
20-
},
6+
...defaultPlugins,
7+
{
8+
name: '@hey-api/client-fetch',
9+
exportFromIndex: true,
10+
throwOnError: true,
11+
},
12+
{
13+
name: '@hey-api/typescript',
14+
enums: 'typescript',
15+
readOnlyWriteOnlyBehavior: 'off',
16+
},
17+
{
18+
name: '@hey-api/sdk',
19+
asClass: true,
20+
}
2121
],
2222
output: {
2323
format: 'prettier',

0 commit comments

Comments
 (0)