@@ -14,8 +14,6 @@ export const dynatracePlugin: BackstagePlugin<{}, {}, {}>;
|
||||
// @public
|
||||
export const DynatraceTab: () => JSX.Element;
|
||||
|
||||
// Warning: (tsdoc-param-tag-with-invalid-type) The @param block should not include a JSDoc-style '{type}'
|
||||
//
|
||||
// @public
|
||||
export const isDynatraceAvailable: (entity: Entity) => boolean;
|
||||
|
||||
|
||||
@@ -13,4 +13,5 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export { dynatracePlugin, DynatraceTab, isDynatraceAvailable } from './plugin';
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { dynatraceApiRef, DynatraceClient } from './api';
|
||||
import {
|
||||
createApiFactory,
|
||||
@@ -55,7 +56,7 @@ export const dynatracePlugin = createPlugin({
|
||||
/**
|
||||
* Checks if the entity has a dynatrace id annotation.
|
||||
* @public
|
||||
* @param entity {Entity} - The entity to check for the dynatrace id annotation.
|
||||
* @param entity - The entity to check for the dynatrace id annotation.
|
||||
*/
|
||||
export const isDynatraceAvailable = (entity: Entity) =>
|
||||
Boolean(entity.metadata.annotations?.[DYNATRACE_ID_ANNOTATION]) ||
|
||||
|
||||
@@ -203,7 +203,6 @@ const ALLOW_WARNINGS = [
|
||||
'plugins/catalog-import',
|
||||
'plugins/circleci',
|
||||
'plugins/cost-insights',
|
||||
'plugins/dynatrace',
|
||||
'plugins/git-release-manager',
|
||||
'plugins/github-actions',
|
||||
'plugins/github-deployments',
|
||||
|
||||
Reference in New Issue
Block a user