feat: integrate hub notifications with core

This commit is contained in:
DCCONSTRUCTIONS
2026-05-26 18:01:39 +03:00
parent de446c1879
commit 8f56fd2ab6
10 changed files with 1484 additions and 126 deletions
@@ -1,14 +1,19 @@
export type EngineWorkflowRole = "viewer" | "editor" | "admin";
export type EngineServiceRole = "viewer" | "member";
export type EngineWorkflowAccessRequestType = "workflow" | "service_role";
export type EngineWorkflowAccessRequestStatus = "new" | "approved" | "rejected" | "cancelled";
export interface EngineWorkflowAccessRequest {
id: string;
requestType?: EngineWorkflowAccessRequestType;
workflowId: string;
workflowName: string;
targetUserId: string;
targetEmail: string;
targetName?: string | null;
role: EngineWorkflowRole;
requestedServiceRole?: EngineServiceRole | null;
currentServiceRole?: EngineServiceRole | null;
requesterUserId?: string | null;
requesterEmail: string;
requesterName: string;