mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-16 10:48:49 +01:00
180 lines
16 KiB
XML
180 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="17709" systemVersion="20D80" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
|
|
<entity name="Application" representedClassName=".Application" syncable="YES">
|
|
<attribute name="identifier" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
|
|
<attribute name="name" attributeType="String"/>
|
|
<attribute name="vapidKey" optional="YES" attributeType="String"/>
|
|
<attribute name="website" optional="YES" attributeType="String"/>
|
|
<relationship name="toots" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="application" inverseEntity="Toot"/>
|
|
</entity>
|
|
<entity name="Attachment" representedClassName=".Attachment" syncable="YES">
|
|
<attribute name="blurhash" optional="YES" attributeType="String"/>
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="descriptionString" optional="YES" attributeType="String"/>
|
|
<attribute name="domain" attributeType="String"/>
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="index" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<attribute name="metaData" optional="YES" attributeType="Binary"/>
|
|
<attribute name="previewRemoteURL" optional="YES" attributeType="String"/>
|
|
<attribute name="previewURL" optional="YES" attributeType="String"/>
|
|
<attribute name="remoteURL" optional="YES" attributeType="String"/>
|
|
<attribute name="textURL" optional="YES" attributeType="String"/>
|
|
<attribute name="typeRaw" attributeType="String"/>
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="url" optional="YES" attributeType="String"/>
|
|
<relationship name="toot" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="mediaAttachments" inverseEntity="Toot"/>
|
|
</entity>
|
|
<entity name="Emoji" representedClassName=".Emoji" syncable="YES">
|
|
<attribute name="category" optional="YES" attributeType="String"/>
|
|
<attribute name="createAt" attributeType="Date" defaultDateTimeInterval="631123200" usesScalarValueType="NO"/>
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
|
<attribute name="shortcode" attributeType="String"/>
|
|
<attribute name="staticURL" attributeType="String"/>
|
|
<attribute name="url" attributeType="String"/>
|
|
<attribute name="visibleInPicker" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
<relationship name="toot" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="emojis" inverseEntity="Toot"/>
|
|
</entity>
|
|
<entity name="History" representedClassName=".History" syncable="YES">
|
|
<attribute name="accounts" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<attribute name="createAt" attributeType="Date" defaultDateTimeInterval="631123200" usesScalarValueType="NO"/>
|
|
<attribute name="day" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="identifier" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
|
|
<attribute name="uses" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<relationship name="tag" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Tag" inverseName="histories" inverseEntity="Tag"/>
|
|
</entity>
|
|
<entity name="HomeTimelineIndex" representedClassName=".HomeTimelineIndex" syncable="YES">
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="deletedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="domain" attributeType="String"/>
|
|
<attribute name="hasMore" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
|
<attribute name="identifier" attributeType="String"/>
|
|
<attribute name="userID" attributeType="String"/>
|
|
<relationship name="toot" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="homeTimelineIndexes" inverseEntity="Toot"/>
|
|
</entity>
|
|
<entity name="MastodonAuthentication" representedClassName=".MastodonAuthentication" syncable="YES">
|
|
<attribute name="activedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="appAccessToken" attributeType="String"/>
|
|
<attribute name="clientID" attributeType="String"/>
|
|
<attribute name="clientSecret" attributeType="String"/>
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="domain" attributeType="String"/>
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="userAccessToken" attributeType="String"/>
|
|
<attribute name="userID" attributeType="String"/>
|
|
<attribute name="username" attributeType="String"/>
|
|
<relationship name="user" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="mastodonAuthentication" inverseEntity="MastodonUser"/>
|
|
</entity>
|
|
<entity name="MastodonUser" representedClassName=".MastodonUser" syncable="YES">
|
|
<attribute name="acct" attributeType="String"/>
|
|
<attribute name="avatar" attributeType="String"/>
|
|
<attribute name="avatarStatic" optional="YES" attributeType="String"/>
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="displayName" attributeType="String"/>
|
|
<attribute name="domain" attributeType="String"/>
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="identifier" attributeType="String"/>
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="username" attributeType="String"/>
|
|
<relationship name="bookmarked" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="bookmarkedBy" inverseEntity="Toot"/>
|
|
<relationship name="favourite" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="favouritedBy" inverseEntity="Toot"/>
|
|
<relationship name="mastodonAuthentication" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonAuthentication" inverseName="user" inverseEntity="MastodonAuthentication"/>
|
|
<relationship name="muted" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="mutedBy" inverseEntity="Toot"/>
|
|
<relationship name="pinnedToot" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="pinnedBy" inverseEntity="Toot"/>
|
|
<relationship name="reblogged" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="rebloggedBy" inverseEntity="Toot"/>
|
|
<relationship name="toots" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="author" inverseEntity="Toot"/>
|
|
<relationship name="votePollOptions" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="PollOption" inverseName="votedBy" inverseEntity="PollOption"/>
|
|
<relationship name="votePolls" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Poll" inverseName="votedBy" inverseEntity="Poll"/>
|
|
</entity>
|
|
<entity name="Mention" representedClassName=".Mention" syncable="YES">
|
|
<attribute name="acct" attributeType="String"/>
|
|
<attribute name="createAt" attributeType="Date" defaultDateTimeInterval="631123200" usesScalarValueType="NO"/>
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
|
<attribute name="url" attributeType="String"/>
|
|
<attribute name="username" attributeType="String"/>
|
|
<relationship name="toot" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="mentions" inverseEntity="Toot"/>
|
|
</entity>
|
|
<entity name="Poll" representedClassName=".Poll" syncable="YES">
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="expired" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
<attribute name="expiresAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="multiple" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="votersCount" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<attribute name="votesCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<relationship name="options" toMany="YES" deletionRule="Nullify" destinationEntity="PollOption" inverseName="poll" inverseEntity="PollOption"/>
|
|
<relationship name="toot" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="poll" inverseEntity="Toot"/>
|
|
<relationship name="votedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="votePolls" inverseEntity="MastodonUser"/>
|
|
</entity>
|
|
<entity name="PollOption" representedClassName=".PollOption" syncable="YES">
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="index" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<attribute name="title" attributeType="String"/>
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="votesCount" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<relationship name="poll" maxCount="1" deletionRule="Nullify" destinationEntity="Poll" inverseName="options" inverseEntity="Poll"/>
|
|
<relationship name="votedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="votePollOptions" inverseEntity="MastodonUser"/>
|
|
</entity>
|
|
<entity name="Tag" representedClassName=".Tag" syncable="YES">
|
|
<attribute name="createAt" attributeType="Date" defaultDateTimeInterval="631123200" usesScalarValueType="NO"/>
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
|
<attribute name="name" attributeType="String"/>
|
|
<attribute name="url" attributeType="String"/>
|
|
<relationship name="histories" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="History" inverseName="tag" inverseEntity="History"/>
|
|
<relationship name="toot" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="tags" inverseEntity="Toot"/>
|
|
</entity>
|
|
<entity name="Toot" representedClassName=".Toot" syncable="YES">
|
|
<attribute name="content" attributeType="String"/>
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="deletedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="domain" attributeType="String"/>
|
|
<attribute name="favouritesCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<attribute name="id" attributeType="String"/>
|
|
<attribute name="identifier" attributeType="String"/>
|
|
<attribute name="inReplyToAccountID" optional="YES" attributeType="String"/>
|
|
<attribute name="inReplyToID" optional="YES" attributeType="String"/>
|
|
<attribute name="language" optional="YES" attributeType="String"/>
|
|
<attribute name="reblogsCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
<attribute name="repliesCount" optional="YES" attributeType="Integer 64" usesScalarValueType="NO"/>
|
|
<attribute name="sensitive" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
<attribute name="spoilerText" optional="YES" attributeType="String"/>
|
|
<attribute name="text" optional="YES" attributeType="String"/>
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
<attribute name="uri" attributeType="String"/>
|
|
<attribute name="url" attributeType="String"/>
|
|
<attribute name="visibility" optional="YES" attributeType="String"/>
|
|
<relationship name="application" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Application" inverseName="toots" inverseEntity="Application"/>
|
|
<relationship name="author" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="toots" inverseEntity="MastodonUser"/>
|
|
<relationship name="bookmarkedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="bookmarked" inverseEntity="MastodonUser"/>
|
|
<relationship name="emojis" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Emoji" inverseName="toot" inverseEntity="Emoji"/>
|
|
<relationship name="favouritedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="favourite" inverseEntity="MastodonUser"/>
|
|
<relationship name="homeTimelineIndexes" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="HomeTimelineIndex" inverseName="toot" inverseEntity="HomeTimelineIndex"/>
|
|
<relationship name="mediaAttachments" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Attachment" inverseName="toot" inverseEntity="Attachment"/>
|
|
<relationship name="mentions" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Mention" inverseName="toot" inverseEntity="Mention"/>
|
|
<relationship name="mutedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="muted" inverseEntity="MastodonUser"/>
|
|
<relationship name="pinnedBy" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="pinnedToot" inverseEntity="MastodonUser"/>
|
|
<relationship name="poll" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="Poll" inverseName="toot" inverseEntity="Poll"/>
|
|
<relationship name="reblog" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="reblogFrom" inverseEntity="Toot"/>
|
|
<relationship name="reblogFrom" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="reblog" inverseEntity="Toot"/>
|
|
<relationship name="rebloggedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="reblogged" inverseEntity="MastodonUser"/>
|
|
<relationship name="replyFrom" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Toot" inverseName="replyTo" inverseEntity="Toot"/>
|
|
<relationship name="replyTo" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Toot" inverseName="replyFrom" inverseEntity="Toot"/>
|
|
<relationship name="tags" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Tag" inverseName="toot" inverseEntity="Tag"/>
|
|
</entity>
|
|
<elements>
|
|
<element name="Application" positionX="160" positionY="192" width="128" height="104"/>
|
|
<element name="Attachment" positionX="72" positionY="162" width="128" height="254"/>
|
|
<element name="Emoji" positionX="45" positionY="135" width="128" height="149"/>
|
|
<element name="History" positionX="27" positionY="126" width="128" height="119"/>
|
|
<element name="HomeTimelineIndex" positionX="0" positionY="0" width="128" height="134"/>
|
|
<element name="MastodonAuthentication" positionX="18" positionY="162" width="128" height="209"/>
|
|
<element name="MastodonUser" positionX="0" positionY="0" width="128" height="314"/>
|
|
<element name="Mention" positionX="9" positionY="108" width="128" height="134"/>
|
|
<element name="Poll" positionX="72" positionY="162" width="128" height="194"/>
|
|
<element name="PollOption" positionX="81" positionY="171" width="128" height="134"/>
|
|
<element name="Tag" positionX="18" positionY="117" width="128" height="119"/>
|
|
<element name="Toot" positionX="0" positionY="0" width="128" height="14"/>
|
|
</elements>
|
|
</model> |