Files
Tom Moor 0ec6440506 Prevent outdated clients from connecting to collaboration server (#8751)
* Move editor version check to collaboration server connection

* connected -> onConnect

* docs

* Remove hardcoded event codes
2025-03-22 14:35:45 -07:00

25 lines
440 B
TypeScript

export const DocumentTooLarge = {
code: 1009,
reason: "Document Too Large",
};
export const AuthenticationFailed = {
code: 4401,
reason: "Authentication Failed",
};
export const AuthorizationFailed = {
code: 4403,
reason: "Authorization Failed",
};
export const TooManyConnections = {
code: 4503,
reason: "Too Many Connections",
};
export const EditorUpdateError = {
code: 5000,
reason: "Editor Update Required",
};