-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ProgressContainer infinitive data refresh
- Loading branch information
Showing
35 changed files
with
846 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
$ErrorActionPreference = "Stop" | ||
|
||
try | ||
{ | ||
dotnet tool uninstall -g Heartbeat | ||
dotnet tool install --global Heartbeat | ||
} | ||
catch { | ||
Write-Host 'Install global tool - FAILED!' -ForegroundColor Red | ||
throw | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 47 additions & 0 deletions
47
src/Heartbeat/ClientApp/src/client/api/dump/object/item/fields/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
// Generated by Microsoft Kiota | ||
import { createClrObjectFieldFromDiscriminatorValue, createProblemDetailsFromDiscriminatorValue, deserializeIntoProblemDetails, serializeProblemDetails, type ClrObjectField, type ProblemDetails } from '../../../../../models/'; | ||
import { BaseRequestBuilder, HttpMethod, RequestInformation, type Parsable, type ParsableFactory, type RequestAdapter, type RequestConfiguration, type RequestOption } from '@microsoft/kiota-abstractions'; | ||
|
||
/** | ||
* Builds and executes requests for operations under /api/dump/object/{address}/fields | ||
*/ | ||
export class FieldsRequestBuilder extends BaseRequestBuilder<FieldsRequestBuilder> { | ||
/** | ||
* Instantiates a new FieldsRequestBuilder and sets the default values. | ||
* @param pathParameters The raw url or the Url template parameters for the request. | ||
* @param requestAdapter The request adapter to use to execute the requests. | ||
*/ | ||
public constructor(pathParameters: Record<string, unknown> | string | undefined, requestAdapter: RequestAdapter) { | ||
super(pathParameters, requestAdapter, "{+baseurl}/api/dump/object/{address}/fields", (x, y) => new FieldsRequestBuilder(x, y)); | ||
} | ||
/** | ||
* Get object fields | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a Promise of ClrObjectField | ||
*/ | ||
public get(requestConfiguration?: RequestConfiguration<object> | undefined) : Promise<ClrObjectField[] | undefined> { | ||
const requestInfo = this.toGetRequestInformation( | ||
requestConfiguration | ||
); | ||
const errorMapping = { | ||
"404": createProblemDetailsFromDiscriminatorValue, | ||
"500": createProblemDetailsFromDiscriminatorValue, | ||
} as Record<string, ParsableFactory<Parsable>>; | ||
return this.requestAdapter.sendCollectionAsync<ClrObjectField>(requestInfo, createClrObjectFieldFromDiscriminatorValue, errorMapping); | ||
} | ||
/** | ||
* Get object fields | ||
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. | ||
* @returns a RequestInformation | ||
*/ | ||
public toGetRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined) : RequestInformation { | ||
const requestInfo = new RequestInformation(HttpMethod.GET, this.urlTemplate, this.pathParameters); | ||
requestInfo.configure(requestConfiguration); | ||
requestInfo.headers.tryAdd("Accept", "application/json"); | ||
return requestInfo; | ||
} | ||
} | ||
/* tslint:enable */ | ||
/* eslint-enable */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.