@phoenixlan/phoenix.js 2.23.0 → 2.24.0
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/build/user/index.d.ts +6 -0
- package/package.json +1 -1
package/build/user/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import * as Oauth from './oauth';
|
|
2
2
|
import { FullTicket, FullTicketTransfer } from "../ticket";
|
|
3
3
|
import { PositionFacingPositionMapping } from '../position_mapping';
|
|
4
|
+
interface UserConsent {
|
|
5
|
+
consent_type: string;
|
|
6
|
+
source: string;
|
|
7
|
+
created: number;
|
|
8
|
+
}
|
|
4
9
|
export interface BaseUser {
|
|
5
10
|
uuid: string;
|
|
6
11
|
username: string;
|
|
@@ -33,6 +38,7 @@ export declare type FullUser = {
|
|
|
33
38
|
tos_level: number;
|
|
34
39
|
position_mappings: Array<PositionFacingPositionMapping>;
|
|
35
40
|
avatar_uuid?: string;
|
|
41
|
+
consents: Array<UserConsent>;
|
|
36
42
|
} & BaseUser;
|
|
37
43
|
export interface DiscordMapping {
|
|
38
44
|
discord_id: string;
|