Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce *IfNecessary Load Actions #148

Merged
merged 3 commits into from
Sep 2, 2020
Merged

Commits on Aug 30, 2020

  1. feat: reorg action files and introduce *IfNecessary load actions

     * Refactor all actions into more files for easier management
       * Loads into load-*-actions.ts
       * CUURDS into create|update|upsert|replace|delete-actions.ts
       * DeleteByKeys into delete-by-key-actions.ts
       * Edits into edit-actions.ts
       * Selections into selection-actions.ts
       * Deselections into deselection-actions.ts
     + Add new *IfNecessary loader actions for each type of load
     + Add tsdoc to all load actions
     * Update library index/public api to reference all actions from new files
     * Update all otehr action references throughout library
     ^ Bump library version to 0.5.0-beta.3
    
    Phase #1: This is an initial refactoring of action files for the if-necessary work
    
    Issue #144
    Jon Rista committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    d106ce4 View commit details
    Browse the repository at this point in the history
  2. feat: add defaultMaxAge to entity operator

     * Introduce to `defaultMaxAge` to IEntityOptions
     + Add EntityAge with predefined common ages for use with `defaultMaxAge`
     * Update @entity decorator to support passing name in only or options or both
     > Move key decorator tokens into entity-tokens.ts
     > Extract entity decorator into its own file entity-decorator.ts
     > Extract key decorator into its own file key-decorator.ts
     * Update index/public api to reference all exports from new locations
     * Added EntityAge enum to public api
     * Removed all imports from '../..'
    
    Issues #144 #141
    Jon Rista committed Aug 30, 2020
    Configuration menu
    Copy the full SHA
    9ba68f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2020

  1. feat: add load if necessary action variants

     + Add LoadIfNecessary action
     + Add LoadAllIfNecessary action
     + Add LoadManyIfNecessary action
     + Add LoadPageIfNecessary action
     + Add LoadRangeIfNecessary action
     * Export new actions from public api
     + Add new operators for if necessary loads
     + Add new effects for if necessary loads
     * Include new effects in standard modules
     * Export new effects from public api
     + Add stateNameOfEntity utility function
     * Update builders to use new entityStateName function
    
    Issue #144
    Jon Rista committed Sep 2, 2020
    Configuration menu
    Copy the full SHA
    29f1474 View commit details
    Browse the repository at this point in the history