@koloseum/types 0.1.11 → 0.1.13
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/dist/general.d.ts +4 -3
- package/dist/public/auth.d.ts +2 -2
- package/package.json +1 -1
package/dist/general.d.ts
CHANGED
|
@@ -46,7 +46,8 @@ export interface IGDBPlatformsResponse {
|
|
|
46
46
|
name: string;
|
|
47
47
|
platform_family: number;
|
|
48
48
|
}
|
|
49
|
-
export type
|
|
49
|
+
export type MicroserviceGroup = "public" | "players" | "lounges" | "backroom";
|
|
50
|
+
export type Microservice<MicroserviceGroup> = (MicroserviceGroup extends "backroom" ? "compliance" | "competitions" | "commerce" | "staff" : never) | "account";
|
|
50
51
|
export interface MicroserviceFeature {
|
|
51
52
|
name: string;
|
|
52
53
|
description: string;
|
|
@@ -63,7 +64,7 @@ export type MicroserviceRole = {
|
|
|
63
64
|
root?: false;
|
|
64
65
|
featureSlugs: string[];
|
|
65
66
|
});
|
|
66
|
-
export type MicroserviceObject = {
|
|
67
|
+
export type MicroserviceObject<MicroserviceGroup> = {
|
|
67
68
|
name: string;
|
|
68
69
|
description: string;
|
|
69
70
|
features: MicroserviceFeature[];
|
|
@@ -71,7 +72,7 @@ export type MicroserviceObject = {
|
|
|
71
72
|
slug: "account";
|
|
72
73
|
roles: null;
|
|
73
74
|
} | {
|
|
74
|
-
slug: Exclude<Microservice
|
|
75
|
+
slug: Exclude<Microservice<MicroserviceGroup>, "account">;
|
|
75
76
|
roles: MicroserviceRole[];
|
|
76
77
|
});
|
|
77
78
|
export type UserWithAppMetadata = User & {
|
package/dist/public/auth.d.ts
CHANGED
|
@@ -188,8 +188,8 @@ export interface RawCompanyVerificationDataObject {
|
|
|
188
188
|
companyName: string;
|
|
189
189
|
companyNumber: string;
|
|
190
190
|
companyType: string;
|
|
191
|
-
dateOfRegistration
|
|
192
|
-
dateOfDissolution?: string;
|
|
191
|
+
dateOfRegistration?: string | null;
|
|
192
|
+
dateOfDissolution?: string | null;
|
|
193
193
|
countryCode: string;
|
|
194
194
|
persons: CompanyPerson[];
|
|
195
195
|
}
|