@@ -8,35 +8,29 @@ internal static class Constants
8
8
{
9
9
public static readonly List < ArtifactType > ArtifactTypeMap = new List < ArtifactType > ( )
10
10
{
11
- { new ArtifactType ( new [ ] { "AS" } , "Automation" , "Automation Script" , "automationscript" ) } ,
12
- { new ArtifactType ( new [ ] { "C" } , "Connector" , "Connector" , "connector" ) } ,
13
- { new ArtifactType ( new [ ] { "CF" } , "Custom Solution" , "Companion File" , "companionfile" ) } ,
14
- { new ArtifactType ( new [ ] { "CHATOPS" } , "ChatOps Extension" , "ChatOps Extension" , "chatopsextension" ) } ,
15
- { new ArtifactType ( new [ ] { "D" } , "Dashboard" , "Dashboard" , "dashboard" ) } ,
16
- { new ArtifactType ( new [ ] { "DOC" } , "Custom Solution" , "Documentation" , "documentation" ) } ,
17
- { new ArtifactType ( new [ ] { "F" } , "Custom Solution" , "Function Definition" , "functiondefinition" ) } ,
18
- { new ArtifactType ( new [ ] { "GQIDS" } , "Ad Hoc Data Source" , "gqidatasource" , "Ad Hoc Data Source" , "adhocdatasource" ) } ,
19
- { new ArtifactType ( new [ ] { "GQIO" } , "Data Transformer" , "GQI Operator" , "gqioperator" ) } ,
20
- { new ArtifactType ( new [ ] { "LSO" } , "Automation" , "Live Cycle Service Orchestration" , "lifecycleserviceorchestration" ) } ,
21
- { new ArtifactType ( new [ ] { "PA" } , "Automation" , "Process Automation" , "processautomation" ) } ,
22
- { new ArtifactType ( new [ ] { "PLS" } , "Automation" , "Profile Load Script" , "profileloadscript" ) } ,
23
- { new ArtifactType ( new [ ] { "S" } , "Custom Solution" , "Solution" , "solution" ) } ,
24
- { new ArtifactType ( new [ ] { "SC" } , "Scripted Connector" , "Scripted Connector" , "scriptedconnector" ) } ,
25
- { new ArtifactType ( new [ ] { "T" } , "Custom Solution" , "Testing Solution" , "testingsolution" ) } ,
26
- { new ArtifactType ( new [ ] { "UDAPI" } , "User-Defined API" , "User Defined API" , "userdefinedapi" ) } ,
27
- { new ArtifactType ( new [ ] { "V" } , "Visual Overview" , "Visio" , "visio" ) } ,
28
- { new ArtifactType ( new [ ] { "LCA" } , "Custom Solution" , "Low-Code App" , "lowcodeapp" ) }
11
+ { new ArtifactType ( new [ ] { "AS" } , "Automation" , "Automation Script" , "automationscript" , "dataminer-automation-script" ) } ,
12
+ { new ArtifactType ( new [ ] { "C" } , "Connector" , "Connector" , "connector" , "dataminer-connector" ) } ,
13
+ { new ArtifactType ( new [ ] { "CF" } , "Custom Solution" , "Companion File" , "companionfile" , "dataminer-companion-file" ) } ,
14
+ { new ArtifactType ( new [ ] { "CHATOPS" } , "ChatOps Extension" , "ChatOps Extension" , "chatopsextension" , "dataminer-bot" , "dataminer-chatops" ) } ,
15
+ { new ArtifactType ( new [ ] { "D" } , "Dashboard" , "Dashboard" , "dashboard" , "dataminer-dashboard" ) } ,
16
+ { new ArtifactType ( new [ ] { "DOC" } , "Custom Solution" , "Documentation" , "documentation" , "dataminer-doc" ) } ,
17
+ { new ArtifactType ( new [ ] { "F" } , "Custom Solution" , "Function Definition" , "functiondefinition" , "dataminer-function" ) } ,
18
+ { new ArtifactType ( new [ ] { "GQIDS" } , "Ad Hoc Data Source" , "gqidatasource" , "Ad Hoc Data Source" , "adhocdatasource" , "dataminer-gqi-data-source" ) } ,
19
+ { new ArtifactType ( new [ ] { "GQIO" } , "Data Transformer" , "GQI Operator" , "gqioperator" , "dataminer-gqi-operator" ) } ,
20
+ { new ArtifactType ( new [ ] { "LSO" } , "Automation" , "Live Cycle Service Orchestration" , "lifecycleserviceorchestration" , "dataminer-life-service-orchestration" ) } ,
21
+ { new ArtifactType ( new [ ] { "PA" } , "Automation" , "Process Automation" , "processautomation" , "dataminer-process-automation-script" ) } ,
22
+ { new ArtifactType ( new [ ] { "PLS" } , "Automation" , "Profile Load Script" , "profileloadscript" , "dataminer-profile-load-script" ) } ,
23
+ { new ArtifactType ( new [ ] { "S" } , "Custom Solution" , "Solution" , "solution" , "dataminer" , "dataminer-solution" , "dataminer-dis-macro" , "dataminer-nuget" ) } ,
24
+ { new ArtifactType ( new [ ] { "SC" } , "Scripted Connector" , "Scripted Connector" , "scriptedconnector" , "dataminer-scripted-connector" ) } ,
25
+ { new ArtifactType ( new [ ] { "T" } , "Custom Solution" , "Testing Solution" , "testingsolution" , "dataminer-regression-test" , "dataminer-UI-test" ) } ,
26
+ { new ArtifactType ( new [ ] { "UDAPI" } , "User-Defined API" , "User Defined API" , "userdefinedapi" , "dataminer-user-defined-api" ) } ,
27
+ { new ArtifactType ( new [ ] { "V" } , "Visual Overview" , "Visio" , "visio" , "dataminer-visio" ) } ,
28
+ { new ArtifactType ( new [ ] { "LCA" } , "Custom Solution" , "Low-Code App" , "lowcodeapp" , "dataminer-low-code-app" ) }
29
29
} ;
30
30
}
31
31
32
32
internal class ArtifactType
33
33
{
34
- public string [ ] GitHubNames { get ; set ; }
35
-
36
- public string [ ] GitHubAbbreviations { get ; set ; }
37
-
38
- public string CatalogName { get ; set ; }
39
-
40
34
public ArtifactType ( string [ ] abbreviations , string catalogName , params string [ ] githubNames )
41
35
{
42
36
GitHubAbbreviations = abbreviations ;
@@ -46,6 +40,12 @@ public ArtifactType(string[] abbreviations, string catalogName, params string[]
46
40
CatalogName = catalogName ;
47
41
}
48
42
43
+ public string CatalogName { get ; set ; }
44
+
45
+ public string [ ] GitHubAbbreviations { get ; set ; }
46
+
47
+ public string [ ] GitHubNames { get ; set ; }
48
+
49
49
public bool IsMatch ( string searchTerm )
50
50
{
51
51
if ( searchTerm . Equals ( CatalogName , StringComparison . OrdinalIgnoreCase ) ||
@@ -58,5 +58,4 @@ public bool IsMatch(string searchTerm)
58
58
return false ;
59
59
}
60
60
}
61
-
62
- }
61
+ }
0 commit comments