@any-touch/shared
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.0.0-alpha.1
@@ -145,2 +145,26 @@ import Core from '@any-touch/core'; | ||
} | ||
import tap from '@any-touch/tap'; | ||
import press from '@any-touch/press'; | ||
import swipe from '@any-touch/swipe'; | ||
import pan from '@any-touch/pan'; | ||
import pinch from '@any-touch/pinch'; | ||
import rotate from '@any-touch/rotate'; | ||
export declare type TapContext = ReturnType<typeof tap>; | ||
export declare type PressContext = ReturnType<typeof press>; | ||
export declare type SwipeContext = ReturnType<typeof swipe>; | ||
export declare type PanContext = ReturnType<typeof pan>; | ||
export declare type PinchContext = ReturnType<typeof pinch>; | ||
export declare type RotateContext = ReturnType<typeof rotate>; | ||
/** | ||
* 插件实例映射 | ||
* {名称: 插件实例} | ||
*/ | ||
export interface PluginContextMap { | ||
tap: TapContext; | ||
press: PressContext; | ||
swipe: SwipeContext; | ||
pan: PanContext; | ||
pinch: PinchContext; | ||
rotate: RotateContext; | ||
} | ||
export declare type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never; |
{ | ||
"name": "@any-touch/shared", | ||
"version": "2.0.0-alpha.0", | ||
"version": "2.0.0-alpha.1", | ||
"description": "any-touch内部的公共函数.", | ||
@@ -16,3 +16,3 @@ "main": "dist/index.js", | ||
"sideEffects": false, | ||
"gitHead": "3fb899bb8ad845ab52fa4a932cc895637e173723" | ||
"gitHead": "a5497dd4d042aeb09ea9c6d0414ed36fbe9c7105" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
14987
273
0