@fabrix/spool-tapestries
Version:
Spool - Tapestries, Easy RESTful Services
32 lines (31 loc) • 664 B
TypeScript
export declare const Routes: {
'/{model}': {
config: {
prefix: string;
};
'POST': string;
};
'/{model}/{id?}': {
config: {
prefix: string;
};
'GET': string;
'PUT': string;
'PATCH': string;
'DELETE': string;
};
'/{parentModel}/{parentId}/{childAttribute}': {
config: {
prefix: string;
};
'POST': string;
};
'/{parentModel}/{parentId}/{childAttribute}/{childId?}': {
config: {
prefix: string;
};
'GET': string;
'PUT': string;
'DELETE': string;
};
};