@arrowsphere/api-client 3.26.0-rc.2 → 3.26.0-rc.3
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.
|
@@ -77,7 +77,7 @@ export declare type IssueType = {
|
|
|
77
77
|
[IssueFields.COLUMN_CREATED_BY]?: IssueCreatedByType;
|
|
78
78
|
[IssueFields.COLUMN_SUPPORT_PLAN]?: IssueSupportPlanType;
|
|
79
79
|
[IssueFields.COLUMN_PROGRAM]: string;
|
|
80
|
-
[IssueFields.COLUMN_ADDITIONAL_DATA]
|
|
80
|
+
[IssueFields.COLUMN_ADDITIONAL_DATA]?: Array<IssueAdditionalDataType>;
|
|
81
81
|
[IssueFields.COLUMN_CREATED]?: string;
|
|
82
82
|
[IssueFields.COLUMN_UPDATED]?: string;
|
|
83
83
|
};
|
|
@@ -128,7 +128,7 @@ export declare class Issue extends AbstractEntity<IssueType> {
|
|
|
128
128
|
get createdBy(): IssueCreatedBy | undefined;
|
|
129
129
|
get supportPlan(): IssueSupportPlan | undefined;
|
|
130
130
|
get program(): string;
|
|
131
|
-
get additionalData(): Array<IssueAdditionalData
|
|
131
|
+
get additionalData(): Array<IssueAdditionalData> | undefined;
|
|
132
132
|
get created(): Date | undefined;
|
|
133
133
|
get updated(): Date | undefined;
|
|
134
134
|
toJSON(): IssueType;
|
|
@@ -219,7 +219,9 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
219
219
|
? new IssueSupportPlan(input[IssueFields.COLUMN_SUPPORT_PLAN])
|
|
220
220
|
: undefined);
|
|
221
221
|
__classPrivateFieldSet(this, _program, input[IssueFields.COLUMN_PROGRAM]);
|
|
222
|
-
__classPrivateFieldSet(this, _additionalData, input[IssueFields.COLUMN_ADDITIONAL_DATA]
|
|
222
|
+
__classPrivateFieldSet(this, _additionalData, input[IssueFields.COLUMN_ADDITIONAL_DATA]
|
|
223
|
+
? input[IssueFields.COLUMN_ADDITIONAL_DATA].map((item) => new IssueAdditionalData(item))
|
|
224
|
+
: undefined);
|
|
223
225
|
__classPrivateFieldSet(this, _created, input[IssueFields.COLUMN_CREATED]
|
|
224
226
|
? new Date(input[IssueFields.COLUMN_CREATED])
|
|
225
227
|
: undefined);
|
|
@@ -273,7 +275,7 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
273
275
|
return __classPrivateFieldGet(this, _updated);
|
|
274
276
|
}
|
|
275
277
|
toJSON() {
|
|
276
|
-
var _a, _b, _c, _d, _e;
|
|
278
|
+
var _a, _b, _c, _d, _e, _f;
|
|
277
279
|
return {
|
|
278
280
|
[IssueFields.COLUMN_ID]: this.id,
|
|
279
281
|
[IssueFields.COLUMN_TITLE]: this.title,
|
|
@@ -287,9 +289,9 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
287
289
|
[IssueFields.COLUMN_CREATED_BY]: (_b = this.createdBy) === null || _b === void 0 ? void 0 : _b.toJSON(),
|
|
288
290
|
[IssueFields.COLUMN_SUPPORT_PLAN]: (_c = this.supportPlan) === null || _c === void 0 ? void 0 : _c.toJSON(),
|
|
289
291
|
[IssueFields.COLUMN_PROGRAM]: this.program,
|
|
290
|
-
[IssueFields.COLUMN_ADDITIONAL_DATA]: this.additionalData.map((item) => item.toJSON()),
|
|
291
|
-
[IssueFields.COLUMN_CREATED]: (
|
|
292
|
-
[IssueFields.COLUMN_UPDATED]: (
|
|
292
|
+
[IssueFields.COLUMN_ADDITIONAL_DATA]: (_d = this.additionalData) === null || _d === void 0 ? void 0 : _d.map((item) => item.toJSON()),
|
|
293
|
+
[IssueFields.COLUMN_CREATED]: (_e = this.created) === null || _e === void 0 ? void 0 : _e.toISOString(),
|
|
294
|
+
[IssueFields.COLUMN_UPDATED]: (_f = this.updated) === null || _f === void 0 ? void 0 : _f.toISOString(),
|
|
293
295
|
};
|
|
294
296
|
}
|
|
295
297
|
}
|
package/package.json
CHANGED