Update types

This commit is contained in:
Dev 2023-10-01 10:19:32 +01:00
parent 148e517508
commit c3d5fd7228
38 changed files with 133 additions and 19 deletions

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile

View File

@ -264,7 +264,7 @@ export interface Props {
CutoffFreq?: number;
Resonance?: number;
RolloffMultiplier?: number;
ReverbVolume: number;
ReverbVolume?: number;
CompressorVolume?: number;
AmbientVolume?: number;
DryVolume?: number;

View File

@ -107,6 +107,12 @@ export declare class MailSendService {
* @returns Sanitised items
*/
protected processItemsBeforeAddingToMail(dialogType: MessageType, messageDetails: ISendMessageDetails): MessageItems;
/**
* Try to find the most correct item to be the 'primary' item in a reward mail
* @param items Possible items to choose from
* @returns Chosen 'primary' item
*/
protected getBaseItemFromRewards(items: Item[]): Item;
/**
* Get a dialog with a specified entity (user/trader)
* Create and store empty dialog if none exists in profile