Skip to content

Commit 096ddba

Browse files
Merge pull request #20 from ClicknClear/vod-continued
Vod continued
2 parents 3cc6646 + 61fa47f commit 096ddba

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git-checks=false

packages/lvs-types/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [1.0.17](https://github.com/ClicknClear/Public-Resources/compare/@clicknclear-public/lvs-types@1.0.17-tb.0...@clicknclear-public/lvs-types@1.0.17) (2025-07-01)
7+
8+
**Note:** Version bump only for package @clicknclear-public/lvs-types
9+
10+
11+
12+
13+
614
## [1.0.15](https://github.com/ClicknClear/Public-Resources/compare/@clicknclear-public/lvs-types@1.0.15-tb.0...@clicknclear-public/lvs-types@1.0.15) (2025-02-20)
715

816
**Note:** Version bump only for package @clicknclear-public/lvs-types

packages/lvs-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@clicknclear-public/lvs-types",
3-
"version": "1.0.16",
3+
"version": "1.0.17",
44
"description": "A collection of shared public types for the License Verification Platform",
55
"main": "build/lib",
66
"module": "build/es",

packages/lvs-types/src/v1/verificationJob.ts

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export enum VerificationJobStatusV1 {
1212
Created = 'Created',
1313
//The audio file is being downloaded and converted
1414
Downloading = 'Downloading',
15+
//The audio file is being checked for sections with any music in
16+
DetectingMusic = 'DetectingMusic',
1517
//The audio file currently being put through automatic song detection
1618
Matching = 'Matching',
1719
//The automatic matching has been completed, the license data will start downloading
@@ -24,6 +26,16 @@ export enum VerificationJobStatusV1 {
2426
Errored = 'Errored'
2527
}
2628

29+
/**
30+
* Currently only audio will be returned, this may change in the future
31+
*/
32+
export enum VerificationJobOutputFileTypeV1 {
33+
/**
34+
* Mp3 returned, Default and recommended
35+
*/
36+
Audio = 'Audio'
37+
}
38+
2739
export type VerificationJobLicenseDetailsV1 = z.infer<typeof verificationJobLicenseDetailsV1>
2840
export const verificationJobLicenseDetailsV1 = z.object({
2941
//The type of license that is being uploaded.
@@ -76,7 +88,11 @@ export const verificationJobCreateSchemaV1 = z.object({
7688
licenseDetails: verificationJobLicenseDetailsV1.array(),
7789
//The type of verification job this is, this type will change how this job is displayed and which rights are required
7890
type: z.nativeEnum(VerificationJobTypeV1)
79-
.default(VerificationJobTypeV1.Routine)
91+
.default(VerificationJobTypeV1.Routine),
92+
//The desired output file from the created verification job.
93+
//If the input is an audio only file then the output will always be an mp3.
94+
outputFileType: z.nativeEnum(VerificationJobOutputFileTypeV1)
95+
.default(VerificationJobOutputFileTypeV1.Audio)
8096
});
8197

8298
export interface IVerificationJobV1 {
@@ -143,6 +159,11 @@ export interface IVerificationJobV1 {
143159
* The type of verification job this is, this type will change how this job is displayed and which rights are required
144160
*/
145161
type: VerificationJobTypeV1
162+
/**
163+
* The type of file that is generated as an output from this job
164+
* Currently only audio is supported
165+
*/
166+
outputFileType: VerificationJobOutputFileTypeV1
146167
}
147168

148169
/**

0 commit comments

Comments
 (0)