@freedom_sky/feige-lib 5.18.0 → 5.20.0
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/const/const.d.ts +1 -0
- package/dist/const/const.js +1 -0
- package/dist/interfaces/store/store.interface.d.ts +13 -0
- package/package.json +6 -2
- package/src/const/const.ts +2388 -2433
- package/src/enum/ai-token.enum.ts +10 -10
- package/src/enum/menu-io.enum.ts +4 -4
- package/src/enum/receptionist.enum.ts +2 -2
- package/src/index.ts +612 -612
- package/src/interfaces/store/classification.interface.ts +7 -7
- package/src/interfaces/store/menu-export.interface.ts +13 -13
- package/src/interfaces/store/specification.interface.ts +17 -17
- package/src/interfaces/store/store.interface.ts +13 -0
package/dist/const/const.d.ts
CHANGED
package/dist/const/const.js
CHANGED
|
@@ -57,6 +57,19 @@ export interface Store {
|
|
|
57
57
|
readonly needAuditNames: boolean;
|
|
58
58
|
readonly img: string;
|
|
59
59
|
readonly phone?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Geographic location for the store. Optional — old stores may not have it.
|
|
62
|
+
* Set via the manager's map-location picker flow on the App; consumed by
|
|
63
|
+
* delivery distance / static-map thumbnails / future routing features.
|
|
64
|
+
* Mirrors the server-side Mongoose subdoc shape in
|
|
65
|
+
* order-multi-server/src/stores/schemas/store.schema.ts.
|
|
66
|
+
*/
|
|
67
|
+
readonly location?: {
|
|
68
|
+
lat: number;
|
|
69
|
+
lng: number;
|
|
70
|
+
formattedAddress?: string;
|
|
71
|
+
placeId?: string;
|
|
72
|
+
};
|
|
60
73
|
description: string;
|
|
61
74
|
readonly descriptions?: object;
|
|
62
75
|
readonly type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@freedom_sky/feige-lib",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.20.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"build": "npm run test && tsc",
|
|
9
9
|
"lint": "tsc --noEmit && eslint 'src/**/*.{js,ts}' --quiet --fix",
|
|
10
10
|
"test": "jest",
|
|
11
|
-
"
|
|
11
|
+
"prepublishOnly": "npm run build",
|
|
12
|
+
"release": "npm publish"
|
|
12
13
|
},
|
|
13
14
|
"husky": {
|
|
14
15
|
"hooks": {
|
|
@@ -30,6 +31,9 @@
|
|
|
30
31
|
"url": "https://github.com/freedom-git/feige-lib/issues"
|
|
31
32
|
},
|
|
32
33
|
"homepage": "https://github.com/freedom-git/feige-lib#readme",
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
33
37
|
"devDependencies": {
|
|
34
38
|
"@types/big.js": "^6.1.2",
|
|
35
39
|
"@types/jest": "^25.2.1",
|