From 3dcacc268325c09e78db0d4d3afd33a5238e0d6c Mon Sep 17 00:00:00 2001 From: Kristoffer Date: Thu, 7 Nov 2024 19:47:07 +0100 Subject: [PATCH] fix(common-types): add back and deprecate status (#2463) --- lib/common-types.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/common-types.ts b/lib/common-types.ts index ae70234a7..3f283e1a6 100644 --- a/lib/common-types.ts +++ b/lib/common-types.ts @@ -246,6 +246,11 @@ export interface BasicMetaSysProps { export interface MetaSysProps extends BasicMetaSysProps { space?: SysLink + /** + * @deprecated `status` only exists on entities. Please refactor to use a + * type guard to get the correct `EntityMetaSysProps` type with this property. + */ + status?: SysLink publishedVersion?: number archivedVersion?: number archivedBy?: SysLink