-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.d.ts
More file actions
47 lines (42 loc) · 1.13 KB
/
index.d.ts
File metadata and controls
47 lines (42 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
export interface UseCase {
title: string;
description: string;
}
export interface PipelineCatalogEntry {
name: string;
shortDescription: string;
description: string;
categories?: string[];
tags: string[];
useCases: UseCase[];
prerequisites: string[];
file: string;
directory?: string;
type: 'pipeline';
hidden?: boolean;
featured?: boolean;
since?: string;
runbeam?: boolean;
deployVideo?: string;
}
export interface TransformCatalogEntry {
name: string;
description: string;
categories: string[];
prerequisites: string[];
file: string;
type: 'transform';
}
export type PipelinesCatalog = Record<string, PipelineCatalogEntry>;
export type TransformsCatalog = Record<string, TransformCatalogEntry>;
declare const api: {
packageRoot: string;
pipelines: PipelinesCatalog;
transforms: TransformsCatalog;
workloadDiagrams: Record<string, any>;
getPipeline: (id: string) => PipelineCatalogEntry | undefined;
getTransform: (id: string) => TransformCatalogEntry | undefined;
resolvePipelinePath: (id: string) => string | null;
resolveTransformPath: (id: string) => string | null;
};
export = api;