[ABANDONED] Mastodon iOS client.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

168 lines
17 KiB

6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
4 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
4 years ago
6 years ago
6 years ago
6 years ago
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="14460.32" systemVersion="18B75" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
  3. <entity name="Account" representedClassName="AccountMO" syncable="YES" codeGenerationType="class">
  4. <attribute name="acct" attributeType="String" syncable="YES"/>
  5. <attribute name="avatarStaticURL" optional="YES" attributeType="URI" syncable="YES"/>
  6. <attribute name="avatarURL" optional="YES" attributeType="URI" syncable="YES"/>
  7. <attribute name="bot" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  8. <attribute name="createdAt" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  9. <attribute name="displayName" attributeType="String" syncable="YES"/>
  10. <attribute name="fetchedAt" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  11. <attribute name="fields" optional="YES" attributeType="Transformable" customClassName="[AccountField]" syncable="YES"/>
  12. <attribute name="followersCount" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  13. <attribute name="followingCount" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  14. <attribute name="headerStaticURL" optional="YES" attributeType="URI" syncable="YES"/>
  15. <attribute name="headerURL" optional="YES" attributeType="URI" syncable="YES"/>
  16. <attribute name="id" attributeType="String" syncable="YES"/>
  17. <attribute name="locked" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  18. <attribute name="moved" optional="YES" attributeType="String" syncable="YES"/>
  19. <attribute name="note" attributeType="String" syncable="YES"/>
  20. <attribute name="statusesCount" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  21. <attribute name="url" attributeType="URI" syncable="YES"/>
  22. <attribute name="username" attributeType="String" syncable="YES"/>
  23. <relationship name="sessions" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Session" inverseName="account" inverseEntity="Session" syncable="YES"/>
  24. <relationship name="statuses" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="account" inverseEntity="Status" syncable="YES"/>
  25. <relationship name="timelines" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Timeline" inverseName="account" inverseEntity="Timeline" syncable="YES"/>
  26. </entity>
  27. <entity name="App" representedClassName="AppMO" syncable="YES" codeGenerationType="class">
  28. <attribute name="fetchedAt" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  29. <attribute name="name" attributeType="String" syncable="YES"/>
  30. <attribute name="website" optional="YES" attributeType="URI" syncable="YES"/>
  31. <relationship name="statuses" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="app" inverseEntity="Status" syncable="YES"/>
  32. </entity>
  33. <entity name="Attachment" representedClassName="AttachmentMO" syncable="YES" codeGenerationType="class">
  34. <attribute name="fetchedAt" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  35. <attribute name="id" attributeType="String" syncable="YES"/>
  36. <attribute name="previewURL" attributeType="URI" syncable="YES"/>
  37. <attribute name="remoteURL" optional="YES" attributeType="URI" syncable="YES"/>
  38. <attribute name="textURL" optional="YES" attributeType="URI" syncable="YES"/>
  39. <attribute name="type" attributeType="String" syncable="YES"/>
  40. <attribute name="url" attributeType="URI" syncable="YES"/>
  41. <relationship name="status" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="attachments" inverseEntity="Status" syncable="YES"/>
  42. </entity>
  43. <entity name="Client" representedClassName="ClientMO" syncable="YES" codeGenerationType="class">
  44. <attribute name="clientID" attributeType="String" syncable="YES"/>
  45. <attribute name="clientSecret" attributeType="String" syncable="YES"/>
  46. <attribute name="host" attributeType="String" syncable="YES"/>
  47. <attribute name="id" attributeType="String" syncable="YES"/>
  48. <relationship name="sessions" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Session" inverseName="client" inverseEntity="Session" syncable="YES"/>
  49. </entity>
  50. <entity name="ISCategory" representedClassName="ISCategoryMO" syncable="YES" codeGenerationType="class">
  51. <attribute name="id" attributeType="String" syncable="YES"/>
  52. <relationship name="instances" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="ISInstance" inverseName="categories" inverseEntity="ISInstance" syncable="YES"/>
  53. <uniquenessConstraints>
  54. <uniquenessConstraint>
  55. <constraint value="id"/>
  56. </uniquenessConstraint>
  57. </uniquenessConstraints>
  58. </entity>
  59. <entity name="ISInstance" representedClassName="ISInstanceMO" syncable="YES" codeGenerationType="class">
  60. <attribute name="activeUsers" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  61. <attribute name="checkedAt" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  62. <attribute name="connections" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  63. <attribute name="dead" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  64. <attribute name="email" optional="YES" attributeType="String" syncable="YES"/>
  65. <attribute name="fetchedAt" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  66. <attribute name="fullDescription" optional="YES" attributeType="String" syncable="YES"/>
  67. <attribute name="https" optional="YES" attributeType="String" syncable="YES"/>
  68. <attribute name="id" optional="YES" attributeType="String" syncable="YES"/>
  69. <attribute name="ipv6" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  70. <attribute name="name" attributeType="String" syncable="YES"/>
  71. <attribute name="openRegistrations" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  72. <attribute name="registrations" optional="YES" attributeType="String" syncable="YES"/>
  73. <attribute name="shortDesc" optional="YES" attributeType="String" syncable="YES"/>
  74. <attribute name="statuses" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  75. <attribute name="thumbnail" optional="YES" attributeType="URI" syncable="YES"/>
  76. <attribute name="title" optional="YES" attributeType="String" syncable="YES"/>
  77. <attribute name="topic" optional="YES" attributeType="String" syncable="YES"/>
  78. <attribute name="up" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  79. <attribute name="updatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  80. <attribute name="uptime" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  81. <attribute name="url" attributeType="URI" syncable="YES"/>
  82. <attribute name="urls" optional="YES" attributeType="String" syncable="YES"/>
  83. <attribute name="users" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  84. <attribute name="version" optional="YES" attributeType="String" syncable="YES"/>
  85. <relationship name="categories" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="ISCategory" inverseName="instances" inverseEntity="ISCategory" syncable="YES"/>
  86. <relationship name="languages" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="ISLanguage" inverseName="instances" inverseEntity="ISLanguage" syncable="YES"/>
  87. </entity>
  88. <entity name="ISLanguage" representedClassName="ISLanguageMO" syncable="YES" codeGenerationType="class">
  89. <attribute name="id" attributeType="String" syncable="YES"/>
  90. <relationship name="instances" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="ISInstance" inverseName="languages" inverseEntity="ISInstance" syncable="YES"/>
  91. <uniquenessConstraints>
  92. <uniquenessConstraint>
  93. <constraint value="id"/>
  94. </uniquenessConstraint>
  95. </uniquenessConstraints>
  96. </entity>
  97. <entity name="Session" representedClassName="SessionMO" syncable="YES" codeGenerationType="class">
  98. <attribute name="color" optional="YES" attributeType="String" syncable="YES"/>
  99. <attribute name="createdAt" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  100. <attribute name="order" attributeType="Integer 16" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  101. <attribute name="selected" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  102. <relationship name="account" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Account" inverseName="sessions" inverseEntity="Account" syncable="YES"/>
  103. <relationship name="client" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Client" inverseName="sessions" inverseEntity="Client" syncable="YES"/>
  104. <relationship name="timeline" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Timeline" inverseName="session" inverseEntity="Timeline" syncable="YES"/>
  105. </entity>
  106. <entity name="Status" representedClassName="StatusMO" syncable="YES" codeGenerationType="class">
  107. <attribute name="attributedContent" optional="YES" attributeType="Transformable" customClassName="NSAttributedString" syncable="YES"/>
  108. <attribute name="content" optional="YES" attributeType="String" syncable="YES"/>
  109. <attribute name="createdAt" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  110. <attribute name="emojis" optional="YES" attributeType="Transformable" customClassName="[Emoji]" syncable="YES"/>
  111. <attribute name="favorited" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  112. <attribute name="favoritesCount" optional="YES" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  113. <attribute name="fetchedAt" optional="YES" attributeType="Date" usesScalarValueType="NO" syncable="YES"/>
  114. <attribute name="hidden" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  115. <attribute name="id" attributeType="String" syncable="YES"/>
  116. <attribute name="inReplyToAccountID" optional="YES" attributeType="String" syncable="YES"/>
  117. <attribute name="inReplyToID" optional="YES" attributeType="String" syncable="YES"/>
  118. <attribute name="markers" optional="YES" attributeType="Transformable" customClassName="[PaginationMarker]" syncable="YES"/>
  119. <attribute name="mentions" optional="YES" attributeType="Transformable" customClassName="[Mention]" syncable="YES"/>
  120. <attribute name="pinned" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  121. <attribute name="reblogged" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  122. <attribute name="reblogsCount" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  123. <attribute name="repliesCount" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  124. <attribute name="sensitive" optional="YES" attributeType="Boolean" usesScalarValueType="YES" syncable="YES"/>
  125. <attribute name="spoilerText" optional="YES" attributeType="String" syncable="YES"/>
  126. <attribute name="uri" attributeType="URI" syncable="YES"/>
  127. <attribute name="url" optional="YES" attributeType="URI" syncable="YES"/>
  128. <attribute name="visibility" optional="YES" attributeType="String" syncable="YES"/>
  129. <relationship name="account" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Account" inverseName="statuses" inverseEntity="Account" syncable="YES"/>
  130. <relationship name="ancestors" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="descendants" inverseEntity="Status" syncable="YES"/>
  131. <relationship name="app" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="App" inverseName="statuses" inverseEntity="App" syncable="YES"/>
  132. <relationship name="attachments" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="Attachment" inverseName="status" inverseEntity="Attachment" syncable="YES"/>
  133. <relationship name="descendants" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="ancestors" inverseEntity="Status" syncable="YES"/>
  134. <relationship name="reblog" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="reblogs" inverseEntity="Status" syncable="YES"/>
  135. <relationship name="reblogs" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="reblog" inverseEntity="Status" syncable="YES"/>
  136. <relationship name="tags" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Tag" inverseName="statuses" inverseEntity="Tag" syncable="YES"/>
  137. <relationship name="timelines" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Timeline" inverseName="statuses" inverseEntity="Timeline" syncable="YES"/>
  138. <fetchIndex name="createdAtIndex">
  139. <fetchIndexElement property="createdAt" type="Binary" order="descending"/>
  140. </fetchIndex>
  141. </entity>
  142. <entity name="Tag" representedClassName="TagMO" syncable="YES" codeGenerationType="class">
  143. <attribute name="name" attributeType="String" syncable="YES"/>
  144. <attribute name="url" attributeType="URI" syncable="YES"/>
  145. <relationship name="statuses" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="tags" inverseEntity="Status" syncable="YES"/>
  146. </entity>
  147. <entity name="Timeline" representedClassName="TimelineMO" syncable="YES" codeGenerationType="class">
  148. <attribute name="category" attributeType="String" syncable="YES"/>
  149. <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
  150. <attribute name="order" attributeType="Integer 32" defaultValueString="0" usesScalarValueType="YES" syncable="YES"/>
  151. <attribute name="subcategory" optional="YES" attributeType="String" syncable="YES"/>
  152. <relationship name="account" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Account" inverseName="timelines" inverseEntity="Account" syncable="YES"/>
  153. <relationship name="session" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Session" inverseName="timeline" inverseEntity="Session" syncable="YES"/>
  154. <relationship name="statuses" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="timelines" inverseEntity="Status" syncable="YES"/>
  155. </entity>
  156. <elements>
  157. <element name="Account" positionX="-669.49609375" positionY="52.046875" width="128" height="375"/>
  158. <element name="App" positionX="-423" positionY="252" width="128" height="105"/>
  159. <element name="Attachment" positionX="-450" positionY="225" width="128" height="165"/>
  160. <element name="Client" positionX="-244.4140625" positionY="307.203125" width="128" height="120"/>
  161. <element name="ISCategory" positionX="196.8984375" positionY="498.03515625" width="128" height="75"/>
  162. <element name="ISInstance" positionX="-18" positionY="153" width="128" height="450"/>
  163. <element name="ISLanguage" positionX="-286.21875" positionY="512.6171875" width="128" height="75"/>
  164. <element name="Session" positionX="-445.046875" positionY="277.31640625" width="128" height="150"/>
  165. <element name="Status" positionX="-459" positionY="216" width="128" height="510"/>
  166. <element name="Tag" positionX="-432" positionY="243" width="128" height="90"/>
  167. <element name="Timeline" positionX="-468" positionY="207" width="128" height="150"/>
  168. </elements>
  169. </model>