settlin:astronomy-meta-behavior

v2.0.1Published 9 years ago

This package has not had recent updates. Please investigate it's current state before committing to using it in your project.

Meta behavior for Meteor Astronomy

The meta behavior adds 4 fields that store information about document's creation and update dates and users.

hasCreatedAtField: true,
hasCreatedByField: true,
hasUpdatedAtField: true,
hasUpdatedByField: true,
createdAtFieldName: 'createdAt',
createdByFieldName: 'createdBy',
updatedAtFieldName: 'updatedAt',
updatedByFieldName: 'updatedBy'

Simple Usage:

behaviors: {
  meta: {}
}

A detailed information about behavior can be found here.