Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@qiwi/substrate-types

Package Overview
Dependencies
Maintainers
5
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qiwi/substrate-types - npm Package Compare versions

Comparing version 1.29.0 to 1.30.0

target/es5/INormalValue.d.ts

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# @qiwi/substrate-types [1.30.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.29.0...@qiwi/substrate-types@1.30.0) (2020-03-18)
### Features
* **types:** add INormalValue ([3547651](https://github.com/qiwi/substrate/commit/35476514ff88b6c36e9222f356f044cd04da365d))
# @qiwi/substrate-types [1.29.0](https://github.com/qiwi/substrate/compare/@qiwi/substrate-types@1.28.1...@qiwi/substrate-types@1.29.0) (2020-03-05)

@@ -2,0 +9,0 @@

8

package.json
{
"name": "@qiwi/substrate-types",
"version": "1.29.0",
"version": "1.30.0",
"main": "target/es5/index.js",

@@ -45,5 +45,5 @@ "source": "target/ts/index.ts",

"@types/config": "^0.0.36",
"@types/jest": "^25.1.3",
"@types/jest": "^25.1.4",
"@types/lodash": "^4.14.149",
"@types/node": "^13.7.7",
"@types/node": "^13.9.1",
"@types/parsimmon": "^1.10.1",

@@ -63,3 +63,3 @@ "@types/underscore": "^1.9.4",

"ts-to-flow": "^0.0.3",
"typedoc": "0.16.11",
"typedoc": "0.17.1",
"typedoc-plugin-external-module-name": "3.0.0",

@@ -66,0 +66,0 @@ "typescript": "3.8.3",

@@ -27,1 +27,2 @@ /** @module @qiwi/substrate-types */

export { IClientEventDto as ClientEventDto, IClientEventMeta as ClientEventMeta, EnvironmentProfile } from './IClientEventDto';
export { INormalValue as NormalValue, IIdentified as Identified, IMetaTyped as MetaTyped, IMetaTypedValue as MetaTypedValue, IWrappedValue as WrappedValue } from './INormalValue';

@@ -27,1 +27,2 @@ /** @module @qiwi/substrate-types */

export { IClientEventDto, IClientEventMeta, EnvironmentProfile } from './IClientEventDto';
export { INormalValue, IIdentified, IMetaTyped, IMetaTypedValue, IWrappedValue } from './INormalValue';

@@ -27,1 +27,2 @@ /** @module @qiwi/substrate-types */

export { IClientEventDto as ClientEventDto, IClientEventMeta as ClientEventMeta, EnvironmentProfile } from './IClientEventDto';
export { INormalValue as NormalValue, IIdentified as Identified, IMetaTyped as MetaTyped, IMetaTypedValue as MetaTypedValue, IWrappedValue as WrappedValue } from './INormalValue';

@@ -27,1 +27,2 @@ /** @module @qiwi/substrate-types */

export { IClientEventDto, IClientEventMeta, EnvironmentProfile } from './IClientEventDto';
export { INormalValue, IIdentified, IMetaTyped, IMetaTypedValue, IWrappedValue } from './INormalValue';

@@ -59,1 +59,8 @@ /** @module @qiwi/substrate-types */

} from './IClientEventDto'
export {
INormalValue as NormalValue,
IIdentified as Identified,
IMetaTyped as MetaTyped,
IMetaTypedValue as MetaTypedValue,
IWrappedValue as WrappedValue
} from './INormalValue'

@@ -59,1 +59,8 @@ /** @module @qiwi/substrate-types */

} from './IClientEventDto'
export {
INormalValue,
IIdentified,
IMetaTyped,
IMetaTypedValue,
IWrappedValue
} from './INormalValue'

@@ -265,2 +265,25 @@ declare module '@qiwi/substrate-types/target/es5/IAnyMap' {

}
declare module '@qiwi/substrate-types/target/es5/helpers' {
export type UnionToIntersection<U> = ((U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never);
export function mkenum<T extends {
[index: string]: U;
}, U extends string>(x: T): T;
export type enumType<T> = T[keyof T];
}
declare module '@qiwi/substrate-types/target/es5/INormalValue' {
import { IAnyMap } from '@qiwi/substrate-types/target/es5/IAnyMap';
import { UnionToIntersection } from '@qiwi/substrate-types/target/es5/helpers';
export interface IIdentified {
id: string | number | symbol;
}
export type IWrappedValue<V = any, W = {}> = (W extends {}[] ? UnionToIntersection<W[number]> : W extends {} ? W : {}) & {
value: V;
};
export interface IMetaTyped<T = any, M extends IAnyMap = IAnyMap> {
type: T;
meta: M;
}
export type IMetaTypedValue<V = any, T = any, M extends IAnyMap = IAnyMap> = IWrappedValue<V, IMetaTyped<T, M>>;
export type INormalValue<V = any, T = any, M extends IAnyMap = IAnyMap> = IWrappedValue<V, [IMetaTyped<T, M>, IIdentified]>;
}
declare module '@qiwi/substrate-types/target/es5/IStringMap' {

@@ -367,2 +390,3 @@ /** @qiwi/substrate-types */

export { IClientEventDto, IClientEventMeta, EnvironmentProfile } from '@qiwi/substrate-types/target/es5/IClientEventDto';
export { INormalValue, IIdentified, IMetaTyped, IMetaTypedValue, IWrappedValue } from '@qiwi/substrate-types/target/es5/INormalValue';
}

@@ -425,10 +449,4 @@ declare module '@qiwi/substrate-types/target/es5/IPool' {

export { IClientEventDto as ClientEventDto, IClientEventMeta as ClientEventMeta, EnvironmentProfile } from '@qiwi/substrate-types/target/es5/IClientEventDto';
export { INormalValue as NormalValue, IIdentified as Identified, IMetaTyped as MetaTyped, IMetaTypedValue as MetaTypedValue, IWrappedValue as WrappedValue } from '@qiwi/substrate-types/target/es5/INormalValue';
}
declare module '@qiwi/substrate-types/target/es5/helpers' {
export type UnionToIntersection<U> = ((U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never);
export function mkenum<T extends {
[index: string]: U;
}, U extends string>(x: T): T;
export type enumType<T> = T[keyof T];
}
declare module '@qiwi/substrate-types/target/es5/index' {

@@ -435,0 +453,0 @@ /** @qiwi/substrate-types */

@@ -362,2 +362,50 @@ /**

declare module "@qiwi/substrate-types/target/es5/helpers" {
declare export type UnionToIntersection<
U
> = /* Flow doesn't support conditional types, use `$Call` utility type */ any;
declare export function mkenum<
T: {
[index: string]: U,
...
},
U: string
>(
x: T
): T;
declare export type enumType<T> = $ElementType<T, $Keys<T>>;
}
declare module "@qiwi/substrate-types/target/es5/INormalValue" {
import type { IAnyMap } from "@qiwi/substrate-types/target/es5/IAnyMap";
import type { UnionToIntersection } from "@qiwi/substrate-types/target/es5/helpers";
declare export interface IIdentified {
id: string | number | Symbol;
}
declare export type IWrappedValue<
V = any,
W = { ... }
> = /* Flow doesn't support conditional types, use `$Call` utility type */ any & {
value: V,
...
};
declare export interface IMetaTyped<T = any, M: IAnyMap = IAnyMap> {
type: T;
meta: M;
}
declare export type IMetaTypedValue<
V = any,
T = any,
M: IAnyMap = IAnyMap
> = IWrappedValue<V, IMetaTyped<T, M>>;
declare export type INormalValue<
V = any,
T = any,
M: IAnyMap = IAnyMap
> = IWrappedValue<V, [IMetaTyped<T, M>, IIdentified]>;
}
declare module "@qiwi/substrate-types/target/es5/IStringMap" {

@@ -575,2 +623,10 @@ /**

} from "@qiwi/substrate-types/target/es5/IClientEventDto";
declare export {
INormalValue,
IIdentified,
IMetaTyped,
IMetaTypedValue,
IWrappedValue
} from "@qiwi/substrate-types/target/es5/INormalValue";
}

@@ -689,19 +745,10 @@

} from "@qiwi/substrate-types/target/es5/IClientEventDto";
}
declare module "@qiwi/substrate-types/target/es5/helpers" {
declare export type UnionToIntersection<
U
> = /* Flow doesn't support conditional types, use `$Call` utility type */ any;
declare export function mkenum<
T: {
[index: string]: U,
...
},
U: string
>(
x: T
): T;
declare export type enumType<T> = $ElementType<T, $Keys<T>>;
declare export {
INormalValue as NormalValue,
IIdentified as Identified,
IMetaTyped as MetaTyped,
IMetaTypedValue as MetaTypedValue,
IWrappedValue as WrappedValue
} from "@qiwi/substrate-types/target/es5/INormalValue";
}

@@ -708,0 +755,0 @@

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