Documentation / @blazetrails/activemodel / PermittedAttributes
Interface: PermittedAttributes
Defined in: packages/activemodel/lib/forbidden-attributes-protection.ts:6
Properties
keys
readonlykeys:string[] | (() =>string[])
Defined in: packages/activemodel/lib/forbidden-attributes-protection.ts:8
Methods
isPermitted()
isPermitted():
boolean
Defined in: packages/activemodel/lib/forbidden-attributes-protection.ts:7
Returns
boolean
toH()
toH():
Record<string,unknown> |Map<string,unknown>
Defined in: packages/activemodel/lib/forbidden-attributes-protection.ts:9
Returns
Record<string, unknown> | Map<string, unknown>