@jpmorganchase/elemental-dev-portal 2.10.1 → 2.11.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.
@@ -1,7 +1,7 @@
1
1
  import { CustomLinkComponent, DocsProps, ReferenceResolver } from '@jpmorganchase/elemental-core';
2
2
  import { Node } from '../../types';
3
3
  declare type DocsBaseProps = Pick<DocsProps, 'tryItCorsProxy' | 'tryItCredentialsPolicy' | 'nodeHasChanged' | 'nodeUnsupported'>;
4
- declare type DocsLayoutProps = Pick<Required<DocsProps>['layoutOptions'], 'compact' | 'hideTryIt' | 'hideTryItPanel' | 'hideExport'>;
4
+ declare type DocsLayoutProps = Pick<Required<DocsProps>['layoutOptions'], 'compact' | 'hideTryIt' | 'hideTryItPanel' | 'hideSamples' | 'hideExport' | 'hideSecurityInfo' | 'hideServerInfo'>;
5
5
  export declare type NodeContentProps = {
6
6
  node: Node;
7
7
  Link: CustomLinkComponent;
@@ -10,7 +10,7 @@ export declare type NodeContentProps = {
10
10
  maxRefDepth?: number;
11
11
  onExportRequest?: (type: 'original' | 'bundled') => void;
12
12
  } & DocsBaseProps & DocsLayoutProps;
13
- export declare const NodeContent: ({ node, Link, hideMocking, refResolver, maxRefDepth, tryItCorsProxy, tryItCredentialsPolicy, nodeHasChanged, nodeUnsupported, compact, hideTryIt, hideTryItPanel, hideExport, onExportRequest, }: NodeContentProps) => JSX.Element;
13
+ export declare const NodeContent: ({ node, Link, hideMocking, refResolver, maxRefDepth, tryItCorsProxy, tryItCredentialsPolicy, nodeHasChanged, nodeUnsupported, compact, hideTryIt, hideSamples, hideTryItPanel, hideSecurityInfo, hideServerInfo, hideExport, onExportRequest, }: NodeContentProps) => JSX.Element;
14
14
  export declare const getNodeUriParts: (uri: string) => {
15
15
  fileUri: string;
16
16
  pointer: string;
@@ -6,6 +6,8 @@ export interface StoplightProjectProps extends RoutingProps {
6
6
  hideTryIt?: boolean;
7
7
  hideMocking?: boolean;
8
8
  hideExport?: boolean;
9
+ hideServerInfo?: boolean;
10
+ hideSecurityInfo?: boolean;
9
11
  collapseTableOfContents?: boolean;
10
12
  tryItCredentialsPolicy?: 'omit' | 'include' | 'same-origin';
11
13
  tryItCorsProxy?: string;