Type Alias Assignment

type Assignment = {
    assigneeId: string;
    createdAt?: string;
    createdBy?: string;
    id: string;
    links: { self: Link; space?: Link };
    roles: RoleType[];
    spaceId: string;
    tenantId: string;
    type: AssignmentType;
    updatedAt?: string;
    updatedBy?: string;
}
Index

Properties

assigneeId: string

The userId or groupId based on the type.

createdAt?: string

The date and time when the space was created.

createdBy?: string

The ID of the user who created the assignment.

id: string
links: { self: Link; space?: Link }
roles: RoleType[]

The roles assigned to a user or group. Must not be empty.

spaceId: string

The unique identifier for the space.

tenantId: string

The unique identifier for the tenant.

The type of assignment such as user or group

updatedAt?: string

The date and time when the space was updated.

updatedBy?: string

The ID of the user who updated the assignment.