style: run quality tools
All checks were successful
CI / Docker frontend validation (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / Get Changed Files (pull_request) Successful in 8s
CI / Checkstyle Main (pull_request) Has been skipped
CI / oxlint (pull_request) Successful in 25s
CI / eslint (pull_request) Successful in 29s
CI / prettier (pull_request) Successful in 28s
CI / test-build (pull_request) Successful in 37s
All checks were successful
CI / Docker frontend validation (pull_request) Has been skipped
CI / Docker backend validation (pull_request) Has been skipped
CI / Get Changed Files (pull_request) Successful in 8s
CI / Checkstyle Main (pull_request) Has been skipped
CI / oxlint (pull_request) Successful in 25s
CI / eslint (pull_request) Successful in 29s
CI / prettier (pull_request) Successful in 28s
CI / test-build (pull_request) Successful in 37s
This commit is contained in:
parent
34ff29c7ac
commit
f42070cfae
11 changed files with 94 additions and 80 deletions
|
@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
|
|||
import { CommonModule } from '@angular/common';
|
||||
import { RouterOutlet } from '@angular/router';
|
||||
import { FooterComponent } from '@shared/components/footer/footer.component';
|
||||
import {NavbarComponent} from "@shared/components/navbar/navbar.component";
|
||||
import { NavbarComponent } from '@shared/components/navbar/navbar.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from '@angular/forms';
|
||||
import {Router, RouterLink} from '@angular/router';
|
||||
import {LoginRequest} from '../../../model/auth/LoginRequest';
|
||||
import {AuthService} from '../../../service/auth.service';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { FormBuilder, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
|
||||
import { Router, RouterLink } from '@angular/router';
|
||||
import { LoginRequest } from '../../../model/auth/LoginRequest';
|
||||
import { AuthService } from '../../../service/auth.service';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-login',
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import {Component} from '@angular/core';
|
||||
import {FormBuilder, FormGroup, ReactiveFormsModule, Validators} from '@angular/forms';
|
||||
import {Router, RouterLink} from '@angular/router';
|
||||
import {RegisterRequest} from '../../../model/auth/RegisterRequest';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import { Component } from '@angular/core';
|
||||
import { FormBuilder, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
|
||||
import { Router, RouterLink } from '@angular/router';
|
||||
import { RegisterRequest } from '../../../model/auth/RegisterRequest';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-register',
|
||||
|
|
|
@ -14,14 +14,14 @@ import {
|
|||
SimpleChanges,
|
||||
ViewChild,
|
||||
} from '@angular/core';
|
||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from '@angular/forms';
|
||||
import {loadStripe, Stripe} from '@stripe/stripe-js';
|
||||
import {debounceTime} from 'rxjs';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import { FormControl, FormGroup, ReactiveFormsModule, Validators } from '@angular/forms';
|
||||
import { loadStripe, Stripe } from '@stripe/stripe-js';
|
||||
import { debounceTime } from 'rxjs';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import gsap from 'gsap';
|
||||
import {DepositService} from '@service/deposit.service';
|
||||
import {environment} from '@environments/environment';
|
||||
import {ModalAnimationService} from '@shared/services/modal-animation.service';
|
||||
import { DepositService } from '@service/deposit.service';
|
||||
import { environment } from '@environments/environment';
|
||||
import { ModalAnimationService } from '@shared/services/modal-animation.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-deposit',
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
import {ChangeDetectionStrategy, Component, inject, OnInit, signal} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {Router} from '@angular/router';
|
||||
import {DealerHandComponent} from './components/dealer-hand/dealer-hand.component';
|
||||
import {PlayerHandComponent} from './components/player-hand/player-hand.component';
|
||||
import {GameControlsComponent} from './components/game-controls/game-controls.component';
|
||||
import {GameInfoComponent} from './components/game-info/game-info.component';
|
||||
import {BlackjackGame, Card} from '@blackjack/models/blackjack.model';
|
||||
import {BlackjackService} from '@blackjack/services/blackjack.service';
|
||||
import {HttpErrorResponse} from '@angular/common/http';
|
||||
import {GameResultComponent} from '@blackjack/components/game-result/game-result.component';
|
||||
import {GameState} from '@blackjack/enum/gameState';
|
||||
import {UserService} from '@service/user.service';
|
||||
import {timer} from 'rxjs';
|
||||
import {DebtDialogComponent} from '@shared/components/debt-dialog/debt-dialog.component';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
import { ChangeDetectionStrategy, Component, inject, OnInit, signal } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Router } from '@angular/router';
|
||||
import { DealerHandComponent } from './components/dealer-hand/dealer-hand.component';
|
||||
import { PlayerHandComponent } from './components/player-hand/player-hand.component';
|
||||
import { GameControlsComponent } from './components/game-controls/game-controls.component';
|
||||
import { GameInfoComponent } from './components/game-info/game-info.component';
|
||||
import { BlackjackGame, Card } from '@blackjack/models/blackjack.model';
|
||||
import { BlackjackService } from '@blackjack/services/blackjack.service';
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { GameResultComponent } from '@blackjack/components/game-result/game-result.component';
|
||||
import { GameState } from '@blackjack/enum/gameState';
|
||||
import { UserService } from '@service/user.service';
|
||||
import { timer } from 'rxjs';
|
||||
import { DebtDialogComponent } from '@shared/components/debt-dialog/debt-dialog.component';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-blackjack',
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
import {ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit, signal,} from '@angular/core';
|
||||
import {HttpClient} from '@angular/common/http';
|
||||
import {CommonModule, CurrencyPipe, KeyValuePipe, NgClass} from '@angular/common';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {UserService} from '@service/user.service';
|
||||
import {Subscription} from 'rxjs';
|
||||
import {AnimatedNumberComponent} from '@blackjack/components/animated-number/animated-number.component';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
inject,
|
||||
OnDestroy,
|
||||
OnInit,
|
||||
signal,
|
||||
} from '@angular/core';
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { CommonModule, CurrencyPipe, KeyValuePipe, NgClass } from '@angular/common';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { UserService } from '@service/user.service';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { AnimatedNumberComponent } from '@blackjack/components/animated-number/animated-number.component';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
|
||||
interface SlotResult {
|
||||
status: 'win' | 'lose' | 'blank' | 'start';
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
import {ChangeDetectionStrategy, Component, inject, OnInit} from '@angular/core';
|
||||
import {AsyncPipe, CurrencyPipe, DatePipe, NgFor} from '@angular/common';
|
||||
import {DepositComponent} from '../deposit/deposit.component';
|
||||
import {ActivatedRoute, Router} from '@angular/router';
|
||||
import {ConfirmationComponent} from '@shared/components/confirmation/confirmation.component';
|
||||
import {Game} from 'app/model/Game';
|
||||
import {Observable} from 'rxjs';
|
||||
import {TransactionService} from '@service/transaction.service';
|
||||
import { ChangeDetectionStrategy, Component, inject, OnInit } from '@angular/core';
|
||||
import { AsyncPipe, CurrencyPipe, DatePipe, NgFor } from '@angular/common';
|
||||
import { DepositComponent } from '../deposit/deposit.component';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { ConfirmationComponent } from '@shared/components/confirmation/confirmation.component';
|
||||
import { Game } from 'app/model/Game';
|
||||
import { Observable } from 'rxjs';
|
||||
import { TransactionService } from '@service/transaction.service';
|
||||
import format from 'ajv/dist/vocabularies/format';
|
||||
import {TransactionHistoryComponent} from '../transaction-history/transaction-history.component';
|
||||
import {TransactionData} from '../../model/TransactionData';
|
||||
import { TransactionHistoryComponent } from '../transaction-history/transaction-history.component';
|
||||
import { TransactionData } from '../../model/TransactionData';
|
||||
|
||||
@Component({
|
||||
selector: 'app-homepage',
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import {ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit} from '@angular/core';
|
||||
import {NgFor} from '@angular/common';
|
||||
import {RouterLink} from '@angular/router';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
import { ChangeDetectionStrategy, Component, inject, OnDestroy, OnInit } from '@angular/core';
|
||||
import { NgFor } from '@angular/common';
|
||||
import { RouterLink } from '@angular/router';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-landing-page',
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
import {ChangeDetectorRef, Component} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {ActivatedRoute, Router} from '@angular/router';
|
||||
import {LootboxService} from '../services/lootbox.service';
|
||||
import {LootBox, Reward} from 'app/model/LootBox';
|
||||
import {UserService} from '@service/user.service';
|
||||
import {User} from 'app/model/User';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
import { ChangeDetectorRef, Component } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { LootboxService } from '../services/lootbox.service';
|
||||
import { LootBox, Reward } from 'app/model/LootBox';
|
||||
import { UserService } from '@service/user.service';
|
||||
import { User } from 'app/model/User';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-lootbox-opening',
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
import {ChangeDetectorRef, Component, OnInit} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {LootboxService} from '../services/lootbox.service';
|
||||
import {LootBox} from 'app/model/LootBox';
|
||||
import {Router} from '@angular/router';
|
||||
import {timeout} from 'rxjs';
|
||||
import {User} from 'app/model/User';
|
||||
import {AuthService} from '@service/auth.service';
|
||||
import {UserService} from '@service/user.service';
|
||||
import { ChangeDetectorRef, Component, OnInit } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { LootboxService } from '../services/lootbox.service';
|
||||
import { LootBox } from 'app/model/LootBox';
|
||||
import { Router } from '@angular/router';
|
||||
import { timeout } from 'rxjs';
|
||||
import { User } from 'app/model/User';
|
||||
import { AuthService } from '@service/auth.service';
|
||||
import { UserService } from '@service/user.service';
|
||||
|
||||
@Component({
|
||||
selector: 'app-lootbox-selection',
|
||||
|
|
|
@ -1,8 +1,15 @@
|
|||
import {ChangeDetectionStrategy, Component, EventEmitter, inject, Input, Output,} from '@angular/core';
|
||||
import {TransactionService} from '@service/transaction.service';
|
||||
import {Observable} from 'rxjs';
|
||||
import {AsyncPipe, CurrencyPipe, DatePipe, NgIf} from '@angular/common';
|
||||
import {TransactionData} from '../../model/TransactionData';
|
||||
import {
|
||||
ChangeDetectionStrategy,
|
||||
Component,
|
||||
EventEmitter,
|
||||
inject,
|
||||
Input,
|
||||
Output,
|
||||
} from '@angular/core';
|
||||
import { TransactionService } from '@service/transaction.service';
|
||||
import { Observable } from 'rxjs';
|
||||
import { AsyncPipe, CurrencyPipe, DatePipe, NgIf } from '@angular/common';
|
||||
import { TransactionData } from '../../model/TransactionData';
|
||||
|
||||
const PER_PAGE = 5;
|
||||
|
||||
|
|
Reference in a new issue