Compare commits
4 Commits
07bedcd71d
...
00b7730344
Author | SHA1 | Date | |
---|---|---|---|
00b7730344 | |||
f5673e0c24 | |||
4f1c0b6e2e | |||
e50c5686db |
@ -1,30 +0,0 @@
|
|||||||
name: Build
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize, reopened]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build and analyze
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
|
||||||
- uses: sonarsource/sonarqube-scan-action@master
|
|
||||||
env:
|
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
||||||
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
||||||
# If you wish to fail your job when the Quality Gate is red, uncomment the
|
|
||||||
# following lines. This would typically be used to fail a deployment.
|
|
||||||
# We do not recommend to use this in a pull request. Prefer using pull request
|
|
||||||
# decoration instead.
|
|
||||||
# - uses: sonarsource/sonarqube-quality-gate-action@master
|
|
||||||
# timeout-minutes: 5
|
|
||||||
# env:
|
|
||||||
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
196
package-lock.json
generated
196
package-lock.json
generated
@ -367,6 +367,64 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@angular/build/node_modules/rollup": {
|
||||||
|
"version": "4.22.4",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@types/estree": "1.0.5"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"rollup": "dist/bin/rollup"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18.0.0",
|
||||||
|
"npm": ">=8.0.0"
|
||||||
|
},
|
||||||
|
"optionalDependencies": {
|
||||||
|
"@rollup/rollup-android-arm-eabi": "4.22.4",
|
||||||
|
"@rollup/rollup-android-arm64": "4.22.4",
|
||||||
|
"@rollup/rollup-darwin-arm64": "4.22.4",
|
||||||
|
"@rollup/rollup-darwin-x64": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-arm-gnueabihf": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-arm-musleabihf": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-arm64-gnu": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-arm64-musl": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-powerpc64le-gnu": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-riscv64-gnu": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-s390x-gnu": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-x64-gnu": "4.22.4",
|
||||||
|
"@rollup/rollup-linux-x64-musl": "4.22.4",
|
||||||
|
"@rollup/rollup-win32-arm64-msvc": "4.22.4",
|
||||||
|
"@rollup/rollup-win32-ia32-msvc": "4.22.4",
|
||||||
|
"@rollup/rollup-win32-x64-msvc": "4.22.4",
|
||||||
|
"fsevents": "~2.3.2"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@angular/build/node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||||
|
"version": "4.22.4",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"node_modules/@angular/build/node_modules/rollup/node_modules/@rollup/rollup-linux-x64-musl": {
|
||||||
|
"version": "4.22.4",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
|
]
|
||||||
|
},
|
||||||
"node_modules/@angular/cli": {
|
"node_modules/@angular/cli": {
|
||||||
"version": "18.2.9",
|
"version": "18.2.9",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -488,17 +546,6 @@
|
|||||||
"url": "https://paulmillr.com/funding/"
|
"url": "https://paulmillr.com/funding/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@angular/compiler-cli/node_modules/semver": {
|
|
||||||
"version": "7.6.2",
|
|
||||||
"dev": true,
|
|
||||||
"license": "ISC",
|
|
||||||
"bin": {
|
|
||||||
"semver": "bin/semver.js"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@angular/core": {
|
"node_modules/@angular/core": {
|
||||||
"version": "18.2.8",
|
"version": "18.2.8",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -2562,14 +2609,6 @@
|
|||||||
"node": ">=8"
|
"node": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/checkbox/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/checkbox/node_modules/ansi-escapes": {
|
"node_modules/@inquirer/checkbox/node_modules/ansi-escapes": {
|
||||||
"version": "4.3.2",
|
"version": "4.3.2",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -2619,14 +2658,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/core/node_modules/@types/node": {
|
"node_modules/@inquirer/core/node_modules/@types/node": {
|
||||||
"version": "22.2.0",
|
"version": "22.2.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -2770,14 +2801,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/editor/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/editor/node_modules/@inquirer/core/node_modules/@types/node": {
|
"node_modules/@inquirer/editor/node_modules/@inquirer/core/node_modules/@types/node": {
|
||||||
"version": "22.2.0",
|
"version": "22.2.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -2921,14 +2944,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/expand/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/expand/node_modules/@inquirer/core/node_modules/@types/node": {
|
"node_modules/@inquirer/expand/node_modules/@inquirer/core/node_modules/@types/node": {
|
||||||
"version": "22.2.0",
|
"version": "22.2.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -3037,7 +3052,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/figures": {
|
"node_modules/@inquirer/figures": {
|
||||||
"version": "1.0.7",
|
"version": "1.0.5",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@ -3079,14 +3094,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/input/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/input/node_modules/@inquirer/core/node_modules/@types/node": {
|
"node_modules/@inquirer/input/node_modules/@inquirer/core/node_modules/@types/node": {
|
||||||
"version": "22.2.0",
|
"version": "22.2.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -3228,6 +3235,14 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@inquirer/number/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
||||||
|
"version": "1.0.7",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@inquirer/number/node_modules/@inquirer/core/node_modules/@inquirer/type": {
|
"node_modules/@inquirer/number/node_modules/@inquirer/core/node_modules/@inquirer/type": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -3393,14 +3408,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/password/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/password/node_modules/@inquirer/core/node_modules/@types/node": {
|
"node_modules/@inquirer/password/node_modules/@inquirer/core/node_modules/@types/node": {
|
||||||
"version": "22.2.0",
|
"version": "22.2.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -3564,14 +3571,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/rawlist/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/rawlist/node_modules/@inquirer/core/node_modules/@types/node": {
|
"node_modules/@inquirer/rawlist/node_modules/@inquirer/core/node_modules/@types/node": {
|
||||||
"version": "22.2.0",
|
"version": "22.2.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -3715,6 +3714,14 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@inquirer/search/node_modules/@inquirer/core/node_modules/@inquirer/figures": {
|
||||||
|
"version": "1.0.7",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=18"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@inquirer/search/node_modules/@inquirer/core/node_modules/@inquirer/type": {
|
"node_modules/@inquirer/search/node_modules/@inquirer/core/node_modules/@inquirer/type": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -3859,14 +3866,6 @@
|
|||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@inquirer/select/node_modules/@inquirer/figures": {
|
|
||||||
"version": "1.0.5",
|
|
||||||
"dev": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@inquirer/select/node_modules/ansi-escapes": {
|
"node_modules/@inquirer/select/node_modules/ansi-escapes": {
|
||||||
"version": "4.3.2",
|
"version": "4.3.2",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -4498,7 +4497,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||||
"version": "4.22.4",
|
"version": "4.24.0",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@ -4510,7 +4509,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-linux-x64-musl": {
|
"node_modules/@rollup/rollup-linux-x64-musl": {
|
||||||
"version": "4.22.4",
|
"version": "4.24.0",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
@ -11463,11 +11462,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rollup": {
|
"node_modules/rollup": {
|
||||||
"version": "4.22.4",
|
"version": "4.24.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/estree": "1.0.5"
|
"@types/estree": "1.0.6"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
"rollup": "dist/bin/rollup"
|
"rollup": "dist/bin/rollup"
|
||||||
@ -11477,25 +11476,30 @@
|
|||||||
"npm": ">=8.0.0"
|
"npm": ">=8.0.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@rollup/rollup-android-arm-eabi": "4.22.4",
|
"@rollup/rollup-android-arm-eabi": "4.24.0",
|
||||||
"@rollup/rollup-android-arm64": "4.22.4",
|
"@rollup/rollup-android-arm64": "4.24.0",
|
||||||
"@rollup/rollup-darwin-arm64": "4.22.4",
|
"@rollup/rollup-darwin-arm64": "4.24.0",
|
||||||
"@rollup/rollup-darwin-x64": "4.22.4",
|
"@rollup/rollup-darwin-x64": "4.24.0",
|
||||||
"@rollup/rollup-linux-arm-gnueabihf": "4.22.4",
|
"@rollup/rollup-linux-arm-gnueabihf": "4.24.0",
|
||||||
"@rollup/rollup-linux-arm-musleabihf": "4.22.4",
|
"@rollup/rollup-linux-arm-musleabihf": "4.24.0",
|
||||||
"@rollup/rollup-linux-arm64-gnu": "4.22.4",
|
"@rollup/rollup-linux-arm64-gnu": "4.24.0",
|
||||||
"@rollup/rollup-linux-arm64-musl": "4.22.4",
|
"@rollup/rollup-linux-arm64-musl": "4.24.0",
|
||||||
"@rollup/rollup-linux-powerpc64le-gnu": "4.22.4",
|
"@rollup/rollup-linux-powerpc64le-gnu": "4.24.0",
|
||||||
"@rollup/rollup-linux-riscv64-gnu": "4.22.4",
|
"@rollup/rollup-linux-riscv64-gnu": "4.24.0",
|
||||||
"@rollup/rollup-linux-s390x-gnu": "4.22.4",
|
"@rollup/rollup-linux-s390x-gnu": "4.24.0",
|
||||||
"@rollup/rollup-linux-x64-gnu": "4.22.4",
|
"@rollup/rollup-linux-x64-gnu": "4.24.0",
|
||||||
"@rollup/rollup-linux-x64-musl": "4.22.4",
|
"@rollup/rollup-linux-x64-musl": "4.24.0",
|
||||||
"@rollup/rollup-win32-arm64-msvc": "4.22.4",
|
"@rollup/rollup-win32-arm64-msvc": "4.24.0",
|
||||||
"@rollup/rollup-win32-ia32-msvc": "4.22.4",
|
"@rollup/rollup-win32-ia32-msvc": "4.24.0",
|
||||||
"@rollup/rollup-win32-x64-msvc": "4.22.4",
|
"@rollup/rollup-win32-x64-msvc": "4.24.0",
|
||||||
"fsevents": "~2.3.2"
|
"fsevents": "~2.3.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/rollup/node_modules/@types/estree": {
|
||||||
|
"version": "1.0.6",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/run-applescript": {
|
"node_modules/run-applescript": {
|
||||||
"version": "7.0.0",
|
"version": "7.0.0",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
@ -1,7 +1,2 @@
|
|||||||
<h1>{{'hello' | uppercase | text}}</h1>
|
<h1>{{'hello' | uppercase | text}}</h1>
|
||||||
<app-search [(input)]="search"></app-search>
|
<app-search [(input)]="search"></app-search>
|
||||||
@for (let hotel of foundHotels | async) {
|
|
||||||
@if (search === "") {
|
|
||||||
<app-hotel-item [hotel]="hotel"></app-hotel-item>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -5,7 +5,7 @@ import { AsyncPipe, UpperCasePipe } from '@angular/common';
|
|||||||
import { TextPipe } from '../text.pipe';
|
import { TextPipe } from '../text.pipe';
|
||||||
import { HotelService } from './Parent/services/hotel.service';
|
import { HotelService } from './Parent/services/hotel.service';
|
||||||
import { inject } from '@angular/core';
|
import { inject } from '@angular/core';
|
||||||
import { filter, map, Observable, range } from 'rxjs';
|
import { filter, from, map, Observable, range, tap, toArray } from 'rxjs';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-root',
|
selector: 'app-root',
|
||||||
@ -20,20 +20,18 @@ export class AppComponent {
|
|||||||
public hotelService: HotelService = inject(HotelService);
|
public hotelService: HotelService = inject(HotelService);
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
const stream: Observable<number> = range(1, 10);
|
const stream: Observable<number | string> = from([5, 1, 2, 12, 5, 14, 17, 5, "testing"]);
|
||||||
|
|
||||||
stream.pipe(
|
stream.pipe(
|
||||||
filter((value: number) => value % 2 === 1),
|
filter((value) => typeof value === "number"),
|
||||||
).subscribe((value) => console.log(value));
|
tap((value) => console.log("Zahl:" + value)),
|
||||||
console.log('---')
|
filter((value: number) => value % 2 === 0),
|
||||||
|
tap((value) => console.log("Gerade Zahl: " + value)),
|
||||||
stream.pipe(
|
toArray(),
|
||||||
map((value: number) => value * 2)
|
).subscribe(console.log);
|
||||||
).subscribe((value) => console.log(value));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public test() {
|
public test() {
|
||||||
8
|
|
||||||
console.log(this.search);
|
console.log(this.search);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user