@norskvideo/norsk-studio-aws 1.27.0-2025-10-29-e18a341b → 1.27.0-2025-10-30-686b5880

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.
@@ -92,7 +92,7 @@ class MediaLiveOutput extends base_nodes_1.CustomSinkNode {
92
92
  input = await client.send(new client_medialive_1.DescribeInputCommand({ InputId: this.cfg.inputId }));
93
93
  client.destroy();
94
94
  }
95
- catch (e) {
95
+ catch (_e) {
96
96
  console.error("Failed to retrieve input information from AWS, cannot start media node");
97
97
  return;
98
98
  }
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../src/output.medialive/runtime.ts"],"names":[],"mappings":";;;;;;AACA,kFAAmF;AAInF,sDAA4C;AAC5C,gEAAsM;AACtM,yEAAyE;AACzE,sEAA8F;AAE9F,wFAAuF;AACvF,gDAAwB;AAOxB,MAAqB,mBAAmB;IACtC,KAAK,CAAC,MAAM,CAAC,KAAY,EAAE,GAAoB,EAAE,EAA8B,EAAE,EAAE,OAAO,EAAmE;QAC3J,MAAM,IAAI,GAAG,MAAM,eAAe,CAAC,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;QAC/D,EAAE,CAAC,IAAI,CAAC,CAAC;IACX,CAAC;IAED,KAAK,CAAC,OAAO;QACX,OAAO,IAAA,+BAAe,EAAC,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,EACvD,EAAE,MAAM,EAAE,iBAAiB,EAAE,KAAK,EAAE,gBAAgB,EAAE,CACvD,CAAA;IACH,CAAC;IAED,MAAM;QACJ,MAAM,MAAM,GAAG,iBAAO,CAAC,MAAM,EAAE,CAAC;QAEhC,MAAM,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE;YAClC,KAAK,CAAC,KAAK,IAAI,EAAE;gBACf,IAAI,QAAQ,GAAqB,EAAE,CA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CAAC,CAAC;YAC3F,OAAO;QACT,CAAC;QAED,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC,IAAI,CAAC,IAAI,gDAA0B,CAAC,EAAE,SAAS,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC;QAC7G,MAAM,GAAG,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG,CAAA;QAE7C,IAAI,CAAC,GAAG,EAAE,CAAC;YACT,IAAA,oBAAU,EAAC,6DAA6D,CAAC,CAAC;YAC1E,OAAO;QACT,CAAC;QACD,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,EAAE,CAAC,CAAA;IACvD,CAAC;IAEQ,KAAK,CAAC,KAAK;QAClB,MAAM,KAAK,CAAC,KAAK,EAAE,CAAC;IACtB,CAAC;CACF;AAzFD,0CAyFC"}
package/package.json CHANGED
@@ -1,18 +1,144 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-studio-aws",
3
- "version": "1.27.0-2025-10-29-e18a341b",
3
+ "version": "1.27.0-2025-10-30-686b5880",
4
4
  "description": "",
5
5
  "scripts": {
6
- "clean": "rm -rf lib client build && make clean",
7
- "types": "make -j 8",
8
- "build": "npm run types && npx studio-wrap-infos src/ && npx npm-run-all build:* && rm -rf build",
9
- "build:server": "npx tsc",
10
- "build:client": "npx tsc -p tsconfig-client.json && npx studio-bundle build/info.js client/info.js",
11
- "build:copy-css": "rsync --mkpath -v -r --include '*/' --include '*.css' --exclude '*' src/ client/",
12
- "build:types": "../../scripts/copy-flattened-yaml.sh",
13
- "build:tailwind": "npx tailwindcss -i src/shared/tailwind.css -o client/style.css",
14
- "build:eslint": "npx eslint src",
15
- "test": "echo no tests here yet"
6
+ "clean": "rm -rf lib client build .wireit && make clean",
7
+ "types": "wireit",
8
+ "wrap-infos": "wireit",
9
+ "build": "wireit",
10
+ "build:server": "wireit",
11
+ "build:client": "wireit",
12
+ "build:copy-css": "wireit",
13
+ "build:types": "wireit",
14
+ "build:tailwind": "wireit",
15
+ "test": "echo no tests here yet",
16
+ "lint": "wireit",
17
+ "build:no-lint": "wireit"
18
+ },
19
+ "wireit": {
20
+ "types": {
21
+ "command": "make -j 8",
22
+ "files": [
23
+ "src/**/types.source.yaml",
24
+ "src/shared/*.source.yaml",
25
+ "Makefile"
26
+ ],
27
+ "output": [
28
+ "src/**/_gen/**"
29
+ ],
30
+ "dependencies": [
31
+ "../core:types"
32
+ ]
33
+ },
34
+ "wrap-infos": {
35
+ "command": "npx studio-wrap-infos src/",
36
+ "files": [
37
+ "src/**/info.ts"
38
+ ],
39
+ "output": [
40
+ "build/info.js"
41
+ ],
42
+ "dependencies": [
43
+ "types"
44
+ ]
45
+ },
46
+ "build-deps": {
47
+ "dependencies": [
48
+ "wrap-infos",
49
+ "../core:build:no-lint"
50
+ ]
51
+ },
52
+ "build": {
53
+ "dependencies": [
54
+ "lint",
55
+ "build:no-lint"
56
+ ]
57
+ },
58
+ "build:server": {
59
+ "command": "npx tsc",
60
+ "files": [
61
+ "src/**/*.ts",
62
+ "tsconfig.json"
63
+ ],
64
+ "output": [
65
+ "lib/**"
66
+ ],
67
+ "dependencies": [
68
+ "build-deps"
69
+ ]
70
+ },
71
+ "build:client": {
72
+ "command": "npx tsc -p tsconfig-client.json && npx studio-bundle build/info.js client/info.js",
73
+ "files": [
74
+ "src/**/*.{ts,tsx}",
75
+ "tsconfig-client.json",
76
+ "build/info.js"
77
+ ],
78
+ "output": [
79
+ "build/**",
80
+ "client/info.js"
81
+ ],
82
+ "dependencies": [
83
+ "build-deps"
84
+ ]
85
+ },
86
+ "build:copy-css": {
87
+ "command": "rsync --mkpath -v -r --include '*/' --include '*.css' --exclude '*' src/ client/",
88
+ "files": [
89
+ "src/**/*.css"
90
+ ],
91
+ "output": [
92
+ "client/**/*.css"
93
+ ]
94
+ },
95
+ "build:types": {
96
+ "command": "../../scripts/copy-flattened-yaml.sh",
97
+ "files": [
98
+ "../../scripts/copy-flattened-yaml.sh",
99
+ "src/**/_gen/*.yaml"
100
+ ],
101
+ "output": [
102
+ "client/**/*.yaml",
103
+ "lib/**/types.yaml"
104
+ ],
105
+ "dependencies": [
106
+ "types"
107
+ ]
108
+ },
109
+ "build:tailwind": {
110
+ "command": "npx tailwindcss -i src/shared/tailwind.css -o client/style.css",
111
+ "files": [
112
+ "src/shared/tailwind.css",
113
+ "tailwind.config.js"
114
+ ],
115
+ "output": [
116
+ "client/style.css"
117
+ ],
118
+ "dependencies": [
119
+ "build:copy-css"
120
+ ]
121
+ },
122
+ "lint": {
123
+ "command": "npx eslint --concurrency=auto src",
124
+ "files": [
125
+ "src/**/*.{ts,tsx,js,jsx}",
126
+ "eslint.config.js"
127
+ ],
128
+ "output": [],
129
+ "dependencies": [
130
+ "types"
131
+ ]
132
+ },
133
+ "build:no-lint": {
134
+ "dependencies": [
135
+ "build:server",
136
+ "build:client",
137
+ "build:copy-css",
138
+ "build:types",
139
+ "build:tailwind"
140
+ ]
141
+ }
16
142
  },
17
143
  "files": [
18
144
  "client/*",
@@ -27,8 +153,8 @@
27
153
  "@aws-sdk/client-mediapackage": "^3.499.0",
28
154
  "@aws-sdk/client-s3": "^3.614.0",
29
155
  "@aws-sdk/client-translate": "^3.535.0",
30
- "@norskvideo/norsk-sdk": "^1.0.402-2025-10-29-ef469b0b",
31
- "@norskvideo/norsk-studio": "1.27.0-2025-10-29-e18a341b",
156
+ "@norskvideo/norsk-sdk": "^1.0.402-2025-10-30-e1fb9adc",
157
+ "@norskvideo/norsk-studio": "1.27.0-2025-10-30-686b5880",
32
158
  "@react-icons/all-files": "^4.1.0",
33
159
  "express": "^4.18.2",
34
160
  "hls.js": "^1.5.8",
@@ -50,12 +176,11 @@
50
176
  "chai": "^4.3.10",
51
177
  "esbuild": "^0.20.2",
52
178
  "esbuild-plugin-external-global": "^1.0.1",
53
- "eslint": "^8.53.0",
179
+ "eslint": "^9.19.0",
54
180
  "hls-parser": "^0.10.8",
55
181
  "mocha": "^10.4.0",
56
- "npm-run-all": "^4.1.5",
57
182
  "openapi-typescript": "^7.10.1",
58
- "puppeteer": "^21.5.2",
183
+ "puppeteer": "^24.26.1",
59
184
  "tailwindcss": "^3.4.1",
60
185
  "typescript": "^5.4.5"
61
186
  }
@@ -1,169 +0,0 @@
1
- # This file has been generated, please edit types.source.yaml instead
2
-
3
- openapi: 3.0.0
4
- info:
5
- title: MediaConnect Input Component
6
- version: 1.0.0
7
- paths:
8
- /flows:
9
- get:
10
- summary: List MediaConnect flows
11
- description: Returns all available MediaConnect flows
12
- responses:
13
- "200":
14
- description: Successful operation
15
- content:
16
- application/json:
17
- schema:
18
- type: array
19
- items:
20
- type: object
21
- "500":
22
- description: AWS service error
23
- /flows/{arn}:
24
- get:
25
- summary: Get MediaConnect flow details
26
- description: Returns details for a specific MediaConnect flow
27
- parameters:
28
- - name: arn
29
- in: path
30
- required: true
31
- schema:
32
- type: string
33
- responses:
34
- "200":
35
- description: Successful operation
36
- content:
37
- application/json:
38
- schema:
39
- type: object
40
- "500":
41
- description: AWS service error
42
- components:
43
- schemas:
44
- MediaConnectConfig:
45
- type: object
46
- required:
47
- - id
48
- - displayName
49
- - flowArn
50
- - outputArn
51
- properties:
52
- id:
53
- type: string
54
- displayName:
55
- type: string
56
- flowArn:
57
- type: string
58
- description: ARN of the MediaConnect flow
59
- outputArn:
60
- type: string
61
- description: ARN of the output within the flow
62
- notes:
63
- type: string
64
- streamMappings:
65
- type: object
66
- description: Configuration for mapping input streams to output streams, an
67
- output stream will be created for this component for every entry in
68
- 'streams', using any filters provided to search for them in the
69
- input in a greedy fashion, in order.
70
- properties:
71
- streams:
72
- type: array
73
- items:
74
- type: object
75
- description: Individual stream mapping entry
76
- properties:
77
- outputKey:
78
- description: The most important property of this to set, is the sourceName, as
79
- this is how the stream will be distinguished when
80
- selecting it in the UI.
81
- type: object
82
- properties:
83
- streamId:
84
- type: integer
85
- programNumber:
86
- type: integer
87
- sourceName:
88
- type: string
89
- renditionName:
90
- type: string
91
- required:
92
- - streamId
93
- - programNumber
94
- - sourceName
95
- - renditionName
96
- displayName:
97
- type: string
98
- description: Optional display name for this stream, this will be present in the
99
- UI to distinguish this stream
100
- media:
101
- type: string
102
- enum:
103
- - video
104
- - audio
105
- - subtitle
106
- - ancillary
107
- - playlist
108
- description: Media type for stream mapping
109
- filters:
110
- type: array
111
- items:
112
- oneOf:
113
- - type: object
114
- properties:
115
- type:
116
- type: string
117
- enum:
118
- - sourceName
119
- - language
120
- - codec
121
- - renditionName
122
- value:
123
- type: string
124
- required:
125
- - type
126
- - value
127
- - type: object
128
- properties:
129
- type:
130
- type: string
131
- enum:
132
- - streamId
133
- - programNumber
134
- value:
135
- type: integer
136
- required:
137
- - type
138
- - value
139
- description: Optional conditions for stream selection, a stream must match all
140
- of these filters for it to be selected for use in this
141
- output
142
- missingBehaviour:
143
- type: string
144
- enum:
145
- - fill
146
- - skip
147
- description: Behavior when no matching stream is found
148
- required:
149
- - outputKey
150
- - media
151
- required:
152
- - streams
153
- MediaConnectState:
154
- type: object
155
- properties:
156
- connected:
157
- type: boolean
158
- description: Whether the MediaConnect input is connected
159
- flowStatus:
160
- type: string
161
- description: Current status of the MediaConnect flow
162
- Commands:
163
- type: object
164
- description: No commands currently supported
165
- additionalProperties: false
166
- Events:
167
- type: object
168
- description: No events currently supported
169
- additionalProperties: false
@@ -1,129 +0,0 @@
1
- # This file has been generated, please edit types.source.yaml instead
2
-
3
- openapi: 3.0.0
4
- info:
5
- title: MediaLive Output Component
6
- version: 1.0.0
7
- paths:
8
- /channels:
9
- get:
10
- summary: List MediaLive channels
11
- description: Returns all available MediaLive channels
12
- responses:
13
- "200":
14
- description: Successful operation
15
- content:
16
- application/json:
17
- schema:
18
- type: array
19
- items:
20
- type: object
21
- "500":
22
- description: AWS service error
23
- /channels/{channelId}:
24
- get:
25
- summary: Get MediaLive channel details
26
- description: Returns details for a specific MediaLive channel
27
- parameters:
28
- - name: channelId
29
- in: path
30
- required: true
31
- schema:
32
- type: string
33
- responses:
34
- "200":
35
- description: Successful operation
36
- content:
37
- application/json:
38
- schema:
39
- type: object
40
- "500":
41
- description: AWS service error
42
- /channels/{channelId}/inputs:
43
- get:
44
- summary: Get inputs for a MediaLive channel
45
- description: Returns all inputs for a specific MediaLive channel
46
- parameters:
47
- - name: channelId
48
- in: path
49
- required: true
50
- schema:
51
- type: string
52
- responses:
53
- "200":
54
- description: Successful operation
55
- content:
56
- application/json:
57
- schema:
58
- type: array
59
- items:
60
- type: object
61
- "500":
62
- description: AWS service error
63
- /endpoints:
64
- get:
65
- summary: List MediaPackage endpoints
66
- description: Returns all available MediaPackage origin endpoints
67
- responses:
68
- "200":
69
- description: Successful operation
70
- content:
71
- application/json:
72
- schema:
73
- type: array
74
- items:
75
- type: object
76
- "500":
77
- description: AWS service error
78
- components:
79
- schemas:
80
- MediaLiveConfig:
81
- type: object
82
- required:
83
- - id
84
- - displayName
85
- - channelId
86
- - inputId
87
- - destinationIndex
88
- properties:
89
- id:
90
- type: string
91
- displayName:
92
- type: string
93
- channelId:
94
- type: string
95
- description: The MediaLive channel ID to publish to
96
- inputId:
97
- type: string
98
- description: The ID of the input on that channel
99
- destinationIndex:
100
- type: number
101
- description: The index of the destination within that input for RTP details
102
- notes:
103
- type: string
104
- MediaLiveState:
105
- type: object
106
- properties:
107
- url:
108
- type: string
109
- description: The RTP endpoint URL for streaming
110
- Commands:
111
- type: object
112
- description: No commands currently supported
113
- additionalProperties: false
114
- Events:
115
- oneOf:
116
- - &a1
117
- type: object
118
- properties:
119
- type:
120
- type: string
121
- enum:
122
- - url-located
123
- url:
124
- type: string
125
- description: The located RTP endpoint URL
126
- required:
127
- - type
128
- - url
129
- UrlLocatedEvent: *a1
@@ -1,84 +0,0 @@
1
- # This file has been generated, please edit types.source.yaml instead
2
-
3
- openapi: 3.0.0
4
- info:
5
- title: AWS Transcribe Processor Component
6
- version: 1.0.0
7
- paths:
8
- /languages:
9
- get:
10
- summary: Get supported languages
11
- description: Returns supported languages for transcription and translation
12
- responses:
13
- "200":
14
- description: Successful operation
15
- content:
16
- application/json:
17
- schema: &a2
18
- type: object
19
- properties:
20
- translate:
21
- type: array
22
- items: &a1
23
- type: object
24
- properties:
25
- name:
26
- type: string
27
- description: Human-readable language name
28
- code:
29
- type: string
30
- description: Language code
31
- required:
32
- - name
33
- - code
34
- description: Available languages for translation
35
- transcribe:
36
- type: array
37
- items: *a1
38
- description: Available languages for transcription
39
- required:
40
- - translate
41
- - transcribe
42
- "500":
43
- description: AWS service error
44
- components:
45
- schemas:
46
- AwsTranscribeConfig:
47
- type: object
48
- required:
49
- - id
50
- - displayName
51
- - language
52
- - targetLanguage
53
- properties:
54
- id:
55
- type: string
56
- displayName:
57
- type: string
58
- language:
59
- type: string
60
- description: Source language code for transcription (from AWS Transcribe)
61
- targetLanguage:
62
- type: string
63
- description: Target language code for translation (from AWS Translate)
64
- notes:
65
- type: string
66
- AwsTranscribeState:
67
- type: object
68
- properties:
69
- transcribing:
70
- type: boolean
71
- description: Whether transcription is currently active
72
- translating:
73
- type: boolean
74
- description: Whether translation is currently active
75
- Commands:
76
- type: object
77
- description: No commands currently supported
78
- additionalProperties: false
79
- Events:
80
- type: object
81
- description: No events currently supported
82
- additionalProperties: false
83
- LanguageInfo: *a1
84
- LanguagesResult: *a2
@@ -1,46 +0,0 @@
1
- # This file has been generated, please edit types.source.yaml instead
2
-
3
- openapi: 3.0.0
4
- info:
5
- title: S3 Storage Component
6
- version: 1.0.0
7
- paths: {}
8
- components:
9
- schemas:
10
- S3Config:
11
- type: object
12
- required:
13
- - id
14
- - displayName
15
- - bucket
16
- - prefix
17
- properties:
18
- id:
19
- type: string
20
- description: Unique identifier for the storage configuration
21
- displayName:
22
- type: string
23
- description: Human-readable name for display
24
- bucket:
25
- type: string
26
- description: S3 bucket name for storage
27
- prefix:
28
- type: string
29
- description: Key prefix for objects in the bucket
30
- S3State:
31
- type: object
32
- properties:
33
- connected:
34
- type: boolean
35
- description: Whether the S3 connection is active
36
- bucketRegion:
37
- type: string
38
- description: AWS region where the bucket is located
39
- Commands:
40
- type: object
41
- description: No commands currently supported
42
- additionalProperties: false
43
- Events:
44
- type: object
45
- description: No events currently supported
46
- additionalProperties: false