@eso-status/service-alerts 2.0.0-dev.3 → 2.0.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/lib/formatter/date.formatter.d.ts +2 -3
- package/lib/formatter/date.formatter.js +2 -1
- package/lib/identifier/slug.identifier.js +1 -1
- package/lib/identifier/status.identifier.js +1 -1
- package/lib/interface/esoStatusRawData.interface.d.ts +2 -3
- package/lib/type/remoteIssuesRawStatus.type.d.ts +1 -1
- package/lib/type/remoteServerPcNaRawSlug.type.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
49
49
|
rawStatus: 'currently unavailable',
|
|
50
50
|
rawSlug: 'ESO store',
|
|
51
51
|
rawDate: '2024.09.04 - 14:00 UTC (10:00 EDT)',
|
|
52
|
-
dates: [
|
|
52
|
+
dates: [ '2024-09-04T14:00:00Z' ]
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -62,7 +62,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
62
62
|
rawStatus: 'currently unavailable',
|
|
63
63
|
rawSlug: 'account system',
|
|
64
64
|
rawDate: '2024.09.04 - 14:00 UTC (10:00 EDT)',
|
|
65
|
-
dates: [
|
|
65
|
+
dates: [ '2024-09-04T14:00:00Z' ]
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -75,7 +75,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
75
75
|
rawStatus: 'currently unavailable',
|
|
76
76
|
rawSlug: 'The European PlayStation® megaserver',
|
|
77
77
|
rawDate: '2024.09.04 - 10:00 UTC (6:00 EDT)',
|
|
78
|
-
dates: [
|
|
78
|
+
dates: [ '2024-09-04T10:00:00Z' ]
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -88,7 +88,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
88
88
|
rawStatus: 'currently unavailable',
|
|
89
89
|
rawSlug: 'The European Xbox megaserver',
|
|
90
90
|
rawDate: '2024.09.04 - 10:00 UTC (6:00 EDT)',
|
|
91
|
-
dates: [
|
|
91
|
+
dates: [ '2024-09-04T10:00:00Z' ]
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -101,7 +101,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
101
101
|
rawStatus: 'currently unavailable',
|
|
102
102
|
rawSlug: 'North American PlayStation® megaserver',
|
|
103
103
|
rawDate: '2024.09.04 - 10:00 UTC (6:00 EDT)',
|
|
104
|
-
dates: [
|
|
104
|
+
dates: [ '2024-09-04T10:00:00Z' ]
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -114,7 +114,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
114
114
|
rawStatus: 'currently unavailable',
|
|
115
115
|
rawSlug: 'The North American Xbox megaserver',
|
|
116
116
|
rawDate: '2024.09.04 - 10:00 UTC (6:00 EDT)',
|
|
117
|
-
dates: [
|
|
117
|
+
dates: [ '2024-09-04T10:00:00Z' ]
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -127,7 +127,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
127
127
|
rawStatus: 'currently available',
|
|
128
128
|
rawSlug: 'The European PC/Mac megaserver',
|
|
129
129
|
rawDate: '2024.09.03 - 10:55 UTC (6:55 EDT)',
|
|
130
|
-
dates: [
|
|
130
|
+
dates: [ '2024-09-03T10:55:00Z' ]
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -138,9 +138,9 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
138
138
|
zone: 'na',
|
|
139
139
|
status: 'up',
|
|
140
140
|
rawStatus: 'currently available',
|
|
141
|
-
rawSlug: '
|
|
141
|
+
rawSlug: 'North American PC/Mac megaserver',
|
|
142
142
|
rawDate: '2024.09.03 - 10:55 UTC (6:55 EDT)',
|
|
143
|
-
dates: [
|
|
143
|
+
dates: [ '2024-09-03T10:55:00Z' ]
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
source: 'https://help.elderscrollsonline.com/app/answers/detail/a_id/4320',
|
|
@@ -153,7 +153,7 @@ const esoStatusRawDataList: EsoStatusRawData[] = await ServiceAlerts.getData();
|
|
|
153
153
|
rawStatus: 'currently available',
|
|
154
154
|
rawSlug: 'PTS',
|
|
155
155
|
rawDate: ' 2024.08.27 - 14:40 UTC (10:40 EDT)',
|
|
156
|
-
dates: [
|
|
156
|
+
dates: [ 'Invalid date' ]
|
|
157
157
|
}
|
|
158
158
|
]
|
|
159
159
|
```
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Moment } from 'moment';
|
|
2
1
|
/**
|
|
3
2
|
* Class for identifying and formatting the date contained in an announcement
|
|
4
3
|
*/
|
|
@@ -9,9 +8,9 @@ export default class DateFormatter {
|
|
|
9
8
|
*/
|
|
10
9
|
rawDate: string;
|
|
11
10
|
/**
|
|
12
|
-
* List of dates formatted correctly contained in the announcement
|
|
11
|
+
* List of dates formatted correctly contained in the announcement (ISO 8601)
|
|
13
12
|
*/
|
|
14
|
-
dates:
|
|
13
|
+
dates: string[];
|
|
15
14
|
/**
|
|
16
15
|
* @param raw Raw data of the announcement
|
|
17
16
|
*/
|
|
@@ -59,7 +59,7 @@ class SlugIdentifier {
|
|
|
59
59
|
*/
|
|
60
60
|
this.ServerPcNaMatchesList = [
|
|
61
61
|
'The North American megaservers',
|
|
62
|
-
'
|
|
62
|
+
'North American PC/Mac megaserver',
|
|
63
63
|
];
|
|
64
64
|
/**
|
|
65
65
|
* List of indicators proving that the announcement pertains to the slug server_ps_na
|
|
@@ -35,7 +35,7 @@ class StatusIdentifier {
|
|
|
35
35
|
* @private
|
|
36
36
|
*/
|
|
37
37
|
this.issuesMatchesList = [
|
|
38
|
-
'currently investigating
|
|
38
|
+
'currently investigating',
|
|
39
39
|
'currently experiencing a service interruption',
|
|
40
40
|
];
|
|
41
41
|
this.statusList.forEach((status) => this.identify(status));
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Moment } from 'moment/moment';
|
|
2
1
|
import { Slug, Status, Support, Type, Zone } from '@eso-status/types';
|
|
3
2
|
import { RemoteRawSlug } from '../type/remoteRawSlug.type';
|
|
4
3
|
import { RemoteRawStatus } from '../type/remoteRawStatus.type';
|
|
@@ -44,9 +43,9 @@ export interface EsoStatusRawData {
|
|
|
44
43
|
*/
|
|
45
44
|
zone: Zone;
|
|
46
45
|
/**
|
|
47
|
-
* List of dates contained in the announcement
|
|
46
|
+
* List of dates contained in the announcement (ISO 8601)
|
|
48
47
|
*/
|
|
49
|
-
dates:
|
|
48
|
+
dates: string[];
|
|
50
49
|
/**
|
|
51
50
|
* Raw data of the date contained in the announcement
|
|
52
51
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different statuses of announcements indicating that the announcement refers to a service/server that is not functioning properly
|
|
3
3
|
*/
|
|
4
|
-
export type RemoteIssuesRawStatus = 'currently investigating
|
|
4
|
+
export type RemoteIssuesRawStatus = 'currently investigating' | 'currently experiencing a service interruption';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Different slugs of announcements concerning the North American PC/Mac Megaserver
|
|
3
3
|
*/
|
|
4
|
-
export type RemoteServerPcNaRawSlug = 'The North American megaservers' | '
|
|
4
|
+
export type RemoteServerPcNaRawSlug = 'The North American megaservers' | 'North American PC/Mac megaserver';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eso-status/service-alerts",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.5",
|
|
4
4
|
"description": "Library for retrieving and formatting data, available at https://help.elderscrollsonline.com/app/answers/detail/a_id/4320.",
|
|
5
5
|
"author": "@dov118 <contact@dov118.dev> (https://dov118.dev)",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"prepare": "husky"
|
|
85
85
|
},
|
|
86
86
|
"dependencies": {
|
|
87
|
-
"@eso-status/types": "2.0.0-dev.
|
|
87
|
+
"@eso-status/types": "2.0.0-dev.13",
|
|
88
88
|
"axios": "1.7.7",
|
|
89
89
|
"moment": "2.30.1"
|
|
90
90
|
},
|