@taiger-common/core 1.1.6 → 1.1.7

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
@@ -18,4 +18,7 @@ npm version patch # or minor/major
18
18
  git push origin main --tags
19
19
 
20
20
  # Publish to npm
21
- npm publish
21
+ npm publish
22
+
23
+ # Concat command for powershell (please modify the commit message)
24
+ git add .; git commit -m "fix: update"; git push origin main; npm run build; npm version patch; git push origin main --tags; npm publish
@@ -10,8 +10,10 @@ export declare const is_TaiGer_Student: (user: IUser) => boolean;
10
10
  export declare const is_TaiGer_Guest: (user: IUser) => boolean;
11
11
  export declare const Bayerische_Formel: (high: number, low: number, my: number) => string;
12
12
  export declare const isNotArchiv: (user: IUser) => boolean;
13
- export declare const isProgramDecided: (application: IApplication) => boolean;
14
- export declare const isProgramSubmitted: (application: IApplication) => boolean;
15
- export declare const isProgramAdmitted: (application: IApplication) => boolean;
16
- export declare const isProgramRejected: (application: IApplication) => boolean;
17
- export declare const isProgramWithdraw: (application: IApplication) => boolean;
13
+ type ApplicationDecisionLike = Pick<IApplication, 'decided' | 'closed' | 'admission'>;
14
+ export declare const isProgramDecided: (application: ApplicationDecisionLike) => boolean;
15
+ export declare const isProgramSubmitted: (application: ApplicationDecisionLike) => boolean;
16
+ export declare const isProgramAdmitted: (application: ApplicationDecisionLike) => boolean;
17
+ export declare const isProgramRejected: (application: ApplicationDecisionLike) => boolean;
18
+ export declare const isProgramWithdraw: (application: ApplicationDecisionLike) => boolean;
19
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiger-common/core",
3
- "version": "1.1.6",
3
+ "version": "1.1.7",
4
4
  "description": "TaiGer core package",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -51,7 +51,7 @@
51
51
  "url": "https://github.com/LIYUNG/taiger-core/issues"
52
52
  },
53
53
  "peerDependencies": {
54
- "@taiger-common/model": "^1.0.48"
54
+ "@taiger-common/model": "^1.0.52"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@commitlint/cli": "^13.1.0",