Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
types(share): make nullable department filter
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Oct 10, 2022
1 parent 82d9515 commit 1294131
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions shareable/types/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ export interface DepartmentFilter<T extends number|string = string> extends Seri
}
}

export interface NullableDepartmentFilter<T extends number|string = string> extends Serializable {
filter: {
departmentID: "*"|null|T
}
}

export interface RoleFilter<T extends number|string = string> extends Serializable {
filter: {
/**
Expand Down

0 comments on commit 1294131

Please sign in to comment.