bt-core-app 1.4.394 → 1.4.395

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -492,10 +492,10 @@ export declare interface DemoApiGroup {
492
492
  nav?: string | string[];
493
493
  path?: string;
494
494
  data?: any[];
495
- getAllAction?: <T, TReturn>(list: T[], params: any) => TReturn[];
496
- getAction?: <T, TReturn>(list: T[], id?: string) => TReturn | undefined;
497
- patchAction?: <T, TPatch, TReturn>(list: T[], item: TPatch) => TReturn | undefined;
498
- postAction?: <T, TPost, TReturn>(list: T[], item: TPost) => TReturn | undefined;
495
+ getAllAction?: <T>(list: T[], params: any) => T[] | any[];
496
+ getAction?: <T>(list: T[], id?: string) => T | any;
497
+ patchAction?: <T>(list: T[], item: any) => T | any;
498
+ postAction?: <T>(list: T[], item: any) => T | any;
499
499
  }
500
500
 
501
501
  export declare const demoKey: unique symbol;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.394",
3
+ "version": "1.4.395",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {