@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/microsoft.onedrive/index.js~
packages/ari/microsoft.onedrive/index.jsModified+5−1
Index: package/packages/ari/microsoft.onedrive/index.js
===================================================================
--- package/packages/ari/microsoft.onedrive/index.js
+++ package/packages/ari/microsoft.onedrive/index.js
@@ -282,21 +282,25 @@
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;
}