sendou.ink/app/features/associations/associations-constants.ts
Kalle fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00

13 lines
440 B
TypeScript

export const ASSOCIATION = {
VIRTUAL_IDENTIFIERS: ["+1", "+2", "+3", "FRIENDS"] as const,
MAX_COUNT_REGULAR_USER: 3,
MAX_COUNT_SUPPORTER: 6,
MAX_ASSOCIATION_MEMBER_COUNT: 300,
};
export type AssociationVirtualIdentifier =
(typeof ASSOCIATION)["VIRTUAL_IDENTIFIERS"][number];
/** If number, an actual association id and if string then a virtual identifier */
export type AssociationIdentifier = number | AssociationVirtualIdentifier;