Skip to content

Commit

Permalink
fix(common-types): add back and deprecate status (#2463)
Browse files Browse the repository at this point in the history
  • Loading branch information
denkristoffer authored Nov 7, 2024
1 parent e27e01a commit 3dcacc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/common-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3dcacc2

Please sign in to comment.