@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/notion.notion/document/index.js~
packages/ari/notion.notion/document/index.jsModified+1−4
Index: package/packages/ari/notion.notion/document/index.js
===================================================================
--- package/packages/ari/notion.notion/document/index.js
+++ package/packages/ari/notion.notion/document/index.js
@@ -284,23 +284,20 @@
var notionNotionDocumentAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: NotionNotionDocumentAriResourceOwner,
resourceType: NotionNotionDocumentAriResourceType,
resourceIdSlug: "page/{pageId}",
resourceIdSegmentFormats: {
pageId: /[a-z0-9-]+/
- // eslint-disable-line no-useless-escape
}
};
// src/notion.notion/document/index.ts
var NotionNotionDocumentAri = class _NotionNotionDocumentAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._pageId = opts.resourceIdSegmentValues.pageId;
+ super(opts), this._pageId = opts.resourceIdSegmentValues.pageId;
}
get pageId() {
return this._pageId;
}