bt-core-app 1.4.42 → 1.4.44

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 CHANGED
@@ -96,6 +96,8 @@ declare type BladeVariant_2 = 'page' | 'blade' | 'freestyle' | 'inline' | 'pane'
96
96
  export declare interface BTActions {
97
97
  actionLoadingMsg: ShallowRef<string | undefined>;
98
98
  actionErrorMsg: ShallowRef<string | undefined>;
99
+ apiGet: (doOptions: ApiActionOptions) => Promise<any>;
100
+ apiPost: (doOptions: ApiActionOptions) => Promise<any>;
99
101
  clearErrors: () => void;
100
102
  deleteItem: (doOptions: DeleteOptions) => Promise<any>;
101
103
  doAction: (action: any, options?: DoActionOptions) => Promise<any>;
@@ -118,17 +120,6 @@ export declare interface BTApi {
118
120
  patch: <T>(pathOptions: PathOptions) => Promise<T | undefined>;
119
121
  }
120
122
 
121
- export declare interface BTApiActions {
122
- apiGet: (doOptions: ApiActionOptions) => Promise<any>;
123
- apiPost: (doOptions: ApiActionOptions) => Promise<any>;
124
- actionLoadingMsg: ShallowRef<string | undefined>;
125
- actionErrorMsg: ShallowRef<string | undefined>;
126
- clearErrors: () => void;
127
- doAction: (action: any, options?: DoActionOptions) => Promise<any>;
128
- isLoading: ComputedRef<boolean>;
129
- logError: (err?: string | Error) => void;
130
- }
131
-
132
123
  export declare interface BTAuth {
133
124
  authState: Ref<string>;
134
125
  /**Global Admin, everything.edit, *.edit */
@@ -1015,16 +1006,6 @@ export declare function useActionsTracker(useOptions?: DoActionOptions): {
1015
1006
 
1016
1007
  export declare function useApi(): BTApi;
1017
1008
 
1018
- export declare function useApiActions(options: UseApiActionsOptions): BTApiActions;
1019
-
1020
- export declare interface UseApiActionsOptions extends DoActionOptions {
1021
- nav?: string;
1022
- proxyID?: string;
1023
- throwError?: boolean;
1024
- url?: string;
1025
- api?: BTApi;
1026
- }
1027
-
1028
1009
  export declare interface UseApiOptions {
1029
1010
  auth?: BTAuth;
1030
1011
  /**overrides the default */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.42",
3
+ "version": "1.4.44",
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": {