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
↓ 1 callers
Method
getChangeForProp
(value: any)
src/validated.ts:537
↓ 1 callers
Method
getChangeForProp
(value: any)
src/index.ts:763
↓ 1 callers
Method
getChangesForSnapshot
(changes: Changes)
src/validated.ts:496
↓ 1 callers
Method
getChangesForSnapshot
(changes: Changes)
src/index.ts:722
↓ 1 callers
Method
getChangesFromSnapshot
(changes: Changes)
src/validated.ts:530
↓ 1 callers
Method
getChangesFromSnapshot
(changes: Changes)
src/index.ts:756
↓ 1 callers
Function
getEnumerableOwnPropertySymbols
(target: any)
src/utils/merge-deep.ts:26
↓ 1 callers
Function
handleMultipleValidations
( validators: Array<ValidatorMapFunc | ValidatorClass>, { key, newValue, oldValue, changes, content }: { [
src/utils/handle-multiple-validations.ts:50
↓ 1 callers
Function
handleValidationsSync
* Rejects `true` values from an array of validations. Returns `true` when there * are no errors, or the error object if there are errors. * * @priv
src/utils/handle-multiple-validations.ts:33
↓ 1 callers
Function
insertTarballsToPackageJson
()
bin/test-external-changeset.js:62
↓ 1 callers
Function
isEqual
(v1: unknown, v2: unknown)
src/validated.ts:763
↓ 1 callers
Function
isEqual
(v1: unknown, v2: unknown)
src/index.ts:1204
↓ 1 callers
Function
isMergeableObject
(value: any)
src/utils/merge-deep.ts:22
↓ 1 callers
Function
isNonNullObject
(value: any)
src/utils/merge-deep.ts:12
↓ 1 callers
Function
isObject
()
test/utils/object-tree-node.test.ts:14
↓ 1 callers
Function
isPromiseLike
(obj: any)
src/utils/is-promise.ts:3
↓ 1 callers
Function
isSpecial
(value: any)
src/utils/merge-deep.ts:16
↓ 1 callers
Function
isValidatorClass
(maybeClass: unknown)
src/utils/validator-lookup.ts:28
↓ 1 callers
Function
isValidatorClass
(maybeClass: unknown)
src/utils/handle-multiple-validations.ts:59
↓ 1 callers
Function
newFormat
( obj: Record<string, any>[], original: any, getDeep: (obj: any, key: string) => any )
src/validated.ts:57
↓ 1 callers
Method
removeListener
(callback: (...args: T) => void)
src/-private/notifier.ts:15
↓ 1 callers
Method
set
(key: string, value: T)
src/validated.ts:728
↓ 1 callers
Method
setUnknownProperty
* Stores change on the changeset. * This approximately works just like the Ember API * * @method setUnknownProperty
src/validated.ts:259
↓ 1 callers
Method
setUnknownProperty
* Stores change on the changeset. * This approximately works just like the Ember API * * @method setUnknownProperty
src/index.ts:313
↓ 1 callers
Function
split
(path: string)
src/utils/set-deep.ts:10
↓ 1 callers
Function
validatePresence
()
test/index.test.ts:3063
Function
Changeset
(obj: object, options?: Config)
src/validated.ts:746
Method
[Symbol.toStringTag]
* String representation for the changeset.
src/validated.ts:278
Method
[Symbol.toStringTag]
* String representation for the changeset.
src/index.ts:340
Method
_bareChanges
()
src/index.ts:220
Method
addError
* Manually add an error to the changeset. If there is an existing * error or change for `key`, it will be overwritten. * * @method addError
src/validated.ts:404
Method
addListener
(callback: (...args: T) => void)
src/-private/notifier.ts:10
Function
age
(_k: string, value: any)
test/index.test.ts:10
Function
anon
()
test/utils/set-deep.test.ts:46
Function
async
(_k: string, value: unknown)
test/index.test.ts:45
Method
boo
()
test/utils/merge-deep.test.ts:97
Function
callback
()
test/validated.test.ts:1860
Function
catch
()
test/utils/is-promise.test.ts:14
Method
change
()
src/validated.ts:197
Method
change
()
src/index.ts:251
Method
changes
* @property changes * @type {Array}
src/validated.ts:176
Method
changes
* @property changes * @type {Array}
src/index.ts:233
Method
constructor
(value: any)
test/index.test.ts:464
Method
constructor
(date: Date)
test/index.test.ts:512
Method
constructor
(details: object)
test/index.test.ts:1488
Method
constructor
(value: any)
test/validated.test.ts:233
Method
constructor
(date: Date)
test/validated.test.ts:281
Method
constructor
()
test/utils/assign.test.ts:19
Method
constructor
(obj: object, options: Config = {})
src/validated.ts:77
Method
constructor
( obj: object, public validateFn: ValidatorAction = defaultValidatorFn, public validationMap: Vali
src/index.ts:108
Method
constructor
* Changeset factory class if you need to extend * * @class ValidatedChangeset * @constructor
src/index.ts:1160
Method
constructor
( changes: Record<string, any> = {}, content: Content = {}, public safeGet: (obj: any, key: string
src/utils/object-tree-node.ts:86
Method
constructor
()
src/-private/notifier.ts:6
Method
constructor
(value: any, validation: ValidationErr | ValidationErr[])
src/-private/err.ts:7
Method
constructor
(value: unknown)
src/-private/change.ts:9
Method
data
()
src/validated.ts:210
Method
data
()
src/index.ts:264
Function
defaultSafeGet
(obj: Record<string, any>, key: string)
src/utils/object-tree-node.ts:76
Function
defaultValidatorFn
()
src/index.ts:90
Function
dummyValidator
({ key, newValue, oldValue, changes, content }: { key: string; newValue: unknown; oldValue: un
test/index.test.ts:73
Function
email
(_k: string, value: any)
test/index.test.ts:16
Method
error
()
src/validated.ts:206
Method
errors
* @property errors * @type {Array}
src/validated.ts:191
Method
errors
* @property errors * @type {Array}
src/index.ts:244
Method
execute
* Executes the changeset if in a valid state. * * @method execute
src/validated.ts:296
Function
finally
()
test/utils/is-promise.test.ts:14
Function
get
(target: any, prop: any)
test/utils/assign.test.ts:48
Function
get
(targetBuffer, key /*, receiver*/)
src/validated.ts:750
Function
get
(targetBuffer, key /*, receiver*/)
src/index.ts:1191
Method
get
(targetBuffer, key /*, receiver*/)
src/index.ts:1169
Method
get
(key: string)
src/utils/object-tree-node.ts:98
Function
getKeys
(target: any)
src/utils/merge-deep.ts:34
Function
getOwnPropertyDescriptor
(node: ProxyHandler, prop: string)
src/utils/object-tree-node.ts:59
Function
groveFunc
()
test/utils/flatten-validations.test.ts:28
Function
handleValidationsAsync
* Rejects `true` values from an array of validations. Returns `true` when there * are no errors, or the error object if there are errors. * * @priv
src/utils/handle-multiple-validations.ts:12
Function
has
(node: ProxyHandler, prop: string)
src/utils/object-tree-node.ts:63
Function
isCompliant
(_k: string, value: unknown)
test/index.test.ts:52
Method
isDirty
* @property isDirty * @type {Boolean}
src/validated.ts:249
Method
isDirty
* @property isDirty * @type {Boolean}
src/index.ts:303
Function
isEqual
(other: Record<string, any>)
test/index.test.ts:2910
Method
isIErr
(error: unknown)
src/validated.ts:408
Method
isIErr
(error: unknown)
src/index.ts:626
Method
isInvalid
* @property isInvalid * @type {Boolean}
src/validated.ts:242
Method
isInvalid
* @property isInvalid * @type {Boolean}
src/index.ts:296
Method
isPristine
* @property isPristine * @type {Boolean}
src/validated.ts:225
Method
isPristine
* @property isPristine * @type {Boolean}
src/index.ts:279
Method
isValid
* @property isValid * @type {Array}
src/validated.ts:218
Method
isValid
* @property isValid * @type {Array}
src/index.ts:272
Function
isValidKey
(key: unknown)
src/utils/set-deep.ts:28
Function
latestDelayedAsyncResolver
()
test/index.test.ts:3616
Function
maybeUnwrapProxy
(content: Content)
src/validated.ts:53
Function
maybeUnwrapProxy
(content: Content)
src/index.ts:103
Function
mnFunc
()
test/utils/flatten-validations.test.ts:26
Function
myValidator
({ key, newValue, oldValue, changes, content }: { key: string; n
test/index.test.ts:2993
Function
name
(_k: string, value: any)
test/index.test.ts:13
Method
nick
()
test/utils/assign.test.ts:23
Function
nyFunc
()
test/utils/flatten-validations.test.ts:13
Method
off
(eventName: string, callback: (...args: unknown[]) => unknown)
src/validated.ts:114
Method
off
(eventName: string, callback: (key: string) => unknown)
src/index.ts:162
Method
off
(eventName: string, callback: (key: string) => unknown)
src/types/index.ts:30
← previous
next →
101–200 of 232, ranked by callers