Add backend api doc

Signed-off-by: josh <josh.timmons@hashicorp.com>
This commit is contained in:
josh
2023-06-07 22:52:59 -04:00
parent 60808ee54a
commit e04ed79f33
3 changed files with 25 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
## API Report File for "@backstage/plugin-nomad-backend"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import { Config } from '@backstage/config';
import express from 'express';
import { Logger } from 'winston';
// @public (undocumented)
export function createRouter(options: RouterOptions): Promise<express.Router>;
// @public (undocumented)
export interface RouterOptions {
// (undocumented)
config: Config;
// (undocumented)
logger: Logger;
}
// (No @packageDocumentation comment for this package)
```
@@ -20,11 +20,13 @@ import express from 'express';
import Router from 'express-promise-router';
import { Logger } from 'winston';
/** @public */
export interface RouterOptions {
logger: Logger;
config: Config;
}
/** @public */
export async function createRouter(
options: RouterOptions,
): Promise<express.Router> {