@unitedstatespowersquadrons/components 1.3.9-1 → 1.3.10

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.
Files changed (2) hide show
  1. package/Badges/types.ts +19 -2
  2. package/package.json +1 -1
package/Badges/types.ts CHANGED
@@ -17,15 +17,32 @@ export type CheckConclusion =
17
17
  | "stale";
18
18
 
19
19
  export interface CheckSuite {
20
+ id: number;
20
21
  headBranch: string;
21
- headAha?: string;
22
+ headCommit: Commit;
23
+ headSha?: string;
22
24
  status: CheckStatus;
23
25
  conclusion?: CheckConclusion;
24
- updatedAt?: string;
26
+ updatedAt?: Date;
25
27
  skipCi: boolean;
28
+ latestCheckRunsCount: number;
26
29
  checkRuns?: CheckRun[];
27
30
  }
28
31
 
32
+ interface Commit {
33
+ id: string;
34
+ treeId: string;
35
+ message: string;
36
+ timestamp: string;
37
+ author: Person;
38
+ committer: Person;
39
+ }
40
+
41
+ interface Person {
42
+ name: string;
43
+ email: string;
44
+ }
45
+
29
46
  export interface CheckRun {
30
47
  name: string;
31
48
  status: CheckStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unitedstatespowersquadrons/components",
3
- "version": "1.3.9-1",
3
+ "version": "1.3.10",
4
4
  "description": "USPS shared React components library",
5
5
  "main": "index.tsx",
6
6
  "scripts": {