use-abcd 0.0.1 → 0.0.2
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/README.md +3 -1
- package/dist/useCrud.d.ts +0 -2
- package/dist/useCrud.js +447 -450
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ bun add use-abcd
|
|
|
29
29
|
## Quick Example
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
|
-
import { useCrud } from "use-
|
|
32
|
+
import { useCrud } from "use-abcd";
|
|
33
33
|
|
|
34
34
|
type Todo = {
|
|
35
35
|
id: string;
|
|
@@ -88,6 +88,8 @@ function TodoList() {
|
|
|
88
88
|
}
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
+
> **Note**: This is a single-file library with a focused scope. Please read the source code for a deeper understanding of its implementation and capabilities.
|
|
92
|
+
|
|
91
93
|
## License
|
|
92
94
|
|
|
93
95
|
MIT
|
package/dist/useCrud.d.ts
CHANGED
|
@@ -28,8 +28,6 @@ export declare type CrudConfig<T extends Item = Item, C = any> = {
|
|
|
28
28
|
getServerSnapshot?: () => StoreState<T>;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
export declare function customLog(title?: string, ...messages: any[]): void;
|
|
32
|
-
|
|
33
31
|
/**
|
|
34
32
|
* Cache implementation for storing and managing fetch results
|
|
35
33
|
* with configurable age and capacity limits.
|