@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/_generated_documents.d.ts +13 -8
- package/dist/_generated_documents.d.ts.map +1 -1
- package/dist/_generated_sdk.d.ts +0 -3
- package/dist/_generated_sdk.d.ts.map +1 -1
- package/dist/index-cjs.js +7 -21
- package/dist/index-cjs.js.map +1 -1
- package/dist/index-cjs.min.js +1 -1
- package/dist/index-cjs.min.js.br +0 -0
- package/dist/index-cjs.min.js.gz +0 -0
- package/dist/index-cjs.min.js.map +1 -1
- package/dist/index-es.js +7 -21
- package/dist/index-es.js.map +1 -1
- package/dist/index-es.min.js +1 -1
- package/dist/index-es.min.js.br +0 -0
- package/dist/index-es.min.js.gz +0 -0
- package/dist/index-es.min.js.map +1 -1
- package/dist/index-umd.js +8 -22
- package/dist/index-umd.js.map +1 -1
- package/dist/index-umd.min.js +1 -1
- package/dist/index-umd.min.js.br +0 -0
- package/dist/index-umd.min.js.gz +0 -0
- package/dist/index-umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index-cjs.js
CHANGED
@@ -93823,14 +93823,6 @@ const TeamFragmentDoc = {
|
|
93823
93823
|
{ kind: "Field", name: { kind: "Name", value: "defaultTemplateForNonMembersId" } },
|
93824
93824
|
{ kind: "Field", name: { kind: "Name", value: "issueEstimationType" } },
|
93825
93825
|
{ kind: "Field", name: { kind: "Name", value: "updatedAt" } },
|
93826
|
-
{
|
93827
|
-
kind: "Field",
|
93828
|
-
name: { kind: "Name", value: "membership" },
|
93829
|
-
selectionSet: {
|
93830
|
-
kind: "SelectionSet",
|
93831
|
-
selections: [{ kind: "Field", name: { kind: "Name", value: "id" } }],
|
93832
|
-
},
|
93833
|
-
},
|
93834
93826
|
{ kind: "Field", name: { kind: "Name", value: "color" } },
|
93835
93827
|
{ kind: "Field", name: { kind: "Name", value: "description" } },
|
93836
93828
|
{ kind: "Field", name: { kind: "Name", value: "name" } },
|
@@ -130092,7 +130084,7 @@ class SynchronizedPayload extends Request {
|
|
130092
130084
|
*/
|
130093
130085
|
class Team extends Request {
|
130094
130086
|
constructor(request, data) {
|
130095
|
-
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
|
130087
|
+
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;
|
130096
130088
|
super(request);
|
130097
130089
|
this.archivedAt = (_a = parseDate(data.archivedAt)) !== null && _a !== void 0 ? _a : undefined;
|
130098
130090
|
this.autoArchivePeriod = data.autoArchivePeriod;
|
@@ -130144,13 +130136,12 @@ class Team extends Request {
|
|
130144
130136
|
this._draftWorkflowState = (_s = data.draftWorkflowState) !== null && _s !== void 0 ? _s : undefined;
|
130145
130137
|
this._integrationsSettings = (_t = data.integrationsSettings) !== null && _t !== void 0 ? _t : undefined;
|
130146
130138
|
this._markedAsDuplicateWorkflowState = (_u = data.markedAsDuplicateWorkflowState) !== null && _u !== void 0 ? _u : undefined;
|
130147
|
-
this.
|
130148
|
-
this.
|
130149
|
-
this.
|
130150
|
-
this.
|
130151
|
-
this.
|
130152
|
-
this.
|
130153
|
-
this._triageResponsibility = (_1 = data.triageResponsibility) !== null && _1 !== void 0 ? _1 : undefined;
|
130139
|
+
this._mergeWorkflowState = (_v = data.mergeWorkflowState) !== null && _v !== void 0 ? _v : undefined;
|
130140
|
+
this._mergeableWorkflowState = (_w = data.mergeableWorkflowState) !== null && _w !== void 0 ? _w : undefined;
|
130141
|
+
this._reviewWorkflowState = (_x = data.reviewWorkflowState) !== null && _x !== void 0 ? _x : undefined;
|
130142
|
+
this._startWorkflowState = (_y = data.startWorkflowState) !== null && _y !== void 0 ? _y : undefined;
|
130143
|
+
this._triageIssueState = (_z = data.triageIssueState) !== null && _z !== void 0 ? _z : undefined;
|
130144
|
+
this._triageResponsibility = (_0 = data.triageResponsibility) !== null && _0 !== void 0 ? _0 : undefined;
|
130154
130145
|
}
|
130155
130146
|
/** Team's currently active cycle. */
|
130156
130147
|
get activeCycle() {
|
@@ -130206,11 +130197,6 @@ class Team extends Request {
|
|
130206
130197
|
? new WorkflowStateQuery(this._request).fetch((_b = this._markedAsDuplicateWorkflowState) === null || _b === void 0 ? void 0 : _b.id)
|
130207
130198
|
: undefined;
|
130208
130199
|
}
|
130209
|
-
/** The membership of the given user in the team. */
|
130210
|
-
get membership() {
|
130211
|
-
var _a, _b;
|
130212
|
-
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;
|
130213
|
-
}
|
130214
130200
|
/** The workflow state into which issues are moved when a PR has been merged. */
|
130215
130201
|
get mergeWorkflowState() {
|
130216
130202
|
var _a, _b;
|