Type Alias StaticMethodsFrom<Manifest, Methods, InstanceMethods, RelationFields>
Type Parameters
- Manifest extends ModelManifest
- Methods extends MethodRecord
- InstanceMethods extends Record<string, InstanceMethod> = EmptyInstanceMethods
- RelationFields extends object = Record<never, never>
Map a methods object to include the correct
thistype for model statics.This lets manifest authors describe their method signatures without manually repeating
this: ModelTypeon every function. The returned type still exposes the fully-typedthiscontext to callers.