Meta

public struct Meta: Decodable

A type to hold metadata information about a given record

  • An identifier for the record

    Declaration

    Swift

    public let recordId: UUID
  • An identifier for the writer of the record

    Declaration

    Swift

    public let writerId: UUID
  • An identifier for the user of the record

    Declaration

    Swift

    public let userId: UUID
  • The kind of data this record represents

    Declaration

    Swift

    public let type: String
  • A user-defined, key-value store of metadata associated with the record that remains as plaintext

    Declaration

    Swift

    public let plain: PlainMeta?
  • The timestamp marking the record’s creation date, in ISO 8601 format

    Declaration

    Swift

    public let created: Date
  • The timestamp marking the record’s most recent change, in ISO 8601 format

    Declaration

    Swift

    public let lastModified: Date
  • An identifier for the current version of the record

    Declaration

    Swift

    public let version: String
  • Holds info about a file associated with this record, if any

    Declaration

    Swift

    public let fileMeta: FileMeta?