wacom 21.1.2 → 21.1.3
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/fesm2022/wacom.mjs +8 -0
- package/fesm2022/wacom.mjs.map +1 -1
- package/package.json +1 -1
- package/types/wacom.d.ts +6 -0
package/fesm2022/wacom.mjs
CHANGED
|
@@ -2280,6 +2280,14 @@ class CrudService {
|
|
|
2280
2280
|
getDocs(filter = () => true) {
|
|
2281
2281
|
return this._docs.filter(filter);
|
|
2282
2282
|
}
|
|
2283
|
+
/**
|
|
2284
|
+
* Retrieves the document based on function.
|
|
2285
|
+
*
|
|
2286
|
+
* @returns The list of document.
|
|
2287
|
+
*/
|
|
2288
|
+
getDoc(find) {
|
|
2289
|
+
return this._docs.find(find);
|
|
2290
|
+
}
|
|
2283
2291
|
/**
|
|
2284
2292
|
* Clears the current list of documents.
|
|
2285
2293
|
*
|