Skip to content

Documentation


Documentation / @blazetrails/activemodel / ActiveModel

Variable: ActiveModel ​

const ActiveModel: Autoload & CallableMethods<Autoload> & { Attribute: typeof Attribute; Error: typeof Error; Errors: typeof Errors; Lint: __module; NestedError: typeof NestedError; RangeError: typeof RangeError; Serializers: Autoload & CallableMethods<Autoload> & { JSON: typeof JSONSerializer; }; StrictValidationFailed: typeof StrictValidationFailed; Type: Type; UnknownAttributeError: typeof UnknownAttributeError; ValidationError: typeof ValidationError; Validations: typeof Validations; }

Defined in: packages/activemodel/lib/namespaces.ts:26

Type Declaration ​

Attribute ​

Attribute: typeof Attribute

Error ​

Error: typeof Error

Errors ​

Errors: typeof Errors

Lint ​

Lint: __module

NestedError ​

NestedError: typeof NestedError

RangeError ​

RangeError: typeof RangeError

Serializers ​

Serializers: Autoload & CallableMethods<Autoload> & { JSON: typeof JSONSerializer; }

Type Declaration ​

JSON ​

JSON: typeof JSONSerializer

StrictValidationFailed ​

StrictValidationFailed: typeof StrictValidationFailed

Type ​

Type: Type

UnknownAttributeError ​

UnknownAttributeError: typeof UnknownAttributeError

ValidationError ​

ValidationError: typeof ValidationError

Validations ​

Validations: typeof Validations