feathers-utils 3.0.0 → 3.0.1
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/index.d.ts +2 -2
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ declare class DebouncedStore {
|
|
|
115
115
|
private _options;
|
|
116
116
|
private _isRunningById;
|
|
117
117
|
_queueById: Record<string, DebouncedFunc<(id: Id, action: DebouncedFunctionApp) => void | Promise<void>>>;
|
|
118
|
-
add:
|
|
118
|
+
add: any;
|
|
119
119
|
constructor(app: Application, options?: Partial<DebouncedStoreOptions>);
|
|
120
120
|
private unbounced;
|
|
121
121
|
private debounceById;
|
|
@@ -181,7 +181,7 @@ declare const isPaginated: <H extends HookContext<_feathersjs_feathers.Applicati
|
|
|
181
181
|
/**
|
|
182
182
|
* util to mark a hook for skip, has to be used with `shouldSkip`
|
|
183
183
|
*/
|
|
184
|
-
declare function markHookForSkip<H extends HookContext = HookContext>(hookName: string, type: "all" | MaybeArray<HookType>, context?: H): H
|
|
184
|
+
declare function markHookForSkip<H extends HookContext = HookContext>(hookName: string, type: "all" | MaybeArray<HookType>, context?: H): H;
|
|
185
185
|
|
|
186
186
|
interface PushSetOptions {
|
|
187
187
|
unique?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feathers-utils",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Some utils for projects using '@feathersjs/feathers'",
|
|
5
5
|
"author": "fratzinger",
|
|
6
6
|
"repository": {
|
|
@@ -12,14 +12,15 @@
|
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/fratzinger/feathers-utils",
|
|
14
14
|
"license": "MIT",
|
|
15
|
-
"type": "module",
|
|
16
15
|
"exports": {
|
|
17
16
|
".": {
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
18
|
"import": "./dist/index.mjs",
|
|
19
19
|
"require": "./dist/index.cjs"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"main": "./dist/index.cjs",
|
|
23
|
+
"module": "./dist/index.mjs",
|
|
23
24
|
"types": "./dist/index.d.ts",
|
|
24
25
|
"files": [
|
|
25
26
|
"CHANGELOG.md",
|