Skip to content

Commit a39dc4c

Browse files
committed
Merge branch 'v14/bugfix/show-correct-api-error-description' of https://github.com/umbraco/Umbraco.CMS.Backoffice into v14/bugfix/show-correct-api-error-description
2 parents e871477 + 5826408 commit a39dc4c

File tree

112 files changed

+22899
-15075
lines changed

Some content is hidden

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

112 files changed

+22899
-15075
lines changed

.github/workflows/devskim.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

devops/icons/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { readFileSync, writeFile, mkdir } from 'fs';
1+
import { readFileSync, writeFile, mkdir, rmSync } from 'fs';
22
import * as globModule from 'tiny-glob';
33
import * as pathModule from 'path';
44

@@ -15,6 +15,9 @@ const lucideSvgDirectory = 'node_modules/lucide-static/icons';
1515
const simpleIconsSvgDirectory = 'node_modules/simple-icons/icons';
1616

1717
const run = async () => {
18+
// Empty output directory:
19+
rmSync(iconsOutputDirectory, { recursive: true });
20+
1821
var icons = await collectDictionaryIcons();
1922
icons = await collectDiskIcons(icons);
2023
writeIconsToDisk(icons);
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { defineConfig } from '@hey-api/openapi-ts';
2+
3+
export default defineConfig({
4+
client: 'fetch',
5+
input: 'https://raw.githubusercontent.com/umbraco/Umbraco-CMS/v14/dev/src/Umbraco.Cms.Api.Management/OpenApi.json',
6+
output: {
7+
path: 'src/external/backend-api/src',
8+
format: 'prettier',
9+
lint: 'eslint',
10+
},
11+
schemas: false,
12+
services: {
13+
asClass: true,
14+
},
15+
types: {
16+
enums: 'typescript',
17+
},
18+
});
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { defineConfig } from '@hey-api/openapi-ts';
2+
3+
export default defineConfig({
4+
client: 'fetch',
5+
debug: true,
6+
input: 'http://localhost:11000/umbraco/swagger/management/swagger.json',
7+
output: {
8+
path: 'src/external/backend-api/src',
9+
format: 'prettier',
10+
lint: 'eslint',
11+
},
12+
schemas: false,
13+
services: {
14+
asClass: true,
15+
},
16+
types: {
17+
enums: 'typescript',
18+
},
19+
});
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { defineConfig } from '@hey-api/openapi-ts';
2+
3+
export default defineConfig({
4+
client: 'fetch',
5+
debug: true,
6+
input: '../Umbraco.Cms.Api.Management/OpenApi.json',
7+
output: {
8+
path: 'src/external/backend-api/src',
9+
format: 'prettier',
10+
lint: 'eslint',
11+
},
12+
schemas: false,
13+
services: {
14+
asClass: true,
15+
},
16+
types: {
17+
enums: 'typescript',
18+
},
19+
});

0 commit comments

Comments
 (0)