Edge
public class Edge : SyncableItem, Codable
Edge is the Item that stores the specifics of an edge, used by front ends.
-
Used to describe edge types in front end, will be deprecated in the near future.
Declaration
Swift
@objc dynamic var type: String? -
The type of the target Item, or Item to where an edge points. Opposite of sourceItemType.
Declaration
Swift
@objc dynamic var targetItemType: String? -
The uid of the target Item, or Item to where an Edge points. Opposite of sourceItemID
Declaration
Swift
let targetItemID: RealmOptional<Int> -
The type of the source Item, or Item from where an edge points. Opposite of targetItemType.
Declaration
Swift
@objc dynamic var sourceItemType: String? -
The uid of the source Item, or Item from where an Edge points. Opposite of targetItemID
Declaration
Swift
let sourceItemID: RealmOptional<Int> -
Used to define position in a sequence, enables ordering based on this number.
Declaration
Swift
let sequence: RealmOptional<Int> -
Whether the Item is deleted.
Declaration
Swift
@objc dynamic var deleted: Bool -
The last version loaded from the server.
Declaration
Swift
@objc dynamic var version: Int -
A label of an edge.
Declaration
Swift
@objc dynamic var edgeLabel: String? -
Declaration
Swift
public required convenience init(from decoder: Decoder) throws
Edge Class Reference