@pocketprep/types 1.7.4 → 1.7.6

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.
@@ -0,0 +1,24 @@
1
+ # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
+
4
+ name: Publish to NPM
5
+
6
+ on:
7
+ push:
8
+ branches:
9
+ - master
10
+
11
+ jobs:
12
+ build-and-publish:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - uses: actions/setup-node@v2
17
+ with:
18
+ node-version: 16.14.0
19
+ registry-url: https://registry.npmjs.org/
20
+ - run: npm ci
21
+ - run: npm run lint
22
+ - run: npm publish
23
+ env:
24
+ NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
package/Study/Class.d.ts CHANGED
@@ -239,6 +239,7 @@ export type UserWebConfig = {
239
239
  hasSeenOnboarding?: boolean
240
240
  hasSeenWelcomeModal?: boolean
241
241
  hasSeenProductAnnouncementModal?: boolean
242
+ lastActiveApp?: 'study' | 'teach'
242
243
  }
243
244
 
244
245
  export type UserQuizSettings = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.7.4",
3
+ "version": "1.7.6",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "main": "",
6
6
  "repository": {
@@ -16,7 +16,8 @@
16
16
  },
17
17
  "scripts": {
18
18
  "lint": "eslint '**/*.ts'",
19
- "types-copy": "pwd | pbcopy"
19
+ "types-copy": "pwd | pbcopy",
20
+ "patch": "npm version patch --no-git-tag-version"
20
21
  },
21
22
  "homepage": "https://github.com/Pocket-Prep/types#readme",
22
23
  "dependencies": {