backend/source/api/actions/caldav_put.ts
2024-11-28 23:08:24 +01:00

32 lines
448 B
TypeScript

namespace _zeitbild.api
{
/**
*/
export function register_caldav_put(
rest_subject : lib_plankton.rest_caldav.type_rest
) : void
{
register<
null,
null
>(
rest_subject,
lib_plankton.caldav.enum_method.put,
"/caldav",
{
"restriction": restriction_none,
"execution": async (stuff) => {
return Promise.resolve(
{
"status_code": 200,
"data": null
}
);
}
}
);
}
}