🆙 Init V3

This commit is contained in:
DuckieTM
2026-01-31 09:10:52 +01:00
commit 7feb10ab15
1733 changed files with 53405 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
export const GetIssueCategoryName = (categoryId: number) =>
{
switch(categoryId)
{
case 1:
case 2:
return 'Normal';
case 3:
return 'Automatic';
case 4:
return 'Automatic IM';
case 5:
return 'Guide System';
case 6:
return 'IM';
case 7:
return 'Room';
case 8:
return 'Panic';
case 9:
return 'Guardian';
case 10:
return 'Automatic Helper';
case 11:
return 'Discussion';
case 12:
return 'Selfie';
case 14:
return 'Photo';
case 15:
return 'Ambassador';
}
return 'Unknown';
};
+5
View File
@@ -0,0 +1,5 @@
export interface ISelectedUser
{
userId: number;
username: string;
}
+6
View File
@@ -0,0 +1,6 @@
export interface IUserInfo
{
nameKey: string;
nameKeyFallback: string;
value: string;
}
+49
View File
@@ -0,0 +1,49 @@
export class ModActionDefinition
{
public static ALERT: number = 1;
public static MUTE: number = 2;
public static BAN: number = 3;
public static KICK: number = 4;
public static TRADE_LOCK: number = 5;
public static MESSAGE: number = 6;
private readonly _actionId: number;
private readonly _name: string;
private readonly _actionType: number;
private readonly _sanctionTypeId: number;
private readonly _actionLengthHours: number;
constructor(actionId: number, actionName: string, actionType: number, sanctionTypeId: number, actionLengthHours:number)
{
this._actionId = actionId;
this._name = actionName;
this._actionType = actionType;
this._sanctionTypeId = sanctionTypeId;
this._actionLengthHours = actionLengthHours;
}
public get actionId(): number
{
return this._actionId;
}
public get name(): string
{
return this._name;
}
public get actionType(): number
{
return this._actionType;
}
public get sanctionTypeId(): number
{
return this._sanctionTypeId;
}
public get actionLengthHours(): number
{
return this._actionLengthHours;
}
}
+4
View File
@@ -0,0 +1,4 @@
export * from './GetIssueCategoryName';
export * from './ISelectedUser';
export * from './IUserInfo';
export * from './ModActionDefinition';