@qiwi/substrate-types
Advanced tools
Comparing version 1.32.0 to 1.33.0
@@ -0,1 +1,8 @@ | ||
# @qiwi/substrate-types [1.33.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.32.0...@qiwi/substrate-types@1.33.0) (2020-04-02) | ||
### Features | ||
* **types:** add getOwnMetadata method to IMetadataProvider ([ab0fce8](https://github.com/qiwi/substrate/commit/ab0fce849569ded420b10317b0f123d25cb3bb8b)) | ||
# @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) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@qiwi/substrate-types", | ||
"version": "1.32.0", | ||
"version": "1.33.0", | ||
"main": "target/es5/index.js", | ||
@@ -45,5 +45,5 @@ "source": "target/ts/index.ts", | ||
"@types/config": "^0.0.36", | ||
"@types/jest": "^25.1.4", | ||
"@types/jest": "^25.1.5", | ||
"@types/lodash": "^4.14.149", | ||
"@types/node": "^13.9.8", | ||
"@types/node": "^13.11.0", | ||
"@types/parsimmon": "^1.10.1", | ||
@@ -50,0 +50,0 @@ "@types/underscore": "^1.9.4", |
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; | ||
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any; | ||
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any; | ||
} |
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; | ||
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any; | ||
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any; | ||
} |
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 | ||
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any | ||
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any | ||
} |
@@ -233,3 +233,4 @@ declare module '@qiwi/substrate-types/target/es5/IAnyMap' { | ||
hasMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): boolean; | ||
getMetadata(metadataKey: any, target: any): any; | ||
getMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any; | ||
getOwnMetadata(metadataKey: any, target: any, propertyKey?: string | symbol): any; | ||
} | ||
@@ -236,0 +237,0 @@ } |
@@ -334,3 +334,12 @@ /** | ||
): boolean; | ||
getMetadata(metadataKey: any, target: any): any; | ||
getMetadata( | ||
metadataKey: any, | ||
target: any, | ||
propertyKey?: string | Symbol | ||
): any; | ||
getOwnMetadata( | ||
metadataKey: any, | ||
target: any, | ||
propertyKey?: string | Symbol | ||
): any; | ||
} | ||
@@ -337,0 +346,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
136361
2870