@rwdocs/backstage-plugin-rw-common 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commentEvents.cjs.js","sources":["../src/commentEvents.ts"],"sourcesContent":["export const RW_COMMENTS_TOPIC = \"rw.comments\";\n\nexport type CommentEventKind = \"created\" | \"resolved\";\nexport type CommentEventAudience = \"owner\" | \"participants\";\n\nexport interface CommentEventPayload {\n kind: CommentEventKind;\n audience: CommentEventAudience;\n occurredAt: string; // ISO-8601\n commentId: string;\n rootId: string; // = parentId ?? commentId\n parentId: string | null;\n siteRef: string;\n sectionRef: string;\n pageRef: string; // identifies the page within the section (\"<sectionRef>#<subpath>\")\n actorRef: string; //
|
|
1
|
+
{"version":3,"file":"commentEvents.cjs.js","sources":["../src/commentEvents.ts"],"sourcesContent":["export const RW_COMMENTS_TOPIC = \"rw.comments\";\n\nexport type CommentEventKind = \"created\" | \"resolved\";\nexport type CommentEventAudience = \"owner\" | \"participants\";\n\nexport interface CommentEventPayload {\n kind: CommentEventKind;\n audience: CommentEventAudience;\n occurredAt: string; // ISO-8601\n commentId: string;\n rootId: string; // = parentId ?? commentId\n parentId: string | null;\n siteRef: string;\n sectionRef: string;\n pageRef: string; // identifies the page within the section (\"<sectionRef>#<subpath>\")\n actorRef: string; // the user who triggered the event; forwarded as excludeEntityRef so the resolver drops them (see CommentNotifier)\n recipients: string[]; // catalog entity refs, non-empty; raw owner/participants — may include actorRef\n entityRef: string | null; // owning entity (sections.entity_ref); null = degraded link\n // prefix-free deep-link suffix, always \"/docs/<viewerPath>#comment-<id>\". Normal: viewerPath = section_path + \"/\" + subpath. Degraded (no section row): viewerPath = subpath only (section prefix omitted).\n deepLinkSuffix: string;\n bodySnippet: string;\n actorName: string; // display name of the actor (who did it)\n pageTitle: string | null; // title of the page the comment is on\n sectionTitle: string | null; // title of the section (its root page); shown as \"Page · Section\". From the siteIndex, not the catalog entity (entities are slugs).\n}\n"],"names":[],"mappings":";;AAAO,MAAM,iBAAA,GAAoB;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commentEvents.esm.js","sources":["../src/commentEvents.ts"],"sourcesContent":["export const RW_COMMENTS_TOPIC = \"rw.comments\";\n\nexport type CommentEventKind = \"created\" | \"resolved\";\nexport type CommentEventAudience = \"owner\" | \"participants\";\n\nexport interface CommentEventPayload {\n kind: CommentEventKind;\n audience: CommentEventAudience;\n occurredAt: string; // ISO-8601\n commentId: string;\n rootId: string; // = parentId ?? commentId\n parentId: string | null;\n siteRef: string;\n sectionRef: string;\n pageRef: string; // identifies the page within the section (\"<sectionRef>#<subpath>\")\n actorRef: string; //
|
|
1
|
+
{"version":3,"file":"commentEvents.esm.js","sources":["../src/commentEvents.ts"],"sourcesContent":["export const RW_COMMENTS_TOPIC = \"rw.comments\";\n\nexport type CommentEventKind = \"created\" | \"resolved\";\nexport type CommentEventAudience = \"owner\" | \"participants\";\n\nexport interface CommentEventPayload {\n kind: CommentEventKind;\n audience: CommentEventAudience;\n occurredAt: string; // ISO-8601\n commentId: string;\n rootId: string; // = parentId ?? commentId\n parentId: string | null;\n siteRef: string;\n sectionRef: string;\n pageRef: string; // identifies the page within the section (\"<sectionRef>#<subpath>\")\n actorRef: string; // the user who triggered the event; forwarded as excludeEntityRef so the resolver drops them (see CommentNotifier)\n recipients: string[]; // catalog entity refs, non-empty; raw owner/participants — may include actorRef\n entityRef: string | null; // owning entity (sections.entity_ref); null = degraded link\n // prefix-free deep-link suffix, always \"/docs/<viewerPath>#comment-<id>\". Normal: viewerPath = section_path + \"/\" + subpath. Degraded (no section row): viewerPath = subpath only (section prefix omitted).\n deepLinkSuffix: string;\n bodySnippet: string;\n actorName: string; // display name of the actor (who did it)\n pageTitle: string | null; // title of the page the comment is on\n sectionTitle: string | null; // title of the section (its root page); shown as \"Page · Section\". From the siteIndex, not the catalog entity (entities are slugs).\n}\n"],"names":[],"mappings":"AAAO,MAAM,iBAAA,GAAoB;;;;"}
|