@platform/types
Advanced tools
Comparing version 0.5.25 to 0.5.26
@@ -0,1 +1,2 @@ | ||
export * from './types.bool'; | ||
export * from './types.dispose'; | ||
@@ -2,0 +3,0 @@ export * from './types.dom'; |
@@ -9,5 +9,19 @@ import { Observable } from 'rxjs'; | ||
export declare type EventBus<E extends Event = Event> = { | ||
$: Observable<E>; | ||
readonly $: Observable<E>; | ||
fire: FireEvent<E>; | ||
}; | ||
export declare type EventPump<E extends Event = Event> = { | ||
id: string; | ||
in: EventPumpIn<E>; | ||
out: EventPumpOut<E>; | ||
}; | ||
export declare type EventPumpIn<E extends Event> = (fn: EventPumpInSubscriber<E>) => void; | ||
export declare type EventPumpInSubscriber<T extends Event> = (e: T) => void; | ||
export declare type EventPumpOut<E extends Event> = (e: E) => void; | ||
export declare type EventPumpDirection = 'In' | 'Out'; | ||
export declare type EventPumpFilter<E extends Event = Event> = (e: EventPumpFilterArgs<E>) => boolean; | ||
export declare type EventPumpFilterArgs<E extends Event = Event> = { | ||
direction: EventPumpDirection; | ||
event: E; | ||
}; | ||
export {}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./types.bool"), exports); | ||
tslib_1.__exportStar(require("./types.dispose"), exports); | ||
@@ -5,0 +6,0 @@ tslib_1.__exportStar(require("./types.dom"), exports); |
@@ -1,2 +0,2 @@ | ||
export declare type INpmPackageJson = { | ||
export declare type NpmPackageJson = { | ||
name?: string; | ||
@@ -7,13 +7,13 @@ description?: string; | ||
types?: string; | ||
scripts?: INpmPackageFields; | ||
dependencies?: INpmPackageFields; | ||
devDependencies?: INpmPackageFields; | ||
peerDependencies?: INpmPackageFields; | ||
resolutions?: INpmPackageFields; | ||
scripts?: NpmPackageFields; | ||
dependencies?: NpmPackageFields; | ||
devDependencies?: NpmPackageFields; | ||
peerDependencies?: NpmPackageFields; | ||
resolutions?: NpmPackageFields; | ||
license?: string; | ||
private?: boolean; | ||
}; | ||
export declare type INpmPackageFields = { | ||
export declare type NpmPackageFields = { | ||
[key: string]: string; | ||
}; | ||
export declare type NpmPackageFieldsKey = 'scripts' | 'dependencies' | 'devDependencies' | 'peerDependencies' | 'resolutions'; |
{ | ||
"name": "@platform/types", | ||
"version": "0.5.25", | ||
"version": "0.5.26", | ||
"description": "Common types used across @platform.", | ||
@@ -9,9 +9,9 @@ "main": "lib/index", | ||
"test": "echo sh ../../node_modules/@platform/test/test.sh $@", | ||
"lint": "sh ../../node_modules/@platform/ts.libs/lint.sh $@", | ||
"build": "sh ../../node_modules/@platform/ts.libs/build.sh $@", | ||
"lint": "sh ../../node_modules/@platform/ts.libs/sh/lint.sh $@", | ||
"build": "sh ../../node_modules/@platform/ts.libs/sh/build.sh $@", | ||
"prepare": "yarn build && yarn lint && yarn test" | ||
}, | ||
"devDependencies": { | ||
"@platform/test": "0.2.10", | ||
"@platform/ts.libs": "4.3.3" | ||
"@platform/test": "0.3.1", | ||
"@platform/ts.libs": "4.7.5" | ||
}, | ||
@@ -18,0 +18,0 @@ "files": [ |
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
5400
22
121