Files
interfaces/ts/data/appconnection.ts
T
2026-05-06 15:04:33 +00:00

19 lines
448 B
TypeScript

import type { TAppType } from './app.js';
import type { IAppRoleMapping } from './role.js';
export type TAppConnectionStatus = 'active' | 'disconnected';
export interface IAppConnection {
id: string;
data: {
organizationId: string;
appId: string;
appType: TAppType;
status: TAppConnectionStatus;
connectedAt: number;
connectedByUserId: string;
grantedScopes: string[];
roleMappings?: IAppRoleMapping[];
};
}