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.
- package/dist/index.d.ts +4 -4
- 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
|
|
496
|
-
getAction?: <T
|
|
497
|
-
patchAction?: <T
|
|
498
|
-
postAction?: <T
|
|
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