From 2159a295c8cb080880412a5b44aaae49b3e8dbe6 Mon Sep 17 00:00:00 2001 From: Karthik Date: Sat, 23 Nov 2024 00:34:01 +0530 Subject: [PATCH] generate api-reports for lightspeed-common Signed-off-by: Karthik --- .../plugins/lightspeed-backend/report.api.md | 2 ++ .../plugins/lightspeed-common/package.json | 7 ++++--- .../plugins/lightspeed-common/report.api.md | 21 +++++++++++++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 workspaces/lightspeed/plugins/lightspeed-common/report.api.md diff --git a/workspaces/lightspeed/plugins/lightspeed-backend/report.api.md b/workspaces/lightspeed/plugins/lightspeed-backend/report.api.md index 7a2a1645..ab01d149 100644 --- a/workspaces/lightspeed/plugins/lightspeed-backend/report.api.md +++ b/workspaces/lightspeed/plugins/lightspeed-backend/report.api.md @@ -9,6 +9,7 @@ import type { Config } from '@backstage/config'; import express from 'express'; import type { HttpAuthService } from '@backstage/backend-plugin-api'; import type { LoggerService } from '@backstage/backend-plugin-api'; +import type { PermissionsService } from '@backstage/backend-plugin-api'; import type { UserInfoService } from '@backstage/backend-plugin-api'; // @public @@ -24,6 +25,7 @@ export type RouterOptions = { config: Config; httpAuth: HttpAuthService; userInfo: UserInfoService; + permissions: PermissionsService; }; // (No @packageDocumentation comment for this package) diff --git a/workspaces/lightspeed/plugins/lightspeed-common/package.json b/workspaces/lightspeed/plugins/lightspeed-common/package.json index 3049dc87..a4023030 100644 --- a/workspaces/lightspeed/plugins/lightspeed-common/package.json +++ b/workspaces/lightspeed/plugins/lightspeed-common/package.json @@ -8,13 +8,13 @@ "private": true, "publishConfig": { "access": "public", - "main": "dist/index.cjs.js", - "module": "dist/index.esm.js", + "main": "dist/index.esm.js", "types": "dist/index.d.ts" }, "backstage": { "role": "common-library", "supported-versions": "1.32.5", + "pluginId": "lightspeed", "pluginPackage": "@red-hat-developer-hub/backstage-plugin-lightspeed-common", "pluginPackages": [ "@red-hat-developer-hub/backstage-plugin-lightspeed", @@ -62,6 +62,7 @@ "maintainers": [ "@karthikjeeyar", "@rohitkrai03", - "@yangcao77" + "@yangcao77", + "@Eswaraiahsapram" ] } diff --git a/workspaces/lightspeed/plugins/lightspeed-common/report.api.md b/workspaces/lightspeed/plugins/lightspeed-common/report.api.md new file mode 100644 index 00000000..457ac8da --- /dev/null +++ b/workspaces/lightspeed/plugins/lightspeed-common/report.api.md @@ -0,0 +1,21 @@ +## API Report File for "@red-hat-developer-hub/backstage-plugin-lightspeed-common" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { BasicPermission } from '@backstage/plugin-permission-common'; + +// @public +export const lightspeedConversationsCreatePermission: BasicPermission; + +// @public +export const lightspeedConversationsDeletePermission: BasicPermission; + +// @public +export const lightspeedConversationsReadPermission: BasicPermission; + +// @public +export const lightspeedPermissions: BasicPermission[]; + +```