UNPKG

recoder-code

Version:

Complete AI-powered development platform with ML model training, plugin registry, real-time collaboration, monitoring, infrastructure automation, and enterprise deployment capabilities

14 lines (12 loc) 257 B
'use strict'; /** * Register statics for this model * @param {Model} model * @param {Schema} schema * @api private */ module.exports = function applyStatics(model, schema) { for (const i in schema.statics) { model[i] = schema.statics[i]; } };