{"id":18799567,"url":"https://github.com/l2silver/erschema-actions","last_synced_at":"2026-01-02T20:30:13.978Z","repository":{"id":57226912,"uuid":"84754490","full_name":"l2silver/erschema-actions","owner":"l2silver","description":null,"archived":false,"fork":false,"pushed_at":"2017-11-15T20:27:24.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-29T18:34:42.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l2silver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-12T20:18:25.000Z","updated_at":"2017-03-12T20:18:49.000Z","dependencies_parsed_at":"2022-08-29T06:21:24.581Z","dependency_job_id":null,"html_url":"https://github.com/l2silver/erschema-actions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l2silver%2Ferschema-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l2silver%2Ferschema-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l2silver%2Ferschema-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l2silver%2Ferschema-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l2silver","download_url":"https://codeload.github.com/l2silver/erschema-actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239727753,"owners_count":19687242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T22:15:46.758Z","updated_at":"2026-01-02T20:30:13.894Z","avatar_url":"https://github.com/l2silver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# erschema-actions\n\nThis is a utility action class to be used alongside the erschema-redux-immutable library\n\n```\nclass erschemaActions {\n  entities: {\n    create: (ent: Object) =\u003e any,\n    update: (ent: Object) =\u003e any,\n    remove: (id: $$id) =\u003e any,\n    get: (ent: Object) =\u003e any,\n    index: (ents: Object[]) =\u003e any,\n    getRelated: (id: $$id, relationshipName: string, ents: Object[]) =\u003e any,\n    getAdditionalEntityProperties: (id: $$id, entityName: string, entity: Object) =\u003e any,\n    concatRelated: (id: $$id, relationshipName: string, ents: Object[]) =\u003e any,\n  }\n}\n```\n\nIt uses the standard erschema-redux-immutable entity actions, with the exception of get and index. get and index are variations of the normalize action that comes with erschema-redux-immutable, which means they take a nested object(s) and creates a series of entity index and relationship index actions to pass that information into the redux store. To keep these operations performant, the actions are wrapped in the redux-batched-actions library, so that they appear as a single transaction.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl2silver%2Ferschema-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl2silver%2Ferschema-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl2silver%2Ferschema-actions/lists"}