Added back type: 'local' to TechDocs config schema
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-techdocs-backend': patch
|
||||
---
|
||||
|
||||
Added back `type: 'local'` to TechDocs config schema for `publisher`
|
||||
Vendored
+15
-10
@@ -68,14 +68,20 @@ export interface Config {
|
||||
/**
|
||||
* Techdocs publisher information
|
||||
*/
|
||||
publisher?: {
|
||||
local?: {
|
||||
/**
|
||||
* Directory to store generated static files.
|
||||
*/
|
||||
publishDirectory?: string;
|
||||
};
|
||||
} & (
|
||||
publisher?:
|
||||
| {
|
||||
type: 'local';
|
||||
|
||||
/**
|
||||
* Optional when 'type' is set to local
|
||||
*/
|
||||
local?: {
|
||||
/**
|
||||
* (Optional) Directory to store generated static files.
|
||||
*/
|
||||
publishDirectory?: string;
|
||||
};
|
||||
}
|
||||
| {
|
||||
type: 'awsS3';
|
||||
|
||||
@@ -258,8 +264,7 @@ export interface Config {
|
||||
*/
|
||||
projectId?: string;
|
||||
};
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* @example http://localhost:7007/api/techdocs
|
||||
|
||||
Reference in New Issue
Block a user