-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
40 lines (37 loc) · 783 Bytes
/
types.ts
File metadata and controls
40 lines (37 loc) · 783 Bytes
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
/** See https://wiki.factorio.com/Blueprint_string_format#Json_representation_of_a_blueprint%2Fblueprint_book */
export type FactorioBP = {
blueprint: {
item: "blueprint";
label?: string;
description?: string;
version: number;
icons: Array<{
signal: {
name: string;
};
index: number;
}>;
entities: Array<{
entity_number: number;
name: string;
position: {
x: number;
y: number;
};
variation?: number;
direction?: number;
}>;
}
};
export type TextDirection = "ltr" | "rtl";
export type TextPlateSize = "small" | "large";
export type TextPlateMaterial =
| "concrete"
| "copper"
| "glass"
| "gold"
| "iron"
| "plastic"
| "steel"
| "stone"
| "uranium";