mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(editor): Enable collaboration features only in NodeView v2 (no-changelog) (#10756)
This commit is contained in:
committed by
GitHub
parent
ee5fbc543c
commit
a1e011dd2a
@@ -422,14 +422,19 @@ export interface IExecutionDeleteFilter {
|
||||
ids?: string[];
|
||||
}
|
||||
|
||||
export type PushDataUsersForWorkflow = {
|
||||
export interface Collaborator {
|
||||
user: IUser;
|
||||
lastSeen: string;
|
||||
}
|
||||
|
||||
export type PushDataCollaborators = {
|
||||
workflowId: string;
|
||||
activeUsers: Array<{ user: IUser; lastSeen: string }>;
|
||||
collaborators: Collaborator[];
|
||||
};
|
||||
|
||||
type PushDataWorkflowUsersChanged = {
|
||||
data: PushDataUsersForWorkflow;
|
||||
type: 'activeWorkflowUsersChanged';
|
||||
type PushDataCollaboratorsChanged = {
|
||||
data: PushDataCollaborators;
|
||||
type: 'collaboratorsChanged';
|
||||
};
|
||||
|
||||
export type IPushData =
|
||||
@@ -446,7 +451,7 @@ export type IPushData =
|
||||
| PushDataWorkerStatusMessage
|
||||
| PushDataActiveWorkflowAdded
|
||||
| PushDataActiveWorkflowRemoved
|
||||
| PushDataWorkflowUsersChanged
|
||||
| PushDataCollaboratorsChanged
|
||||
| PushDataWorkflowFailedToActivate;
|
||||
|
||||
export type PushDataActiveWorkflowAdded = {
|
||||
|
||||
Reference in New Issue
Block a user