@api3/airnode-ois
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -0,1 +1,2 @@ | ||
export * from './constants'; | ||
export * from './types'; |
@@ -13,3 +13,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./constants"), exports); | ||
__exportStar(require("./types"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
import { RESERVED_PARAMETERS } from './constants'; | ||
export declare type Method = 'get' | 'post'; | ||
@@ -16,11 +17,25 @@ export declare type ParameterTarget = 'path' | 'query' | 'header' | 'cookie'; | ||
} | ||
export declare type SecuritySchemeName = 'bearer' | 'basic'; | ||
export declare type SecuritySchemeType = 'apiKey' | 'http'; | ||
export interface HttpSecurityScheme { | ||
scheme: 'bearer' | 'basic'; | ||
type: 'http'; | ||
} | ||
export declare type SecuritySchemeTarget = 'query' | 'header' | 'cookie'; | ||
export interface ApiSecurityScheme { | ||
in?: SecuritySchemeTarget; | ||
name?: string; | ||
scheme?: SecuritySchemeName; | ||
type: SecuritySchemeType; | ||
export interface ConfigurableSecurityScheme { | ||
in: SecuritySchemeTarget; | ||
name: string; | ||
} | ||
export interface ApiKeySecurityScheme extends ConfigurableSecurityScheme { | ||
type: 'apiKey'; | ||
} | ||
export interface RelayChainIdSecurityScheme extends ConfigurableSecurityScheme { | ||
type: 'relayChainId'; | ||
} | ||
export interface RelayChainTypeSecurityScheme extends ConfigurableSecurityScheme { | ||
type: 'relayChainType'; | ||
} | ||
export interface RelayRequesterAddressSecurityScheme extends ConfigurableSecurityScheme { | ||
type: 'relayRequesterAddress'; | ||
} | ||
export declare type ApiSecurityScheme = ApiKeySecurityScheme | HttpSecurityScheme | RelayChainIdSecurityScheme | RelayChainTypeSecurityScheme | RelayRequesterAddressSecurityScheme; | ||
export declare type SecuritySchemeType = ApiSecurityScheme['type']; | ||
export interface ApiComponents { | ||
@@ -57,8 +72,3 @@ securitySchemes: { | ||
} | ||
export declare enum ReservedParameterName { | ||
Path = "_path", | ||
Times = "_times", | ||
Type = "_type", | ||
RelayMetadata = "_relay_metadata" | ||
} | ||
export declare type ReservedParameterName = typeof RESERVED_PARAMETERS[number]; | ||
export interface ReservedParameter { | ||
@@ -65,0 +75,0 @@ default?: string; |
"use strict"; | ||
/* eslint-disable functional/prefer-readonly-type */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ReservedParameterName = void 0; | ||
var ReservedParameterName; | ||
(function (ReservedParameterName) { | ||
ReservedParameterName["Path"] = "_path"; | ||
ReservedParameterName["Times"] = "_times"; | ||
ReservedParameterName["Type"] = "_type"; | ||
ReservedParameterName["RelayMetadata"] = "_relay_metadata"; | ||
})(ReservedParameterName = exports.ReservedParameterName || (exports.ReservedParameterName = {})); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@api3/airnode-ois", | ||
"license": "MIT", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "dist/index", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5800
11
117