Skip to main content

UrlReaderServiceReadTreeResponse

Home > @backstage/backend-plugin-api > UrlReaderServiceReadTreeResponse

A response object for UrlReaderService.readTree() operations.

Signature:

export type UrlReaderServiceReadTreeResponse = {
files(): Promise<UrlReaderServiceReadTreeResponseFile[]>;
archive(): Promise<NodeJS.ReadableStream>;
dir(options?: UrlReaderServiceReadTreeResponseDirOptions): Promise<string>;
etag: string;
};

References: UrlReaderServiceReadTreeResponseFile, UrlReaderServiceReadTreeResponseDirOptions