@plus45/types 1.2.12 → 1.2.14
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/README.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# Plus45-Types
|
|
2
|
-
|
|
3
|
-
This is a type library so that common types may be shared and maintained between the frontend and backend. The types are stored in the `/types` directory.
|
|
4
|
-
|
|
5
|
-
# Publishing
|
|
6
|
-
|
|
7
|
-
After updating types, you can push the changes by first going to `package.json` and incrementing the version number. Then, in the `plus45-types` directory, run this command:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npm publish
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Make sure to push changes to the plus45-types directory to main when updating.
|
|
14
|
-
|
|
15
|
-
\*\*If you get an error that says "This command requires you to be logged in," you must be a member of the Plus45 organization. You can sign into your npm account by typing `npm login`, press enter, then follow the steps to log in. You should now be able to publish.
|
|
16
|
-
|
|
17
|
-
# Updating Packages
|
|
18
|
-
|
|
19
|
-
If a new update is published for the @plus45/types package, you must manually update and install the new packages. You can do so by entering this in the `root` directory (you may also filter this to the frontend or backend):
|
|
20
|
-
|
|
21
|
-
```bash
|
|
22
|
-
pnpm update-types
|
|
23
|
-
```
|
|
1
|
+
# Plus45-Types
|
|
2
|
+
|
|
3
|
+
This is a type library so that common types may be shared and maintained between the frontend and backend. The types are stored in the `/types` directory.
|
|
4
|
+
|
|
5
|
+
# Publishing
|
|
6
|
+
|
|
7
|
+
After updating types, you can push the changes by first going to `package.json` and incrementing the version number. Then, in the `plus45-types` directory, run this command:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm publish
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Make sure to push changes to the plus45-types directory to main when updating.
|
|
14
|
+
|
|
15
|
+
\*\*If you get an error that says "This command requires you to be logged in," you must be a member of the Plus45 organization. You can sign into your npm account by typing `npm login`, press enter, then follow the steps to log in. You should now be able to publish.
|
|
16
|
+
|
|
17
|
+
# Updating Packages
|
|
18
|
+
|
|
19
|
+
If a new update is published for the @plus45/types package, you must manually update and install the new packages. You can do so by entering this in the `root` directory (you may also filter this to the frontend or backend):
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pnpm update-types
|
|
23
|
+
```
|
package/dist/index.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ import { AuthorizationActionData, AuthType } from "./types/authorization/authori
|
|
|
14
14
|
import Exercise from "./types/exercise/exercise";
|
|
15
15
|
import { ResetPasswordAuthorizationData } from "./types/authorization/password_auth";
|
|
16
16
|
import { PublicUser } from "./types/user/public_user";
|
|
17
|
-
|
|
17
|
+
import { LastExerciseValue } from "./types/exercise/last_exercise";
|
|
18
|
+
export { type User, type UserSessionInfo, type AccessToken, type PublicUser, type Exercise, type CompletedExercise, type LastExerciseValue, type Workout, type WorkoutExecution, type Schedule, type AssignedSchedule, Post, BatchPost, PostMedia, AuthorizationActionData, ResetPasswordAuthorizationData, WeekLayout, ExerciseType, ExerciseUnit, ScheduleDay, ScheduleRecurrence, AuthType, WeightUnits, DistanceUnits, TimeUnits };
|