@norskvideo/norsk-studio-aws 1.27.0-2025-07-06-336ac6c6 → 1.27.0-2025-07-09-f9b24945

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.
@@ -5,5 +5,24 @@ export default function ({ defineComponent, singleAvStreamMapping, singleAvStrea
5
5
  flowArn: string;
6
6
  outputArn: string;
7
7
  notes?: string;
8
- streamMappings?: import("./types").components["schemas"]["StreamMappingConfiguration"];
8
+ streamMappings?: {
9
+ streams: {
10
+ outputKey: {
11
+ streamId: number;
12
+ programNumber: number;
13
+ sourceName: string;
14
+ renditionName: string;
15
+ };
16
+ displayName?: string;
17
+ media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
18
+ filters?: ({
19
+ type: "sourceName" | "language" | "codec" | "renditionName";
20
+ value: string;
21
+ } | {
22
+ type: "streamId" | "programNumber";
23
+ value: number;
24
+ })[];
25
+ missingBehaviour?: "fill" | "skip";
26
+ }[];
27
+ };
9
28
  }, object, object, object>;
@@ -91,7 +91,26 @@ export interface components {
91
91
  flowArn: string;
92
92
  outputArn: string;
93
93
  notes?: string;
94
- streamMappings?: components["schemas"]["StreamMappingConfiguration"];
94
+ streamMappings?: {
95
+ streams: {
96
+ outputKey: {
97
+ streamId: number;
98
+ programNumber: number;
99
+ sourceName: string;
100
+ renditionName: string;
101
+ };
102
+ displayName?: string;
103
+ media: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
104
+ filters?: ({
105
+ type: "sourceName" | "language" | "codec" | "renditionName";
106
+ value: string;
107
+ } | {
108
+ type: "streamId" | "programNumber";
109
+ value: number;
110
+ })[];
111
+ missingBehaviour?: "fill" | "skip";
112
+ }[];
113
+ };
95
114
  };
96
115
  MediaConnectState: {
97
116
  connected?: boolean;
@@ -99,30 +118,6 @@ export interface components {
99
118
  };
100
119
  Commands: Record<string, never>;
101
120
  Events: Record<string, never>;
102
- StreamKey: {
103
- streamId: number;
104
- programNumber: number;
105
- sourceName: string;
106
- renditionName: string;
107
- };
108
- MediaType: "video" | "audio" | "subtitle" | "ancillary" | "playlist";
109
- StreamMappingFilter: {
110
- type: "sourceName" | "language" | "codec" | "renditionName";
111
- value: string;
112
- } | {
113
- type: "streamId" | "programNumber";
114
- value: number;
115
- };
116
- StreamMappingEntry: {
117
- outputKey: components["schemas"]["StreamKey"];
118
- displayName?: string;
119
- media: components["schemas"]["MediaType"];
120
- filters?: components["schemas"]["StreamMappingFilter"][];
121
- missingBehaviour?: "fill" | "skip";
122
- };
123
- StreamMappingConfiguration: {
124
- streams: components["schemas"]["StreamMappingEntry"][];
125
- };
126
121
  };
127
122
  responses: never;
128
123
  parameters: never;
@@ -1,15 +1,16 @@
1
+ # This file has been generated, please edit types.source.yaml instead
2
+
1
3
  openapi: 3.0.0
2
4
  info:
3
5
  title: MediaConnect Input Component
4
6
  version: 1.0.0
5
-
6
7
  paths:
7
8
  /flows:
8
9
  get:
9
10
  summary: List MediaConnect flows
10
11
  description: Returns all available MediaConnect flows
11
12
  responses:
12
- 200:
13
+ "200":
13
14
  description: Successful operation
14
15
  content:
15
16
  application/json:
@@ -17,10 +18,8 @@ paths:
17
18
  type: array
18
19
  items:
19
20
  type: object
20
- # AWS SDK ListedFlow type
21
- 500:
21
+ "500":
22
22
  description: AWS service error
23
-
24
23
  /flows/{arn}:
25
24
  get:
26
25
  summary: Get MediaConnect flow details
@@ -32,16 +31,14 @@ paths:
32
31
  schema:
33
32
  type: string
34
33
  responses:
35
- 200:
34
+ "200":
36
35
  description: Successful operation
37
36
  content:
38
37
  application/json:
39
38
  schema:
40
39
  type: object
41
- # AWS SDK Flow type
42
- 500:
40
+ "500":
43
41
  description: AWS service error
44
-
45
42
  components:
46
43
  schemas:
47
44
  MediaConnectConfig:
@@ -65,8 +62,85 @@ components:
65
62
  notes:
66
63
  type: string
67
64
  streamMappings:
68
- $ref: '../../../core/src/types/base.yml#/components/schemas/StreamMappingConfiguration'
69
-
65
+ type: object
66
+ description: Configuration for mapping input streams to output streams
67
+ properties:
68
+ streams:
69
+ type: array
70
+ items:
71
+ type: object
72
+ description: Individual stream mapping entry
73
+ properties:
74
+ outputKey:
75
+ type: object
76
+ properties:
77
+ streamId:
78
+ type: integer
79
+ programNumber:
80
+ type: integer
81
+ sourceName:
82
+ type: string
83
+ renditionName:
84
+ type: string
85
+ required:
86
+ - streamId
87
+ - programNumber
88
+ - sourceName
89
+ - renditionName
90
+ displayName:
91
+ type: string
92
+ description: Optional display name for this stream
93
+ media:
94
+ type: string
95
+ enum:
96
+ - video
97
+ - audio
98
+ - subtitle
99
+ - ancillary
100
+ - playlist
101
+ description: Media type for stream mapping
102
+ filters:
103
+ type: array
104
+ items:
105
+ oneOf:
106
+ - type: object
107
+ properties:
108
+ type:
109
+ type: string
110
+ enum:
111
+ - sourceName
112
+ - language
113
+ - codec
114
+ - renditionName
115
+ value:
116
+ type: string
117
+ required:
118
+ - type
119
+ - value
120
+ - type: object
121
+ properties:
122
+ type:
123
+ type: string
124
+ enum:
125
+ - streamId
126
+ - programNumber
127
+ value:
128
+ type: integer
129
+ required:
130
+ - type
131
+ - value
132
+ description: Optional conditions for stream selection
133
+ missingBehaviour:
134
+ type: string
135
+ enum:
136
+ - fill
137
+ - skip
138
+ description: Behavior when no matching stream is found
139
+ required:
140
+ - outputKey
141
+ - media
142
+ required:
143
+ - streams
70
144
  MediaConnectState:
71
145
  type: object
72
146
  properties:
@@ -76,13 +150,11 @@ components:
76
150
  flowStatus:
77
151
  type: string
78
152
  description: Current status of the MediaConnect flow
79
-
80
153
  Commands:
81
154
  type: object
82
155
  description: No commands currently supported
83
156
  additionalProperties: false
84
-
85
157
  Events:
86
158
  type: object
87
159
  description: No events currently supported
88
- additionalProperties: false
160
+ additionalProperties: false
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@norskvideo/norsk-studio-aws",
3
- "version": "1.27.0-2025-07-06-336ac6c6",
3
+ "version": "1.27.0-2025-07-09-f9b24945",
4
4
  "description": "",
5
5
  "scripts": {
6
- "clean": "rm -rf lib client build",
7
- "types": "make",
6
+ "clean": "rm -rf lib client build && make clean",
7
+ "types": "make -j 8",
8
8
  "build": "npm run types && npx studio-wrap-infos src/ && npx npm-run-all build:* && rm -rf build",
9
9
  "build:server": "npx tsc",
10
10
  "build:client": "npx tsc -p tsconfig-client.json && npx studio-bundle build/info.js client/info.js",
@@ -27,8 +27,8 @@
27
27
  "@aws-sdk/client-mediapackage": "^3.499.0",
28
28
  "@aws-sdk/client-s3": "^3.614.0",
29
29
  "@aws-sdk/client-translate": "^3.535.0",
30
- "@norskvideo/norsk-sdk": "^1.0.402-2025-07-06-739d8f7d",
31
- "@norskvideo/norsk-studio": "1.27.0-2025-07-06-336ac6c6",
30
+ "@norskvideo/norsk-sdk": "^1.0.402-2025-07-09-3593ca7e",
31
+ "@norskvideo/norsk-studio": "1.27.0-2025-07-09-f9b24945",
32
32
  "JSX": "^1.1.0",
33
33
  "node-fetch": "^2.7.0",
34
34
  "openapi-types": "^12.1.3",