2021-01-27 07:50:13 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
2021-07-23 13:33:05 +02:00
|
|
|
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="18154" systemVersion="20G71" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier="">
|
2021-02-03 06:43:57 +01:00
|
|
|
<entity name="Application" representedClassName=".Application" syncable="YES">
|
2021-02-03 09:37:18 +01:00
|
|
|
<attribute name="identifier" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
|
2021-02-03 06:43:57 +01:00
|
|
|
<attribute name="name" attributeType="String"/>
|
|
|
|
<attribute name="vapidKey" optional="YES" attributeType="String"/>
|
|
|
|
<attribute name="website" optional="YES" attributeType="String"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="status" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="application" inverseEntity="Status"/>
|
2021-02-03 06:43:57 +01:00
|
|
|
</entity>
|
2021-02-23 12:18:34 +01:00
|
|
|
<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"/>
|
2021-03-08 04:42:10 +01:00
|
|
|
<attribute name="previewURL" optional="YES" attributeType="String"/>
|
2021-02-23 12:18:34 +01:00
|
|
|
<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"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="status" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="mediaAttachments" inverseEntity="Status"/>
|
2021-02-23 12:18:34 +01:00
|
|
|
</entity>
|
2021-04-29 09:51:52 +02:00
|
|
|
<entity name="DomainBlock" representedClassName=".DomainBlock" syncable="YES">
|
|
|
|
<attribute name="blockedDomain" attributeType="String"/>
|
2021-04-30 06:53:25 +02:00
|
|
|
<attribute name="createAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-04-29 09:51:52 +02:00
|
|
|
<attribute name="domain" attributeType="String"/>
|
|
|
|
<attribute name="userID" attributeType="String"/>
|
|
|
|
<uniquenessConstraints>
|
|
|
|
<uniquenessConstraint>
|
|
|
|
<constraint value="userID"/>
|
|
|
|
<constraint value="domain"/>
|
|
|
|
<constraint value="blockedDomain"/>
|
|
|
|
</uniquenessConstraint>
|
|
|
|
</uniquenessConstraints>
|
|
|
|
</entity>
|
2021-02-01 11:05:34 +01:00
|
|
|
<entity name="Emoji" representedClassName=".Emoji" syncable="YES">
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="category" optional="YES" attributeType="String"/>
|
|
|
|
<attribute name="createAt" attributeType="Date" defaultDateTimeInterval="631123200" usesScalarValueType="NO"/>
|
|
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<attribute name="shortcode" attributeType="String"/>
|
|
|
|
<attribute name="staticURL" attributeType="String"/>
|
|
|
|
<attribute name="url" attributeType="String"/>
|
|
|
|
<attribute name="visibleInPicker" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
|
|
</entity>
|
|
|
|
<entity name="History" representedClassName=".History" syncable="YES">
|
2021-04-01 05:49:38 +02:00
|
|
|
<attribute name="accounts" optional="YES" attributeType="String"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="createAt" attributeType="Date" defaultDateTimeInterval="631123200" usesScalarValueType="NO"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<attribute name="day" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="identifier" optional="YES" attributeType="UUID" usesScalarValueType="NO"/>
|
2021-04-01 05:49:38 +02:00
|
|
|
<attribute name="uses" optional="YES" attributeType="String"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<relationship name="tag" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Tag" inverseName="histories" inverseEntity="Tag"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
</entity>
|
2021-01-27 07:50:13 +01:00
|
|
|
<entity name="HomeTimelineIndex" representedClassName=".HomeTimelineIndex" syncable="YES">
|
|
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-02-04 07:45:44 +01:00
|
|
|
<attribute name="deletedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="domain" attributeType="String"/>
|
2021-02-04 07:45:44 +01:00
|
|
|
<attribute name="hasMore" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="identifier" attributeType="String"/>
|
2021-02-04 07:45:44 +01:00
|
|
|
<attribute name="userID" attributeType="String"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="status" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="homeTimelineIndexes" inverseEntity="Status"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
</entity>
|
2021-02-03 09:01:08 +01:00
|
|
|
<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>
|
2021-04-12 10:31:53 +02:00
|
|
|
<entity name="MastodonNotification" representedClassName=".MastodonNotification" syncable="YES">
|
|
|
|
<attribute name="createAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
|
<attribute name="domain" attributeType="String"/>
|
|
|
|
<attribute name="id" attributeType="String"/>
|
|
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
2021-04-16 07:45:54 +02:00
|
|
|
<attribute name="typeRaw" attributeType="String"/>
|
2021-04-12 10:31:53 +02:00
|
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-04-16 07:45:54 +02:00
|
|
|
<attribute name="userID" attributeType="String"/>
|
2021-07-22 06:56:20 +02:00
|
|
|
<relationship name="account" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="notifications" inverseEntity="MastodonUser"/>
|
2021-05-07 14:36:31 +02:00
|
|
|
<relationship name="status" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="inNotifications" inverseEntity="Status"/>
|
2021-04-12 10:31:53 +02:00
|
|
|
<uniquenessConstraints>
|
|
|
|
<uniquenessConstraint>
|
|
|
|
<constraint value="id"/>
|
|
|
|
</uniquenessConstraint>
|
|
|
|
</uniquenessConstraints>
|
|
|
|
</entity>
|
2021-01-27 07:50:13 +01:00
|
|
|
<entity name="MastodonUser" representedClassName=".MastodonUser" syncable="YES">
|
|
|
|
<attribute name="acct" attributeType="String"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="avatar" attributeType="String"/>
|
2021-01-29 09:47:32 +01:00
|
|
|
<attribute name="avatarStatic" optional="YES" attributeType="String"/>
|
2021-04-02 12:13:45 +02:00
|
|
|
<attribute name="bot" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="displayName" attributeType="String"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="domain" attributeType="String"/>
|
2021-05-07 12:25:57 +02:00
|
|
|
<attribute name="emojisData" optional="YES" attributeType="Binary"/>
|
2021-05-27 07:56:55 +02:00
|
|
|
<attribute name="fieldsData" optional="YES" attributeType="Binary"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<attribute name="followersCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="followingCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="header" attributeType="String"/>
|
|
|
|
<attribute name="headerStatic" optional="YES" attributeType="String"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="id" attributeType="String"/>
|
|
|
|
<attribute name="identifier" attributeType="String"/>
|
2021-04-02 12:13:45 +02:00
|
|
|
<attribute name="locked" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<attribute name="note" optional="YES" attributeType="String"/>
|
|
|
|
<attribute name="statusesCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
2021-04-08 10:53:32 +02:00
|
|
|
<attribute name="suspended" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<attribute name="url" optional="YES" attributeType="String"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="username" attributeType="String"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="blocking" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="blockingBy" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="blockingBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="blocking" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="bookmarked" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="bookmarkedBy" inverseEntity="Status"/>
|
|
|
|
<relationship name="domainBlocking" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="domainBlockingBy" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="domainBlockingBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="domainBlocking" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="endorsed" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="endorsedBy" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="endorsedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="endorsed" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="favourite" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="favouritedBy" inverseEntity="Status"/>
|
|
|
|
<relationship name="following" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="followingBy" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="followingBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="following" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="followRequested" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="followRequestedBy" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="followRequestedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="followRequested" inverseEntity="MastodonUser"/>
|
2021-02-03 09:01:08 +01:00
|
|
|
<relationship name="mastodonAuthentication" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonAuthentication" inverseName="user" inverseEntity="MastodonAuthentication"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="muted" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="mutedBy" inverseEntity="Status"/>
|
|
|
|
<relationship name="muting" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="mutingBy" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="mutingBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="muting" inverseEntity="MastodonUser"/>
|
2021-07-22 06:56:20 +02:00
|
|
|
<relationship name="notifications" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonNotification" inverseName="account" inverseEntity="MastodonNotification"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="pinnedStatus" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="pinnedBy" inverseEntity="Status"/>
|
|
|
|
<relationship name="privateNotes" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="PrivateNote" inverseName="to" inverseEntity="PrivateNote"/>
|
|
|
|
<relationship name="privateNotesTo" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="PrivateNote" inverseName="from" inverseEntity="PrivateNote"/>
|
|
|
|
<relationship name="reblogged" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="rebloggedBy" inverseEntity="Status"/>
|
2021-07-15 14:28:36 +02:00
|
|
|
<relationship name="searchHistory" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="SearchHistory" inverseName="account" inverseEntity="SearchHistory"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="statuses" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="author" inverseEntity="Status"/>
|
2021-03-02 08:51:16 +01:00
|
|
|
<relationship name="votePollOptions" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="PollOption" inverseName="votedBy" inverseEntity="PollOption"/>
|
2021-03-03 12:34:29 +01:00
|
|
|
<relationship name="votePolls" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Poll" inverseName="votedBy" inverseEntity="Poll"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
</entity>
|
2021-02-01 11:05:34 +01:00
|
|
|
<entity name="Mention" representedClassName=".Mention" syncable="YES">
|
|
|
|
<attribute name="acct" attributeType="String"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="createAt" attributeType="Date" defaultDateTimeInterval="631123200" usesScalarValueType="NO"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<attribute name="id" attributeType="String"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
2021-04-14 09:59:29 +02:00
|
|
|
<attribute name="index" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<attribute name="url" attributeType="String"/>
|
|
|
|
<attribute name="username" attributeType="String"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="status" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="mentions" inverseEntity="Status"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
</entity>
|
2021-03-02 08:51:16 +01:00
|
|
|
<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"/>
|
2021-05-07 14:36:31 +02:00
|
|
|
<relationship name="options" toMany="YES" deletionRule="Cascade" destinationEntity="PollOption" inverseName="poll" inverseEntity="PollOption"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="status" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="poll" inverseEntity="Status"/>
|
2021-03-03 12:34:29 +01:00
|
|
|
<relationship name="votedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="votePolls" inverseEntity="MastodonUser"/>
|
2021-03-02 08:51:16 +01:00
|
|
|
</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>
|
2021-04-07 13:49:33 +02:00
|
|
|
<entity name="PrivateNote" representedClassName=".PrivateNote" syncable="YES">
|
2021-04-01 08:39:15 +02:00
|
|
|
<attribute name="note" optional="YES" attributeType="String"/>
|
|
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
|
<relationship name="from" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="privateNotesTo" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="to" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="privateNotes" inverseEntity="MastodonUser"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
</entity>
|
2021-04-07 13:49:33 +02:00
|
|
|
<entity name="SearchHistory" representedClassName=".SearchHistory" syncable="YES">
|
|
|
|
<attribute name="createAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-07-22 06:56:20 +02:00
|
|
|
<attribute name="domain" attributeType="String" defaultValueString=""/>
|
2021-04-07 13:49:33 +02:00
|
|
|
<attribute name="identifier" attributeType="UUID" usesScalarValueType="NO"/>
|
2021-04-08 06:22:05 +02:00
|
|
|
<attribute name="updatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-07-22 06:56:20 +02:00
|
|
|
<attribute name="userID" attributeType="String" defaultValueString=""/>
|
2021-07-15 14:28:36 +02:00
|
|
|
<relationship name="account" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="searchHistory" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="hashtag" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Tag" inverseName="searchHistory" inverseEntity="Tag"/>
|
|
|
|
<relationship name="status" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="searchHistory" inverseEntity="Status"/>
|
2021-04-07 13:49:33 +02:00
|
|
|
</entity>
|
2021-04-17 20:02:08 +02:00
|
|
|
<entity name="Setting" representedClassName=".Setting" syncable="YES">
|
2021-04-26 10:57:50 +02:00
|
|
|
<attribute name="appearanceRaw" attributeType="String"/>
|
|
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
|
<attribute name="domain" attributeType="String"/>
|
2021-07-07 08:55:41 +02:00
|
|
|
<attribute name="preferredStaticAvatar" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
2021-07-23 13:33:05 +02:00
|
|
|
<attribute name="preferredStaticEmoji" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
2021-07-05 10:07:17 +02:00
|
|
|
<attribute name="preferredTrueBlackDarkMode" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
2021-07-08 09:56:52 +02:00
|
|
|
<attribute name="preferredUsingDefaultBrowser" attributeType="Boolean" defaultValueString="NO" usesScalarValueType="YES"/>
|
2021-04-26 10:57:50 +02:00
|
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
|
<attribute name="userID" attributeType="String"/>
|
|
|
|
<relationship name="subscriptions" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Subscription" inverseName="setting" inverseEntity="Subscription"/>
|
2021-04-08 13:47:31 +02:00
|
|
|
</entity>
|
2021-04-01 08:39:15 +02:00
|
|
|
<entity name="Status" representedClassName=".Status" syncable="YES">
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="content" attributeType="String"/>
|
|
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-01-28 09:10:30 +01:00
|
|
|
<attribute name="deletedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="domain" attributeType="String"/>
|
2021-05-07 12:25:57 +02:00
|
|
|
<attribute name="emojisData" optional="YES" attributeType="Binary"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<attribute name="favouritesCount" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="id" attributeType="String"/>
|
|
|
|
<attribute name="identifier" attributeType="String"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<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"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<attribute name="repliesCount" optional="YES" attributeType="Integer 64" usesScalarValueType="NO"/>
|
2021-04-16 14:06:36 +02:00
|
|
|
<attribute name="revealedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<attribute name="sensitive" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="spoilerText" optional="YES" attributeType="String"/>
|
|
|
|
<attribute name="text" optional="YES" attributeType="String"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-02-01 11:05:34 +01:00
|
|
|
<attribute name="uri" attributeType="String"/>
|
|
|
|
<attribute name="url" attributeType="String"/>
|
|
|
|
<attribute name="visibility" optional="YES" attributeType="String"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="application" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Application" inverseName="status" inverseEntity="Application"/>
|
|
|
|
<relationship name="author" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="statuses" inverseEntity="MastodonUser"/>
|
2021-02-07 07:42:50 +01:00
|
|
|
<relationship name="bookmarkedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="bookmarked" inverseEntity="MastodonUser"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<relationship name="favouritedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="favourite" inverseEntity="MastodonUser"/>
|
2021-05-07 14:36:31 +02:00
|
|
|
<relationship name="homeTimelineIndexes" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="HomeTimelineIndex" inverseName="status" inverseEntity="HomeTimelineIndex"/>
|
|
|
|
<relationship name="inNotifications" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="MastodonNotification" inverseName="status" inverseEntity="MastodonNotification"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="mediaAttachments" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Attachment" inverseName="status" inverseEntity="Attachment"/>
|
|
|
|
<relationship name="mentions" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Mention" inverseName="status" inverseEntity="Mention"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<relationship name="mutedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="muted" inverseEntity="MastodonUser"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="pinnedBy" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="pinnedStatus" inverseEntity="MastodonUser"/>
|
|
|
|
<relationship name="poll" optional="YES" maxCount="1" deletionRule="Cascade" destinationEntity="Poll" inverseName="status" inverseEntity="Poll"/>
|
|
|
|
<relationship name="reblog" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="reblogFrom" inverseEntity="Status"/>
|
2021-05-07 14:36:31 +02:00
|
|
|
<relationship name="reblogFrom" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Status" inverseName="reblog" inverseEntity="Status"/>
|
2021-02-02 07:10:25 +01:00
|
|
|
<relationship name="rebloggedBy" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="MastodonUser" inverseName="reblogged" inverseEntity="MastodonUser"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="replyFrom" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="replyTo" inverseEntity="Status"/>
|
|
|
|
<relationship name="replyTo" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Status" inverseName="replyFrom" inverseEntity="Status"/>
|
2021-07-15 14:28:36 +02:00
|
|
|
<relationship name="searchHistory" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="SearchHistory" inverseName="status" inverseEntity="SearchHistory"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="tags" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Tag" inverseName="statuses" inverseEntity="Tag"/>
|
|
|
|
</entity>
|
2021-04-17 20:02:08 +02:00
|
|
|
<entity name="Subscription" representedClassName=".Subscription" syncable="YES">
|
2021-04-26 10:57:50 +02:00
|
|
|
<attribute name="activedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
|
<attribute name="createdAt" attributeType="Date" usesScalarValueType="NO"/>
|
2021-04-08 13:47:31 +02:00
|
|
|
<attribute name="endpoint" optional="YES" attributeType="String"/>
|
|
|
|
<attribute name="id" optional="YES" attributeType="String"/>
|
2021-04-26 10:57:50 +02:00
|
|
|
<attribute name="policyRaw" attributeType="String"/>
|
2021-04-08 13:47:31 +02:00
|
|
|
<attribute name="serverKey" optional="YES" attributeType="String"/>
|
2021-04-26 10:57:50 +02:00
|
|
|
<attribute name="updatedAt" attributeType="Date" usesScalarValueType="NO"/>
|
|
|
|
<attribute name="userToken" optional="YES" attributeType="String"/>
|
|
|
|
<relationship name="alert" maxCount="1" deletionRule="Cascade" destinationEntity="SubscriptionAlerts" inverseName="subscription" inverseEntity="SubscriptionAlerts"/>
|
|
|
|
<relationship name="setting" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Setting" inverseName="subscriptions" inverseEntity="Setting"/>
|
2021-04-08 13:47:31 +02:00
|
|
|
</entity>
|
2021-04-17 20:02:08 +02:00
|
|
|
<entity name="SubscriptionAlerts" representedClassName=".SubscriptionAlerts" syncable="YES">
|
2021-04-08 13:47:31 +02:00
|
|
|
<attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-04-26 10:57:50 +02:00
|
|
|
<attribute name="favouriteRaw" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="followRaw" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="followRequestRaw" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="mentionRaw" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="pollRaw" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
|
|
|
<attribute name="reblogRaw" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/>
|
2021-04-08 13:47:31 +02:00
|
|
|
<attribute name="updatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-04-26 10:57:50 +02:00
|
|
|
<relationship name="subscription" maxCount="1" deletionRule="Nullify" destinationEntity="Subscription" inverseName="alert" inverseEntity="Subscription"/>
|
2021-04-08 13:47:31 +02:00
|
|
|
</entity>
|
2021-04-01 08:39:15 +02:00
|
|
|
<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"/>
|
2021-04-08 06:22:05 +02:00
|
|
|
<attribute name="updatedAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<attribute name="url" attributeType="String"/>
|
|
|
|
<relationship name="histories" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="History" inverseName="tag" inverseEntity="History"/>
|
2021-07-15 14:28:36 +02:00
|
|
|
<relationship name="searchHistory" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="SearchHistory" inverseName="hashtag" inverseEntity="SearchHistory"/>
|
2021-04-01 08:39:15 +02:00
|
|
|
<relationship name="statuses" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Status" inverseName="tags" inverseEntity="Status"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
</entity>
|
|
|
|
<elements>
|
2021-04-08 06:22:05 +02:00
|
|
|
<element name="Application" positionX="0" positionY="0" width="128" height="104"/>
|
|
|
|
<element name="Attachment" positionX="0" positionY="0" width="128" height="254"/>
|
2021-04-30 06:53:25 +02:00
|
|
|
<element name="DomainBlock" positionX="45" positionY="162" width="128" height="89"/>
|
2021-05-07 12:25:57 +02:00
|
|
|
<element name="Emoji" positionX="0" positionY="0" width="128" height="134"/>
|
2021-04-08 06:22:05 +02:00
|
|
|
<element name="History" positionX="0" positionY="0" width="128" height="119"/>
|
|
|
|
<element name="HomeTimelineIndex" positionX="0" positionY="0" width="128" height="134"/>
|
|
|
|
<element name="MastodonAuthentication" positionX="0" positionY="0" width="128" height="209"/>
|
2021-04-16 07:45:54 +02:00
|
|
|
<element name="MastodonNotification" positionX="9" positionY="162" width="128" height="164"/>
|
2021-07-22 06:56:20 +02:00
|
|
|
<element name="MastodonUser" positionX="0" positionY="0" width="128" height="734"/>
|
2021-04-14 09:59:29 +02:00
|
|
|
<element name="Mention" positionX="0" positionY="0" width="128" height="149"/>
|
2021-04-08 06:22:05 +02:00
|
|
|
<element name="Poll" positionX="0" positionY="0" width="128" height="194"/>
|
|
|
|
<element name="PollOption" positionX="0" positionY="0" width="128" height="134"/>
|
|
|
|
<element name="PrivateNote" positionX="0" positionY="0" width="128" height="89"/>
|
2021-07-22 06:56:20 +02:00
|
|
|
<element name="SearchHistory" positionX="0" positionY="0" width="128" height="149"/>
|
2021-07-23 13:33:05 +02:00
|
|
|
<element name="Setting" positionX="72" positionY="162" width="128" height="179"/>
|
2021-07-15 14:28:36 +02:00
|
|
|
<element name="Status" positionX="0" positionY="0" width="128" height="614"/>
|
2021-04-26 10:57:50 +02:00
|
|
|
<element name="Subscription" positionX="81" positionY="171" width="128" height="179"/>
|
|
|
|
<element name="SubscriptionAlerts" positionX="72" positionY="162" width="128" height="14"/>
|
2021-07-15 14:28:36 +02:00
|
|
|
<element name="Tag" positionX="0" positionY="0" width="128" height="149"/>
|
2021-01-27 07:50:13 +01:00
|
|
|
</elements>
|
2021-04-29 09:51:52 +02:00
|
|
|
</model>
|