@dynatrace-sdk/client-app-engine-registry
Advanced tools
Comparing version 1.7.3 to 1.8.0
@@ -5,2 +5,9 @@ # AppEngine - Registry | ||
## 1.8.0 | ||
### Minor Changes | ||
- Add `get-latest-version` query param when fetching single app | ||
- Add security-schema for OAuth2 access token and platform token | ||
## 1.7.3 | ||
@@ -7,0 +14,0 @@ |
@@ -1147,3 +1147,3 @@ /** | ||
} | ||
const query = toQueryString({ "add-fields": config.addFields }); | ||
const query = toQueryString({ "add-fields": config.addFields, "latest-app-version": config.latestAppVersion }); | ||
try { | ||
@@ -1150,0 +1150,0 @@ const response = await this.httpClient.send({ |
@@ -7,3 +7,3 @@ { | ||
"name": "@dynatrace-sdk/template-typescript-client", | ||
"version": "0.19.1" | ||
"version": "0.20.0" | ||
} | ||
@@ -13,5 +13,5 @@ }, | ||
"title": "AppEngine - Registry", | ||
"version": "1.7.0", | ||
"version": "1.8.0", | ||
"baseUrl": "/platform/app-engine/registry/v1" | ||
} | ||
} |
@@ -1090,3 +1090,3 @@ /** | ||
} | ||
const query = toQueryString({ "add-fields": config.addFields }); | ||
const query = toQueryString({ "add-fields": config.addFields, "latest-app-version": config.latestAppVersion }); | ||
try { | ||
@@ -1093,0 +1093,0 @@ const response = await this.httpClient.send({ |
{ | ||
"name": "@dynatrace-sdk/client-app-engine-registry", | ||
"version": "1.7.3", | ||
"version": "1.8.0", | ||
"description": "Manage Dynatrace AppEngine apps.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
# @dynatrace-sdk/client-app-engine-registry | ||
[![npm](https://img.shields.io/badge/npm-v1.7.3-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-app-engine-registry/v/1.7.3) | ||
[![npm](https://img.shields.io/badge/npm-v1.8.0-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-app-engine-registry/v/1.8.0) | ||
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
@@ -75,2 +75,3 @@ | ||
|config.id<sup>*required</sup>|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|The unique identifier for the app | | ||
|config.latestAppVersion|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|<p>If <code>true</code>, the latest version of the app is returned.</p> <p>If <code>false</code>, the current version of the app is returned.</p> <p>This is relevant while an app is being updated. During this time typically two versions of the same app exist, the current version and the latest version with <code>status=PENDING</code>.</p> | | ||
@@ -127,3 +128,3 @@ | ||
|config.addFields|[string](https://developer.mozilla.org/en-US/docs/Glossary/String)|<p>Comma-separated list of field names that are added to the default set of fields.</p> <p>You can include the following additional fields:</p> <ul> <li><code>resourceContext</code></li> <li><code>resourceStatus.subResourceStatuses</code></li> <li><code>manifest</code></li> <li><code>isBuiltin</code></li> <li><code>isolatedUri</code></li> </ul> | | ||
|config.includeAllAppVersions|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|<p>If <code>true</code>, all versions of every app are included in the response.</p> <p>If <code>false</code>, only the current version of every app is included.</p> <p>This is relevant while an app is being updated. During this time typically two versions of the same app exist, the current one and the new one.</p> | | ||
|config.includeAllAppVersions|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|<p>If <code>true</code>, all versions of every app are included in the response.</p> <p>If <code>false</code>, only the current version of every app is included.</p> <p>This is relevant while an app is being updated. During this time typically two versions of the same app exist, the current version and the latest version with <code>status=PENDING</code>.</p> | | ||
|config.includeDeactivated|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|If <code>true</code>, apps that are <code>DEACTIVATED</code> because of missing entitlements are included in the response. | | ||
@@ -130,0 +131,0 @@ |config.includeNonRunnable|[boolean](https://developer.mozilla.org/en-US/docs/Glossary/Boolean)|If <code>true</code>, apps that the user is not allowed to run because of missing permissions are included in the response. | |
@@ -46,4 +46,4 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
* | ||
* This is relevant while an app is being updated. During this time typically | ||
* two versions of the same app exist, the current one and the new one. | ||
* This is relevant while an app is being updated. During this time typically two versions of the same | ||
* app exist, the current version and the latest version with `status=PENDING`. | ||
*/ includeAllAppVersions?: boolean; | ||
@@ -123,2 +123,11 @@ abortSignal?: AbortSignal; | ||
*/ addFields?: string; | ||
/** | ||
* If `true`, the latest version of the app is returned. | ||
* | ||
* If `false`, the current version of the app is returned. | ||
* | ||
* | ||
* This is relevant while an app is being updated. During this time typically two versions of the same | ||
* app exist, the current version and the latest version with `status=PENDING`. | ||
*/ latestAppVersion?: boolean; | ||
abortSignal?: AbortSignal; | ||
@@ -125,0 +134,0 @@ }): Promise<AppInfo>; |
/** | ||
* Represents a signal object that allows to communicate with the request and abort it using the `AbortController`. | ||
* @deprecated Will be removed from HttpClient. We encourage using native interface for AbortSignal. | ||
*/ | ||
export interface AbortSignal extends EventTarget { | ||
interface HttpClientAbortSignal extends EventTarget { | ||
readonly reason: any; | ||
@@ -16,1 +17,3 @@ throwIfAborted(): void; | ||
} | ||
export type AbortSignal = HttpClientAbortSignal | globalThis.AbortSignal; | ||
export {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4604
848
205419
137