fix(editor): Move projects and rbac files (no-changelog) (#9651)

This commit is contained in:
Csaba Tuncsik
2024-06-06 15:30:17 +02:00
committed by GitHub
parent 58cfd2fde8
commit ed963011c9
94 changed files with 172 additions and 212 deletions

View File

@@ -1,10 +1,6 @@
import { faker } from '@faker-js/faker';
import type {
ProjectListItem,
ProjectSharingData,
ProjectType,
} from '@/features/projects/projects.types';
import { ProjectTypes } from '@/features/projects/projects.utils';
import type { ProjectListItem, ProjectSharingData, ProjectType } from '@/types/projects.types';
import { ProjectTypes } from '@/types/projects.types';
export const createProjectSharingData = (projectType?: ProjectType): ProjectSharingData => ({
id: faker.string.uuid(),

View File

@@ -13,7 +13,7 @@ import { NodeHelpers, Workflow } from 'n8n-workflow';
import { uuid } from '@jsplumb/util';
import { defaultMockNodeTypes } from '@/__tests__/defaults';
import type { INodeUi, ITag, IUsedCredential, IWorkflowDb, WorkflowMetadata } from '@/Interface';
import type { ProjectSharingData } from '@/features/projects/projects.types';
import type { ProjectSharingData } from '@/types/projects.types';
import type { RouteLocationNormalized } from 'vue-router';
export function createTestNodeTypes(data: INodeTypeData = {}): INodeTypes {

View File

@@ -5,7 +5,7 @@ import {
getWorkflowPermissions,
} from '@/permissions';
import type { ICredentialsResponse, IUser, IWorkflowDb } from '@/Interface';
import type { Project } from '@/features/projects/projects.types';
import type { Project } from '@/types/projects.types';
describe('permissions', () => {
it('getVariablesPermissions', () => {