import { EntityType } from '@/typings/enums' ; import { IEntityOwnership } from '@/typings/typings' ; export function createTestKeyspace ( cluster , env , entityName , owners ) { return createTestEntity ( cluster , env , entityName , owners , EntityType . KEYSPACE ) ; } function createTestEntity ( cluster , env , entityName , owners , type ) { return { clusterName : cluster , env , name : entityName , owners , type : EntityType [ type ] as 'KEYSPACE' | 'TABLE' , } ; }