@forge/util
2.0.1-experimental-78908582.0.1-experimental-04cc2b9
packages/ari/notion.notion/index.js~
packages/ari/notion.notion/index.jsModified+8−2
Index: package/packages/ari/notion.notion/index.js
===================================================================
--- package/packages/ari/notion.notion/index.js
+++ package/packages/ari/notion.notion/index.js
@@ -283,20 +283,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;
}
@@ -332,20 +335,23 @@
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;
}