Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adopted-ember-addons/validated-changeset
/ functions
Functions
232 in github.com/adopted-ember-addons/validated-changeset
⨍
Functions
232
◇
Types & classes
56
Method
on
(eventName: string, callback: (...args: unknown[]) => unknown)
src/validated.ts:109
Method
on
(eventName: string, callback: (key: string) => unknown)
src/index.ts:157
Function
options
(_k: string, value: unknown)
test/index.test.ts:48
Function
ownKeys
(node: ProxyHandler)
src/utils/object-tree-node.ts:55
Function
password
(_k: string, value: unknown)
test/index.test.ts:30
Function
passwordConfirmation
( _k: string, newValue: unknown, _oldValue: unknown, { password: changedPassword }: { password
test/index.test.ts:33
Function
paulFunc
()
test/utils/flatten-validations.test.ts:27
Method
prepare
* Provides a function to run before emitting changes to the model. The * callback function must return a hash in the same shape: * * ``` *
src/index.ts:373
Function
propertyIsUnsafe
(target: any, key: string)
src/utils/merge-deep.ts:47
Method
pushErrors
* Manually push multiple errors to the changeset as an array. * key maybe in form 'name.short' so need to go deep * * @method pushErrors
src/validated.ts:456
Method
removeError
* @method removeError
src/validated.ts:432
Method
removeErrors
* @method removeError
src/validated.ts:444
Function
reservations
()
test/index.test.ts:3443
Method
restore
* Restores a snapshot of changes and errors. This overrides existing * changes and errors. * * @method restore
src/validated.ts:511
Method
rollback
* Returns the changeset to its pristine state, and discards changes and * errors. * * @method rollback
src/validated.ts:339
Method
rollbackInvalid
* Discards any errors, keeping only valid changes. * * @public * @chainable * @method rollbackInvalid * @param {String} key optional ke
src/validated.ts:362
Method
safeSet
* @property safeSet * @override
src/validated.ts:168
Function
save
()
test/index.test.ts:96
Function
set
(targetBuffer, key, value /*, receiver*/)
src/validated.ts:755
Function
set
(node: ProxyHandler, key: string, value: unknown)
src/utils/object-tree-node.ts:67
Method
set
(targetBuffer, key, value /*, receiver*/)
src/index.ts:1174
Method
snapshot
* Creates a snapshot of the changeset's errors and changes. * * @method snapshot
src/validated.ts:481
Function
testFunc
()
test/utils/flatten-validations.test.ts:5
Function
then
()
test/utils/is-promise.test.ts:14
Method
trigger
(...args: any[])
src/types/index.ts:25
Method
trigger
(...args: T)
src/-private/notifier.ts:24
Method
unexecute
()
src/validated.ts:322
Method
validate
* @method validate
src/validated.ts:390
Method
validate
* Validates the changeset immediately against the validationMap passed in. * If no key is passed into this method, it will validate all fields on t
src/index.ts:597
Function
value
(_k: string, value: unknown)
test/index.test.ts:67
Function
villageFunc
()
test/utils/flatten-validations.test.ts:50
Function
wrapInArray
(value: T | T[])
src/utils/wrap.ts:7
← previous
201–232 of 232, ranked by callers