New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@redocly/config

Package Overview
Dependencies
Maintainers
7
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redocly/config - npm Package Compare versions

Comparing version 0.20.1 to 0.20.2

23

lib-esm/types/code-walkthrough-types.d.ts

@@ -71,14 +71,15 @@ export type CodeWalkthroughStepAttr = {

};
export type ControlType = keyof CodeWalkthroughControls;
export type ControlTypeValue<T extends ControlType> = CodeWalkthroughControls[T];
export type ControlState<T extends ControlType = ControlType> = WithConditions<{
value: ControlTypeValue<T>;
export type CodeWalkthroughControlState = WithConditions<{
value: string;
render: boolean;
type: T;
type: 'input';
} | {
value: string;
render: boolean;
type: 'filter';
} | {
value: boolean;
render: boolean;
type: 'toggle';
}>;
type id = string;
export type InputsState = Record<id, ControlState<'input'>>;
export type TogglesState = Record<id, ControlState<'toggle'>>;
export type FiltersState = Record<id, ControlState<'filter'>>;
export type WalkthroughState = Record<id, InputsState | TogglesState | FiltersState>;
export {};
export type CodeWalkthroughControlsState = Record<string, CodeWalkthroughControlState>;

@@ -148,2 +148,11 @@ import type { Node } from '@markdoc/markdoc/dist/src/types';

};
export type CompilationError = {
message: string;
sourceFileRelativePath: string;
sourceFileLocation: {
line: number;
character?: number;
};
codeframe: string;
};
export type PageProps = {

@@ -159,2 +168,3 @@ metadata?: Record<string, unknown>;

dynamicMarkdocComponents?: string[];
compilationErrors?: CompilationError[];
markdown?: MdOptions;

@@ -161,0 +171,0 @@ openapiOptions?: OpenAPIOptions;

@@ -71,14 +71,15 @@ export type CodeWalkthroughStepAttr = {

};
export type ControlType = keyof CodeWalkthroughControls;
export type ControlTypeValue<T extends ControlType> = CodeWalkthroughControls[T];
export type ControlState<T extends ControlType = ControlType> = WithConditions<{
value: ControlTypeValue<T>;
export type CodeWalkthroughControlState = WithConditions<{
value: string;
render: boolean;
type: T;
type: 'input';
} | {
value: string;
render: boolean;
type: 'filter';
} | {
value: boolean;
render: boolean;
type: 'toggle';
}>;
type id = string;
export type InputsState = Record<id, ControlState<'input'>>;
export type TogglesState = Record<id, ControlState<'toggle'>>;
export type FiltersState = Record<id, ControlState<'filter'>>;
export type WalkthroughState = Record<id, InputsState | TogglesState | FiltersState>;
export {};
export type CodeWalkthroughControlsState = Record<string, CodeWalkthroughControlState>;

@@ -148,2 +148,11 @@ import type { Node } from '@markdoc/markdoc/dist/src/types';

};
export type CompilationError = {
message: string;
sourceFileRelativePath: string;
sourceFileLocation: {
line: number;
character?: number;
};
codeframe: string;
};
export type PageProps = {

@@ -159,2 +168,3 @@ metadata?: Record<string, unknown>;

dynamicMarkdocComponents?: string[];
compilationErrors?: CompilationError[];
markdown?: MdOptions;

@@ -161,0 +171,0 @@ openapiOptions?: OpenAPIOptions;

{
"name": "@redocly/config",
"version": "0.20.1",
"version": "0.20.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc