@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/microsoft.onedrive/index.js~
packages/ari/microsoft.onedrive/index.jsModified+1−5
Index: package/packages/ari/microsoft.onedrive/index.js
===================================================================
--- package/packages/ari/microsoft.onedrive/index.js
+++ package/packages/ari/microsoft.onedrive/index.js
@@ -282,25 +282,21 @@
var microsoftOnedriveDocumentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: MicrosoftOnedriveDocumentAriResourceOwner,
resourceType: MicrosoftOnedriveDocumentAriResourceType,
resourceIdSlug: "driveId/{driveId}/fileId/{fileId}",
resourceIdSegmentFormats: {
driveId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/,
- // eslint-disable-line no-useless-escape
fileId: /[!a-zA-Z0-9\-_.~@:;{}=]+(\/[!a-zA-Z0-9\-_.~@:;{}=]+)*/
- // eslint-disable-line no-useless-escape
}
};
// src/microsoft.onedrive/document/index.ts
var MicrosoftOnedriveDocumentAri = class _MicrosoftOnedriveDocumentAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._driveId = opts.resourceIdSegmentValues.driveId, this._fileId = opts.resourceIdSegmentValues.fileId;
+ super(opts), this._driveId = opts.resourceIdSegmentValues.driveId, this._fileId = opts.resourceIdSegmentValues.fileId;
}
get driveId() {
return this._driveId;
}