add "is from local bubble instance" role condition

This commit is contained in:
Hazelnoot 2025-05-10 13:04:03 -04:00
parent cace4153e4
commit 655290f8a4
5 changed files with 18 additions and 0 deletions

View file

@ -56,6 +56,13 @@ type CondFormulaValueIsFromInstance = {
subdomains: boolean;
};
/**
* Is the user from a local bubble instance
*/
type CondFormulaValueFromBubbleInstance = {
type: 'fromBubbleInstance';
};
/**
*
*/
@ -234,6 +241,7 @@ export type RoleCondFormulaValue = { id: string } & (
CondFormulaValueIsLocal |
CondFormulaValueIsRemote |
CondFormulaValueIsFromInstance |
CondFormulaValueFromBubbleInstance |
CondFormulaValueIsSuspended |
CondFormulaValueIsLocked |
CondFormulaValueIsBot |