@farris/renderer
Version:
Render schema to web page with farris ui.
36 lines (35 loc) • 962 B
TypeScript
import { BaMetadataRepository } from "../repository/ba-metadata-repository";
import { Metadata } from "../../../types";
export declare class BaMetadataDataService {
private repository;
constructor(repository: BaMetadataRepository);
loadByFullPath(metadataFullPath: string): Promise<Metadata | null>;
loadById(metadataId: string): Promise<{
id: any;
content: any;
refs: {};
relativePath: any;
type: any;
code: any;
namespace: any;
} | null>;
loadByMetadata(metadata: any): Promise<{
id: any;
content: any;
refs: {};
relativePath: any;
type: any;
code: any;
namespace: any;
} | null>;
loadByFileName(fileName: string): Promise<{
id: any;
content: any;
refs: {};
relativePath: any;
type: any;
code: any;
namespace: any;
} | null>;
private createMetadata;
}