Skip to content

Commit

Permalink
feat(core): replace mutating with updating (#2787)
Browse files Browse the repository at this point in the history
  • Loading branch information
griest024 committed May 13, 2024
1 parent 4839705 commit cc8a00d
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions libs/core/state/src/states/state.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,31 @@ export const enum DaffState {
Added = 'Added',

/**
* The 'Mutating' state describes when an object that currently exists in state
* The 'Updating' state describes when an object that currently exists in state
* is being changed in some way.
*
* Disambiguation: This has nothing to do with immutability.
*/
Mutating = 'Mutating',
Updating = 'Updating',

/**
* The 'Mutated' state describes when an object has recently been modified in
* state. This state is typically associated with a subsequent decay into a
* 'Stable' state.
*/
Mutated = 'Mutated',
Updated = 'Updated',

/**
* @deprecated in favor of {@link DaffState.Updating}
*/
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
Mutating = 'Updating',

/**
* @deprecated in favor of {@link DaffState.Updated}
*/
// eslint-disable-next-line @typescript-eslint/no-duplicate-enum-values
Mutated = 'Updated',

/**
* The "Deleting" state occurs when an object is in the process of being
Expand Down

0 comments on commit cc8a00d

Please sign in to comment.