import type { UMB_CURRENT_USER_GROUP_ID_CONDITION_ALIAS } from './constants.js'; import type { UmbConditionConfigBase } from '../../../../../libs/extension-api/index.js'; export interface UmbCurrentUserGroupIdConditionConfig extends UmbConditionConfigBase { /** * The user group that the current user must be a member of to pass the condition. * @examples ['guid1'] */ match?: string; /** * The user group(s) that the current user must be a member of to pass the condition. * @examples [['guid1', 'guid2']] */ oneOf?: Array; /** * The user groups that the current user must be a member of to pass the condition. * @examples [['guid1', 'guid2']] */ allOf?: Array; /** * The user group(s) that the current user must not be a member of to pass the condition. * @examples [['guid1', 'guid2']] */ noneOf?: Array; } declare global { interface UmbExtensionConditionConfigMap { UmbCurrentUserGroupIdConditionConfig: UmbCurrentUserGroupIdConditionConfig; } }