@abyss-project/main 13.3.0 → 13.4.0

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,6 +1,10 @@
1
- import type { McpFunctionalScope } from '../../enum/mcp.enum';
1
+ import type { McpFunctionalScope, McpScopeType } from '../../enum/mcp.enum';
2
2
  import type { McpOAuthClientSource } from '../../enum/mcp-oauth.enum';
3
3
  export type McpOAuthAuthorizationRequestStatus = 'OPEN' | 'EXPIRED' | 'CONSUMED';
4
+ export interface IMcpOAuthApprovedScope {
5
+ scopeType: McpScopeType;
6
+ scopeId: string | null;
7
+ }
4
8
  export interface IMcpOAuthAuthorizationRequestView {
5
9
  id: string;
6
10
  client: {
@@ -11,6 +15,7 @@ export interface IMcpOAuthAuthorizationRequestView {
11
15
  redirectHost: string;
12
16
  redirectWarning: boolean;
13
17
  requestedScopes: McpFunctionalScope[];
18
+ approvedScopes: IMcpOAuthApprovedScope[];
14
19
  expiresAt: Date;
15
20
  status: McpOAuthAuthorizationRequestStatus;
16
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/main",
3
- "version": "13.3.0",
3
+ "version": "13.4.0",
4
4
  "description": "Core package to interact with Abyss-Project",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",