@plus45/types 1.2.12 → 1.2.13

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
+ ```
@@ -7,6 +7,7 @@ export type Post = {
7
7
  like_count: number;
8
8
  search_vector?: string;
9
9
  image_urls: string[];
10
+ workout_ids: string[];
10
11
  };
11
12
  export type BatchPost = {
12
13
  isFollowing: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [