mirror of
https://github.com/zebrajr/immich.git
synced 2025-12-06 12:20:54 +01:00
12 lines
283 B
TypeScript
12 lines
283 B
TypeScript
import { RegisterItem } from 'src/sql-tools/register-item';
|
|
|
|
const items: RegisterItem[] = [];
|
|
|
|
export const register = (item: RegisterItem) => void items.push(item);
|
|
|
|
export const getRegisteredItems = () => items;
|
|
|
|
export const resetRegisteredItems = () => {
|
|
items.length = 0;
|
|
};
|