30 lines
402 B
TypeScript
30 lines
402 B
TypeScript
namespace _lixer_event_reminder
|
|
{
|
|
|
|
/**
|
|
*/
|
|
export type type_event = {
|
|
title : string;
|
|
begin : lib_plankton.pit.type_datetime,
|
|
end : (null | lib_plankton.pit.type_datetime),
|
|
location : (null | string);
|
|
};
|
|
|
|
|
|
/**
|
|
*/
|
|
export type type_source = {
|
|
fetch : (() => Promise<Array<type_event>>);
|
|
};
|
|
|
|
|
|
/**
|
|
*/
|
|
export type type_target = {
|
|
chat_id : int;
|
|
interval : Array<int>;
|
|
};
|
|
|
|
}
|
|
|