fix(config): add missing parameters to configuration schema

Signed-off-by: Gabriel Dugny <gabriel.dugny@believe.com>
This commit is contained in:
Gabriel Dugny
2024-12-24 12:58:42 +01:00
parent aae9523c00
commit 29a4aa8956
3 changed files with 45 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': patch
'@backstage/plugin-techdocs-backend': patch
---
fix(config): add missing parameters in config schema
+34
View File
@@ -165,6 +165,12 @@ export interface Config {
* This can be useful for huge organizations.
*/
loadPhotos?: boolean;
/**
* The fields to be fetched on query.
*
* E.g. ["id", "displayName", "description"]
*/
select?: string[];
};
group?: {
@@ -257,15 +263,38 @@ export interface Config {
*/
queryMode?: string;
user?: {
/**
* The "expand" argument to apply to users.
*
* E.g. "manager".
*/
expand?: string;
/**
* The filter to apply to extract users.
*
* E.g. "accountEnabled eq true and userType eq 'member'"
*/
filter?: string;
/**
* Set to false to not load user photos.
* This can be useful for huge organizations.
*/
loadPhotos?: boolean;
/**
* The fields to be fetched on query.
*
* E.g. ["id", "displayName", "description"]
*/
select?: string[];
};
group?: {
/**
* The "expand" argument to apply to groups.
*
* E.g. "member".
*/
expand?: string;
/**
* The filter to apply to extract groups.
*
@@ -284,6 +313,11 @@ export interface Config {
* E.g. ["id", "displayName", "description"]
*/
select?: string[];
/**
* Whether to ingest groups that are members of the found/filtered/searched groups.
* Default value is `false`.
*/
includeSubGroups?: boolean;
};
userGroupMember?: {
+5
View File
@@ -263,6 +263,11 @@ export interface Config {
* the credentials belongs to a different project to the bucket.
*/
projectId?: string;
/**
* (Optional) Location in storage bucket to save files
* If not set, the default location will be the root of the storage bucket
*/
bucketRootPath?: string;
};
};