@r8s/cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalog.d.ts +33 -0
- package/dist/catalog.d.ts.map +1 -0
- package/dist/catalog.js +716 -0
- package/dist/catalog.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1001 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/renderer.d.ts +8 -0
- package/dist/renderer.d.ts.map +1 -0
- package/dist/renderer.js +141 -0
- package/dist/renderer.js.map +1 -0
- package/package.json +40 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static catalog of r8s components, recipes, and operators.
|
|
3
|
+
*
|
|
4
|
+
* Used by `r8s list`, `r8s info <name>`, and `r8s context` so an LLM
|
|
5
|
+
* (or human) can discover what's available without reading the docs.
|
|
6
|
+
*/
|
|
7
|
+
export interface ComponentInfo {
|
|
8
|
+
name: string;
|
|
9
|
+
package: string;
|
|
10
|
+
category: string;
|
|
11
|
+
description: string;
|
|
12
|
+
props: PropInfo[];
|
|
13
|
+
example: string;
|
|
14
|
+
}
|
|
15
|
+
export interface PropInfo {
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
required: boolean;
|
|
19
|
+
default?: string;
|
|
20
|
+
description: string;
|
|
21
|
+
}
|
|
22
|
+
export interface OperatorInfo {
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
25
|
+
category: string;
|
|
26
|
+
crds: string[];
|
|
27
|
+
}
|
|
28
|
+
export declare const components: ComponentInfo[];
|
|
29
|
+
export declare const authComponents: ComponentInfo[];
|
|
30
|
+
export declare const operators: OperatorInfo[];
|
|
31
|
+
export declare function allComponents(): ComponentInfo[];
|
|
32
|
+
export declare function findComponent(name: string): ComponentInfo | undefined;
|
|
33
|
+
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../src/catalog.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,EAAE,CAAA;CACf;AAED,eAAO,MAAM,UAAU,EAAE,aAAa,EAufrC,CAAA;AAGD,eAAO,MAAM,cAAc,EAAE,aAAa,EA0HzC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,YAAY,EAyEnC,CAAA;AAED,wBAAgB,aAAa,IAAI,aAAa,EAAE,CAE/C;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,SAAS,CAErE"}
|