@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/dist/index-cjs.js CHANGED
@@ -85634,6 +85634,23 @@ const AttachmentPayloadFragmentDoc = {
85634
85634
  },
85635
85635
  ],
85636
85636
  };
85637
+ const AttachmentSourcesPayloadFragmentDoc = {
85638
+ kind: "Document",
85639
+ definitions: [
85640
+ {
85641
+ kind: "FragmentDefinition",
85642
+ name: { kind: "Name", value: "AttachmentSourcesPayload" },
85643
+ typeCondition: { kind: "NamedType", name: { kind: "Name", value: "AttachmentSourcesPayload" } },
85644
+ selectionSet: {
85645
+ kind: "SelectionSet",
85646
+ selections: [
85647
+ { kind: "Field", name: { kind: "Name", value: "__typename" } },
85648
+ { kind: "Field", name: { kind: "Name", value: "sources" } },
85649
+ ],
85650
+ },
85651
+ },
85652
+ ],
85653
+ };
85637
85654
  const AuditEntryFragmentDoc = {
85638
85655
  kind: "Document",
85639
85656
  definitions: [
@@ -88006,6 +88023,7 @@ const IssueLabelFragmentDoc = {
88006
88023
  selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
88007
88024
  },
88008
88025
  },
88026
+ { kind: "Field", name: { kind: "Name", value: "isGroup" } },
88009
88027
  ],
88010
88028
  },
88011
88029
  },
@@ -112200,6 +112218,7 @@ var _generated_documents = /*#__PURE__*/Object.freeze({
112200
112218
  AttachmentFragmentDoc: AttachmentFragmentDoc,
112201
112219
  AttachmentConnectionFragmentDoc: AttachmentConnectionFragmentDoc,
112202
112220
  AttachmentPayloadFragmentDoc: AttachmentPayloadFragmentDoc,
112221
+ AttachmentSourcesPayloadFragmentDoc: AttachmentSourcesPayloadFragmentDoc,
112203
112222
  AuditEntryFragmentDoc: AuditEntryFragmentDoc,
112204
112223
  AuditEntryConnectionFragmentDoc: AuditEntryConnectionFragmentDoc,
112205
112224
  AuditEntryTypeFragmentDoc: AuditEntryTypeFragmentDoc,
@@ -113023,6 +113042,19 @@ class AttachmentPayload extends Request {
113023
113042
  return new AttachmentQuery(this._request).fetch(this._attachment.id);
113024
113043
  }
113025
113044
  }
113045
+ /**
113046
+ * AttachmentSourcesPayload model
113047
+ *
113048
+ * @param request - function to call the graphql client
113049
+ * @param data - L.AttachmentSourcesPayloadFragment response data
113050
+ */
113051
+ class AttachmentSourcesPayload extends Request {
113052
+ constructor(request, data) {
113053
+ var _a;
113054
+ super(request);
113055
+ this.sources = (_a = parseJson(data.sources)) !== null && _a !== void 0 ? _a : {};
113056
+ }
113057
+ }
113026
113058
  /**
113027
113059
  * Workspace audit log entry object.
113028
113060
  *
@@ -114975,6 +115007,7 @@ class IssueLabel extends Request {
114975
115007
  this.createdAt = (_b = parseDate(data.createdAt)) !== null && _b !== void 0 ? _b : new Date();
114976
115008
  this.description = (_c = data.description) !== null && _c !== void 0 ? _c : undefined;
114977
115009
  this.id = data.id;
115010
+ this.isGroup = data.isGroup;
114978
115011
  this.name = data.name;
114979
115012
  this.updatedAt = (_d = parseDate(data.updatedAt)) !== null && _d !== void 0 ? _d : new Date();
114980
115013
  this._creator = (_e = data.creator) !== null && _e !== void 0 ? _e : undefined;
@@ -129536,6 +129569,7 @@ exports.AttachmentLinkUrlMutation = AttachmentLinkUrlMutation;
129536
129569
  exports.AttachmentLinkZendeskMutation = AttachmentLinkZendeskMutation;
129537
129570
  exports.AttachmentPayload = AttachmentPayload;
129538
129571
  exports.AttachmentQuery = AttachmentQuery;
129572
+ exports.AttachmentSourcesPayload = AttachmentSourcesPayload;
129539
129573
  exports.AttachmentUnsyncSlackMutation = AttachmentUnsyncSlackMutation;
129540
129574
  exports.AttachmentsForUrlQuery = AttachmentsForUrlQuery;
129541
129575
  exports.AttachmentsQuery = AttachmentsQuery;