@@ -160,9 +160,6 @@ const convertPropertyValue = (
160160 if ( type . fields [ key ] === Type . Point ) {
161161 return property . value ;
162162 }
163- if ( type . fields [ key ] === Type . Url ) {
164- return property . value ;
165- }
166163 if ( type . fields [ key ] === Type . Date ) {
167164 return property . value ;
168165 }
@@ -178,7 +175,7 @@ const convertRelations = <S extends Entity.AnyNoContext>(
178175 mappingEntry : MappingEntry ,
179176 mapping : Mapping ,
180177) => {
181- const rawEntity : Record < string , string | boolean | number | unknown [ ] | URL | Date > = { } ;
178+ const rawEntity : Record < string , string | boolean | number | unknown [ ] | Date > = { } ;
182179
183180 for ( const [ key , relationId ] of Object . entries ( mappingEntry ?. relations ?? { } ) ) {
184181 const properties = ( queryEntity . relationsList ?? [ ] ) . filter ( ( a ) => a . typeId === relationId ) ;
@@ -212,7 +209,7 @@ const convertRelations = <S extends Entity.AnyNoContext>(
212209 // @ts -expect-error TODO: properly access the type.name
213210 const type = field . value ;
214211
215- let rawEntity : Record < string , string | boolean | number | unknown [ ] | URL | Date > = {
212+ let rawEntity : Record < string , string | boolean | number | unknown [ ] | Date > = {
216213 id : propertyEntry . toEntity . id ,
217214 name : propertyEntry . toEntity . name ,
218215 // TODO: should be determined by the actual value
@@ -262,7 +259,7 @@ export const parseResult = <S extends Entity.AnyNoContext>(
262259 const invalidEntities : Record < string , unknown > [ ] = [ ] ;
263260
264261 for ( const queryEntity of queryData . entities ) {
265- let rawEntity : Record < string , string | boolean | number | unknown [ ] | URL | Date > = {
262+ let rawEntity : Record < string , string | boolean | number | unknown [ ] | Date > = {
266263 id : queryEntity . id ,
267264 } ;
268265
0 commit comments