import type { CollectionEntry } from "astro:content";
import { ANONYMOUS_USER_ID } from "@content/config";

const ID: CollectionEntry<"users">["id"] = ANONYMOUS_USER_ID;

export const isAnonymousUser = (user: CollectionEntry<"users">) => user.id === ID;
