removed usage of RegExp in configuration schemas
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user