mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-28 04:46:28 -08:00
17 lines
761 B
TypeScript
17 lines
761 B
TypeScript
export const knockSupported = (version: string): boolean => {
|
|
const unsupportedVersion = ['1', '2', '3', '4', '5', '6'];
|
|
return !unsupportedVersion.includes(version);
|
|
};
|
|
export const restrictedSupported = (version: string): boolean => {
|
|
const unsupportedVersion = ['1', '2', '3', '4', '5', '6', '7'];
|
|
return !unsupportedVersion.includes(version);
|
|
};
|
|
export const knockRestrictedSupported = (version: string): boolean => {
|
|
const unsupportedVersion = ['1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
|
return !unsupportedVersion.includes(version);
|
|
};
|
|
export const creatorsSupported = (version: string): boolean => {
|
|
const unsupportedVersion = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11'];
|
|
return !unsupportedVersion.includes(version);
|
|
};
|