@feedmepos/mf-common 0.0.10 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/App.vue.d.ts +1 -3
- package/dist/UserInfo.vue.d.ts +36 -36
- package/dist/api/index.d.ts +5 -5
- package/dist/app.d.ts +528 -287
- package/dist/app.js +37539 -12835
- package/dist/auth.d.ts +2 -69
- package/dist/store.d.ts +160 -42
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +3 -3
package/dist/App.vue.d.ts
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
2
|
-
"show-apps": (...args: any[]) => void;
|
3
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
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<{}>> & {
|
4
2
|
"onShow-apps"?: ((...args: any[]) => any) | undefined;
|
5
3
|
}, {}, {}>;
|
6
4
|
export default _default;
|
package/dist/UserInfo.vue.d.ts
CHANGED
@@ -15,14 +15,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
15
15
|
clickupId?: string | null | undefined;
|
16
16
|
members?: {
|
17
17
|
pf_user?: {
|
18
|
+
email?: string | null | undefined;
|
18
19
|
birthday?: Date | null | undefined;
|
19
20
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
20
21
|
addresses?: {
|
21
|
-
name: string;
|
22
22
|
address: string;
|
23
|
+
name: string;
|
23
24
|
coordinates: number[];
|
24
25
|
}[] | null | undefined;
|
25
|
-
email?: string | null | undefined;
|
26
26
|
photoURL?: string | null | undefined;
|
27
27
|
displayName?: string | null | undefined;
|
28
28
|
phoneNumber?: string | null | undefined;
|
@@ -32,34 +32,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
32
32
|
} | null | undefined;
|
33
33
|
_id: string;
|
34
34
|
} | null | undefined;
|
35
|
-
userId: string;
|
36
35
|
role: "ADMIN";
|
36
|
+
userId: string;
|
37
37
|
}[] | null | undefined;
|
38
|
-
_id: string;
|
39
|
-
name: string;
|
40
38
|
code: string;
|
39
|
+
name: string;
|
40
|
+
_id: string;
|
41
41
|
isReseller: boolean;
|
42
42
|
} | null | undefined;
|
43
43
|
thumbnail?: string | null | undefined;
|
44
44
|
billingInfos?: {
|
45
45
|
_id?: string | undefined;
|
46
|
-
name: string;
|
47
|
-
email: string;
|
48
46
|
address: {
|
49
47
|
coordinates?: number[] | undefined;
|
50
48
|
line2?: string | undefined;
|
49
|
+
country: string;
|
51
50
|
line1: string;
|
52
51
|
state: string;
|
53
52
|
city: string;
|
54
53
|
postcode: string;
|
55
|
-
country: string;
|
56
54
|
};
|
55
|
+
name: string;
|
56
|
+
email: string;
|
57
57
|
companyName: string;
|
58
58
|
contact: string;
|
59
59
|
}[] | null | undefined;
|
60
|
+
name: string;
|
60
61
|
_id: string;
|
61
62
|
ownerId: string;
|
62
|
-
name: string;
|
63
63
|
restaurantQuota: number;
|
64
64
|
warehouseQuota: number;
|
65
65
|
menuVersion: "v2" | "v3" | "v4";
|
@@ -82,14 +82,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
82
82
|
clickupId?: string | null | undefined;
|
83
83
|
members?: {
|
84
84
|
pf_user?: {
|
85
|
+
email?: string | null | undefined;
|
85
86
|
birthday?: Date | null | undefined;
|
86
87
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
87
88
|
addresses?: {
|
88
|
-
name: string;
|
89
89
|
address: string;
|
90
|
+
name: string;
|
90
91
|
coordinates: number[];
|
91
92
|
}[] | null | undefined;
|
92
|
-
email?: string | null | undefined;
|
93
93
|
photoURL?: string | null | undefined;
|
94
94
|
displayName?: string | null | undefined;
|
95
95
|
phoneNumber?: string | null | undefined;
|
@@ -99,34 +99,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
99
99
|
} | null | undefined;
|
100
100
|
_id: string;
|
101
101
|
} | null | undefined;
|
102
|
-
userId: string;
|
103
102
|
role: "ADMIN";
|
103
|
+
userId: string;
|
104
104
|
}[] | null | undefined;
|
105
|
-
_id: string;
|
106
|
-
name: string;
|
107
105
|
code: string;
|
106
|
+
name: string;
|
107
|
+
_id: string;
|
108
108
|
isReseller: boolean;
|
109
109
|
} | null | undefined;
|
110
110
|
thumbnail?: string | null | undefined;
|
111
111
|
billingInfos?: {
|
112
112
|
_id?: string | undefined;
|
113
|
-
name: string;
|
114
|
-
email: string;
|
115
113
|
address: {
|
116
114
|
coordinates?: number[] | undefined;
|
117
115
|
line2?: string | undefined;
|
116
|
+
country: string;
|
118
117
|
line1: string;
|
119
118
|
state: string;
|
120
119
|
city: string;
|
121
120
|
postcode: string;
|
122
|
-
country: string;
|
123
121
|
};
|
122
|
+
name: string;
|
123
|
+
email: string;
|
124
124
|
companyName: string;
|
125
125
|
contact: string;
|
126
126
|
}[] | null | undefined;
|
127
|
+
name: string;
|
127
128
|
_id: string;
|
128
129
|
ownerId: string;
|
129
|
-
name: string;
|
130
130
|
restaurantQuota: number;
|
131
131
|
warehouseQuota: number;
|
132
132
|
menuVersion: "v2" | "v3" | "v4";
|
@@ -146,14 +146,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
146
146
|
clickupId?: string | null | undefined;
|
147
147
|
members?: {
|
148
148
|
pf_user?: {
|
149
|
+
email?: string | null | undefined;
|
149
150
|
birthday?: Date | null | undefined;
|
150
151
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
151
152
|
addresses?: {
|
152
|
-
name: string;
|
153
153
|
address: string;
|
154
|
+
name: string;
|
154
155
|
coordinates: number[];
|
155
156
|
}[] | null | undefined;
|
156
|
-
email?: string | null | undefined;
|
157
157
|
photoURL?: string | null | undefined;
|
158
158
|
displayName?: string | null | undefined;
|
159
159
|
phoneNumber?: string | null | undefined;
|
@@ -163,34 +163,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
163
163
|
} | null | undefined;
|
164
164
|
_id: string;
|
165
165
|
} | null | undefined;
|
166
|
-
userId: string;
|
167
166
|
role: "ADMIN";
|
167
|
+
userId: string;
|
168
168
|
}[] | null | undefined;
|
169
|
-
_id: string;
|
170
|
-
name: string;
|
171
169
|
code: string;
|
170
|
+
name: string;
|
171
|
+
_id: string;
|
172
172
|
isReseller: boolean;
|
173
173
|
} | null | undefined;
|
174
174
|
thumbnail?: string | null | undefined;
|
175
175
|
billingInfos?: {
|
176
176
|
_id?: string | undefined;
|
177
|
-
name: string;
|
178
|
-
email: string;
|
179
177
|
address: {
|
180
178
|
coordinates?: number[] | undefined;
|
181
179
|
line2?: string | undefined;
|
180
|
+
country: string;
|
182
181
|
line1: string;
|
183
182
|
state: string;
|
184
183
|
city: string;
|
185
184
|
postcode: string;
|
186
|
-
country: string;
|
187
185
|
};
|
186
|
+
name: string;
|
187
|
+
email: string;
|
188
188
|
companyName: string;
|
189
189
|
contact: string;
|
190
190
|
}[] | null | undefined;
|
191
|
+
name: string;
|
191
192
|
_id: string;
|
192
193
|
ownerId: string;
|
193
|
-
name: string;
|
194
194
|
restaurantQuota: number;
|
195
195
|
warehouseQuota: number;
|
196
196
|
menuVersion: "v2" | "v3" | "v4";
|
@@ -213,14 +213,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
213
213
|
clickupId?: string | null | undefined;
|
214
214
|
members?: {
|
215
215
|
pf_user?: {
|
216
|
+
email?: string | null | undefined;
|
216
217
|
birthday?: Date | null | undefined;
|
217
218
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
218
219
|
addresses?: {
|
219
|
-
name: string;
|
220
220
|
address: string;
|
221
|
+
name: string;
|
221
222
|
coordinates: number[];
|
222
223
|
}[] | null | undefined;
|
223
|
-
email?: string | null | undefined;
|
224
224
|
photoURL?: string | null | undefined;
|
225
225
|
displayName?: string | null | undefined;
|
226
226
|
phoneNumber?: string | null | undefined;
|
@@ -230,34 +230,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
230
230
|
} | null | undefined;
|
231
231
|
_id: string;
|
232
232
|
} | null | undefined;
|
233
|
-
userId: string;
|
234
233
|
role: "ADMIN";
|
234
|
+
userId: string;
|
235
235
|
}[] | null | undefined;
|
236
|
-
_id: string;
|
237
|
-
name: string;
|
238
236
|
code: string;
|
237
|
+
name: string;
|
238
|
+
_id: string;
|
239
239
|
isReseller: boolean;
|
240
240
|
} | null | undefined;
|
241
241
|
thumbnail?: string | null | undefined;
|
242
242
|
billingInfos?: {
|
243
243
|
_id?: string | undefined;
|
244
|
-
name: string;
|
245
|
-
email: string;
|
246
244
|
address: {
|
247
245
|
coordinates?: number[] | undefined;
|
248
246
|
line2?: string | undefined;
|
247
|
+
country: string;
|
249
248
|
line1: string;
|
250
249
|
state: string;
|
251
250
|
city: string;
|
252
251
|
postcode: string;
|
253
|
-
country: string;
|
254
252
|
};
|
253
|
+
name: string;
|
254
|
+
email: string;
|
255
255
|
companyName: string;
|
256
256
|
contact: string;
|
257
257
|
}[] | null | undefined;
|
258
|
+
name: string;
|
258
259
|
_id: string;
|
259
260
|
ownerId: string;
|
260
|
-
name: string;
|
261
261
|
restaurantQuota: number;
|
262
262
|
warehouseQuota: number;
|
263
263
|
menuVersion: "v2" | "v3" | "v4";
|
package/dist/api/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { FdoBusiness } from '@feedmepos/core/entity';
|
2
|
-
|
1
|
+
import { FdoBusiness, FdoPermissionRule, FdoRestaurant } from '@feedmepos/core/entity';
|
2
|
+
export declare function readUserAdminPermission(): Promise<FdoPermissionRule[]>;
|
3
|
+
export declare function readUserBusinessPermission(businessId: string): Promise<FdoPermissionRule[]>;
|
3
4
|
export declare function readManagableBusinesses(): Promise<FdoBusiness[]>;
|
4
|
-
export declare
|
5
|
-
export declare function
|
6
|
-
export declare function extractAxiosData<T>(response: AxiosResponse<T>): T;
|
5
|
+
export declare function readBusinessRestaurants(businessId: string): Promise<FdoRestaurant[]>;
|
6
|
+
export declare function readBusinessRestaurant(restaurantId: string): Promise<FdoRestaurant>;
|