catalog-client: deprecate AddLocationRequest.presence

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-02-18 16:10:27 +01:00
committed by Fredrik Adelöw
parent ed09ad8093
commit 46dee04eba
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/catalog-client': patch
---
Deprecated `AddLocationRequest.presence`, as it is already being ignored.
+1
View File
@@ -257,6 +257,7 @@ export type AddLocationRequest = {
type?: string;
target: string;
dryRun?: boolean;
/** @deprecated This field is is ignored */
presence?: 'optional' | 'required';
};