Skip to content

Commit 62bf867

Browse files
Merge branch 'main' into decompose-cockpit
2 parents fb7e651 + 7e91727 commit 62bf867

17 files changed

Lines changed: 232 additions & 89 deletions

File tree

.github/workflows/pr-gate.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: PR Gate
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
lint:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: '20'
18+
cache: 'npm'
19+
20+
- run: npm ci
21+
22+
- run: npm run lint
23+
24+
test:
25+
runs-on: ubuntu-latest
26+
permissions:
27+
contents: read
28+
steps:
29+
- uses: actions/checkout@v4
30+
31+
- uses: actions/setup-node@v4
32+
with:
33+
node-version: '20'
34+
cache: 'npm'
35+
36+
- run: npm ci
37+
38+
- run: npm run build
39+
40+
- run: npm test
41+
42+
build:
43+
runs-on: ubuntu-latest
44+
permissions:
45+
contents: read
46+
steps:
47+
- uses: actions/checkout@v4
48+
49+
- uses: actions/setup-node@v4
50+
with:
51+
node-version: '20'
52+
cache: 'npm'
53+
54+
- run: npm ci
55+
56+
- run: npm run build
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export interface GetArchitectureRequest {}
1+
export type GetArchitectureRequest = Record<string, never>;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export interface GetAudiencePainsRequest {}
1+
export type GetAudiencePainsRequest = Record<string, never>;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export interface ListAudiencesRequest {}
1+
export type ListAudiencesRequest = Record<string, never>;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export interface ViewWorkerRequest {}
1+
export type ViewWorkerRequest = Record<string, never>;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export interface GetAllInvariantsRequest {}
1+
export type GetAllInvariantsRequest = Record<string, never>;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export interface SearchIndexRebuildRequest {}
1+
export type SearchIndexRebuildRequest = Record<string, never>;

src/application/context/sessions/start/SessionStartRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
* Currently empty as session start requires no parameters.
55
* Exists to follow the controller Request/Response convention.
66
*/
7-
export interface SessionStartRequest {}
7+
export type SessionStartRequest = Record<string, never>;
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
export interface StartSessionCommand {
2-
// No properties - session start is parameter-less
3-
// Focus is captured at session end as a summary of what was accomplished
4-
}
1+
// No properties - session start is parameter-less
2+
// Focus is captured at session end as a summary of what was accomplished
3+
export type StartSessionCommand = Record<string, never>;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export interface GetTelemetryStatusRequest {}
1+
export type GetTelemetryStatusRequest = Record<string, never>;

0 commit comments

Comments
 (0)