@ztimson/utils 0.24.4 → 0.24.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aset.d.ts +4 -0
- package/dist/index.cjs +14 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +14 -7
- package/dist/index.mjs.map +1 -1
- package/dist/path-events.d.ts +3 -3
- package/package.json +1 -1
package/dist/path-events.d.ts
CHANGED
|
@@ -68,9 +68,9 @@ export declare class PathEvent {
|
|
|
68
68
|
/** Delete method specified */
|
|
69
69
|
get delete(): boolean;
|
|
70
70
|
set delete(v: boolean);
|
|
71
|
-
constructor(
|
|
71
|
+
constructor(e: string | PathEvent);
|
|
72
72
|
/**
|
|
73
|
-
* Combine multiple
|
|
73
|
+
* Combine multiple events into one parsed object. Longest path takes precedent, but all subsequent methods are
|
|
74
74
|
* combined until a "none" is reached
|
|
75
75
|
*
|
|
76
76
|
* @param {string | PathEvent} paths Events as strings or pre-parsed
|
|
@@ -116,7 +116,7 @@ export declare class PathEvent {
|
|
|
116
116
|
*/
|
|
117
117
|
static hasAllFatal(target: string | PathEvent | (string | PathEvent)[], ...has: (string | PathEvent)[]): void;
|
|
118
118
|
/**
|
|
119
|
-
* Create
|
|
119
|
+
* Create event string from its components
|
|
120
120
|
*
|
|
121
121
|
* @param {string | string[]} path Event path
|
|
122
122
|
* @param {Method} methods Event method
|