typedserver/ts_interfaces/typedrequests.ts

27 lines
693 B
TypeScript
Raw Permalink Normal View History

2023-08-06 15:45:30 +00:00
// not using the global plugins here to support better bundling...
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
2023-03-30 13:15:48 +00:00
2023-07-01 10:29:35 +00:00
export interface IReq_PushLatestServerChangeTime
extends typedrequestInterfaces.implementsTR<
typedrequestInterfaces.ITypedRequest,
IReq_PushLatestServerChangeTime
> {
method: 'pushLatestServerChangeTime';
2023-03-30 13:15:48 +00:00
request: {
time: number;
};
2023-07-01 10:29:35 +00:00
response: {};
2023-03-30 13:15:48 +00:00
}
2023-03-31 11:18:23 +00:00
2023-07-01 10:29:35 +00:00
export interface IReq_GetLatestServerChangeTime
extends typedrequestInterfaces.implementsTR<
typedrequestInterfaces.ITypedRequest,
IReq_GetLatestServerChangeTime
> {
method: 'getLatestServerChangeTime';
2023-03-31 11:18:23 +00:00
request: {};
response: {
time: number;
2023-07-01 10:29:35 +00:00
};
2023-03-31 11:18:23 +00:00
}