-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfe2957
commit 2dd630d
Showing
11 changed files
with
151 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
Apps.BWX/DataSourceHandlers/EnumDataHandlers/WorkflowDataHandler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
using Blackbird.Applications.Sdk.Utils.Sdk.DataSourceHandlers; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Apps.BWX.DataSourceHandlers.EnumDataHandlers | ||
{ | ||
public class WorkflowDataHandler : EnumDataHandler | ||
{ | ||
protected override Dictionary<string, string> EnumValues => new() | ||
{ | ||
{"TRANSCRIPTION","TRANSCRIPTION"}, | ||
{"TRANSLATION","TRANSLATION"}, | ||
{"PROOFREADING","PROOFREADING"}, | ||
{"REVIEW","REVIEW"}, | ||
{"REVIEW_2","REVIEW_2"}, | ||
{"REVIEW_3","REVIEW_3"}, | ||
{"ICR","ICR"}, | ||
{"REGIONAL_APPROVAL","REGIONAL_APPROVAL"}, | ||
{"ICR_2","ICR_2"}, | ||
{"WEB_QA","WEB_QA"}, | ||
{"FEEDBACK_IMPLEMENTATION","FEEDBACK_IMPLEMENTATION"}, | ||
{"DTP","DTP"}, | ||
{"QA","QA"}, | ||
{"SUBTITLING","SUBTITLING"}, | ||
{"VIDEO_EDITING","VIDEO_EDITING"}, | ||
{"VOICEOVER","VOICEOVER"}, | ||
{"SWORN","SWORN"}, | ||
{"INTERPRETATION","INTERPRETATION"}, | ||
{"DEVELOPMENT","DEVELOPMENT"} | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Apps.BWX.Dtos | ||
{ | ||
public class WorkUnitCreateDto | ||
{ | ||
[JsonProperty("projectResourceUuid")] | ||
public string ProjectResourceUuid { get; set; } | ||
|
||
[JsonProperty("workflows")] | ||
public List<string> Workflows { get; set; } | ||
|
||
[JsonProperty("targetLocales")] | ||
public List<string> TargetLocales { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Apps.BWX.Dtos | ||
{ | ||
public class WorkUnitDto | ||
{ | ||
public string Uuid { get; set; } | ||
public string WorkId { get; set; } | ||
public string Name { get; set; } | ||
public string SourceLanguage { get; set; } | ||
public string TargetLanguage { get; set; } | ||
public string Filename { get; set; } | ||
public long CreationTimestamp { get; set; } | ||
public long LastUpdate { get; set; } | ||
public int Sequence { get; set; } | ||
public string Workflow { get; set; } | ||
public string ProjectUUID { get; set; } | ||
public string ProjectResourceUuid { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters