fix(editor): Move projects and rbac files (no-changelog) (#9651)
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user