Skip to content

Commit 119c63f

Browse files
committed
#824 Frontend changes
1 parent eb2252f commit 119c63f

44 files changed

Lines changed: 545 additions & 596 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/frontend/openapi.json

Lines changed: 201 additions & 318 deletions
Large diffs are not rendered by default.

src/frontend/src/client/index.ts

Lines changed: 93 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -2,99 +2,99 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
export { ApiError } from './core/ApiError';
6-
export { CancelablePromise, CancelError } from './core/CancelablePromise';
7-
export { OpenAPI } from './core/OpenAPI';
8-
export type { OpenAPIConfig } from './core/OpenAPI';
5+
export { ApiError } from "./core/ApiError";
6+
export { CancelablePromise, CancelError } from "./core/CancelablePromise";
7+
export { OpenAPI } from "./core/OpenAPI";
8+
export type { OpenAPIConfig } from "./core/OpenAPI";
99

10-
export type { BaseSpecs } from './models/BaseSpecs';
11-
export type { Body_logins_login_access_session } from './models/Body_logins_login_access_session';
12-
export type { Currency } from './models/Currency';
13-
export type { CurrencyCreate } from './models/CurrencyCreate';
14-
export type { CurrencyQuery } from './models/CurrencyQuery';
15-
export type { CurrencyUpdate } from './models/CurrencyUpdate';
16-
export type { Datum } from './models/Datum';
17-
export type { GroupedModifierByEffect } from './models/GroupedModifierByEffect';
18-
export type { GroupedModifierProperties } from './models/GroupedModifierProperties';
19-
export type { HTTPValidationError } from './models/HTTPValidationError';
20-
export type { Influences } from './models/Influences';
21-
export type { Item } from './models/Item';
22-
export type { ItemBaseType } from './models/ItemBaseType';
23-
export type { ItemBaseTypeCreate } from './models/ItemBaseTypeCreate';
24-
export type { ItemBaseTypeUpdate } from './models/ItemBaseTypeUpdate';
25-
export type { ItemCreate } from './models/ItemCreate';
26-
export type { ItemModifier } from './models/ItemModifier';
27-
export type { ItemModifierCreate } from './models/ItemModifierCreate';
28-
export type { ItemSpecs } from './models/ItemSpecs';
29-
export type { League } from './models/League';
30-
export type { LeagueCreate } from './models/LeagueCreate';
31-
export type { LeagueUpdate } from './models/LeagueUpdate';
32-
export type { MetadataObject } from './models/MetadataObject';
33-
export type { Modifier } from './models/Modifier';
34-
export type { ModifierCreate } from './models/ModifierCreate';
35-
export type { ModifierLimitation } from './models/ModifierLimitation';
36-
export type { ModifierUpdate } from './models/ModifierUpdate';
37-
export type { PlotData } from './models/PlotData';
38-
export type { PlotQuery } from './models/PlotQuery';
39-
export type { TimeseriesData } from './models/TimeseriesData';
40-
export type { Token } from './models/Token';
41-
export type { TurnstileQuery } from './models/TurnstileQuery';
42-
export type { TurnstileResponse } from './models/TurnstileResponse';
43-
export type { UnidentifiedItem } from './models/UnidentifiedItem';
44-
export type { UnidentifiedItemCreate } from './models/UnidentifiedItemCreate';
45-
export type { ValidationError } from './models/ValidationError';
46-
export type { WantedModifier } from './models/WantedModifier';
10+
export type { BaseSpecs } from "./models/BaseSpecs";
11+
export type { Body_login_login_access_session } from "./models/Body_login_login_access_session";
12+
export type { Currency } from "./models/Currency";
13+
export type { CurrencyCreate } from "./models/CurrencyCreate";
14+
export type { CurrencyQuery } from "./models/CurrencyQuery";
15+
export type { CurrencyUpdate } from "./models/CurrencyUpdate";
16+
export type { Datum } from "./models/Datum";
17+
export type { GroupedModifierByEffect } from "./models/GroupedModifierByEffect";
18+
export type { GroupedModifierProperties } from "./models/GroupedModifierProperties";
19+
export type { HTTPValidationError } from "./models/HTTPValidationError";
20+
export type { Influences } from "./models/Influences";
21+
export type { Item } from "./models/Item";
22+
export type { ItemBaseType } from "./models/ItemBaseType";
23+
export type { ItemBaseTypeCreate } from "./models/ItemBaseTypeCreate";
24+
export type { ItemBaseTypeUpdate } from "./models/ItemBaseTypeUpdate";
25+
export type { ItemCreate } from "./models/ItemCreate";
26+
export type { ItemModifier } from "./models/ItemModifier";
27+
export type { ItemModifierCreate } from "./models/ItemModifierCreate";
28+
export type { ItemSpecs } from "./models/ItemSpecs";
29+
export type { League } from "./models/League";
30+
export type { LeagueCreate } from "./models/LeagueCreate";
31+
export type { LeagueUpdate } from "./models/LeagueUpdate";
32+
export type { MetadataObject } from "./models/MetadataObject";
33+
export type { Modifier } from "./models/Modifier";
34+
export type { ModifierCreate } from "./models/ModifierCreate";
35+
export type { ModifierLimitation } from "./models/ModifierLimitation";
36+
export type { ModifierUpdate } from "./models/ModifierUpdate";
37+
export type { PlotData } from "./models/PlotData";
38+
export type { PlotQuery } from "./models/PlotQuery";
39+
export type { TimeseriesData } from "./models/TimeseriesData";
40+
export type { Token } from "./models/Token";
41+
export type { TurnstileQuery } from "./models/TurnstileQuery";
42+
export type { TurnstileResponse } from "./models/TurnstileResponse";
43+
export type { UnidentifiedItem } from "./models/UnidentifiedItem";
44+
export type { UnidentifiedItemCreate } from "./models/UnidentifiedItemCreate";
45+
export type { ValidationError } from "./models/ValidationError";
46+
export type { WantedModifier } from "./models/WantedModifier";
4747

