Christian Capeans fe1bb44299 Create transfer tokens
Co-authored-by: Bassel Kanso <basselkanso82@gmail.com>
Co-authored-by: Jean-Sébastien Herbaux <Convly@users.noreply.github.com>
Co-authored-by: Simone <simone.taeggi@strapi.io>
Co-authored-by: Ben Irvin <innerdvations@users.noreply.github.com>
2023-02-02 13:15:41 +01:00

26 lines
864 B
TypeScript

import * as role from '../services/role';
import * as user from '../services/user';
import * as permission from '../services/permission';
import * as contentType from '../services/content-type';
import * as metrics from '../services/metrics';
import * as token from '../services/token';
import * as auth from '../services/auth';
import * as apiToken from '../services/api-token';
import * as projectSettings from '../services/project-settings';
import * as transfer from '../services/transfer';
type S = {
role: typeof role;
user: typeof user;
permission: typeof permission;
'content-type': typeof contentType;
token: typeof token;
auth: typeof auth;
metrics: typeof metrics;
'api-token': typeof apiToken;
'project-settings': typeof projectSettings;
transfer: typeof transfer;
};
export function getService<T extends keyof S>(name: T): S[T];