{"id":21065653,"url":"https://github.com/adaptlearning/adapt-contrib-modifiers","last_synced_at":"2025-07-26T09:11:41.622Z","repository":{"id":229712584,"uuid":"623016510","full_name":"adaptlearning/adapt-contrib-modifiers","owner":"adaptlearning","description":"An extension to manage a collection of modifier sets used throughout the content","archived":false,"fork":false,"pushed_at":"2025-03-03T17:25:11.000Z","size":16,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-03T18:33:36.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"HomePage","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adaptlearning.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-04-03T14:22:03.000Z","updated_at":"2023-04-03T14:24:36.000Z","dependencies_parsed_at":"2024-03-30T23:30:46.088Z","dependency_job_id":null,"html_url":"https://github.com/adaptlearning/adapt-contrib-modifiers","commit_stats":null,"previous_names":["adaptlearning/adapt-contrib-modifiers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-modifiers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-modifiers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-modifiers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaptlearning%2Fadapt-contrib-modifiers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adaptlearning","download_url":"https://codeload.github.com/adaptlearning/adapt-contrib-modifiers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243509749,"owners_count":20302260,"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-19T17:55:58.666Z","updated_at":"2025-03-14T01:46:55.577Z","avatar_url":"https://github.com/adaptlearning.png","language":"JavaScript","readme":"# adapt-contrib-modifiers\n\nAn extension to manage a collection of modifier sets used throughout the content. In addition to managing registered sets, this plugin provides the abstract modifier set logic from which other plugins can extend to create new sets.\n\n## Modifier sets\n\nA modifier set consists of a collection of models for which changes to modifying attributes are observed and managed, to control their `_isAvailable` property.\n\nEach plugin will register a set type with the API, and identify its parent-child model relationship, along with any extended functionality specific to that plugin. Examples of modifiers include [banking](https://github.com/adaptlearning/adapt-contrib-banking) and [randomise](https://github.com/adaptlearning/adapt-contrib-randomise).\n\nIf the config or associated child models are changed in a way which affects the modifier, the parent model is reset as the content will be refreshed and needs to be retaken.\n\n## Usage\n\nPlugins can extend the [ModifierSet](https://github.com/adaptlearning/adapt-contrib-modifiers/blob/master/js/ModifierSet.js) by importing the set as required:\n```JavaScript\n  import ModifierSet from 'extensions/adapt-contrib-modifiers/js/ModifierSet';\n```\n\n----------------------------\n**Version number:** 1.0.0\u003cbr\u003e\n**Framework versions:** \u003e=5.28.8\u003cbr\u003e\n**Author / maintainer:** Adapt Core Team with [contributors](https://github.com/adaptlearning/adapt-contrib-modifiers/graphs/contributors)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptlearning%2Fadapt-contrib-modifiers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadaptlearning%2Fadapt-contrib-modifiers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaptlearning%2Fadapt-contrib-modifiers/lists"}