48-
export { $BaseSpecs } from './schemas/$BaseSpecs';
49-
export { $Body_logins_login_access_session } from './schemas/$Body_logins_login_access_session';
50-
export { $Currency } from './schemas/$Currency';
51-
export { $CurrencyCreate } from './schemas/$CurrencyCreate';
52-
export { $CurrencyQuery } from './schemas/$CurrencyQuery';
53-
export { $CurrencyUpdate } from './schemas/$CurrencyUpdate';
54-
export { $Datum } from './schemas/$Datum';
55-
export { $GroupedModifierByEffect } from './schemas/$GroupedModifierByEffect';
56-
export { $GroupedModifierProperties } from './schemas/$GroupedModifierProperties';
57-
export { $HTTPValidationError } from './schemas/$HTTPValidationError';
58-
export { $Influences } from './schemas/$Influences';
59-
export { $Item } from './schemas/$Item';
60-
export { $ItemBaseType } from './schemas/$ItemBaseType';
61-
export { $ItemBaseTypeCreate } from './schemas/$ItemBaseTypeCreate';
62-
export { $ItemBaseTypeUpdate } from './schemas/$ItemBaseTypeUpdate';
63-
export { $ItemCreate } from './schemas/$ItemCreate';
64-
export { $ItemModifier } from './schemas/$ItemModifier';
65-
export { $ItemModifierCreate } from './schemas/$ItemModifierCreate';
66-
export { $ItemSpecs } from './schemas/$ItemSpecs';
67-
export { $League } from './schemas/$League';
68-
export { $LeagueCreate } from './schemas/$LeagueCreate';
69-
export { $LeagueUpdate } from './schemas/$LeagueUpdate';
70-
export { $MetadataObject } from './schemas/$MetadataObject';
71-
export { $Modifier } from './schemas/$Modifier';
72-
export { $ModifierCreate } from './schemas/$ModifierCreate';
73-
export { $ModifierLimitation } from './schemas/$ModifierLimitation';
74-
export { $ModifierUpdate } from './schemas/$ModifierUpdate';
75-
export { $PlotData } from './schemas/$PlotData';
76-
export { $PlotQuery } from './schemas/$PlotQuery';
77-
export { $TimeseriesData } from './schemas/$TimeseriesData';
78-
export { $Token } from './schemas/$Token';
79-
export { $TurnstileQuery } from './schemas/$TurnstileQuery';
80-
export { $TurnstileResponse } from './schemas/$TurnstileResponse';
81-
export { $UnidentifiedItem } from './schemas/$UnidentifiedItem';
82-
export { $UnidentifiedItemCreate } from './schemas/$UnidentifiedItemCreate';
83-
export { $ValidationError } from './schemas/$ValidationError';
84-
export { $WantedModifier } from './schemas/$WantedModifier';
48+
export { $BaseSpecs } from "./schemas/$BaseSpecs";
49+
export { $Body_login_login_access_session } from "./schemas/$Body_login_login_access_session";
50+
export { $Currency } from "./schemas/$Currency";
51+
export { $CurrencyCreate } from "./schemas/$CurrencyCreate";
52+
export { $CurrencyQuery } from "./schemas/$CurrencyQuery";
53+
export { $CurrencyUpdate } from "./schemas/$CurrencyUpdate";
54+
export { $Datum } from "./schemas/$Datum";
55+
export { $GroupedModifierByEffect } from "./schemas/$GroupedModifierByEffect";
56+
export { $GroupedModifierProperties } from "./schemas/$GroupedModifierProperties";
57+
export { $HTTPValidationError } from "./schemas/$HTTPValidationError";
58+
export { $Influences } from "./schemas/$Influences";
59+
export { $Item } from "./schemas/$Item";
60+
export { $ItemBaseType } from "./schemas/$ItemBaseType";
61+
export { $ItemBaseTypeCreate } from "./schemas/$ItemBaseTypeCreate";
62+
export { $ItemBaseTypeUpdate } from "./schemas/$ItemBaseTypeUpdate";
63+
export { $ItemCreate } from "./schemas/$ItemCreate";
64+
export { $ItemModifier } from "./schemas/$ItemModifier";
65+
export { $ItemModifierCreate } from "./schemas/$ItemModifierCreate";
66+
export { $ItemSpecs } from "./schemas/$ItemSpecs";
67+
export { $League } from "./schemas/$League";
68+
export { $LeagueCreate } from "./schemas/$LeagueCreate";
69+
export { $LeagueUpdate } from "./schemas/$LeagueUpdate";
70+
export { $MetadataObject } from "./schemas/$MetadataObject";
71+
export { $Modifier } from "./schemas/$Modifier";
72+
export { $ModifierCreate } from "./schemas/$ModifierCreate";
73+
export { $ModifierLimitation } from "./schemas/$ModifierLimitation";
74+
export { $ModifierUpdate } from "./schemas/$ModifierUpdate";
75+
export { $PlotData } from "./schemas/$PlotData";
76+
export { $PlotQuery } from "./schemas/$PlotQuery";
77+
export { $TimeseriesData } from "./schemas/$TimeseriesData";
78+
export { $Token } from "./schemas/$Token";
79+
export { $TurnstileQuery } from "./schemas/$TurnstileQuery";
80+
export { $TurnstileResponse } from "./schemas/$TurnstileResponse";
81+
export { $UnidentifiedItem } from "./schemas/$UnidentifiedItem";
82+
export { $UnidentifiedItemCreate } from "./schemas/$UnidentifiedItemCreate";
83+
export { $ValidationError } from "./schemas/$ValidationError";
84+
export { $WantedModifier } from "./schemas/$WantedModifier";
8585

86-
export { CurrencysService } from './services/CurrencysService';
87-
export { ItemBaseTypesService } from './services/ItemBaseTypesService';
88-
export { ItemModifiersService } from './services/ItemModifiersService';
89-
export { ItemsService } from './services/ItemsService';
90-
export { LatestCurrenciesService } from './services/LatestCurrenciesService';
91-
export { LatestCurrencyIdService } from './services/LatestCurrencyIdService';
92-
export { LatestHourService } from './services/LatestHourService';
93-
export { LatestItemIdService } from './services/LatestItemIdService';
94-
export { LeaguesService } from './services/LeaguesService';
95-
export { LoginsService } from './services/LoginsService';
96-
export { ModifiersService } from './services/ModifiersService';
97-
export { PlotsService } from './services/PlotsService';
98-
export { TestsService } from './services/TestsService';
99-
export { TurnstilesService } from './services/TurnstilesService';
100-
export { UnidentifiedItemsService } from './services/UnidentifiedItemsService';
86+
export { CurrencyService } from "./services/CurrencyService";
87+
export { ItemService } from "./services/ItemService";
88+
export { ItemBaseTypeService } from "./services/ItemBaseTypeService";
89+
export { ItemModifierService } from "./services/ItemModifierService";
90+
export { LatestCurrenciesService } from "./services/LatestCurrenciesService";
91+
export { LatestCurrencyIdService } from "./services/LatestCurrencyIdService";
92+
export { LatestHoursService } from "./services/LatestHoursService";
93+
export { LatestItemIdService } from "./services/LatestItemIdService";
94+
export { LeagueService } from "./services/LeagueService";
95+
export { LoginService } from "./services/LoginService";
96+
export { ModifierService } from "./services/ModifierService";
97+
export { PlotService } from "./services/PlotService";
98+
export { TestService } from "./services/TestService";
99+
export { TurnstileService } from "./services/TurnstileService";
100+
export { UnidentifiedItemService } from "./services/UnidentifiedItemService";

