|
|
@ -200,7 +200,7 @@ export function queryModelFromSchema(schema: SchemaDetailsDto, languages: Langua |
|
|
} else if (field.properties.fieldType === 'DateTime') { |
|
|
} else if (field.properties.fieldType === 'DateTime') { |
|
|
type = TypeDateTime; |
|
|
type = TypeDateTime; |
|
|
} else if (field.properties.fieldType === 'References') { |
|
|
} else if (field.properties.fieldType === 'References') { |
|
|
const extra = { schemaId: field.properties['schemaId'] }; |
|
|
const extra = field.properties['schemaId']; |
|
|
|
|
|
|
|
|
type = { ...TypeReference, extra }; |
|
|
type = { ...TypeReference, extra }; |
|
|
} |
|
|
} |
|
|
|