Skip to content

Commit

Permalink
prompt mock import
Browse files Browse the repository at this point in the history
  • Loading branch information
phnagy committed Feb 17, 2024
1 parent 3cff79a commit 848eaa5
Show file tree
Hide file tree
Showing 45 changed files with 2,306 additions and 136 deletions.
312 changes: 312 additions & 0 deletions docs/mockoon.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions docs/ng-openapi-gen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"apiService": "ApiService",
"input": "docs/openapi_spec.yaml",
"output": "src/app/api"
}
360 changes: 259 additions & 101 deletions docs/openapi_spec.yaml

Large diffs are not rendered by default.

227 changes: 227 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"lint:fix": "eslint --fix --ext .ts \"src/{app,test}/**/*.ts\"",
"update": "npm-upgrade",
"prettier:write": "prettier --write \"src/{app,test}/**/*.{json,ts,js,css,scss,html}\"",
"prettier:check": "prettier --check \"src/{app,test}/**/*.{json,ts,js,css,scss,html}\""
"prettier:check": "prettier --check \"src/{app,test}/**/*.{json,ts,js,css,scss,html}\"",
"openapi:generate": "ng-openapi-gen -c docs/ng-openapi-gen.json"
},
"contributors": [
"Stephan Krusche <[email protected]>",
Expand Down Expand Up @@ -78,12 +79,14 @@
"@angular/cli": "17.0.7",
"@angular/compiler-cli": "17.0.7",
"@angular/localize": "17.0.7",
"@cypress/schematic": "^2.5.1",
"@types/crypto-js": "^4.2.1",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-prettier": "5.0.0",
"ng-openapi-gen": "^0.51.0",
"prettier": "^3.0.3",
"prettier-eslint": "^16.1.1",
"typescript": "5.2.2"
Expand Down
20 changes: 20 additions & 0 deletions src/app/api/api-configuration.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* tslint:disable */
/* eslint-disable */
import { Injectable } from '@angular/core';

/**
* Global configuration
*/
@Injectable({
providedIn: 'root',
})
export class ApiConfiguration {
rootUrl: string = 'https://prompt.ase.cit.tum.de/tease';
}

/**
* Parameters for `ApiModule.forRoot()`
*/
export interface ApiConfigurationParams {
rootUrl?: string;
}
Loading

0 comments on commit 848eaa5

Please sign in to comment.