2025-01-01 02:42:51 +01:00

3 lines
240 B
TypeScript

export const isDomainLocked = (status: string[], type: 'client' | 'server'): boolean =>
(status.includes(type + ' update prohibited') && status.includes(type + ' delete prohibited')) ||
status.includes(type + ' transfer prohibited')