mirror of
https://github.com/immich-app/immich.git
synced 2025-12-18 09:13:15 +03:00
9 lines
309 B
TypeScript
9 lines
309 B
TypeScript
import { Processor } from 'src/sql-tools/from-code/processors/type';
|
|
|
|
export const processFunctions: Processor = (builder, items) => {
|
|
for (const { item } of items.filter((item) => item.type === 'function')) {
|
|
// TODO log warnings if function name is not unique
|
|
builder.functions.push(item);
|
|
}
|
|
};
|