gitscope
← marzneshin / v0.1.1 / app/dashboard/src/pages/hosts/users/dialog/default-values.ts
https://dev.kronoz.win/r/marzneshin.git
app/dashboard/src/pages/hosts/users/dialog/default-values.ts · TypeScript
Blame Raw
 1
 2import { FormType } from './form-schema';
 3
 4export const getDefaultValues = (): FormType => {
 5
 6  return {
 7    services: [],
 8    data_limit: 0,
 9    expire: null,
10    username: '',
11    data_limit_reset_strategy: 'no_reset',
12    status: 'active',
13    note: '',
14  };
15};