@linear/sdk 7.0.0 → 7.0.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - bb61209: chore(deps): update dependency patch versions
8
+ - b194ff7: feat(schema): [non_breaking] Type 'AttachmentSourcesPayload' was added (AttachmentSourcesPayload)
9
+
10
+ feat(schema): [non_breaking] Field 'isGroup' was added to object type 'IssueLabel' (IssueLabel.isGroup)
11
+
12
+ feat(schema): [non_breaking] Field 'attachmentSources' was added to object type 'Query' (Query.attachmentSources)
13
+
3
14
  ## 7.0.0
4
15
 
5
16
  ### Major Changes
@@ -258,6 +258,11 @@ export declare type AttachmentPayload = {
258
258
  /** Whether the operation was successful. */
259
259
  success: Scalars["Boolean"];
260
260
  };
261
+ export declare type AttachmentSourcesPayload = {
262
+ __typename?: "AttachmentSourcesPayload";
263
+ /** A unique list of all source types used in this workspace */
264
+ sources: Scalars["JSONObject"];
265
+ };
261
266
  export declare type AttachmentUpdateInput = {
262
267
  /** An icon url to display with the attachment. Should be of jpg or png format. Maximum of 1MB in size. Dimensions should be 20x20px for optimal display quality. */
263
268
  iconUrl?: Maybe<Scalars["String"]>;
@@ -2690,6 +2695,8 @@ export declare type IssueLabel = Node & {
2690
2695
  description?: Maybe<Scalars["String"]>;
2691
2696
  /** The unique identifier of the entity. */
2692
2697
  id: Scalars["ID"];
2698
+ /** Whether this label is considered to be a group. */
2699
+ isGroup: Scalars["Boolean"];
2693
2700
  /** Issues associated with the label. */
2694
2701
  issues: IssueConnection;
2695
2702
  /** The label's name. */
@@ -6453,6 +6460,8 @@ export declare type Query = {
6453
6460
  * @deprecated Will be removed in near future, please use `attachmentsForURL` to get attachments and their issues instead.
6454
6461
  */
6455
6462
  attachmentIssue: Issue;
6463
+ /** [Internal] Get a list of all unique attachment sources in the workspace */
6464
+ attachmentSources: AttachmentSourcesPayload;
6456
6465
  /**
6457
6466
  * All issue attachments.
6458
6467
  *
@@ -6679,6 +6688,9 @@ export declare type QueryAttachmentArgs = {
6679
6688
  export declare type QueryAttachmentIssueArgs = {
6680
6689
  id: Scalars["String"];
6681
6690
  };
6691
+ export declare type QueryAttachmentSourcesArgs = {
6692
+ teamId?: Maybe<Scalars["String"]>;
6693
+ };
6682
6694
  export declare type QueryAttachmentsArgs = {
6683
6695
  after?: Maybe<Scalars["String"]>;
6684
6696
  before?: Maybe<Scalars["String"]>;
@@ -9991,7 +10003,7 @@ export declare type IntegrationTemplateFragment = {
9991
10003
  };
9992
10004
  export declare type IssueLabelFragment = {
9993
10005
  __typename: "IssueLabel";
9994
- } & Pick<IssueLabel, "color" | "description" | "name" | "updatedAt" | "archivedAt" | "createdAt" | "id"> & {
10006
+ } & Pick<IssueLabel, "color" | "description" | "name" | "updatedAt" | "archivedAt" | "createdAt" | "id" | "isGroup"> & {
9995
10007
  parent?: Maybe<{
9996
10008
  __typename?: "IssueLabel";
9997
10009
  } & Pick<IssueLabel, "id">>;
@@ -10371,6 +10383,9 @@ export declare type AttachmentPayloadFragment = {
10371
10383
  __typename?: "Attachment";
10372
10384
  } & Pick<Attachment, "id">;
10373
10385
  };
10386
+ export declare type AttachmentSourcesPayloadFragment = {
10387
+ __typename: "AttachmentSourcesPayload";
10388
+ } & Pick<AttachmentSourcesPayload, "sources">;
10374
10389
  export declare type AuditEntryConnectionFragment = {
10375
10390
  __typename: "AuditEntryConnection";
10376
10391
  } & {
@@ -15942,6 +15957,7 @@ export declare const ApiKeyPayloadFragmentDoc: DocumentNode<ApiKeyPayloadFragmen
15942
15957
  export declare const AttachmentFragmentDoc: DocumentNode<AttachmentFragment, unknown>;
15943
15958
  export declare const AttachmentConnectionFragmentDoc: DocumentNode<AttachmentConnectionFragment, unknown>;
15944
15959
  export declare const AttachmentPayloadFragmentDoc: DocumentNode<AttachmentPayloadFragment, unknown>;
15960
+ export declare const AttachmentSourcesPayloadFragmentDoc: DocumentNode<AttachmentSourcesPayloadFragment, unknown>;
15945
15961
  export declare const AuditEntryFragmentDoc: DocumentNode<AuditEntryFragment, unknown>;
15946
15962
  export declare const AuditEntryConnectionFragmentDoc: DocumentNode<AuditEntryConnectionFragment, unknown>;
15947
15963
  export declare const AuditEntryTypeFragmentDoc: DocumentNode<AuditEntryTypeFragment, unknown>;