|
| 1 | +## API Report File for "@axis-backstage/plugin-statuspage" |
| 2 | + |
| 3 | +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). |
| 4 | +
|
| 5 | +```ts |
| 6 | +import { AnyApiFactory } from '@backstage/frontend-plugin-api'; |
| 7 | +import { AnyRouteRefParams } from '@backstage/frontend-plugin-api'; |
| 8 | +import { ApiFactory } from '@backstage/frontend-plugin-api'; |
| 9 | +import { ConfigurableExtensionDataRef } from '@backstage/frontend-plugin-api'; |
| 10 | +import { Entity } from '@backstage/catalog-model'; |
| 11 | +import { EntityCardType } from '@backstage/plugin-catalog-react/alpha'; |
| 12 | +import { ExtensionBlueprintParams } from '@backstage/frontend-plugin-api'; |
| 13 | +import { ExtensionDataRef } from '@backstage/frontend-plugin-api'; |
| 14 | +import { ExtensionInput } from '@backstage/frontend-plugin-api'; |
| 15 | +import { FilterPredicate } from '@backstage/filter-predicates'; |
| 16 | +import { IconElement } from '@backstage/frontend-plugin-api'; |
| 17 | +import { JSX as JSX_2 } from 'react'; |
| 18 | +import { OverridableExtensionDefinition } from '@backstage/frontend-plugin-api'; |
| 19 | +import { OverridableFrontendPlugin } from '@backstage/frontend-plugin-api'; |
| 20 | +import { RouteRef } from '@backstage/core-plugin-api'; |
| 21 | +import { RouteRef as RouteRef_2 } from '@backstage/frontend-plugin-api'; |
| 22 | + |
| 23 | +// @public |
| 24 | +const _default: OverridableFrontendPlugin< |
| 25 | + { |
| 26 | + root: RouteRef<undefined>; |
| 27 | + }, |
| 28 | + {}, |
| 29 | + { |
| 30 | + 'api:statuspage': OverridableExtensionDefinition<{ |
| 31 | + kind: 'api'; |
| 32 | + name: undefined; |
| 33 | + config: {}; |
| 34 | + configInput: {}; |
| 35 | + output: ExtensionDataRef<AnyApiFactory, 'core.api.factory', {}>; |
| 36 | + inputs: {}; |
| 37 | + params: < |
| 38 | + TApi, |
| 39 | + TImpl extends TApi, |
| 40 | + TDeps extends { [name in string]: unknown }, |
| 41 | + >( |
| 42 | + params: ApiFactory<TApi, TImpl, TDeps>, |
| 43 | + ) => ExtensionBlueprintParams<AnyApiFactory>; |
| 44 | + }>; |
| 45 | + 'entity-card:statuspage': OverridableExtensionDefinition<{ |
| 46 | + kind: 'entity-card'; |
| 47 | + name: undefined; |
| 48 | + config: { |
| 49 | + filter: FilterPredicate | undefined; |
| 50 | + type: 'content' | 'info' | undefined; |
| 51 | + }; |
| 52 | + configInput: { |
| 53 | + filter?: FilterPredicate | undefined; |
| 54 | + type?: 'content' | 'info' | undefined; |
| 55 | + }; |
| 56 | + output: |
| 57 | + | ExtensionDataRef<JSX_2.Element, 'core.reactElement', {}> |
| 58 | + | ExtensionDataRef< |
| 59 | + (entity: Entity) => boolean, |
| 60 | + 'catalog.entity-filter-function', |
| 61 | + { |
| 62 | + optional: true; |
| 63 | + } |
| 64 | + > |
| 65 | + | ExtensionDataRef< |
| 66 | + string, |
| 67 | + 'catalog.entity-filter-expression', |
| 68 | + { |
| 69 | + optional: true; |
| 70 | + } |
| 71 | + > |
| 72 | + | ExtensionDataRef< |
| 73 | + EntityCardType, |
| 74 | + 'catalog.entity-card-type', |
| 75 | + { |
| 76 | + optional: true; |
| 77 | + } |
| 78 | + >; |
| 79 | + inputs: {}; |
| 80 | + params: { |
| 81 | + loader: () => Promise<JSX.Element>; |
| 82 | + filter?: string | FilterPredicate | ((entity: Entity) => boolean); |
| 83 | + type?: EntityCardType; |
| 84 | + }; |
| 85 | + }>; |
| 86 | + 'page:statuspage': OverridableExtensionDefinition<{ |
| 87 | + config: { |
| 88 | + name: string; |
| 89 | + path: string | undefined; |
| 90 | + title: string | undefined; |
| 91 | + }; |
| 92 | + configInput: { |
| 93 | + name?: string | undefined; |
| 94 | + path?: string | undefined | undefined; |
| 95 | + title?: string | undefined | undefined; |
| 96 | + }; |
| 97 | + output: |
| 98 | + | ExtensionDataRef<JSX_2.Element, 'core.reactElement', {}> |
| 99 | + | ExtensionDataRef<string, 'core.routing.path', {}> |
| 100 | + | ExtensionDataRef< |
| 101 | + RouteRef_2<AnyRouteRefParams>, |
| 102 | + 'core.routing.ref', |
| 103 | + { |
| 104 | + optional: true; |
| 105 | + } |
| 106 | + > |
| 107 | + | ExtensionDataRef< |
| 108 | + string, |
| 109 | + 'core.title', |
| 110 | + { |
| 111 | + optional: true; |
| 112 | + } |
| 113 | + > |
| 114 | + | ExtensionDataRef< |
| 115 | + IconElement, |
| 116 | + 'core.icon', |
| 117 | + { |
| 118 | + optional: true; |
| 119 | + } |
| 120 | + >; |
| 121 | + inputs: { |
| 122 | + pages: ExtensionInput< |
| 123 | + | ConfigurableExtensionDataRef<JSX_2.Element, 'core.reactElement', {}> |
| 124 | + | ConfigurableExtensionDataRef<string, 'core.routing.path', {}> |
| 125 | + | ConfigurableExtensionDataRef< |
| 126 | + RouteRef_2<AnyRouteRefParams>, |
| 127 | + 'core.routing.ref', |
| 128 | + { |
| 129 | + optional: true; |
| 130 | + } |
| 131 | + > |
| 132 | + | ConfigurableExtensionDataRef< |
| 133 | + string, |
| 134 | + 'core.title', |
| 135 | + { |
| 136 | + optional: true; |
| 137 | + } |
| 138 | + > |
| 139 | + | ConfigurableExtensionDataRef< |
| 140 | + IconElement, |
| 141 | + 'core.icon', |
| 142 | + { |
| 143 | + optional: true; |
| 144 | + } |
| 145 | + >, |
| 146 | + { |
| 147 | + singleton: false; |
| 148 | + optional: false; |
| 149 | + internal: false; |
| 150 | + } |
| 151 | + >; |
| 152 | + }; |
| 153 | + kind: 'page'; |
| 154 | + name: undefined; |
| 155 | + params: { |
| 156 | + path: string; |
| 157 | + title?: string; |
| 158 | + icon?: IconElement; |
| 159 | + loader?: () => Promise<JSX_2.Element>; |
| 160 | + routeRef?: RouteRef_2; |
| 161 | + noHeader?: boolean; |
| 162 | + }; |
| 163 | + }>; |
| 164 | + } |
| 165 | +>; |
| 166 | +export default _default; |
| 167 | +``` |
0 commit comments