@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-es.js CHANGED
@@ -93810,14 +93810,6 @@ const TeamFragmentDoc = {
93810
93810
  { kind: "Field", name: { kind: "Name", value: "defaultTemplateForNonMembersId" } },
93811
93811
  { kind: "Field", name: { kind: "Name", value: "issueEstimationType" } },
93812
93812
  { kind: "Field", name: { kind: "Name", value: "updatedAt" } },
93813
- {
93814
- kind: "Field",
93815
- name: { kind: "Name", value: "membership" },
93816
- selectionSet: {
93817
- kind: "SelectionSet",
93818
- selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
93819
- },
93820
- },
93821
93813
  { kind: "Field", name: { kind: "Name", value: "color" } },
93822
93814
  { kind: "Field", name: { kind: "Name", value: "description" } },
93823
93815
  { kind: "Field", name: { kind: "Name", value: "name" } },
@@ -130079,7 +130071,7 @@ class SynchronizedPayload extends Request {
130079
130071
  */
130080
130072
  class Team extends Request {
130081
130073
  constructor(request, data) {
130082
- 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;
130074
+ 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;
130083
130075
  super(request);
130084
130076
  this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
130085
130077
  this.autoArchivePeriod = data.autoArchivePeriod;
@@ -130131,13 +130123,12 @@ class Team extends Request {
130131
130123
  this._draftWorkflowState = (_s = data.draftWorkflowState) !== null && _s !== void 0 ? _s : undefined;
130132
130124
  this._integrationsSettings = (_t = data.integrationsSettings) !== null && _t !== void 0 ? _t : undefined;
130133
130125
  this._markedAsDuplicateWorkflowState = (_u = data.markedAsDuplicateWorkflowState) !== null && _u !== void 0 ? _u : undefined;
130134
- this._membership = (_v = data.membership) !== null && _v !== void 0 ? _v : undefined;
130135
- this._mergeWorkflowState = (_w = data.mergeWorkflowState) !== null && _w !== void 0 ? _w : undefined;
130136
- this._mergeableWorkflowState = (_x = data.mergeableWorkflowState) !== null && _x !== void 0 ? _x : undefined;
130137
- this._reviewWorkflowState = (_y = data.reviewWorkflowState) !== null && _y !== void 0 ? _y : undefined;
130138
- this._startWorkflowState = (_z = data.startWorkflowState) !== null && _z !== void 0 ? _z : undefined;
130139
- this._triageIssueState = (_0 = data.triageIssueState) !== null && _0 !== void 0 ? _0 : undefined;
130140
- this._triageResponsibility = (_1 = data.triageResponsibility) !== null && _1 !== void 0 ? _1 : undefined;
130126
+ this._mergeWorkflowState = (_v = data.mergeWorkflowState) !== null && _v !== void 0 ? _v : undefined;
130127
+ this._mergeableWorkflowState = (_w = data.mergeableWorkflowState) !== null && _w !== void 0 ? _w : undefined;
130128
+ this._reviewWorkflowState = (_x = data.reviewWorkflowState) !== null && _x !== void 0 ? _x : undefined;
130129
+ this._startWorkflowState = (_y = data.startWorkflowState) !== null && _y !== void 0 ? _y : undefined;
130130
+ this._triageIssueState = (_z = data.triageIssueState) !== null && _z !== void 0 ? _z : undefined;
130131
+ this._triageResponsibility = (_0 = data.triageResponsibility) !== null && _0 !== void 0 ? _0 : undefined;
130141
130132
  }
130142
130133
  /** Team's currently active cycle. */
130143
130134
  get activeCycle() {
@@ -130193,11 +130184,6 @@ class Team extends Request {
130193
130184
  ? new WorkflowStateQuery(this._request).fetch((_b = this._markedAsDuplicateWorkflowState) === null || _b === void 0 ? void 0 : _b.id)
130194
130185
  : undefined;
130195
130186
  }
130196
- /** The membership of the given user in the team. */
130197
- get membership() {
130198
- var _a, _b;
130199
- 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;
130200
- }
130201
130187
  /** The workflow state into which issues are moved when a PR has been merged. */
130202
130188
  get mergeWorkflowState() {
130203
130189
  var _a, _b;