21 Matching Annotations
  1. May 2022
    1. implementation(): Class

      Changed from V9 (static) implementation :function

      Possibly an oversight? The V9 docs description reads

      Return a reference to the implemented subclass of this base document type.

    2. Static hasSystemData

      New in V10

    3. DataModel

      V10's abstract.Document class extends abstract.DataModel

      Changed from Interfaces schema

    4. An extension of the base DataModel which defines a Document. Documents are special in that they are persisted to the database and referenced by _id.

      Changed from V9:

      The abstract base class shared by both client and server-side which defines the model for a single document type.

      Create a new Document by providing an initial data object.

    1. DataModel - The abstract base class which defines a data model with corresponding schema and state.

      Changed from DocumentData

  2. Apr 2022
    1. (protected) _validateModel(data)

      new function in V10

    2. (protected) _initializeSource(data) → {object}

      New function in V10

    3. Overrides: abstract.DataModel#_initialize Initialize the instance by copying data from the source object to instance attributes.

      Override of the DataModel is new in V10

      V9 description:

      Perform one-time initialization tasks which only occur when the Document is first constructed.

    4. (protected, static) _logV10CompatibilityWarning()

      New in V10 😮

    5. (protected, static) _logDataFieldMigration()

      New in V10

    6. :DataModel|null Overrides: abstract.DataModel#parent

      Changed in V10 from V9 :Document|null

      V9 description:

      An immutable reverse-reference to the parent Document to which this embedded Document belongs.

    7. invalid :boolean Overrides: abstract.DataModel#invalid Is the current state of this DataModel invalid? Type: boolean

      New in V10

    8. :Class

      Changed from V9 implementation :function

      Possibly an oversight? The V9 doc description reads

      Return a reference to the implemented subclass of this base document type.

    9. Members

      Members removed in V10 that were present in V9:

      data :DocumentData

      documentName :string

      name :string|null

      pack :string|null

    10. filePathFields :Object:.<fields.FilePathField:> Overrides: abstract.DataModel#filePathFields A mapping of FilePathField instance which belong to this data model. Type: Object:.<fields.FilePathField:>

      New in V10

    11. _source :object Overrides: abstract.DataModel#_source The source data object for this DataModel instance. Once constructed, the source object is sealed such that no keys may be added nor removed. Type: object

      New in V10

    12. (static) hasSystemData :boolean Does this Document definition include a SystemDataField? Type: boolean

      New in V10

    13. :abstract.DatabaseBackend

      changed from :DatabaseBackend (no link in original)

      This was likely an oversight, as V9 did have an abstract.DatabaseBackend documentation page

    14. Extends abstract.DataModel

      Changed from Interfaces schema

    15. An extension of the base DataModel which defines a Document. Documents are special in that they are persisted to the database and referenced by _id.

      Changed from V9:

      The abstract base class shared by both client and server-side which defines the model for a single document type.

      Create a new Document by providing an initial data object.