chenzhaoyang
2025-12-17 d3e5a4b7658ece4f845bbc0c4f95acf3fbdf8a61
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { atom } from "jotai";
 
export interface FormState {
  currentStep: number;
  formData: {
    project: number;
    provider: string;
    title: string;
    use_blob_urls: boolean;
    recursive_scan: boolean;
    regex_filter: string;
    [key: string]: any;
  };
  isComplete: boolean;
}
 
export const formStateAtom = atom<FormState>({
  currentStep: 0,
  formData: {
    project: 0,
    provider: "s3",
    title: "",
    use_blob_urls: false,
    recursive_scan: false,
    regex_filter: "",
  },
  isComplete: false,
});