[CORL-416] Disable Live Updates (#2391)

* feat: initial implementation

* fix: docs
This commit is contained in:
Wyatt Johnson
2019-07-05 23:10:19 +00:00
committed by GitHub
parent da1fa9c9fc
commit e7745a85aa
41 changed files with 626 additions and 28 deletions
+8
View File
@@ -643,3 +643,11 @@ export class InviteRequiresEmailAddresses extends CoralError {
});
}
}
export class LiveUpdatesDisabled extends CoralError {
constructor() {
super({
code: ERROR_CODES.LIVE_UPDATES_DISABLED,
});
}
}
+1
View File
@@ -48,4 +48,5 @@ export const ERROR_TRANSLATIONS: Record<ERROR_CODES, string> = {
JWT_REVOKED: "error-jwtRevoked",
INVITE_TOKEN_EXPIRED: "error-inviteTokenExpired",
INVITE_REQUIRES_EMAIL_ADDRESSES: "error-inviteRequiresEmailAddresses",
LIVE_UPDATES_DISABLED: "error-liveUpdatesDisabled",
};