mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Update .gitignore and .prettierignore; add generated Swagger API libraries
This commit is contained in:
3
generated/swagger/availability-api/README.md
Normal file
3
generated/swagger/availability-api/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# generated-swagger-availability-api
|
||||
|
||||
This library was generated with [Nx](https://nx.dev).
|
||||
34
generated/swagger/availability-api/eslint.config.mjs
Normal file
34
generated/swagger/availability-api/eslint.config.mjs
Normal file
@@ -0,0 +1,34 @@
|
||||
import nx from '@nx/eslint-plugin';
|
||||
import baseConfig from '../../../eslint.config.mjs';
|
||||
|
||||
export default [
|
||||
...baseConfig,
|
||||
...nx.configs['flat/angular'],
|
||||
...nx.configs['flat/angular-template'],
|
||||
{
|
||||
files: ['**/*.ts'],
|
||||
rules: {
|
||||
'@angular-eslint/directive-selector': [
|
||||
'error',
|
||||
{
|
||||
type: 'attribute',
|
||||
prefix: 'lib',
|
||||
style: 'camelCase',
|
||||
},
|
||||
],
|
||||
'@angular-eslint/component-selector': [
|
||||
'error',
|
||||
{
|
||||
type: 'element',
|
||||
prefix: 'lib',
|
||||
style: 'kebab-case',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['**/*.html'],
|
||||
// Override or add rules here
|
||||
rules: {},
|
||||
},
|
||||
];
|
||||
14
generated/swagger/availability-api/ng-swagger-gen.json
Normal file
14
generated/swagger/availability-api/ng-swagger-gen.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "../../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
|
||||
"swagger": "https://isa-test.paragon-data.net/ava/v6/swagger.json",
|
||||
"prefix": "Av",
|
||||
"minParamsForContainer": 2,
|
||||
"sortParams": "desc",
|
||||
"defaultTag": "Av",
|
||||
"removeStaleFiles": true,
|
||||
"modelIndex": true,
|
||||
"serviceIndex": true,
|
||||
"apiModule": false,
|
||||
"enumModule": true,
|
||||
"generateExamples": false
|
||||
}
|
||||
20
generated/swagger/availability-api/project.json
Normal file
20
generated/swagger/availability-api/project.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "generated-swagger-availability-api",
|
||||
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
||||
"sourceRoot": "generated/swagger/availability-api/src",
|
||||
"prefix": "lib",
|
||||
"projectType": "library",
|
||||
"tags": [],
|
||||
"targets": {
|
||||
"generate": {
|
||||
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
||||
"inputs": [
|
||||
"^production",
|
||||
"{projectRoot}/ng-swagger-gen.json",
|
||||
"!{projectRoot}/src/**/*.ts"
|
||||
],
|
||||
"outputs": ["{projectRoot}/src"],
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
}
|
||||
25
generated/swagger/availability-api/tsconfig.json
Normal file
25
generated/swagger/availability-api/tsconfig.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2022",
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"noImplicitOverride": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noImplicitReturns": true,
|
||||
"noFallthroughCasesInSwitch": true
|
||||
},
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.lib.json"
|
||||
}
|
||||
],
|
||||
"extends": "../../../tsconfig.base.json",
|
||||
"angularCompilerOptions": {
|
||||
"enableI18nLegacyMessageIdFormat": false,
|
||||
"strictInjectionParameters": true,
|
||||
"strictInputAccessModifiers": true,
|
||||
"strictTemplates": true
|
||||
}
|
||||
}
|
||||
12
generated/swagger/availability-api/tsconfig.lib.json
Normal file
12
generated/swagger/availability-api/tsconfig.lib.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../../dist/out-tsc",
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"inlineSources": true,
|
||||
"types": []
|
||||
},
|
||||
"exclude": ["src/**/*.spec.ts", "jest.config.ts", "src/**/*.test.ts"],
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user