mirror of
https://github.com/writeas/writefreely-swiftui-multiplatform.git
synced 2024-11-15 01:11:02 +00:00
Add wasDeletedFromServer flag to WFAPost entity
This commit is contained in:
parent
5af1d38a2d
commit
2caa1e80b0
@ -27,6 +27,7 @@
|
||||
<attribute name="status" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES"/>
|
||||
<attribute name="title" optional="YES" attributeType="String"/>
|
||||
<attribute name="updatedDate" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
||||
<attribute name="wasDeletedFromServer" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
||||
<uniquenessConstraints>
|
||||
<uniquenessConstraint>
|
||||
<constraint value="postId"/>
|
||||
@ -35,6 +36,6 @@
|
||||
</entity>
|
||||
<elements>
|
||||
<element name="WFACollection" positionX="14.806640625" positionY="202.9156341552734" width="128" height="148"/>
|
||||
<element name="WFAPost" positionX="287.377197265625" positionY="243.2452697753906" width="128" height="209"/>
|
||||
<element name="WFAPost" positionX="287.377197265625" positionY="243.2452697753906" width="128" height="14"/>
|
||||
</elements>
|
||||
</model>
|
@ -27,6 +27,7 @@ extension WFAPost {
|
||||
@NSManaged public var title: String
|
||||
@NSManaged public var updatedDate: Date?
|
||||
@NSManaged public var hasNewerRemoteCopy: Bool
|
||||
@NSManaged public var wasDeletedFromServer: Bool
|
||||
|
||||
}
|
||||
|
||||
|
@ -7,12 +7,12 @@
|
||||
<key>WriteFreely-MultiPlatform (iOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<key>WriteFreely-MultiPlatform (macOS).xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>0</integer>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
Loading…
Reference in New Issue
Block a user