Logo
Explore Help
Register Sign In
yujunjun/strapi
1
0
Fork 0
You've already forked strapi
mirror of https://github.com/strapi/strapi.git synced 2025-07-25 09:56:53 +00:00
Code Issues Packages Projects Releases Wiki Activity
strapi/packages/core/admin/server/src/destroy.ts

9 lines
213 B
TypeScript
Raw Normal View History

feat: Migrate @strapi/admin server to typescript (#18232) Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com> Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-16 16:38:15 +01:00
import { getService } from './utils';
Move admin lifecycle functions and rename models to content-types
2021-08-23 22:04:15 +02:00
feat: Migrate @strapi/admin server to typescript (#18232) Co-authored-by: Jamie Howard <48524071+jhoward1994@users.noreply.github.com> Co-authored-by: Josh <37798644+joshuaellis@users.noreply.github.com>
2023-11-16 16:38:15 +01:00
export default async () => {
Move admin lifecycle functions and rename models to content-types
2021-08-23 22:04:15 +02:00
const { conditionProvider, actionProvider } = getService('permission');
await conditionProvider.clear();
await actionProvider.clear();
};
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 1634ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API