mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-21 00:15:08 +01:00
9 lines
214 B
TypeScript
9 lines
214 B
TypeScript
|
import Chart from './core';
|
||
|
|
||
|
export const entities = Object.values(require('require-all')({
|
||
|
dirname: __dirname + '/charts/schemas',
|
||
|
resolve: (x: any) => {
|
||
|
return Chart.schemaToEntity(x.name, x.schema);
|
||
|
}
|
||
|
}));
|