@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/notion.notion/document/index.js~
packages/ari/notion.notion/document/index.jsModified+4−1
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,20 +284,23 @@
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;
}