Skip to content

Commit ce1736a

Browse files
committed
chore: update FE dependencies
1 parent c21ea73 commit ce1736a

File tree

3 files changed

+1536
-1086
lines changed

3 files changed

+1536
-1086
lines changed
Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
1-
import { defineConfig } from '@hey-api/openapi-ts';
1+
import { defineConfig, defaultPlugins } from '@hey-api/openapi-ts';
22

33
export default defineConfig({
44
input:
55
'http://localhost:54813/umbraco/swagger/default/swagger.json',
6+
plugins: [
7+
...defaultPlugins,
8+
'legacy/fetch',
9+
'@hey-api/schemas',
10+
{
11+
dates: true,
12+
name: '@hey-api/transformers',
13+
},
14+
{
15+
enums: 'javascript',
16+
name: '@hey-api/typescript',
17+
},
18+
{
19+
name: '@hey-api/sdk',
20+
transformer: true,
21+
},
22+
],
623
output: {
724
format: 'prettier',
825
path: './src/api',
9-
},
10-
types: {
11-
enums: 'typescript',
12-
},
26+
}
1327
});

0 commit comments

Comments
 (0)