Skip to main content

ApplyTaskBundleInput

Provides the fields for applying a bundle to a target entity.

input ApplyTaskBundleInput {
bundleId: ID!
targetType: String!
targetId: ID!
anchorDate: Date
}

Fields​

ApplyTaskBundleInput.bundleId ● ID! non-null scalar​

The bundle to apply.

ApplyTaskBundleInput.targetType ● String! non-null scalar​

The target entity's morph alias (e.g. "project", "contract"). Any model registered in the morph map and exposing a tasks() BelongsToMany is a valid target.

ApplyTaskBundleInput.targetId ● ID! non-null scalar​

The target entity's unique identifier.

ApplyTaskBundleInput.anchorDate ● Date scalar​

Anchor date used to convert each template's day offsets into concrete start/due dates. Defaults to today when omitted.

Member Of​

applyTaskBundle mutation