mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
882fcab738
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests. PreviewManager → URLPreviewManager URLPreviewViewData → URLPreviewData URLPreviewCache → URLPreviewStore
25 lines
1.6 KiB
XML
25 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="18154" systemVersion="20G95" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
|
|
<entity name="ClosedURLPreview" representedClassName="ClosedURLPreview" syncable="YES" codeGenerationType="class">
|
|
<attribute name="eventID" attributeType="String"/>
|
|
<attribute name="roomID" attributeType="String"/>
|
|
<uniquenessConstraints>
|
|
<uniquenessConstraint>
|
|
<constraint value="eventID"/>
|
|
<constraint value="roomID"/>
|
|
</uniquenessConstraint>
|
|
</uniquenessConstraints>
|
|
</entity>
|
|
<entity name="URLPreviewCacheData" representedClassName="URLPreviewCacheData" syncable="YES" codeGenerationType="class">
|
|
<attribute name="creationDate" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="image" optional="YES" attributeType="Transformable" valueTransformerName="URLPreviewImageTransformer"/>
|
|
<attribute name="siteName" optional="YES" attributeType="String"/>
|
|
<attribute name="text" optional="YES" attributeType="String"/>
|
|
<attribute name="title" optional="YES" attributeType="String"/>
|
|
<attribute name="url" attributeType="URI"/>
|
|
</entity>
|
|
<elements>
|
|
<element name="URLPreviewCacheData" positionX="0" positionY="0" width="128" height="119"/>
|
|
<element name="ClosedURLPreview" positionX="0" positionY="45" width="128" height="59"/>
|
|
</elements>
|
|
</model> |