Browse Source

Task/prettify files (20261127) (#8482)

Prettify files
pull/8435/merge
Thomas Kaul 10 hours ago
committed by GitHub
parent
commit
5b576f9de1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      apps/client/src/app/pages/landing/landing-page.html
  2. 4
      apps/client/src/app/pages/portfolio/fire/fire-page.html
  3. 20
      apps/client/src/app/pages/resources/personal-finance-tools/product-page.html
  4. 13
      libs/common/src/lib/interfaces/simplewebauthn.interface.ts
  5. 5
      libs/common/src/lib/types/market.type.ts
  6. 7
      libs/common/src/lib/types/product-platform.type.ts
  7. 4
      libs/ui/src/lib/assistant/interfaces/interfaces.ts
  8. 3
      libs/ui/src/lib/data-provider-credits/data-provider-credits.component.html
  9. 3
      libs/ui/src/lib/portfolio-proportion-chart/interfaces/interfaces.ts

3
apps/client/src/app/pages/landing/landing-page.html

@ -247,8 +247,7 @@
@if (testimonial.url) {
<a target="_blank" [href]="testimonial.url">{{
testimonial.author
}}</a
>,
}}</a>,
} @else {
<span>{{ testimonial.author }},</span>
}

4
apps/client/src/app/pages/portfolio/fire/fire-page.html

@ -141,8 +141,8 @@
@if (user?.settings?.isExperimentalFeatures) {
<div>
<ng-container i18n
>By <span class="fw-bold">{{ retirementDateLabel }}</span
>, this is projected to increase to
>By <span class="fw-bold">{{ retirementDateLabel }}</span>, this
is projected to increase to
<span class="fw-bold"
><gf-value
class="d-inline-block"

20
apps/client/src/app/pages/resources/personal-finance-tools/product-page.html

@ -104,14 +104,16 @@
<td class="mat-mdc-cell px-3 py-2 text-end" i18n>Origin</td>
<td class="mat-mdc-cell px-1 py-2">
@if (product1().origin; as origin) {
<span aria-hidden="true">{{ origin.emojiFlag }}</span
>&nbsp;{{ origin.name }}
<span aria-hidden="true">{{
origin.emojiFlag
}}</span>&nbsp;{{ origin.name }}
}
</td>
<td class="mat-mdc-cell px-1 py-2">
@if (product2().origin; as origin) {
<span aria-hidden="true">{{ origin.emojiFlag }}</span
>&nbsp;{{ origin.name }}
<span aria-hidden="true">{{
origin.emojiFlag
}}</span>&nbsp;{{ origin.name }}
}
</td>
</tr>
@ -124,8 +126,9 @@
let isLast = $last
) {
@if (region.emojiFlag) {
<span aria-hidden="true">{{ region.emojiFlag }}</span
>&nbsp;{{ region.name }}{{ isLast ? '' : ', ' }}
<span aria-hidden="true">{{
region.emojiFlag
}}</span>&nbsp;{{ region.name }}{{ isLast ? '' : ', ' }}
} @else {
{{ region.name }}{{ isLast ? '' : ', ' }}
}
@ -138,8 +141,9 @@
let isLast = $last
) {
@if (region.emojiFlag) {
<span aria-hidden="true">{{ region.emojiFlag }}</span
>&nbsp;{{ region.name }}{{ isLast ? '' : ', ' }}
<span aria-hidden="true">{{
region.emojiFlag
}}</span>&nbsp;{{ region.name }}{{ isLast ? '' : ', ' }}
} @else {
{{ region.name }}{{ isLast ? '' : ', ' }}
}

13
libs/common/src/lib/interfaces/simplewebauthn.interface.ts

@ -77,22 +77,15 @@ export interface PublicKeyCredentialEntity {
name: string;
}
export declare type AttestationConveyancePreference =
| 'direct'
| 'enterprise'
| 'indirect'
| 'none';
'direct' | 'enterprise' | 'indirect' | 'none';
export declare type AuthenticatorTransport = 'ble' | 'internal' | 'nfc' | 'usb';
export declare type COSEAlgorithmIdentifier = number;
export declare type UserVerificationRequirement =
| 'discouraged'
| 'preferred'
| 'required';
'discouraged' | 'preferred' | 'required';
export declare type UvmEntries = UvmEntry[];
export declare type AuthenticatorAttachment = 'cross-platform' | 'platform';
export declare type ResidentKeyRequirement =
| 'discouraged'
| 'preferred'
| 'required';
'discouraged' | 'preferred' | 'required';
export declare type BufferSource = ArrayBufferView | ArrayBuffer;
export declare type PublicKeyCredentialType = 'public-key';
export declare type UvmEntry = number[];

5
libs/common/src/lib/types/market.type.ts

@ -1,5 +1,2 @@
export type Market =
| 'developedMarkets'
| 'emergingMarkets'
| 'otherMarkets'
| 'UNKNOWN';
'developedMarkets' | 'emergingMarkets' | 'otherMarkets' | 'UNKNOWN';

7
libs/common/src/lib/types/product-platform.type.ts

@ -1,7 +1,2 @@
export type ProductPlatform =
| 'ANDROID'
| 'IOS'
| 'LINUX'
| 'MACOS'
| 'WEB'
| 'WINDOWS';
'ANDROID' | 'IOS' | 'LINUX' | 'MACOS' | 'WEB' | 'WINDOWS';

4
libs/ui/src/lib/assistant/interfaces/interfaces.ts

@ -30,9 +30,7 @@ export interface QuickLinkSearchResultItem {
}
export type SearchResultItem =
| AccountSearchResultItem
| AssetSearchResultItem
| QuickLinkSearchResultItem;
AccountSearchResultItem | AssetSearchResultItem | QuickLinkSearchResultItem;
export interface SearchResults {
accounts: SearchResultItem[];

3
libs/ui/src/lib/data-provider-credits/data-provider-credits.component.html

@ -7,7 +7,6 @@
) {
<a target="_blank" [href]="dataProviderInfo.url">{{
dataProviderInfo.name
}}</a
>{{ last ? '.' : ', ' }}
}}</a>{{ last ? '.' : ', ' }}
}
</small>

3
libs/ui/src/lib/portfolio-proportion-chart/interfaces/interfaces.ts

@ -1,5 +1,4 @@
import { AssetProfileIdentifier } from '@ghostfolio/common/interfaces';
export type PortfolioProportionChartClickEvent =
| AssetProfileIdentifier
| { accountId: string };
AssetProfileIdentifier | { accountId: string };

Loading…
Cancel
Save