@linear/sdk 25.0.0 → 26.0.0

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-umd.js CHANGED
@@ -9,7 +9,7 @@
9
9
  var crypto__default = /*#__PURE__*/_interopDefaultLegacy(crypto);
10
10
 
11
11
  (function() {
12
- const env = {"npm_package_name":"@linear/sdk","npm_package_version":"25.0.0"};
12
+ const env = {"npm_package_name":"@linear/sdk","npm_package_version":"26.0.0"};
13
13
  try {
14
14
  if (process) {
15
15
  process.env = Object.assign({}, process.env);
@@ -11797,14 +11797,6 @@
11797
11797
  { kind: "Field", name: { kind: "Name", value: "defaultTemplateForNonMembersId" } },
11798
11798
  { kind: "Field", name: { kind: "Name", value: "issueEstimationType" } },
11799
11799
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
11800
- {
11801
- kind: "Field",
11802
- name: { kind: "Name", value: "membership" },
11803
- selectionSet: {
11804
- kind: "SelectionSet",
11805
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
11806
- },
11807
- },
11808
11800
  { kind: "Field", name: { kind: "Name", value: "color" } },
11809
11801
  { kind: "Field", name: { kind: "Name", value: "description" } },
11810
11802
  { kind: "Field", name: { kind: "Name", value: "name" } },
@@ -48066,7 +48058,7 @@
48066
48058
  */
48067
48059
  class Team extends Request {
48068
48060
  constructor(request, data) {
48069
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
48061
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
48070
48062
  super(request);
48071
48063
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
48072
48064
  this.autoArchivePeriod = data.autoArchivePeriod;
@@ -48118,13 +48110,12 @@
48118
48110
  this._draftWorkflowState = (_s = data.draftWorkflowState) !== null && _s !== void 0 ? _s : undefined;
48119
48111
  this._integrationsSettings = (_t = data.integrationsSettings) !== null && _t !== void 0 ? _t : undefined;
48120
48112
  this._markedAsDuplicateWorkflowState = (_u = data.markedAsDuplicateWorkflowState) !== null && _u !== void 0 ? _u : undefined;
48121
- this._membership = (_v = data.membership) !== null && _v !== void 0 ? _v : undefined;
48122
- this._mergeWorkflowState = (_w = data.mergeWorkflowState) !== null && _w !== void 0 ? _w : undefined;
48123
- this._mergeableWorkflowState = (_x = data.mergeableWorkflowState) !== null && _x !== void 0 ? _x : undefined;
48124
- this._reviewWorkflowState = (_y = data.reviewWorkflowState) !== null && _y !== void 0 ? _y : undefined;
48125
- this._startWorkflowState = (_z = data.startWorkflowState) !== null && _z !== void 0 ? _z : undefined;
48126
- this._triageIssueState = (_0 = data.triageIssueState) !== null && _0 !== void 0 ? _0 : undefined;
48127
- this._triageResponsibility = (_1 = data.triageResponsibility) !== null && _1 !== void 0 ? _1 : undefined;
48113
+ this._mergeWorkflowState = (_v = data.mergeWorkflowState) !== null && _v !== void 0 ? _v : undefined;
48114
+ this._mergeableWorkflowState = (_w = data.mergeableWorkflowState) !== null && _w !== void 0 ? _w : undefined;
48115
+ this._reviewWorkflowState = (_x = data.reviewWorkflowState) !== null && _x !== void 0 ? _x : undefined;
48116
+ this._startWorkflowState = (_y = data.startWorkflowState) !== null && _y !== void 0 ? _y : undefined;
48117
+ this._triageIssueState = (_z = data.triageIssueState) !== null && _z !== void 0 ? _z : undefined;
48118
+ this._triageResponsibility = (_0 = data.triageResponsibility) !== null && _0 !== void 0 ? _0 : undefined;
48128
48119
  }
48129
48120
  /** Team's currently active cycle. */
48130
48121
  get activeCycle() {
@@ -48180,11 +48171,6 @@
48180
48171
  ? new WorkflowStateQuery(this._request).fetch((_b = this._markedAsDuplicateWorkflowState) === null || _b === void 0 ? void 0 : _b.id)
48181
48172
  : undefined;
48182
48173
  }
48183
- /** The membership of the given user in the team. */
48184
- get membership() {
48185
- var _a, _b;
48186
- return ((_a = this._membership) === null || _a === void 0 ? void 0 : _a.id) ? new TeamMembershipQuery(this._request).fetch((_b = this._membership) === null || _b === void 0 ? void 0 : _b.id) : undefined;
48187
- }
48188
48174
  /** The workflow state into which issues are moved when a PR has been merged. */
48189
48175
  get mergeWorkflowState() {
48190
48176
  var _a, _b;