@alauda/doom
Version:
Doctor Doom making docs.
27 lines (26 loc) • 943 B
TypeScript
/**
* modified based on @see https://github.com/crdsdev/doc/blob/main/template/doc.html
*/
import type { OpenAPIV3_1 } from 'openapi-types';
export interface K8sCrdProps {
/**
* The `metadata.name` of the CustomResourceDefinition
*/
name: string;
/**
* The specific path to the CRD, otherwise the first matched will be used.
*/
crdPath?: string;
}
export declare const K8sCrdSchemaPart: ({ name, parent, schema: property, expandAll, }: {
name: string;
parent: OpenAPIV3_1.SchemaObject;
schema: OpenAPIV3_1.SchemaObject;
expandAll: boolean;
}) => import("react/jsx-runtime").JSX.Element;
export declare const K8sCrdSchema: ({ schema, version, }: {
schema: OpenAPIV3_1.SchemaObject;
version: string;
}) => import("react/jsx-runtime").JSX.Element;
export declare const K8sCrd: ({ name, crdPath }: K8sCrdProps) => import("react/jsx-runtime").JSX.Element | null;
export default K8sCrd;