File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace FactorioItemBrowser \Api \Client \Constant ;
6+
7+ /**
8+ * The status values of the export jobs.
9+ *
10+ * @author BluePsyduck <[email protected] > 11+ * @license http://opensource.org/licenses/GPL-3.0 GPL v3
12+ */
13+ interface ExportJobStatus
14+ {
15+ /**
16+ * The export job is currently queued and has not been touched yet.
17+ */
18+ public const QUEUED = 'queued ' ;
19+
20+ /**
21+ * A node has taken the export job and is currently downloading the missing mods from the Mod Portal.
22+ */
23+ public const DOWNLOADING = 'downloading ' ;
24+
25+ /**
26+ * The node is currently running a Factorio instance and parsing the dumped data.
27+ */
28+ public const PROCESSING = 'processing ' ;
29+
30+ /**
31+ * The node is currently uploading the gathered data to the importer.
32+ */
33+ public const UPLOADING = 'uploading ' ;
34+
35+ /**
36+ * The data has been uploaded to the importer and is currently waiting to actually get imported into the database.
37+ */
38+ public const UPLOADED = 'uploaded ' ;
39+
40+ /**
41+ * The importer is running and currently importing the data into the database.
42+ */
43+ public const IMPORTING = 'importing ' ;
44+
45+ /**
46+ * The export job is done and its data is available through the API server.
47+ */
48+ public const DONE = 'done ' ;
49+
50+ /**
51+ * An error occurred while processing the export job. No further updates are expected.
52+ */
53+ public const ERROR = 'error ' ;
54+ }
You can’t perform that action at this time.
0 commit comments