@norskvideo/norsk-studio-aws 1.27.0-2025-09-29-e873017d → 1.27.0-2025-10-01-b3ce62aa
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.
- package/lib/input.mediaconnect/_gen/types.js.map +1 -0
- package/lib/input.mediaconnect/runtime.d.ts +1 -1
- package/lib/output.medialive/{types.d.ts → _gen/types.d.ts} +4 -1
- package/lib/output.medialive/_gen/types.js.map +1 -0
- package/lib/output.medialive/runtime.d.ts +1 -1
- package/lib/output.medialive/types.yaml +24 -34
- package/lib/processor.aws-transcribe/{types.d.ts → _gen/types.d.ts} +18 -3
- package/lib/processor.aws-transcribe/_gen/types.js.map +1 -0
- package/lib/processor.aws-transcribe/runtime.d.ts +1 -1
- package/lib/processor.aws-transcribe/types.yaml +31 -39
- package/lib/{output.medialive → storage.s3/_gen}/types.js.map +1 -1
- package/lib/storage.s3/storage.d.ts +1 -1
- package/lib/storage.s3/types.yaml +4 -7
- package/package.json +4 -4
- package/lib/input.mediaconnect/types.js.map +0 -1
- package/lib/processor.aws-transcribe/types.js.map +0 -1
- package/lib/storage.s3/types.js.map +0 -1
- /package/lib/input.mediaconnect/{types.d.ts → _gen/types.d.ts} +0 -0
- /package/lib/input.mediaconnect/{types.js → _gen/types.js} +0 -0
- /package/lib/output.medialive/{types.js → _gen/types.js} +0 -0
- /package/lib/processor.aws-transcribe/{types.js → _gen/types.js} +0 -0
- /package/lib/storage.s3/{types.d.ts → _gen/types.d.ts} +0 -0
- /package/lib/storage.s3/{types.js → _gen/types.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/input.mediaconnect/_gen/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Norsk } from '@norskvideo/norsk-sdk';
|
|
2
2
|
import { OnCreated, ServerComponentDefinition, ServerComponentSchemas, StudioRuntime } from '@norskvideo/norsk-studio/lib/extension/runtime-types';
|
|
3
3
|
import { CustomSourceNode } from '@norskvideo/norsk-studio/lib/extension/base-nodes';
|
|
4
|
-
import { components } from './types';
|
|
4
|
+
import { components } from './_gen/types';
|
|
5
5
|
export type MediaConnectConfig = components['schemas']['MediaConnectConfig'];
|
|
6
6
|
export type MediaConnectState = components['schemas']['MediaConnectState'];
|
|
7
7
|
export type MediaConnectCommand = components['schemas']['Commands'];
|
|
@@ -179,7 +179,10 @@ export interface components {
|
|
|
179
179
|
url?: string;
|
|
180
180
|
};
|
|
181
181
|
Commands: Record<string, never>;
|
|
182
|
-
Events:
|
|
182
|
+
Events: {
|
|
183
|
+
type: "url-located";
|
|
184
|
+
url: string;
|
|
185
|
+
};
|
|
183
186
|
UrlLocatedEvent: {
|
|
184
187
|
type: "url-located";
|
|
185
188
|
url: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/output.medialive/_gen/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Norsk } from '@norskvideo/norsk-sdk';
|
|
2
2
|
import { CustomSinkNode } from '@norskvideo/norsk-studio/lib/extension/base-nodes';
|
|
3
3
|
import { OnCreated, RuntimeUpdates, ServerComponentDefinition, ServerComponentSchemas, StudioRuntime } from '@norskvideo/norsk-studio/lib/extension/runtime-types';
|
|
4
|
-
import { components } from './types';
|
|
4
|
+
import { components } from './_gen/types';
|
|
5
5
|
export type MediaLiveConfig = components['schemas']['MediaLiveConfig'];
|
|
6
6
|
export type MediaLiveState = components['schemas']['MediaLiveState'];
|
|
7
7
|
export type MediaLiveEvent = components['schemas']['Events'];
|
|
@@ -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: MediaLive Output Component
|
|
4
6
|
version: 1.0.0
|
|
5
|
-
|
|
6
7
|
paths:
|
|
7
8
|
/channels:
|
|
8
9
|
get:
|
|
9
10
|
summary: List MediaLive channels
|
|
10
11
|
description: Returns all available MediaLive channels
|
|
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
|
-
|
|
21
|
-
500:
|
|
21
|
+
"500":
|
|
22
22
|
description: AWS service error
|
|
23
|
-
|
|
24
23
|
/channels/{channelId}:
|
|
25
24
|
get:
|
|
26
25
|
summary: Get MediaLive channel 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
|
-
|
|
42
|
-
500:
|
|
40
|
+
"500":
|
|
43
41
|
description: AWS service error
|
|
44
|
-
|
|
45
42
|
/channels/{channelId}/inputs:
|
|
46
43
|
get:
|
|
47
44
|
summary: Get inputs for a MediaLive channel
|
|
@@ -53,7 +50,7 @@ paths:
|
|
|
53
50
|
schema:
|
|
54
51
|
type: string
|
|
55
52
|
responses:
|
|
56
|
-
200:
|
|
53
|
+
"200":
|
|
57
54
|
description: Successful operation
|
|
58
55
|
content:
|
|
59
56
|
application/json:
|
|
@@ -61,16 +58,14 @@ paths:
|
|
|
61
58
|
type: array
|
|
62
59
|
items:
|
|
63
60
|
type: object
|
|
64
|
-
|
|
65
|
-
500:
|
|
61
|
+
"500":
|
|
66
62
|
description: AWS service error
|
|
67
|
-
|
|
68
63
|
/endpoints:
|
|
69
64
|
get:
|
|
70
65
|
summary: List MediaPackage endpoints
|
|
71
66
|
description: Returns all available MediaPackage origin endpoints
|
|
72
67
|
responses:
|
|
73
|
-
200:
|
|
68
|
+
"200":
|
|
74
69
|
description: Successful operation
|
|
75
70
|
content:
|
|
76
71
|
application/json:
|
|
@@ -78,10 +73,8 @@ paths:
|
|
|
78
73
|
type: array
|
|
79
74
|
items:
|
|
80
75
|
type: object
|
|
81
|
-
|
|
82
|
-
500:
|
|
76
|
+
"500":
|
|
83
77
|
description: AWS service error
|
|
84
|
-
|
|
85
78
|
components:
|
|
86
79
|
schemas:
|
|
87
80
|
MediaLiveConfig:
|
|
@@ -108,32 +101,29 @@ components:
|
|
|
108
101
|
description: The index of the destination within that input for RTP details
|
|
109
102
|
notes:
|
|
110
103
|
type: string
|
|
111
|
-
|
|
112
104
|
MediaLiveState:
|
|
113
105
|
type: object
|
|
114
106
|
properties:
|
|
115
107
|
url:
|
|
116
108
|
type: string
|
|
117
109
|
description: The RTP endpoint URL for streaming
|
|
118
|
-
|
|
119
110
|
Commands:
|
|
120
111
|
type: object
|
|
121
112
|
description: No commands currently supported
|
|
122
113
|
additionalProperties: false
|
|
123
|
-
|
|
124
114
|
Events:
|
|
125
115
|
oneOf:
|
|
126
|
-
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
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
|
|
@@ -20,7 +20,16 @@ export interface paths {
|
|
|
20
20
|
[name: string]: unknown;
|
|
21
21
|
};
|
|
22
22
|
content: {
|
|
23
|
-
"application/json":
|
|
23
|
+
"application/json": {
|
|
24
|
+
translate: {
|
|
25
|
+
name: string;
|
|
26
|
+
code: string;
|
|
27
|
+
}[];
|
|
28
|
+
transcribe: {
|
|
29
|
+
name: string;
|
|
30
|
+
code: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
24
33
|
};
|
|
25
34
|
};
|
|
26
35
|
500: {
|
|
@@ -61,8 +70,14 @@ export interface components {
|
|
|
61
70
|
code: string;
|
|
62
71
|
};
|
|
63
72
|
LanguagesResult: {
|
|
64
|
-
translate:
|
|
65
|
-
|
|
73
|
+
translate: {
|
|
74
|
+
name: string;
|
|
75
|
+
code: string;
|
|
76
|
+
}[];
|
|
77
|
+
transcribe: {
|
|
78
|
+
name: string;
|
|
79
|
+
code: string;
|
|
80
|
+
}[];
|
|
66
81
|
};
|
|
67
82
|
};
|
|
68
83
|
responses: never;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/processor.aws-transcribe/_gen/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AudioTranscribeAwsNode, Norsk, StreamKeyOverrideNode, StreamMetadataOverrideNode, AudioTranscribeAwsSettings as SdkSettings, SubtitleTranslateAwsSettings as TranslateSdkSettings, SubtitleTranslateAwsNode } from '@norskvideo/norsk-sdk';
|
|
2
2
|
import { CreatedMediaNode, OnCreated, RelatedMediaNodes, ServerComponentDefinition, ServerComponentSchemas, StudioComponentInputStream } from '@norskvideo/norsk-studio/lib/extension/runtime-types';
|
|
3
|
-
import { components } from './types';
|
|
3
|
+
import { components } from './_gen/types';
|
|
4
4
|
export type AwsTranscribeConfig = components['schemas']['AwsTranscribeConfig'] & Pick<SdkSettings, 'language'> & Pick<TranslateSdkSettings, 'targetLanguage'>;
|
|
5
5
|
export type AwsTranscribeState = components['schemas']['AwsTranscribeState'];
|
|
6
6
|
export type AwsTranscribeCommand = components['schemas']['Commands'];
|
|
@@ -1,23 +1,46 @@
|
|
|
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: AWS Transcribe Processor Component
|
|
4
6
|
version: 1.0.0
|
|
5
|
-
|
|
6
7
|
paths:
|
|
7
8
|
/languages:
|
|
8
9
|
get:
|
|
9
10
|
summary: Get supported languages
|
|
10
11
|
description: Returns supported languages for transcription and translation
|
|
11
12
|
responses:
|
|
12
|
-
200:
|
|
13
|
+
"200":
|
|
13
14
|
description: Successful operation
|
|
14
15
|
content:
|
|
15
16
|
application/json:
|
|
16
|
-
schema:
|
|
17
|
-
|
|
18
|
-
|
|
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":
|
|
19
43
|
description: AWS service error
|
|
20
|
-
|
|
21
44
|
components:
|
|
22
45
|
schemas:
|
|
23
46
|
AwsTranscribeConfig:
|
|
@@ -40,7 +63,6 @@ components:
|
|
|
40
63
|
description: Target language code for translation (from AWS Translate)
|
|
41
64
|
notes:
|
|
42
65
|
type: string
|
|
43
|
-
|
|
44
66
|
AwsTranscribeState:
|
|
45
67
|
type: object
|
|
46
68
|
properties:
|
|
@@ -50,43 +72,13 @@ components:
|
|
|
50
72
|
translating:
|
|
51
73
|
type: boolean
|
|
52
74
|
description: Whether translation is currently active
|
|
53
|
-
|
|
54
75
|
Commands:
|
|
55
76
|
type: object
|
|
56
77
|
description: No commands currently supported
|
|
57
78
|
additionalProperties: false
|
|
58
|
-
|
|
59
79
|
Events:
|
|
60
80
|
type: object
|
|
61
81
|
description: No events currently supported
|
|
62
82
|
additionalProperties: false
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
type: object
|
|
66
|
-
properties:
|
|
67
|
-
name:
|
|
68
|
-
type: string
|
|
69
|
-
description: Human-readable language name
|
|
70
|
-
code:
|
|
71
|
-
type: string
|
|
72
|
-
description: Language code
|
|
73
|
-
required:
|
|
74
|
-
- name
|
|
75
|
-
- code
|
|
76
|
-
|
|
77
|
-
LanguagesResult:
|
|
78
|
-
type: object
|
|
79
|
-
properties:
|
|
80
|
-
translate:
|
|
81
|
-
type: array
|
|
82
|
-
items:
|
|
83
|
-
$ref: '#/components/schemas/LanguageInfo'
|
|
84
|
-
description: Available languages for translation
|
|
85
|
-
transcribe:
|
|
86
|
-
type: array
|
|
87
|
-
items:
|
|
88
|
-
$ref: '#/components/schemas/LanguageInfo'
|
|
89
|
-
description: Available languages for transcription
|
|
90
|
-
required:
|
|
91
|
-
- translate
|
|
92
|
-
- transcribe
|
|
83
|
+
LanguageInfo: *a1
|
|
84
|
+
LanguagesResult: *a2
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/storage.s3/_gen/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseConfig } from "@norskvideo/norsk-studio/lib/extension/client-types";
|
|
2
2
|
import { StorageComponentDefinition } from "@norskvideo/norsk-studio/lib/extension/runtime-types";
|
|
3
|
-
import { components } from './types';
|
|
3
|
+
import { components } from './_gen/types';
|
|
4
4
|
export type S3Config = components['schemas']['S3Config'];
|
|
5
5
|
export type S3State = components['schemas']['S3State'];
|
|
6
6
|
export type S3Command = components['schemas']['Commands'];
|
|
@@ -1,10 +1,10 @@
|
|
|
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: S3 Storage Component
|
|
4
6
|
version: 1.0.0
|
|
5
|
-
|
|
6
7
|
paths: {}
|
|
7
|
-
|
|
8
8
|
components:
|
|
9
9
|
schemas:
|
|
10
10
|
S3Config:
|
|
@@ -27,7 +27,6 @@ components:
|
|
|
27
27
|
prefix:
|
|
28
28
|
type: string
|
|
29
29
|
description: Key prefix for objects in the bucket
|
|
30
|
-
|
|
31
30
|
S3State:
|
|
32
31
|
type: object
|
|
33
32
|
properties:
|
|
@@ -37,13 +36,11 @@ components:
|
|
|
37
36
|
bucketRegion:
|
|
38
37
|
type: string
|
|
39
38
|
description: AWS region where the bucket is located
|
|
40
|
-
|
|
41
39
|
Commands:
|
|
42
40
|
type: object
|
|
43
41
|
description: No commands currently supported
|
|
44
42
|
additionalProperties: false
|
|
45
|
-
|
|
46
43
|
Events:
|
|
47
44
|
type: object
|
|
48
|
-
description: No events currently supported
|
|
49
|
-
additionalProperties: false
|
|
45
|
+
description: No events currently supported
|
|
46
|
+
additionalProperties: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@norskvideo/norsk-studio-aws",
|
|
3
|
-
"version": "1.27.0-2025-
|
|
3
|
+
"version": "1.27.0-2025-10-01-b3ce62aa",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf lib client build && make clean",
|
|
@@ -9,7 +9,7 @@
|
|
|
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",
|
|
11
11
|
"build:copy-css": "rsync --mkpath -v -r --include '*/' --include '*.css' --exclude '*' src/ client/",
|
|
12
|
-
"build:types": "
|
|
12
|
+
"build:types": "../../scripts/copy-yaml.sh",
|
|
13
13
|
"build:tailwind": "npx tailwindcss -i src/shared/tailwind.css -o client/style.css",
|
|
14
14
|
"build:eslint": "npx eslint src",
|
|
15
15
|
"test": "echo no tests here yet"
|
|
@@ -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-
|
|
31
|
-
"@norskvideo/norsk-studio": "1.27.0-2025-
|
|
30
|
+
"@norskvideo/norsk-sdk": "^1.0.402-2025-10-01-445868a9",
|
|
31
|
+
"@norskvideo/norsk-studio": "1.27.0-2025-10-01-b3ce62aa",
|
|
32
32
|
"@react-icons/all-files": "^4.1.0",
|
|
33
33
|
"express": "^4.18.2",
|
|
34
34
|
"hls.js": "^1.5.8",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/input.mediaconnect/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/processor.aws-transcribe/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/storage.s3/types.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|