@qiwi/substrate-types
Advanced tools
Comparing version 1.31.1 to 1.32.0
@@ -0,1 +1,8 @@ | ||
# @qiwi/substrate-types [1.32.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.31.1...@qiwi/substrate-types@1.32.0) (2020-03-31) | ||
### Features | ||
* **types:** add IMetadataProvider ([8b13d28](https://github.com/qiwi/substrate/commit/8b13d2836be414a5b719f746e7b5011c2b3963f7)) | ||
## @qiwi/substrate-types [1.31.1](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.31.0...@qiwi/substrate-types@1.31.1) (2020-03-31) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@qiwi/substrate-types", | ||
"version": "1.31.1", | ||
"version": "1.32.0", | ||
"main": "target/es5/index.js", | ||
@@ -66,3 +66,4 @@ "source": "target/ts/index.ts", | ||
"underscore": "^1.10.2", | ||
"cross-fetch": "^3.0.4" | ||
"cross-fetch": "^3.0.4", | ||
"reflect-metadata": "^0.1.13" | ||
}, | ||
@@ -69,0 +70,0 @@ "dependencies": {}, |
@@ -29,1 +29,2 @@ /** @module @qiwi/substrate-types */ | ||
export { IFn as Fn, IUnaryFunction as UnaryFunction, IUnaryFn as UnaryFn, ICallable as Callable } from './IFunction'; | ||
export { IMetadataProvider as MetadataProvider } from './IMetadata'; |
@@ -29,1 +29,2 @@ /** @module @qiwi/substrate-types */ | ||
export { IFunction, IFn, IUnaryFunction, IUnaryFn, ICallable } from './IFunction'; | ||
export { IMetadataProvider } from './IMetadata'; |
@@ -29,1 +29,2 @@ /** @module @qiwi/substrate-types */ | ||
export { IFn as Fn, IUnaryFunction as UnaryFunction, IUnaryFn as UnaryFn, ICallable as Callable } from './IFunction'; | ||
export { IMetadataProvider as MetadataProvider } from './IMetadata'; |
@@ -29,1 +29,2 @@ /** @module @qiwi/substrate-types */ | ||
export { IFunction, IFn, IUnaryFunction, IUnaryFn, ICallable } from './IFunction'; | ||
export { IMetadataProvider } from './IMetadata'; |
@@ -73,1 +73,4 @@ /** @module @qiwi/substrate-types */ | ||
} from './IFunction' | ||
export { | ||
IMetadataProvider as MetadataProvider | ||
} from './IMetadata' |
@@ -73,1 +73,4 @@ /** @module @qiwi/substrate-types */ | ||
} from './IFunction' | ||
export { | ||
IMetadataProvider | ||
} from './IMetadata' |
@@ -229,2 +229,9 @@ declare module '@qiwi/substrate-types/target/es5/IAnyMap' { | ||
} | ||
declare module '@qiwi/substrate-types/target/es5/IMetadata' { | ||
export interface IMetadataProvider { | ||
defineMetadata(metadataKey: any, metadataValue: any, target: any, propertyKey?: string | symbol): void; | ||
hasMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): boolean; | ||
getMetadata(metadataKey: any, target: any): any; | ||
} | ||
} | ||
declare module '@qiwi/substrate-types/target/es5/IMiddleware' { | ||
@@ -402,2 +409,3 @@ /** @qiwi/substrate-types */ | ||
export { IFunction, IFn, IUnaryFunction, IUnaryFn, ICallable } from '@qiwi/substrate-types/target/es5/IFunction'; | ||
export { IMetadataProvider } from '@qiwi/substrate-types/target/es5/IMetadata'; | ||
} | ||
@@ -462,2 +470,3 @@ declare module '@qiwi/substrate-types/target/es5/IPool' { | ||
export { IFn as Fn, IUnaryFunction as UnaryFunction, IUnaryFn as UnaryFn, ICallable as Callable } from '@qiwi/substrate-types/target/es5/IFunction'; | ||
export { IMetadataProvider as MetadataProvider } from '@qiwi/substrate-types/target/es5/IMetadata'; | ||
} | ||
@@ -464,0 +473,0 @@ declare module '@qiwi/substrate-types/target/es5/index' { |
@@ -321,2 +321,19 @@ /** | ||
declare module "@qiwi/substrate-types/target/es5/IMetadata" { | ||
declare export interface IMetadataProvider { | ||
defineMetadata( | ||
metadataKey: any, | ||
metadataValue: any, | ||
target: any, | ||
propertyKey?: string | Symbol | ||
): void; | ||
hasMetadata( | ||
metadataKey: any, | ||
target: any, | ||
propertyKey?: string | Symbol | ||
): boolean; | ||
getMetadata(metadataKey: any, target: any): any; | ||
} | ||
} | ||
declare module "@qiwi/substrate-types/target/es5/IMiddleware" { | ||
@@ -658,2 +675,4 @@ /** | ||
} from "@qiwi/substrate-types/target/es5/IFunction"; | ||
declare export { IMetadataProvider } from "@qiwi/substrate-types/target/es5/IMetadata"; | ||
} | ||
@@ -787,2 +806,4 @@ | ||
} from "@qiwi/substrate-types/target/es5/IFunction"; | ||
declare export { IMetadataProvider as MetadataProvider } from "@qiwi/substrate-types/target/es5/IMetadata"; | ||
} | ||
@@ -789,0 +810,0 @@ |
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
135403
222
2857
27