Skip to content

Commit

Permalink
add missing files
Browse files Browse the repository at this point in the history
Signed-off-by: secustor <[email protected]>
  • Loading branch information
secustor committed Sep 23, 2024
1 parent 831571c commit eed4cdc
Show file tree
Hide file tree
Showing 7 changed files with 965 additions and 0 deletions.
88 changes: 88 additions & 0 deletions packages/catalog-client/report-testUtils.api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
## API Report File for "@backstage/catalog-client"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { AddLocationRequest } from '@backstage/catalog-client';
import { AddLocationResponse } from '@backstage/catalog-client';
import { CatalogApi } from '@backstage/catalog-client';
import { CompoundEntityRef } from '@backstage/catalog-model';
import { Entity } from '@backstage/catalog-model';
import { GetEntitiesByRefsRequest } from '@backstage/catalog-client';
import { GetEntitiesByRefsResponse } from '@backstage/catalog-client';
import { GetEntitiesRequest } from '@backstage/catalog-client';
import { GetEntitiesResponse } from '@backstage/catalog-client';
import { GetEntityAncestorsRequest } from '@backstage/catalog-client';
import { GetEntityAncestorsResponse } from '@backstage/catalog-client';
import { GetEntityFacetsRequest } from '@backstage/catalog-client';
import { GetEntityFacetsResponse } from '@backstage/catalog-client';
import { Location as Location_2 } from '@backstage/catalog-client';
import { QueryEntitiesRequest } from '@backstage/catalog-client';
import { QueryEntitiesResponse } from '@backstage/catalog-client';
import { ValidateEntityResponse } from '@backstage/catalog-client';

// @public
export class InMemoryCatalogClient implements CatalogApi {
constructor(options?: { entities?: Entity[] });
// (undocumented)
addLocation(_location: AddLocationRequest): Promise<AddLocationResponse>;
// (undocumented)
getEntities(request?: GetEntitiesRequest): Promise<GetEntitiesResponse>;
// (undocumented)
getEntitiesByRefs(
request: GetEntitiesByRefsRequest,
): Promise<GetEntitiesByRefsResponse>;
// (undocumented)
getEntityAncestors(
request: GetEntityAncestorsRequest,
): Promise<GetEntityAncestorsResponse>;
// (undocumented)
getEntityByRef(
entityRef: string | CompoundEntityRef,
): Promise<Entity | undefined>;
// (undocumented)
getEntityFacets(
request: GetEntityFacetsRequest,
): Promise<GetEntityFacetsResponse>;
// (undocumented)
getLocationByEntity(
_entityRef: string | CompoundEntityRef,
): Promise<Location_2 | undefined>;
// (undocumented)
getLocationById(_id: string): Promise<Location_2 | undefined>;
// (undocumented)
getLocationByRef(_locationRef: string): Promise<Location_2 | undefined>;
// (undocumented)
queryEntities(request?: QueryEntitiesRequest): Promise<QueryEntitiesResponse>;
// (undocumented)
refreshEntity(_entityRef: string): Promise<void>;
// (undocumented)
removeEntityByUid(uid: string): Promise<void>;
// (undocumented)
removeLocationById(_id: string): Promise<void>;
// (undocumented)
validateEntity(
_entity: Entity,
_locationRef: string,
): Promise<ValidateEntityResponse>;
}

// Warnings were encountered during analysis:
//
// src/testUtils/InMemoryCatalogClient.d.ts:15:5 - (ae-undocumented) Missing documentation for "getEntities".
// src/testUtils/InMemoryCatalogClient.d.ts:16:5 - (ae-undocumented) Missing documentation for "getEntitiesByRefs".
// src/testUtils/InMemoryCatalogClient.d.ts:17:5 - (ae-undocumented) Missing documentation for "queryEntities".
// src/testUtils/InMemoryCatalogClient.d.ts:18:5 - (ae-undocumented) Missing documentation for "getEntityAncestors".
// src/testUtils/InMemoryCatalogClient.d.ts:19:5 - (ae-undocumented) Missing documentation for "getEntityByRef".
// src/testUtils/InMemoryCatalogClient.d.ts:20:5 - (ae-undocumented) Missing documentation for "removeEntityByUid".
// src/testUtils/InMemoryCatalogClient.d.ts:21:5 - (ae-undocumented) Missing documentation for "refreshEntity".
// src/testUtils/InMemoryCatalogClient.d.ts:22:5 - (ae-undocumented) Missing documentation for "getEntityFacets".
// src/testUtils/InMemoryCatalogClient.d.ts:23:5 - (ae-undocumented) Missing documentation for "getLocationById".
// src/testUtils/InMemoryCatalogClient.d.ts:24:5 - (ae-undocumented) Missing documentation for "getLocationByRef".
// src/testUtils/InMemoryCatalogClient.d.ts:25:5 - (ae-undocumented) Missing documentation for "addLocation".
// src/testUtils/InMemoryCatalogClient.d.ts:26:5 - (ae-undocumented) Missing documentation for "removeLocationById".
// src/testUtils/InMemoryCatalogClient.d.ts:27:5 - (ae-undocumented) Missing documentation for "getLocationByEntity".
// src/testUtils/InMemoryCatalogClient.d.ts:28:5 - (ae-undocumented) Missing documentation for "validateEntity".

// (No @packageDocumentation comment for this package)
```
49 changes: 49 additions & 0 deletions packages/frontend-defaults/report.api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
## API Report File for "@backstage/frontend-defaults"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { ConfigApi } from '@backstage/frontend-plugin-api';
import { CreateAppRouteBinder } from '@backstage/frontend-app-api';
import { FrontendFeature } from '@backstage/frontend-app-api';
import { JSX as JSX_2 } from 'react';
import { default as React_2 } from 'react';
import { ReactNode } from 'react';

// @public
export function createApp(options?: CreateAppOptions): {
createRoot(): JSX_2.Element;
};

// @public
export interface CreateAppFeatureLoader {
getLoaderName(): string;
load(options: { config: ConfigApi }): Promise<{
features: FrontendFeature[];
}>;
}

// @public
export interface CreateAppOptions {
// (undocumented)
bindRoutes?(context: { bind: CreateAppRouteBinder }): void;
// (undocumented)
configLoader?: () => Promise<{
config: ConfigApi;
}>;
// (undocumented)
features?: (FrontendFeature | CreateAppFeatureLoader)[];
loadingComponent?: ReactNode;
}

// @public
export function createPublicSignInApp(options?: CreateAppOptions): {
createRoot(): React_2.JSX.Element;
};

// Warnings were encountered during analysis:
//
// src/createApp.d.ts:29:5 - (ae-undocumented) Missing documentation for "features".
// src/createApp.d.ts:30:5 - (ae-undocumented) Missing documentation for "configLoader".
// src/createApp.d.ts:33:5 - (ae-undocumented) Missing documentation for "bindRoutes".
```
Loading

0 comments on commit eed4cdc

Please sign in to comment.