@open-resource-discovery/metadata-renderer 1.0.0 → 1.0.1
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/asyncApi/index.d.ts +1 -2
- package/dist/asyncapi.js +1 -1
- package/dist/chunks/{asyncApi-K0uQpQwz.js → asyncApi-DtAXW7IY.js} +10 -149
- package/dist/chunks/{csn-D4GBs8tC.js → csn-3ek2O4d6.js} +7 -170
- package/dist/chunks/{openApi-Ccp9Pa_k.js → openApi-BTb5yzun.js} +13 -322
- package/dist/core/dispatch.d.ts +3 -0
- package/dist/core/dispatch.test.d.ts +1 -0
- package/dist/csn/index.d.ts +1 -2
- package/dist/csn.js +1 -1
- package/dist/index.js +647 -30
- package/dist/openApi/index.d.ts +1 -2
- package/dist/openapi.js +1 -1
- package/dist/types.d.ts +1 -3
- package/package.json +1 -1
package/dist/openApi/index.d.ts
CHANGED
|
@@ -2,9 +2,8 @@ import { RendererTheme } from '../types';
|
|
|
2
2
|
import { OpenApiCustomAttributesConfig } from './customAttributes/types';
|
|
3
3
|
export type OpenApiRendererProps = {
|
|
4
4
|
content: string;
|
|
5
|
-
showCustomAttributes?: boolean;
|
|
6
5
|
customAttributes?: OpenApiCustomAttributesConfig[];
|
|
7
6
|
className?: string;
|
|
8
7
|
theme?: RendererTheme;
|
|
9
8
|
};
|
|
10
|
-
export declare function OpenApiRenderer({ content,
|
|
9
|
+
export declare function OpenApiRenderer({ content, customAttributes, className, theme }: OpenApiRendererProps): import("react").JSX.Element;
|
package/dist/openapi.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as OpenApiRenderer } from "./chunks/openApi-
|
|
1
|
+
import { t as OpenApiRenderer } from "./chunks/openApi-BTb5yzun.js";
|
|
2
2
|
export { OpenApiRenderer };
|
package/dist/types.d.ts
CHANGED
|
@@ -28,9 +28,7 @@ export type MetadataRendererOptions = {
|
|
|
28
28
|
* show an error instead of passing content to the renderer. Default: true.
|
|
29
29
|
*/
|
|
30
30
|
strictTypeCheck?: boolean;
|
|
31
|
-
/**
|
|
32
|
-
showSAPCustomFields?: boolean;
|
|
33
|
-
/** Custom attribute renderers per protocol. Pass `false` to disable all. Default: SAP preset for OpenAPI. */
|
|
31
|
+
/** Custom attribute renderers per protocol. Pass `false` to disable all. Default: disabled. */
|
|
34
32
|
customAttributes?: CustomAttributesOptions | false;
|
|
35
33
|
/** Passed through to CsnRenderer. */
|
|
36
34
|
csn?: CsnRendererConfig;
|
package/package.json
CHANGED