17 - Deduplicate Scenario type to shared types
This commit is contained in:
parent
b98b6f6dd9
commit
24de58982a
1 changed files with 1 additions and 9 deletions
|
|
@ -6,15 +6,7 @@ import InlineEditInput from '@/components/InlineEditInput';
|
||||||
import InlineEditSelect from '@/components/InlineEditSelect';
|
import InlineEditSelect from '@/components/InlineEditSelect';
|
||||||
import IncomeDistributionPreview from '@/components/IncomeDistributionPreview';
|
import IncomeDistributionPreview from '@/components/IncomeDistributionPreview';
|
||||||
import { csrfToken } from '@/lib/utils';
|
import { csrfToken } from '@/lib/utils';
|
||||||
|
import { type Scenario } from '@/types';
|
||||||
interface Scenario {
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
distribution_mode: 'even' | 'priority';
|
|
||||||
distribution_mode_label: string;
|
|
||||||
created_at: string;
|
|
||||||
updated_at: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Bucket {
|
interface Bucket {
|
||||||
id: string;
|
id: string;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue