removed usage of RegExp in configuration schemas

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-07-28 16:06:36 +02:00
parent 8f7b618a49
commit 787e747d11
3 changed files with 19 additions and 19 deletions
+8 -8
View File
@@ -45,15 +45,15 @@ export interface Config {
*/
filters?: {
/**
* (Optional) Filter for the repository slug.
* (Optional) Regular expression filter for the repository slug.
* @visibility frontend
*/
repoSlug?: RegExp;
repoSlug?: string;
/**
* (Optional) Filter for the project key.
* (Optional) Regular expression filter for the project key.
* @visibility frontend
*/
projectKey?: RegExp;
projectKey?: string;
};
/**
* (Optional) TaskScheduleDefinition for the discovery.
@@ -78,15 +78,15 @@ export interface Config {
*/
filters?: {
/**
* (Optional) Filter for the repository slug.
* (Optional) Regular expression filter for the repository slug.
* @visibility frontend
*/
repoSlug?: RegExp;
repoSlug?: string;
/**
* (Optional) Filter for the project key.
* (Optional) Regular expression filter for the project key.
* @visibility frontend
*/
projectKey?: RegExp;
projectKey?: string;
};
/**
* (Optional) TaskScheduleDefinition for the discovery.
@@ -37,15 +37,15 @@ export interface Config {
*/
filters?: {
/**
* (Optional) Filter for the repository slug.
* (Optional) Regular expression filter for the repository slug.
* @visibility frontend
*/
repoSlug?: RegExp;
repoSlug?: string;
/**
* (Optional) Filter for the project key.
* (Optional) Regular expression filter for the project key.
* @visibility frontend
*/
projectKey?: RegExp;
projectKey?: string;
};
/**
* (Optional) TaskScheduleDefinition for the refresh.
@@ -65,15 +65,15 @@ export interface Config {
*/
filters?: {
/**
* (Optional) Filter for the repository slug.
* (Optional) Regular expression filter for the repository slug.
* @visibility frontend
*/
repoSlug?: RegExp;
repoSlug?: string;
/**
* (Optional) Filter for the project key.
* (Optional) Regular expression filter for the project key.
* @visibility frontend
*/
projectKey?: RegExp;
projectKey?: string;
};
/**
* (Optional) TaskScheduleDefinition for the refresh.
+3 -3
View File
@@ -50,15 +50,15 @@ export interface Config {
/**
* (Optional) RegExp for the Project Name Pattern
*/
projectPattern?: RegExp;
projectPattern?: string;
/**
* (Optional) RegExp for the User Name Pattern
*/
userPattern?: RegExp;
userPattern?: string;
/**
* (Optional) RegExp for the Group Name Pattern
*/
groupPattern?: RegExp;
groupPattern?: string;
/**
* (Optional) Skip forked repository
*/