-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.ts
54 lines (50 loc) · 1005 Bytes
/
config.ts
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { GenerationSteps } from "./types/types";
export const IMAGE_GENERATION_SCALE_FACTOR = 3;
export const CURRENT_PASSPORT_VERSION = 1;
export const CROP_ASPECT = 0.8;
export const GENERATION_STEPS: GenerationSteps = {
base: [
{
id: "processing_portrait",
name: "Processing portrait",
status: "pending",
},
{
id: "generating_data_page",
name: "Generating data page",
status: "pending",
},
{
id: "summoning_elves",
name: "Summoning elves",
status: "pending",
},
],
register: [
{
id: "processing_portrait",
name: "Processing portrait",
status: "pending",
},
{
id: "assigning_passport_number",
name: "Assigning passport number",
status: "pending",
},
{
id: "generating_data_page",
name: "Generating data page",
status: "pending",
},
{
id: "generating_frame",
name: "Generating full passport page",
status: "pending",
},
{
id: "uploading",
name: "Uploading image",
status: "pending",
},
],
};