aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/server/src/services/blueprint.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cds-ui/server/src/services/blueprint.service.ts')
-rw-r--r--cds-ui/server/src/services/blueprint.service.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/cds-ui/server/src/services/blueprint.service.ts b/cds-ui/server/src/services/blueprint.service.ts
index 0545faca8..bc93fa1be 100644
--- a/cds-ui/server/src/services/blueprint.service.ts
+++ b/cds-ui/server/src/services/blueprint.service.ts
@@ -4,7 +4,9 @@ import {BlueprintDataSource} from '../datasources';
export interface BlueprintService {
getAllblueprints(): Promise<any>;
+ getBlueprintsByKeyword(keyword: string): Promise<any>;
getByTags(tags: string): Promise<JSON>;
+ getPagedBueprints(limit: number, offset: number , sort: string): Promise<any>;
}
export class BlueprintServiceProvider implements Provider<BlueprintService> {
@@ -17,4 +19,4 @@ export class BlueprintServiceProvider implements Provider<BlueprintService> {
value(): Promise<BlueprintService> {
return getService(this.dataSource);
}
-} \ No newline at end of file
+}