Skip to main content

Interface: IdentifiedMemberContactConflict

Defined in: packages/sdk/src/types/member-types.ts:400

A conflict that names the member holding the value.

This is what the resolution UI needs: something to show the user. Whether they may also act on it is a separate question answered by canRelease — a non-admin still benefits from being told who holds the value and to ask an admin. The only conflict excluded here is the server's race backstop, which has no id and so has nothing to display beyond its message.

Extends

Properties

canRelease

canRelease: boolean

Defined in: packages/sdk/src/types/member-types.ts:321

Whether the caller holds members:admin and may release the value.

Inherited from

MemberContactConflict.canRelease


code

code: "MEMBER_CONTACT_CONFLICT"

Defined in: packages/sdk/src/types/member-types.ts:310

Inherited from

MemberContactConflict.code


conflictField

conflictField: MemberContactField

Defined in: packages/sdk/src/types/member-types.ts:312

Inherited from

MemberContactConflict.conflictField


conflictingMemberArchived

conflictingMemberArchived: boolean

Defined in: packages/sdk/src/types/member-types.ts:319

Inherited from

MemberContactConflict.conflictingMemberArchived


conflictingMemberId

conflictingMemberId: number

Defined in: packages/sdk/src/types/member-types.ts:401

null on the server's race backstop, which learns that a uniqueness constraint fired but not who holds the value. canRelease is always false in that case — there is nothing to release from.

Overrides

MemberContactConflict.conflictingMemberId


error

error: true

Defined in: packages/sdk/src/types/member-types.ts:309

Inherited from

MemberContactConflict.error


message

message: string

Defined in: packages/sdk/src/types/member-types.ts:311

Inherited from

MemberContactConflict.message