Socket
Socket
Sign inDemoInstall

@stoplight/types

Package Overview
Dependencies
Maintainers
7
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/types - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

tslint.json

50

http.d.ts

@@ -56,6 +56,6 @@ import { INode } from './node';

style?:
| HttpParamStyles.Form
| HttpParamStyles.SpaceDelimited
| HttpParamStyles.PipeDelimited
| HttpParamStyles.DeepObject;
| HttpParamStyles.Form
| HttpParamStyles.SpaceDelimited
| HttpParamStyles.PipeDelimited
| HttpParamStyles.DeepObject;

@@ -82,6 +82,6 @@ allowEmptyValue?: boolean;

style:
| HttpParamStyles.Form
| HttpParamStyles.SpaceDelimited
| HttpParamStyles.PipeDelimited
| HttpParamStyles.DeepObject;
| HttpParamStyles.Form
| HttpParamStyles.SpaceDelimited
| HttpParamStyles.PipeDelimited
| HttpParamStyles.DeepObject;

@@ -96,3 +96,3 @@ explode?: boolean;

examples?: IExample[];
encoding?: IHttpEncoding[];
encodings?: IHttpEncoding[];
}

@@ -117,3 +117,3 @@

required?: boolean;
content: IHttpContent[];
contents: IHttpContent[];
}

@@ -147,2 +147,3 @@

| IBearerSecurityScheme
| IBasicSecurityScheme
| IOauth2SecurityScheme

@@ -167,2 +168,7 @@ | IOpenIdConnectSecurityScheme;

export interface IBasicSecurityScheme extends ISecurityScheme {
type: 'http';
scheme: 'basic';
}
export interface IOpenIdConnectSecurityScheme extends ISecurityScheme {

@@ -175,12 +181,14 @@ type: 'openIdConnect';

type: 'oauth2';
flows: Array<{
implicit: IOauth2ImplicitFlow;
password: IOauth2PasswordFlow;
clientCredentials: IOauth2ClientCredentialsFlow;
authorizationCode: IOauth2AuthorizationCodeFlow;
}>;
flows: IOauthFlowObjects;
}
export interface IOauthFlowObjects {
implicit?: IOauth2ImplicitFlow;
password?: IOauth2PasswordFlow;
clientCredentials?: IOauth2ClientCredentialsFlow;
authorizationCode?: IOauth2AuthorizationCodeFlow;
}
export interface IOauth2Flow {
refreshUrl: string;
refreshUrl?: string;
scopes: Array<{

@@ -191,7 +199,7 @@ [name: string]: string;

export interface IOauth2ImplicitFlow {
export interface IOauth2ImplicitFlow extends IOauth2Flow {
authorizationUrl: string;
}
export interface IOauth2AuthorizationCodeFlow {
export interface IOauth2AuthorizationCodeFlow extends IOauth2Flow {
authorizationUrl: string;

@@ -201,8 +209,8 @@ tokenUrl: string;

export interface IOauth2PasswordFlow {
export interface IOauth2PasswordFlow extends IOauth2Flow {
tokenUrl: string;
}
export interface IOauth2ClientCredentialsFlow {
export interface IOauth2ClientCredentialsFlow extends IOauth2Flow {
tokenUrl: string;
}
{
"name": "@stoplight/types",
"version": "1.0.4",
"version": "1.1.0",
"author": "Stoplight <support@stoplight.io>",

@@ -5,0 +5,0 @@ "license": "MIT",

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