Merge "create palette on the right side menu draw function elements to the palette...
[ccsdk/cds.git] / cds-ui / server / src / services / blueprint.service.ts
index bc93fa1..cb601f3 100644 (file)
@@ -3,10 +3,15 @@ import {inject, Provider} from '@loopback/core';
 import {BlueprintDataSource} from '../datasources';
 
 export interface BlueprintService {
+    getOneBluePrint(id: string): any;
    getAllblueprints(): Promise<any>;
    getBlueprintsByKeyword(keyword: string): Promise<any>;
    getByTags(tags: string): Promise<JSON>;
    getPagedBueprints(limit: number, offset: number , sort: string): Promise<any>;
+   getMetaDataPagedBlueprints(limit: number, offset: number, sort: string, keyword: string): Promise<any>;
+   getBlueprintByNameAndVersion(name:string, version:string): Promise<any>;
+
+
 }
 
 export class BlueprintServiceProvider implements Provider<BlueprintService> {