mirror of
https://github.com/strapi/strapi.git
synced 2025-07-12 11:31:38 +00:00
15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
import * as usersPermissions from '../services/users-permissions';
|
|
import * as user from '../services/user';
|
|
import * as jwt from '../services/jwt';
|
|
import * as providers from '../services/providers';
|
|
|
|
|
|
type S = {
|
|
['users-permissions']: typeof usersPermissions;
|
|
user: typeof user;
|
|
jwt: typeof jwt;
|
|
providers: typeof providers;
|
|
};
|
|
|
|
export function getService<T extends keyof S>(name: T): ReturnType<S[T]>;
|