addons test-utils

Co-authored-by: Camila Belo <camilaibs@gmail.com>
Co-authored-by: Eric Peterson <iamEAP@users.noreply.github.com>
Signed-off-by: Anders Näsman <andersn@spotify.com>
This commit is contained in:
Anders Näsman
2022-04-25 15:04:42 +02:00
parent aa83995917
commit 54f06e9c00
9 changed files with 421 additions and 0 deletions
+3
View File
@@ -25,6 +25,7 @@ import { createApiRef } from '@backstage/core-plugin-api';
* Utility API reference for the {@link TechDocsStorageApi}.
*
* @public
* @deprecated Import from `@backstage/plugin-techdocs-react` instead
*/
export const techdocsStorageApiRef = createApiRef<TechDocsStorageApi>({
id: 'plugin.techdocs.storageservice',
@@ -44,6 +45,7 @@ export const techdocsApiRef = createApiRef<TechDocsApi>({
* The outcome of a docs sync operation.
*
* @public
* @deprecated Import from `@backstage/plugin-techdocs-react` instead
*/
export type SyncResult = 'cached' | 'updated';
@@ -51,6 +53,7 @@ export type SyncResult = 'cached' | 'updated';
* API which talks to TechDocs storage to fetch files to render.
*
* @public
* @deprecated Import from `@backstage/plugin-techdocs-react` instead
*/
export interface TechDocsStorageApi {
getApiOrigin(): Promise<string>;