Skip to content

Commit f4f8aa0

Browse files
authored
Merge pull request Sofie-Automation#1403 from bbc/upstream/live-status-gateway-api
feat: live status gateway type generation
2 parents 361ee51 + b3ee84e commit f4f8aa0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+2007
-780
lines changed

.github/workflows/audit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
- blueprints-integration
7979
- server-core-integration
8080
- shared-lib
81+
- live-status-gateway-api
8182
- playout-gateway
8283
- mos-gateway
8384
- live-status-gateway

.github/workflows/node.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ jobs:
446446
- openapi
447447
- live-status-gateway
448448
- webui
449+
- live-status-gateway-api
449450

450451
steps:
451452
- uses: actions/checkout@v4
@@ -490,6 +491,7 @@ jobs:
490491
- blueprints-integration
491492
- server-core-integration
492493
- shared-lib
494+
# - live-status-gateway-api # no tests yet
493495
- openapi
494496
node-version: [22.x]
495497
include:
@@ -573,10 +575,12 @@ jobs:
573575
CI: true
574576
- name: Run generator
575577
run: |
576-
cd packages/live-status-gateway
578+
cd packages/live-status-gateway-api
577579
578580
yarn gendocs
579581
yarn genserver
582+
583+
yarn generate-schema-types
580584
env:
581585
CI: true
582586
openapi-generation:

.github/workflows/prerelease-libs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
- blueprints-integration
1919
- server-core-integration
2020
- shared-lib
21+
- live-status-gateway-api
2122

2223
steps:
2324
- uses: actions/checkout@v4
@@ -55,6 +56,8 @@ jobs:
5556
- blueprints-integration
5657
- server-core-integration
5758
- shared-lib
59+
# - live-status-gateway-api # no tests yet
60+
- openapi
5861
node-version: [22.x]
5962

6063
steps:

.vscode/settings.json.default

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"packages/shared-lib",
1010
"packages/job-worker",
1111
"packages/openapi",
12+
"packages/live-status-gateway-api",
1213
"packages/live-status-gateway",
1314
"packages/webui"
1415
],
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/package.json b/package.json
2+
index 27333686efcd8abbe22f5f51f25c411c2541593d..4a435faae7e1a5de8cce767036fb4ce8e4bd7f1e 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -12,8 +12,7 @@
6+
"lint": "eslint lib",
7+
"test": "mocha --require ts-node/register 'lib/**/*.spec.ts'",
8+
"build": "rollup --config rollup.config.js",
9+
- "prepublishOnly": "npm run build",
10+
- "postinstall": "node -e \"require('fs').rmSync('dist', { recursive: true })\""
11+
+ "prepublishOnly": "npm run build"
12+
},
13+
"repository": "github:hyperjump-io/json-pointer",
14+
"keywords": [
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/package.json b/package.json
2+
index b096ad62306dd5a18b8750b5087e3363b2a377fd..33a88927bcc50a7d72ea3f1ea4f55bfb31764bce 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -15,8 +15,7 @@
6+
"lint": "eslint lib",
7+
"test": "mocha --require ts-node/register 'lib/**/*.spec.ts'",
8+
"build": "rollup --config rollup.config.js",
9+
- "prepublishOnly": "npm run build",
10+
- "postinstall": "node -e \"require('fs').rmSync('dist', { recursive: true })\""
11+
+ "prepublishOnly": "npm run build"
12+
},
13+
"repository": "github:hyperjump-io/json-schema-core",
14+
"keywords": [
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff --git a/package.json b/package.json
2+
index 84163d39aceca9a127cd07253a6880748bd70348..3b4ae6153884a7a715c987024edb8cf80414e389 100644
3+
--- a/package.json
4+
+++ b/package.json
5+
@@ -12,8 +12,7 @@
6+
"lint": "eslint lib",
7+
"test": "mocha --require ts-node/register 'lib/**/*.spec.ts'",
8+
"build": "rollup --config rollup.config.js",
9+
- "prepublishOnly": "npm run build",
10+
- "postinstall": "node -e \"require('fs').rmSync('dist', { recursive: true })\""
11+
+ "prepublishOnly": "npm run build"
12+
},
13+
"repository": "github:hyperjump-io/hyperjump-pact",
14+
"keywords": [
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../node_modules/@sofie-automation/code-standard-preset/eslint/main"
3+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
node_modules
2+
dist
3+
test
4+
src/**.js
5+
6+
/coverage
7+
/docs
8+
.nyc_output
9+
*.log
10+
11+
wallaby.conf.js
12+
13+
.DS_Store
14+
15+
server
16+
docs
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
package.json
2+
src/copy
3+
src/generated/*
4+
CHANGELOG.md

0 commit comments

Comments
 (0)