@burdenoff/microfe-planmagnet 2026.925.8 → 2026.925.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -553,6 +553,8 @@ export declare enum MilestoneStatus {
553
553
  export type Mutation = {
554
554
  __typename?: 'Mutation';
555
555
  _planmagnetPing?: Maybe<Scalars['String']['output']>;
556
+ /** Post a comment on a work item */
557
+ planmagnetAddWorkItemComment: PlanmagnetWorkItemComment;
556
558
  /** Add work items to a sprint */
557
559
  planmagnetAddWorkItemsToSprint: Sprint;
558
560
  /**
@@ -680,6 +682,10 @@ export type Mutation = {
680
682
  planmagnetDeleteTimeEntry: Scalars['Boolean']['output'];
681
683
  /** Soft-delete a work item */
682
684
  planmagnetDeleteWorkItem: Scalars['Boolean']['output'];
685
+ /** Delete your own comment (only its author can) */
686
+ planmagnetDeleteWorkItemComment: Scalars['Boolean']['output'];
687
+ /** Change the text of your own comment (only its author can) */
688
+ planmagnetEditWorkItemComment: PlanmagnetWorkItemComment;
683
689
  /**
684
690
  * Manually run an automation rule (BOFF-4445) against a specific work item.
685
691
  *
@@ -854,6 +860,9 @@ export type Mutation = {
854
860
  /** Vote on a feature request */
855
861
  planmagnetVoteOnFeature: FeatureVote;
856
862
  };
863
+ export type MutationPlanmagnetAddWorkItemCommentArgs = {
864
+ input: PlanmagnetAddWorkItemCommentInput;
865
+ };
857
866
  export type MutationPlanmagnetAddWorkItemsToSprintArgs = {
858
867
  id: Scalars['ID']['input'];
859
868
  input: PlanmagnetSprintWorkItemsInput;
@@ -1045,6 +1054,13 @@ export type MutationPlanmagnetDeleteTimeEntryArgs = {
1045
1054
  export type MutationPlanmagnetDeleteWorkItemArgs = {
1046
1055
  id: Scalars['ID']['input'];
1047
1056
  };
1057
+ export type MutationPlanmagnetDeleteWorkItemCommentArgs = {
1058
+ id: Scalars['ID']['input'];
1059
+ };
1060
+ export type MutationPlanmagnetEditWorkItemCommentArgs = {
1061
+ body: Scalars['String']['input'];
1062
+ id: Scalars['ID']['input'];
1063
+ };
1048
1064
  export type MutationPlanmagnetExecuteAutomationRuleArgs = {
1049
1065
  id: Scalars['ID']['input'];
1050
1066
  triggerData?: InputMaybe<Scalars['JSON']['input']>;
@@ -1278,6 +1294,11 @@ export declare enum ObjectiveStatus {
1278
1294
  Completed = "COMPLETED",
1279
1295
  Draft = "DRAFT"
1280
1296
  }
1297
+ export type PlanmagnetAddWorkItemCommentInput = {
1298
+ /** Comment text (1 to 10,000 characters after trimming) */
1299
+ body: Scalars['String']['input'];
1300
+ workItemId: Scalars['ID']['input'];
1301
+ };
1281
1302
  /**
1282
1303
  * One recorded AI call. Every call is written, success or failure, by
1283
1304
  * AiGatewayService.completeWithDecision.
@@ -3190,6 +3211,28 @@ export type PlanmagnetWorkItemBreakdownResult = {
3190
3211
  provider: Scalars['String']['output'];
3191
3212
  suggestions: Array<PlanmagnetWorkItemSuggestion>;
3192
3213
  };
3214
+ /**
3215
+ * A comment on a work item. Visible to everyone who can read the work item;
3216
+ * only its author can edit or delete it.
3217
+ */
3218
+ export type PlanmagnetWorkItemComment = {
3219
+ __typename?: 'PlanmagnetWorkItemComment';
3220
+ /** Actor who posted the comment */
3221
+ authorId: Scalars['String']['output'];
3222
+ body: Scalars['String']['output'];
3223
+ createdAt: Scalars['DateTime']['output'];
3224
+ /** Set when the author changed the body after posting */
3225
+ editedAt?: Maybe<Scalars['DateTime']['output']>;
3226
+ id: Scalars['ID']['output'];
3227
+ updatedAt: Scalars['DateTime']['output'];
3228
+ workItemId: Scalars['String']['output'];
3229
+ };
3230
+ export type PlanmagnetWorkItemCommentList = {
3231
+ __typename?: 'PlanmagnetWorkItemCommentList';
3232
+ items: Array<PlanmagnetWorkItemComment>;
3233
+ pageInfo: PlanmagnetPageInfo;
3234
+ totalCount: Scalars['Int']['output'];
3235
+ };
3193
3236
  /**
3194
3237
  * Server-side counts of the work items matching a filter. The list query returns
3195
3238
  * at most 100 rows per page, so a count taken from a page undercounts any
@@ -3678,6 +3721,8 @@ export type Query = {
3678
3721
  planmagnetVelocity: PlanmagnetVelocity;
3679
3722
  /** Get a single work item by ID */
3680
3723
  planmagnetWorkItem?: Maybe<WorkItem>;
3724
+ /** Comments on a work item, oldest first */
3725
+ planmagnetWorkItemComments: PlanmagnetWorkItemCommentList;
3681
3726
  /**
3682
3727
  * Count work items matching a filter, in total, per status and per project,
3683
3728
  * computed on the server
@@ -3958,6 +4003,10 @@ export type QueryPlanmagnetVelocityArgs = {
3958
4003
  export type QueryPlanmagnetWorkItemArgs = {
3959
4004
  id: Scalars['ID']['input'];
3960
4005
  };
4006
+ export type QueryPlanmagnetWorkItemCommentsArgs = {
4007
+ pagination?: InputMaybe<PlanmagnetPaginationInput>;
4008
+ workItemId: Scalars['ID']['input'];
4009
+ };
3961
4010
  export type QueryPlanmagnetWorkItemCountsArgs = {
3962
4011
  filter?: InputMaybe<PlanmagnetWorkItemFilter>;
3963
4012
  workspaceId: Scalars['ID']['input'];