src/frontend/src/client/models/Body_logins_login_access_session.ts renamed to src/frontend/src/client/models/Body_login_login_access_session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
export type Body_logins_login_access_session = {
5+
export type Body_login_login_access_session = {
66
grant_type?: (string | null);
77
username: string;
88
password: string;

src/frontend/src/client/models/League.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
/* tslint:disable */
44
/* eslint-disable */
55
export type League = {
6-
name: string;
7-
validFrom: string;
8-
validTo?: (string | null);
9-
leagueId: number;
6+
name: string;
7+
validFrom: string;
8+
validTo?: string | null;
9+
version: number;
10+
leagueId: number;
1011
};
11-

src/frontend/src/client/models/LeagueCreate.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
/* tslint:disable */
44
/* eslint-disable */
55
export type LeagueCreate = {
6-
name: string;
7-
validFrom: string;
8-
validTo?: (string | null);
6+
name: string;
7+
validFrom: string;
8+
validTo?: string | null;
9+
version: number;
910
};
10-

src/frontend/src/client/models/LeagueUpdate.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
/* tslint:disable */
44
/* eslint-disable */
55
export type LeagueUpdate = {
6-
leagueId: number;
7-
name: string;
8-
validFrom: string;
9-
validTo?: (string | null);
6+
name: string;
7+
validFrom: string;
8+
validTo?: string | null;
9+
version: number;
10+
leagueId: number;
1011
};
11-

src/frontend/src/client/models/TimeseriesData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/* eslint-disable */
55
import type { Datum } from './Datum';
66
export type TimeseriesData = {
7-
name: number;
7+
leagueId: number;
88
data: Array<Datum>;
99
confidenceRating: 'low' | 'medium' | 'high';
1010
};

src/frontend/src/client/models/UnidentifiedItem.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export type UnidentifiedItem = {
1111
identified?: boolean;
1212
currencyAmount?: (number | null);
1313
currencyId?: (number | null);
14-
nItems: number;
15-
aggregated: boolean;
14+
nItems?: number;
15+
aggregated?: boolean;
1616
createdHoursSinceLaunch: number;
1717
itemId: number;
1818
};

src/frontend/src/client/schemas/$Body_logins_login_access_session.ts renamed to src/frontend/src/client/schemas/$Body_login_login_access_session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/* istanbul ignore file */
33
/* tslint:disable */
44
/* eslint-disable */
5-
export const $Body_logins_login_access_session = {
5+
export const $Body_login_login_access_session = {
66
properties: {
77
grant_type: {
88
type: 'any-of',

src/frontend/src/client/schemas/$League.ts

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,35 @@
33
/* tslint:disable */
44
/* eslint-disable */
55
export const $League = {
6-
properties: {
7-
name: {
8-
type: 'string',
9-
isRequired: true,
10-
},
11-
validFrom: {
12-
type: 'string',
13-
isRequired: true,
14-
format: 'date-time',
15-
},
16-
validTo: {
17-
type: 'any-of',
18-
contains: [{
19-
type: 'string',
20-
format: 'date-time',
21-
}, {
22-
type: 'null',
23-
}],
6+
properties: {
7+
name: {
8+
type: "string",
9+
isRequired: true,
10+
},
11+
validFrom: {
12+
type: "string",
13+
isRequired: true,
14+
format: "date-time",
15+
},
16+
validTo: {
17+
type: "any-of",
18+
contains: [
19+
{
20+
type: "string",
21+
format: "date-time",
2422
},
25-
leagueId: {
26-
type: 'number',
27-
isRequired: true,
23+
{
24+
type: "null",
2825
},
26+
],
27+
},
28+
version: {
29+
type: "number",
30+
isRequired: true,
31+
},
32+
leagueId: {
33+
type: "number",
34+
isRequired: true,
2935
},
36+
},
3037
} as const;

0 commit comments

Comments
 (0)