17 lines
367 B
TypeScript
17 lines
367 B
TypeScript
import BaseAction from '../BaseAction';
|
|
import { ActionName } from '../types';
|
|
|
|
interface ReturnType {
|
|
yes: boolean;
|
|
}
|
|
|
|
export default class CanSendRecord extends BaseAction<any, ReturnType> {
|
|
actionName = ActionName.CanSendRecord;
|
|
|
|
protected async _handle(_payload: void): Promise<ReturnType> {
|
|
return {
|
|
yes: true,
|
|
};
|
|
}
|
|
}
|