17 lines
360 B
TypeScript
17 lines
360 B
TypeScript
import type { TAppType } from './app.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[];
|
|
};
|
|
}
|