-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1695 from planetary-social/pronouns
Add Pronouns Support to Author Metadata and User Profiles
- Loading branch information
Showing
20 changed files
with
346 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
Nos/Models/CoreData/Nos.xcdatamodeld/Nos 20.xcdatamodel/.xccurrentversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>_XCCurrentVersionName</key> | ||
<string>Nos.xcdatamodel</string> | ||
</dict> | ||
</plist> |
56 changes: 56 additions & 0 deletions
56
Nos/Models/CoreData/Nos.xcdatamodeld/Nos 20.xcdatamodel/Nos.xcdatamodel/contents
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<model type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="21513" systemVersion="22D68" minimumToolsVersion="Automatic" sourceLanguage="Swift" userDefinedModelVersionIdentifier=""> | ||
<entity name="Author" representedClassName=".Author" syncable="YES" codeGenerationType="category"> | ||
<attribute name="about" optional="YES" attributeType="String"/> | ||
<attribute name="displayName" optional="YES" attributeType="String"/> | ||
<attribute name="hexadecimalPublicKey" attributeType="String"/> | ||
<attribute name="lastUpdatedContactList" optional="YES" attributeType="Date" usesScalarValueType="NO"/> | ||
<attribute name="lastUpdatedMetadata" optional="YES" attributeType="Date" usesScalarValueType="NO"/> | ||
<attribute name="muted" optional="YES" attributeType="Boolean" usesScalarValueType="YES"/> | ||
<attribute name="name" optional="YES" attributeType="String"/> | ||
<attribute name="nip05" optional="YES" attributeType="String"/> | ||
<attribute name="profilePhotoURL" optional="YES" attributeType="URI"/> | ||
<attribute name="rawMetadata" optional="YES" attributeType="Binary"/> | ||
<relationship name="events" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Event" inverseName="author" inverseEntity="Event"/> | ||
<relationship name="followers" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Follow" inverseName="destination" inverseEntity="Follow"/> | ||
<relationship name="follows" optional="YES" toMany="YES" deletionRule="Cascade" destinationEntity="Follow" inverseName="source" inverseEntity="Follow"/> | ||
<relationship name="relays" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Relay"/> | ||
</entity> | ||
<entity name="AuthorReference" representedClassName="AuthorReference" syncable="YES" codeGenerationType="category"> | ||
<attribute name="pubkey" optional="YES" attributeType="String"/> | ||
<attribute name="recommendedRelayUrl" optional="YES" attributeType="String"/> | ||
<relationship name="event" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Event" inverseName="authorReferences" inverseEntity="Event"/> | ||
</entity> | ||
<entity name="Event" representedClassName=".Event" syncable="YES" codeGenerationType="category"> | ||
<attribute name="allTags" optional="YES" attributeType="Transformable" valueTransformerName="NSSecureUnarchiveFromDataTransformerName"/> | ||
<attribute name="content" optional="YES" attributeType="String"/> | ||
<attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/> | ||
<attribute name="identifier" attributeType="String"/> | ||
<attribute name="kind" optional="YES" attributeType="Integer 64" defaultValueString="0" usesScalarValueType="YES"/> | ||
<attribute name="sendAttempts" optional="YES" attributeType="Integer 16" usesScalarValueType="YES"/> | ||
<attribute name="signature" optional="YES" attributeType="String"/> | ||
<relationship name="author" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Author" inverseName="events" inverseEntity="Author"/> | ||
<relationship name="authorReferences" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="AuthorReference" inverseName="event" inverseEntity="AuthorReference"/> | ||
<relationship name="deletedOn" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Relay"/> | ||
<relationship name="eventReferences" optional="YES" toMany="YES" deletionRule="Nullify" ordered="YES" destinationEntity="EventReference" inverseName="referencingEvent" inverseEntity="EventReference"/> | ||
<relationship name="publishedTo" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="Relay"/> | ||
<relationship name="referencingEvents" optional="YES" toMany="YES" deletionRule="Nullify" destinationEntity="EventReference" inverseName="referencedEvent" inverseEntity="EventReference"/> | ||
</entity> | ||
<entity name="EventReference" representedClassName="EventReference" syncable="YES" codeGenerationType="category"> | ||
<attribute name="eventId" optional="YES" attributeType="String"/> | ||
<attribute name="marker" optional="YES" attributeType="String"/> | ||
<attribute name="recommendedRelayUrl" optional="YES" attributeType="String"/> | ||
<relationship name="referencedEvent" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Event" inverseName="referencingEvents" inverseEntity="Event"/> | ||
<relationship name="referencingEvent" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Event" inverseName="eventReferences" inverseEntity="Event"/> | ||
</entity> | ||
<entity name="Follow" representedClassName=".Follow" syncable="YES" codeGenerationType="category"> | ||
<attribute name="lastUpdated" optional="YES" attributeType="Date" usesScalarValueType="NO"/> | ||
<attribute name="petName" optional="YES" attributeType="String"/> | ||
<relationship name="destination" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Author" inverseName="followers" inverseEntity="Author"/> | ||
<relationship name="source" optional="YES" maxCount="1" deletionRule="Nullify" destinationEntity="Author" inverseName="follows" inverseEntity="Author"/> | ||
</entity> | ||
<entity name="Relay" representedClassName=".Relay" syncable="YES" codeGenerationType="category"> | ||
<attribute name="address" attributeType="String"/> | ||
<attribute name="createdAt" optional="YES" attributeType="Date" usesScalarValueType="NO"/> | ||
</entity> | ||
</model> |
Oops, something went wrong.