@valiantys/atlassian-app 3.2.0-alpha-6 → 3.2.0-alpha-7

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.
@@ -1664,7 +1664,7 @@
1664
1664
  {
1665
1665
  "kind": "Reference",
1666
1666
  "text": "UpdateIssue",
1667
- "canonicalReference": "@valiantys/atlassian-app!~UpdateIssue:type"
1667
+ "canonicalReference": "@valiantys/atlassian-app!~UpdateIssue:interface"
1668
1668
  },
1669
1669
  {
1670
1670
  "kind": "Content",
@@ -397,7 +397,16 @@ declare interface TransitionIssueRequest {
397
397
  update?: any;
398
398
  }
399
399
 
400
- declare type UpdateIssue = CreateIssue;
400
+ declare interface UpdateIssue {
401
+ fields?: IssueFields<AtlassianDocumentFormat | string>;
402
+ properties?: {
403
+ key: string;
404
+ value: unknown;
405
+ }[];
406
+ transition?: IssueTransition;
407
+ update?: Record<string, Record<string, unknown>[]>;
408
+ historyMetadata?: HistoryMetadata;
409
+ }
401
410
 
402
411
  declare interface User {
403
412
  accountId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valiantys/atlassian-app",
3
- "version": "3.2.0-alpha-6",
3
+ "version": "3.2.0-alpha-7",
4
4
  "description": "This library provides Atlassian Forge components, wrappers, and utilities to support writing Forge apps that can run deployed or in standalone mode",
5
5
  "exports": {
6
6
  "./frontend-app": {
@@ -6265,31 +6265,187 @@
6265
6265
  "extendsTokenRanges": []
6266
6266
  },
6267
6267
  {
6268
- "kind": "TypeAlias",
6269
- "canonicalReference": "@valiantys/atlassian-app!UpdateIssue:type",
6268
+ "kind": "Interface",
6269
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue:interface",
6270
6270
  "docComment": "",
6271
6271
  "excerptTokens": [
6272
6272
  {
6273
6273
  "kind": "Content",
6274
- "text": "export type UpdateIssue = "
6274
+ "text": "export interface UpdateIssue "
6275
+ }
6276
+ ],
6277
+ "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
6278
+ "releaseTag": "Public",
6279
+ "name": "UpdateIssue",
6280
+ "preserveMemberOrder": false,
6281
+ "members": [
6282
+ {
6283
+ "kind": "PropertySignature",
6284
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#fields:member",
6285
+ "docComment": "",
6286
+ "excerptTokens": [
6287
+ {
6288
+ "kind": "Content",
6289
+ "text": "fields?: "
6290
+ },
6291
+ {
6292
+ "kind": "Reference",
6293
+ "text": "IssueFields",
6294
+ "canonicalReference": "@valiantys/atlassian-app!IssueFields:type"
6295
+ },
6296
+ {
6297
+ "kind": "Content",
6298
+ "text": "<"
6299
+ },
6300
+ {
6301
+ "kind": "Reference",
6302
+ "text": "AtlassianDocumentFormat",
6303
+ "canonicalReference": "@valiantys/atlassian-app!AtlassianDocumentFormat:interface"
6304
+ },
6305
+ {
6306
+ "kind": "Content",
6307
+ "text": " | string>"
6308
+ },
6309
+ {
6310
+ "kind": "Content",
6311
+ "text": ";"
6312
+ }
6313
+ ],
6314
+ "isReadonly": false,
6315
+ "isOptional": true,
6316
+ "releaseTag": "Public",
6317
+ "name": "fields",
6318
+ "propertyTypeTokenRange": {
6319
+ "startIndex": 1,
6320
+ "endIndex": 5
6321
+ }
6275
6322
  },
6276
6323
  {
6277
- "kind": "Reference",
6278
- "text": "CreateIssue",
6279
- "canonicalReference": "@valiantys/atlassian-app!CreateIssue:interface"
6324
+ "kind": "PropertySignature",
6325
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#historyMetadata:member",
6326
+ "docComment": "",
6327
+ "excerptTokens": [
6328
+ {
6329
+ "kind": "Content",
6330
+ "text": "historyMetadata?: "
6331
+ },
6332
+ {
6333
+ "kind": "Reference",
6334
+ "text": "HistoryMetadata",
6335
+ "canonicalReference": "@valiantys/atlassian-app!HistoryMetadata:interface"
6336
+ },
6337
+ {
6338
+ "kind": "Content",
6339
+ "text": ";"
6340
+ }
6341
+ ],
6342
+ "isReadonly": false,
6343
+ "isOptional": true,
6344
+ "releaseTag": "Public",
6345
+ "name": "historyMetadata",
6346
+ "propertyTypeTokenRange": {
6347
+ "startIndex": 1,
6348
+ "endIndex": 2
6349
+ }
6280
6350
  },
6281
6351
  {
6282
- "kind": "Content",
6283
- "text": ";"
6352
+ "kind": "PropertySignature",
6353
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#properties:member",
6354
+ "docComment": "",
6355
+ "excerptTokens": [
6356
+ {
6357
+ "kind": "Content",
6358
+ "text": "properties?: "
6359
+ },
6360
+ {
6361
+ "kind": "Content",
6362
+ "text": "{\n key: string;\n value: unknown;\n }[]"
6363
+ },
6364
+ {
6365
+ "kind": "Content",
6366
+ "text": ";"
6367
+ }
6368
+ ],
6369
+ "isReadonly": false,
6370
+ "isOptional": true,
6371
+ "releaseTag": "Public",
6372
+ "name": "properties",
6373
+ "propertyTypeTokenRange": {
6374
+ "startIndex": 1,
6375
+ "endIndex": 2
6376
+ }
6377
+ },
6378
+ {
6379
+ "kind": "PropertySignature",
6380
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#transition:member",
6381
+ "docComment": "",
6382
+ "excerptTokens": [
6383
+ {
6384
+ "kind": "Content",
6385
+ "text": "transition?: "
6386
+ },
6387
+ {
6388
+ "kind": "Reference",
6389
+ "text": "IssueTransition",
6390
+ "canonicalReference": "@valiantys/atlassian-app!IssueTransition:interface"
6391
+ },
6392
+ {
6393
+ "kind": "Content",
6394
+ "text": ";"
6395
+ }
6396
+ ],
6397
+ "isReadonly": false,
6398
+ "isOptional": true,
6399
+ "releaseTag": "Public",
6400
+ "name": "transition",
6401
+ "propertyTypeTokenRange": {
6402
+ "startIndex": 1,
6403
+ "endIndex": 2
6404
+ }
6405
+ },
6406
+ {
6407
+ "kind": "PropertySignature",
6408
+ "canonicalReference": "@valiantys/atlassian-app!UpdateIssue#update:member",
6409
+ "docComment": "",
6410
+ "excerptTokens": [
6411
+ {
6412
+ "kind": "Content",
6413
+ "text": "update?: "
6414
+ },
6415
+ {
6416
+ "kind": "Reference",
6417
+ "text": "Record",
6418
+ "canonicalReference": "!Record:type"
6419
+ },
6420
+ {
6421
+ "kind": "Content",
6422
+ "text": "<string, "
6423
+ },
6424
+ {
6425
+ "kind": "Reference",
6426
+ "text": "Record",
6427
+ "canonicalReference": "!Record:type"
6428
+ },
6429
+ {
6430
+ "kind": "Content",
6431
+ "text": "<string, unknown>[]>"
6432
+ },
6433
+ {
6434
+ "kind": "Content",
6435
+ "text": ";"
6436
+ }
6437
+ ],
6438
+ "isReadonly": false,
6439
+ "isOptional": true,
6440
+ "releaseTag": "Public",
6441
+ "name": "update",
6442
+ "propertyTypeTokenRange": {
6443
+ "startIndex": 1,
6444
+ "endIndex": 5
6445
+ }
6284
6446
  }
6285
6447
  ],
6286
- "fileUrlPath": "../../jira/shared/util-jira-v3-api/src/lib/issue.d.ts",
6287
- "releaseTag": "Public",
6288
- "name": "UpdateIssue",
6289
- "typeTokenRange": {
6290
- "startIndex": 1,
6291
- "endIndex": 2
6292
- }
6448
+ "extendsTokenRanges": []
6293
6449
  },
6294
6450
  {
6295
6451
  "kind": "Interface",
@@ -648,7 +648,21 @@ export interface TransitionIssueRequest {
648
648
  }
649
649
 
650
650
  // @public (undocumented)
651
- export type UpdateIssue = CreateIssue;
651
+ export interface UpdateIssue {
652
+ // (undocumented)
653
+ fields?: IssueFields<AtlassianDocumentFormat | string>;
654
+ // (undocumented)
655
+ historyMetadata?: HistoryMetadata;
656
+ // (undocumented)
657
+ properties?: {
658
+ key: string;
659
+ value: unknown;
660
+ }[];
661
+ // (undocumented)
662
+ transition?: IssueTransition;
663
+ // (undocumented)
664
+ update?: Record<string, Record<string, unknown>[]>;
665
+ }
652
666
 
653
667
  // @public (undocumented)
654
668
  export interface User {
@@ -423,7 +423,16 @@ export declare interface TransitionIssueRequest {
423
423
  update?: any;
424
424
  }
425
425
 
426
- export declare type UpdateIssue = CreateIssue;
426
+ export declare interface UpdateIssue {
427
+ fields?: IssueFields<AtlassianDocumentFormat | string>;
428
+ properties?: {
429
+ key: string;
430
+ value: unknown;
431
+ }[];
432
+ transition?: IssueTransition;
433
+ update?: Record<string, Record<string, unknown>[]>;
434
+ historyMetadata?: HistoryMetadata;
435
+ }
427
436
 
428
437
  export declare interface User {
429
438
  accountId: string;