@feedmepos/mf-common 1.0.1 → 1.1.1-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/App.vue.d.ts CHANGED
@@ -1,4 +1,10 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "show-apps"[], "show-apps", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
- "onShow-apps"?: ((...args: any[]) => any) | undefined;
3
- }, {}, {}>;
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ apps?(_: {}): any;
3
+ actions?(_: {}): any;
4
+ }>;
4
5
  export default _default;
6
+ type __VLS_WithTemplateSlots<T, S> = T & {
7
+ new (): {
8
+ $slots: S;
9
+ };
10
+ };
@@ -1,6 +1,12 @@
1
1
  import { FdoBusiness, FdoPermissionRule, FdoRestaurant } from '@feedmepos/core/entity';
2
+ import { type AxiosInstance } from 'axios';
2
3
  export declare function readUserAdminPermission(): Promise<FdoPermissionRule[]>;
3
4
  export declare function readUserBusinessPermission(businessId: string): Promise<FdoPermissionRule[]>;
4
5
  export declare function readManagableBusinesses(): Promise<FdoBusiness[]>;
5
6
  export declare function readBusinessRestaurants(businessId: string): Promise<FdoRestaurant[]>;
6
7
  export declare function readBusinessRestaurant(restaurantId: string): Promise<FdoRestaurant>;
8
+ export declare const axiosClientInstance: (path: string, config?: {
9
+ skipAuth?: boolean;
10
+ url?: string;
11
+ customIdToken?: string;
12
+ }) => AxiosInstance;