@forge/util
2.0.12.0.1-experimental-7890858
packages/ari/notion.notion/index.js~
packages/ari/notion.notion/index.jsModified+2−8
Index: package/packages/ari/notion.notion/index.js
===================================================================
--- package/packages/ari/notion.notion/index.js
+++ package/packages/ari/notion.notion/index.js
@@ -283,23 +283,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;
}
@@ -335,23 +332,20 @@
var notionNotionRemoteLinkAriStaticOpts = {
qualifier: "ari",
platformQualifier: "third-party",
cloudId: new RegExp("^$"),
- // eslint-disable-line no-useless-escape
resourceOwner: NotionNotionRemoteLinkAriResourceOwner,
resourceType: NotionNotionRemoteLinkAriResourceType,
resourceIdSlug: "page/{pageId}",
resourceIdSegmentFormats: {
pageId: /[a-z0-9-]+/
- // eslint-disable-line no-useless-escape
}
};
// src/notion.notion/remote-link/index.ts
var NotionNotionRemoteLinkAri = class _NotionNotionRemoteLinkAri extends RegisteredAri {
constructor(opts) {
- super(opts);
- this._pageId = opts.resourceIdSegmentValues.pageId;
+ super(opts), this._pageId = opts.resourceIdSegmentValues.pageId;
}
get pageId() {
return this._pageId;
}