@abyss-project/training 1.0.0 → 1.0.2
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/api/analytics.public.api.d.ts +2 -0
- package/dist/api/analytics.public.api.js +8 -0
- package/dist/api/exercise.api.d.ts +10 -0
- package/dist/api/exercise.api.js +52 -0
- package/dist/api/exercise.public.api.d.ts +3 -0
- package/dist/api/exercise.public.api.js +14 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.js +4 -0
- package/dist/api/training-program.api.d.ts +13 -0
- package/dist/api/training-program.api.js +53 -0
- package/dist/api/user.api.d.ts +3 -1
- package/dist/api/user.api.js +11 -1
- package/dist/api/workout-session.api.d.ts +2 -5
- package/dist/api/workout-session.api.js +4 -16
- package/dist/api/workout-template.api.d.ts +1 -2
- package/dist/api/workout-template.api.js +1 -5
- package/dist/index.js +2 -1
- package/dist/types/enum/day-of-week.enum.d.ts +9 -0
- package/dist/types/enum/day-of-week.enum.js +13 -0
- package/dist/types/enum/exercise-measurement-type.enum.d.ts +7 -0
- package/dist/types/enum/exercise-measurement-type.enum.js +11 -0
- package/dist/types/enum/index.d.ts +7 -2
- package/dist/types/enum/index.js +7 -2
- package/dist/types/enum/personal-record-type.enum.d.ts +9 -0
- package/dist/types/enum/personal-record-type.enum.js +13 -0
- package/dist/types/enum/schedule-type.enum.d.ts +5 -0
- package/dist/types/enum/schedule-type.enum.js +9 -0
- package/dist/types/enum/skip-reason.enum.d.ts +9 -0
- package/dist/types/enum/skip-reason.enum.js +13 -0
- package/dist/types/enum/training-program-status.enum.d.ts +6 -0
- package/dist/types/enum/training-program-status.enum.js +10 -0
- package/dist/types/enum/workout-group-type.enum.d.ts +5 -0
- package/dist/types/enum/workout-group-type.enum.js +9 -0
- package/dist/types/interface/api/index.d.ts +24 -0
- package/dist/types/interface/api/index.js +7 -0
- package/dist/types/interface/api/requests/exercise.public.request.d.ts +20 -0
- package/dist/types/interface/api/requests/exercise.public.request.js +2 -0
- package/dist/types/interface/api/requests/exercise.request.d.ts +61 -0
- package/dist/types/interface/api/requests/exercise.request.js +2 -0
- package/dist/types/interface/api/requests/training-program.request.d.ts +67 -0
- package/dist/types/interface/api/requests/training-program.request.js +2 -0
- package/dist/types/interface/api/requests/user.request.d.ts +4 -0
- package/dist/types/interface/api/requests/workout-session.request.d.ts +10 -58
- package/dist/types/interface/api/requests/workout-template.public.request.d.ts +5 -2
- package/dist/types/interface/api/requests/workout-template.request.d.ts +20 -23
- package/dist/types/interface/api/responses/analytics.public.response.d.ts +24 -0
- package/dist/types/interface/api/responses/analytics.public.response.js +2 -0
- package/dist/types/interface/api/responses/exercise.public.response.d.ts +7 -0
- package/dist/types/interface/api/responses/exercise.public.response.js +2 -0
- package/dist/types/interface/api/responses/exercise.response.d.ts +110 -0
- package/dist/types/interface/api/responses/exercise.response.js +2 -0
- package/dist/types/interface/api/responses/training-program.response.d.ts +46 -0
- package/dist/types/interface/api/responses/training-program.response.js +2 -0
- package/dist/types/interface/api/responses/user.response.d.ts +41 -1
- package/dist/types/interface/api/responses/workout-session.response.d.ts +4 -0
- package/dist/types/interface/api/responses/workout-template.response.d.ts +3 -3
- package/dist/types/interface/index.d.ts +6 -1
- package/dist/types/interface/index.js +6 -1
- package/dist/types/interface/models/exercise.model.d.ts +2 -1
- package/dist/types/interface/models/training-program-schedule.model.d.ts +18 -0
- package/dist/types/interface/models/training-program-schedule.model.js +2 -0
- package/dist/types/interface/models/training-program.model.d.ts +17 -0
- package/dist/types/interface/models/training-program.model.js +2 -0
- package/dist/types/interface/models/workout-exercise.model.d.ts +6 -9
- package/dist/types/interface/models/workout-group.model.d.ts +18 -0
- package/dist/types/interface/models/workout-group.model.js +2 -0
- package/dist/types/interface/models/workout-section.model.d.ts +13 -0
- package/dist/types/interface/models/workout-section.model.js +2 -0
- package/dist/types/interface/models/workout-session.model.d.ts +3 -6
- package/dist/types/interface/models/workout-template.model.d.ts +2 -2
- package/dist/types/interface/personal-record.interface.d.ts +29 -0
- package/dist/types/interface/personal-record.interface.js +2 -0
- package/dist/types/interface/template-snapshot.interface.d.ts +36 -0
- package/dist/types/interface/template-snapshot.interface.js +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/utils/workout-template.utils.d.ts +51 -0
- package/dist/utils/workout-template.utils.js +318 -0
- package/package.json +47 -51
package/package.json
CHANGED
|
@@ -1,51 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abyss-project/training",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Core package to interact with Abyss-Training",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"sequelize-cli": "^6.2.0",
|
|
49
|
-
"typescript": "5.4.2"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abyss-project/training",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "Core package to interact with Abyss-Training",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"keywords": [],
|
|
8
|
+
"author": "scylla",
|
|
9
|
+
"license": "ISC",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://gitlab.com/abyss-group/abyss-training"
|
|
12
|
+
},
|
|
13
|
+
"homepage": "https://gitlab.com/abyss-group/abyss-training",
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"axios": "^1.2.2",
|
|
16
|
+
"axios-retry": "^3.5.0",
|
|
17
|
+
"core-js": "^3.37.1",
|
|
18
|
+
"dayjs": "^1.10.8",
|
|
19
|
+
"form-data": "^4.0.0",
|
|
20
|
+
"uuid": "^9.0.0"
|
|
21
|
+
},
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"@types/express-serve-static-core": "^4.17.31",
|
|
24
|
+
"@types/node": "^20.11.0",
|
|
25
|
+
"@types/uuid": "^9.0.0",
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "6.21.0",
|
|
27
|
+
"@typescript-eslint/parser": "7.3.1",
|
|
28
|
+
"eslint": "^7.28.0",
|
|
29
|
+
"eslint-config-prettier": "^8.3.0",
|
|
30
|
+
"eslint-config-standard": "^16.0.3",
|
|
31
|
+
"eslint-plugin-filenames-simple": "^0.7.0",
|
|
32
|
+
"eslint-plugin-import": "^2.23.4",
|
|
33
|
+
"eslint-plugin-node": "^11.1.0",
|
|
34
|
+
"eslint-plugin-prettier": "^3.4.0",
|
|
35
|
+
"eslint-plugin-promise": "^5.1.0",
|
|
36
|
+
"prettier": "2.3.1",
|
|
37
|
+
"sequelize-cli": "^6.2.0",
|
|
38
|
+
"typescript": "5.4.2"
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"lint": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --fix",
|
|
42
|
+
"lint:check": "eslint \"{src,apps,libs,test,core}/**/*.ts\" --max-warnings 0",
|
|
43
|
+
"tsc": "tsc",
|
|
44
|
+
"build": "tsc",
|
|
45
|
+
"prepublish": "tsc"
|
|
46
|
+
}
|
|
47
|
+
}
|