packages: regenerate all API reports with prettier
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||||
|
||||
```ts
|
||||
|
||||
import { CatalogApi } from '@backstage/catalog-client';
|
||||
import { Config } from '@backstage/config';
|
||||
import { EntityName } from '@backstage/catalog-model';
|
||||
@@ -20,79 +19,86 @@ export function createTodoParser(options?: TodoParserOptions): TodoParser;
|
||||
|
||||
// @public (undocumented)
|
||||
export type ListTodosRequest = {
|
||||
entity?: EntityName;
|
||||
offset?: number;
|
||||
limit?: number;
|
||||
orderBy?: {
|
||||
field: Fields;
|
||||
direction: 'asc' | 'desc';
|
||||
};
|
||||
filters?: {
|
||||
field: Fields;
|
||||
value: string;
|
||||
}[];
|
||||
entity?: EntityName;
|
||||
offset?: number;
|
||||
limit?: number;
|
||||
orderBy?: {
|
||||
field: Fields;
|
||||
direction: 'asc' | 'desc';
|
||||
};
|
||||
filters?: {
|
||||
field: Fields;
|
||||
value: string;
|
||||
}[];
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type ListTodosResponse = {
|
||||
items: TodoItem[];
|
||||
totalCount: number;
|
||||
offset: number;
|
||||
limit: number;
|
||||
items: TodoItem[];
|
||||
totalCount: number;
|
||||
offset: number;
|
||||
limit: number;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type ReadTodosOptions = {
|
||||
url: string;
|
||||
url: string;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type ReadTodosResult = {
|
||||
items: TodoItem[];
|
||||
items: TodoItem[];
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export type TodoItem = {
|
||||
text: string;
|
||||
tag: string;
|
||||
author?: string;
|
||||
viewUrl?: string;
|
||||
lineNumber?: number;
|
||||
repoFilePath?: string;
|
||||
text: string;
|
||||
tag: string;
|
||||
author?: string;
|
||||
viewUrl?: string;
|
||||
lineNumber?: number;
|
||||
repoFilePath?: string;
|
||||
};
|
||||
|
||||
// @public (undocumented)
|
||||
export interface TodoReader {
|
||||
readTodos(options: ReadTodosOptions): Promise<ReadTodosResult>;
|
||||
readTodos(options: ReadTodosOptions): Promise<ReadTodosResult>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export class TodoReaderService implements TodoService {
|
||||
constructor(options: Options_2);
|
||||
// (undocumented)
|
||||
listTodos(req: ListTodosRequest, options?: {
|
||||
token?: string;
|
||||
}): Promise<ListTodosResponse>;
|
||||
}
|
||||
constructor(options: Options_2);
|
||||
// (undocumented)
|
||||
listTodos(
|
||||
req: ListTodosRequest,
|
||||
options?: {
|
||||
token?: string;
|
||||
},
|
||||
): Promise<ListTodosResponse>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export class TodoScmReader implements TodoReader {
|
||||
constructor(options: Options);
|
||||
// (undocumented)
|
||||
static fromConfig(config: Config, options: Omit<Options, 'integrations'>): TodoScmReader;
|
||||
// (undocumented)
|
||||
readTodos({ url }: ReadTodosOptions): Promise<ReadTodosResult>;
|
||||
constructor(options: Options);
|
||||
// (undocumented)
|
||||
static fromConfig(
|
||||
config: Config,
|
||||
options: Omit<Options, 'integrations'>,
|
||||
): TodoScmReader;
|
||||
// (undocumented)
|
||||
readTodos({ url }: ReadTodosOptions): Promise<ReadTodosResult>;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
export interface TodoService {
|
||||
// (undocumented)
|
||||
listTodos(req: ListTodosRequest, options?: {
|
||||
token?: string;
|
||||
}): Promise<ListTodosResponse>;
|
||||
// (undocumented)
|
||||
listTodos(
|
||||
req: ListTodosRequest,
|
||||
options?: {
|
||||
token?: string;
|
||||
},
|
||||
): Promise<ListTodosResponse>;
|
||||
}
|
||||
|
||||
|
||||
// (No @packageDocumentation comment for this package)
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user