MCPcopy Create free account

hub / github.com/adopted-ember-addons/validated-changeset / functions

Functions232 in github.com/adopted-ember-addons/validated-changeset

↓ 1 callersMethodgetChangeForProp
(value: any)
src/validated.ts:537
↓ 1 callersMethodgetChangeForProp
(value: any)
src/index.ts:763
↓ 1 callersMethodgetChangesForSnapshot
(changes: Changes)
src/validated.ts:496
↓ 1 callersMethodgetChangesForSnapshot
(changes: Changes)
src/index.ts:722
↓ 1 callersMethodgetChangesFromSnapshot
(changes: Changes)
src/validated.ts:530
↓ 1 callersMethodgetChangesFromSnapshot
(changes: Changes)
src/index.ts:756
↓ 1 callersFunctiongetEnumerableOwnPropertySymbols
(target: any)
src/utils/merge-deep.ts:26
↓ 1 callersFunctionhandleMultipleValidations
( validators: Array<ValidatorMapFunc | ValidatorClass>, { key, newValue, oldValue, changes, content }: { [
src/utils/handle-multiple-validations.ts:50
↓ 1 callersFunctionhandleValidationsSync
* 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 callersFunctioninsertTarballsToPackageJson
()
bin/test-external-changeset.js:62
↓ 1 callersFunctionisEqual
(v1: unknown, v2: unknown)
src/validated.ts:763
↓ 1 callersFunctionisEqual
(v1: unknown, v2: unknown)
src/index.ts:1204
↓ 1 callersFunctionisMergeableObject
(value: any)
src/utils/merge-deep.ts:22
↓ 1 callersFunctionisNonNullObject
(value: any)
src/utils/merge-deep.ts:12
↓ 1 callersFunctionisObject
()
test/utils/object-tree-node.test.ts:14
↓ 1 callersFunctionisPromiseLike
(obj: any)
src/utils/is-promise.ts:3
↓ 1 callersFunctionisSpecial
(value: any)
src/utils/merge-deep.ts:16
↓ 1 callersFunctionisValidatorClass
(maybeClass: unknown)
src/utils/validator-lookup.ts:28
↓ 1 callersFunctionisValidatorClass
(maybeClass: unknown)
src/utils/handle-multiple-validations.ts:59
↓ 1 callersFunctionnewFormat
( obj: Record<string, any>[], original: any, getDeep: (obj: any, key: string) => any )
src/validated.ts:57
↓ 1 callersMethodremoveListener
(callback: (...args: T) => void)
src/-private/notifier.ts:15
↓ 1 callersMethodset
(key: string, value: T)
src/validated.ts:728
↓ 1 callersMethodsetUnknownProperty
* Stores change on the changeset. * This approximately works just like the Ember API * * @method setUnknownProperty
src/validated.ts:259
↓ 1 callersMethodsetUnknownProperty
* Stores change on the changeset. * This approximately works just like the Ember API * * @method setUnknownProperty
src/index.ts:313
↓ 1 callersFunctionsplit
(path: string)
src/utils/set-deep.ts:10
↓ 1 callersFunctionvalidatePresence
()
test/index.test.ts:3063
FunctionChangeset
(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
MethodaddError
* 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
MethodaddListener
(callback: (...args: T) => void)
src/-private/notifier.ts:10
Functionage
(_k: string, value: any)
test/index.test.ts:10
Functionanon
()
test/utils/set-deep.test.ts:46
Functionasync
(_k: string, value: unknown)
test/index.test.ts:45
Methodboo
()
test/utils/merge-deep.test.ts:97
Functioncallback
()
test/validated.test.ts:1860
Functioncatch
()
test/utils/is-promise.test.ts:14
Methodchange
()
src/validated.ts:197
Methodchange
()
src/index.ts:251
Methodchanges
* @property changes * @type {Array}
src/validated.ts:176
Methodchanges
* @property changes * @type {Array}
src/index.ts:233
Methodconstructor
(value: any)
test/index.test.ts:464
Methodconstructor
(date: Date)
test/index.test.ts:512
Methodconstructor
(details: object)
test/index.test.ts:1488
Methodconstructor
(value: any)
test/validated.test.ts:233
Methodconstructor
(date: Date)
test/validated.test.ts:281
Methodconstructor
()
test/utils/assign.test.ts:19
Methodconstructor
(obj: object, options: Config = {})
src/validated.ts:77
Methodconstructor
( obj: object, public validateFn: ValidatorAction = defaultValidatorFn, public validationMap: Vali
src/index.ts:108
Methodconstructor
* Changeset factory class if you need to extend * * @class ValidatedChangeset * @constructor
src/index.ts:1160
Methodconstructor
( changes: Record<string, any> = {}, content: Content = {}, public safeGet: (obj: any, key: string
src/utils/object-tree-node.ts:86
Methodconstructor
()
src/-private/notifier.ts:6
Methodconstructor
(value: any, validation: ValidationErr | ValidationErr[])
src/-private/err.ts:7
Methodconstructor
(value: unknown)
src/-private/change.ts:9
Methoddata
()
src/validated.ts:210
Methoddata
()
src/index.ts:264
FunctiondefaultSafeGet
(obj: Record<string, any>, key: string)
src/utils/object-tree-node.ts:76
FunctiondefaultValidatorFn
()
src/index.ts:90
FunctiondummyValidator
({ key, newValue, oldValue, changes, content }: { key: string; newValue: unknown; oldValue: un
test/index.test.ts:73
Functionemail
(_k: string, value: any)
test/index.test.ts:16
Methoderror
()
src/validated.ts:206
Methoderrors
* @property errors * @type {Array}
src/validated.ts:191
Methoderrors
* @property errors * @type {Array}
src/index.ts:244
Methodexecute
* Executes the changeset if in a valid state. * * @method execute
src/validated.ts:296
Functionfinally
()
test/utils/is-promise.test.ts:14
Functionget
(target: any, prop: any)
test/utils/assign.test.ts:48
Functionget
(targetBuffer, key /*, receiver*/)
src/validated.ts:750
Functionget
(targetBuffer, key /*, receiver*/)
src/index.ts:1191
Methodget
(targetBuffer, key /*, receiver*/)
src/index.ts:1169
Methodget
(key: string)
src/utils/object-tree-node.ts:98
FunctiongetKeys
(target: any)
src/utils/merge-deep.ts:34
FunctiongetOwnPropertyDescriptor
(node: ProxyHandler, prop: string)
src/utils/object-tree-node.ts:59
FunctiongroveFunc
()
test/utils/flatten-validations.test.ts:28
FunctionhandleValidationsAsync
* 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
Functionhas
(node: ProxyHandler, prop: string)
src/utils/object-tree-node.ts:63
FunctionisCompliant
(_k: string, value: unknown)
test/index.test.ts:52
MethodisDirty
* @property isDirty * @type {Boolean}
src/validated.ts:249
MethodisDirty
* @property isDirty * @type {Boolean}
src/index.ts:303
FunctionisEqual
(other: Record<string, any>)
test/index.test.ts:2910
MethodisIErr
(error: unknown)
src/validated.ts:408
MethodisIErr
(error: unknown)
src/index.ts:626
MethodisInvalid
* @property isInvalid * @type {Boolean}
src/validated.ts:242
MethodisInvalid
* @property isInvalid * @type {Boolean}
src/index.ts:296
MethodisPristine
* @property isPristine * @type {Boolean}
src/validated.ts:225
MethodisPristine
* @property isPristine * @type {Boolean}
src/index.ts:279
MethodisValid
* @property isValid * @type {Array}
src/validated.ts:218
MethodisValid
* @property isValid * @type {Array}
src/index.ts:272
FunctionisValidKey
(key: unknown)
src/utils/set-deep.ts:28
FunctionlatestDelayedAsyncResolver
()
test/index.test.ts:3616
FunctionmaybeUnwrapProxy
(content: Content)
src/validated.ts:53
FunctionmaybeUnwrapProxy
(content: Content)
src/index.ts:103
FunctionmnFunc
()
test/utils/flatten-validations.test.ts:26
FunctionmyValidator
({ key, newValue, oldValue, changes, content }: { key: string; n
test/index.test.ts:2993
Functionname
(_k: string, value: any)
test/index.test.ts:13
Methodnick
()
test/utils/assign.test.ts:23
FunctionnyFunc
()
test/utils/flatten-validations.test.ts:13
Methodoff
(eventName: string, callback: (...args: unknown[]) => unknown)
src/validated.ts:114
Methodoff
(eventName: string, callback: (key: string) => unknown)
src/index.ts:162
Methodoff
(eventName: string, callback: (key: string) => unknown)
src/types/index.ts:30
← previousnext →101–200 of 232, ranked by callers