Browse Source

typescriptize UserGroupUserModal
remove switchSearchType from Container

kaori 3 years ago
parent
commit
d329ffb1f3
1 changed files with 7 additions and 0 deletions
  1. 7 0
      packages/app/src/interfaces/user-group.ts

+ 7 - 0
packages/app/src/interfaces/user-group.ts

@@ -0,0 +1,7 @@
+export const SearchTypes = {
+  FORWARD: 'forward',
+  PARTIAL: 'partial',
+  BACKWORD: 'backword',
+} as const;
+
+export type SearchType = typeof SearchTypes[keyof typeof SearchTypes];