mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
8 lines
265 B
TypeScript
8 lines
265 B
TypeScript
import { Processor } from 'src/sql-tools/types';
|
|
|
|
export const processEnums: Processor = (ctx, items) => {
|
|
for (const { item } of items.filter((item) => item.type === 'enum')) {
|
|
// TODO log warnings if enum name is not unique
|
|
ctx.enums.push(item);
|
|
}
|
|
};
|