File tree Expand file tree Collapse file tree
meta_configurator/src/schema/graph-representation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import type { JsonSchemaObjectType , SchemaPropertyTypes } from '@/schema/jsonSchemaType' ;
22import { pathToJsonPointer } from '@/utility/pathUtils' ;
33import { SchemaNodeData } from '@/schema/graph-representation/schemaGraphTypes' ;
4- import type { Path } from '@/utility/path'
5- import { cleanupSchemaByType } from '../cleanupSchemaByType' ;
4+ import type { Path } from '@/utility/path' ;
5+ import { cleanupSchemaByType } from '../cleanupSchemaByType' ;
66
77export type AttributeTypeChoice = { label : string ; schema : JsonSchemaObjectType } ;
88
@@ -133,7 +133,7 @@ export function applyNewType(
133133
134134 if ( typeSchema . $ref ) {
135135 currentSchema . $ref = typeSchema . $ref ;
136- cleanupSchemaByType ( currentSchema , '$ref' ) ;
136+ cleanupSchemaByType ( currentSchema , '$ref' ) ;
137137 } else {
138138 delete currentSchema . $ref ;
139139 }
You can’t perform that action at this time.
0 commit comments