{"id":19197939,"url":"https://github.com/flarebyte/bubblegum-entity","last_synced_at":"2026-06-23T18:30:20.131Z","repository":{"id":37548382,"uuid":"134610864","full_name":"flarebyte/bubblegum-entity","owner":"flarebyte","description":"Access to settings and states for widgets of the Bubblegum UI toolkit ","archived":false,"fork":false,"pushed_at":"2022-07-09T07:34:57.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T10:35:06.662Z","etag":null,"topics":["experimental"],"latest_commit_sha":null,"homepage":"https://package.elm-lang.org/packages/flarebyte/bubblegum-entity/latest/","language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flarebyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-23T18:33:58.000Z","updated_at":"2022-07-06T19:43:55.000Z","dependencies_parsed_at":"2022-08-26T15:01:37.400Z","dependency_job_id":null,"html_url":"https://github.com/flarebyte/bubblegum-entity","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbubblegum-entity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbubblegum-entity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbubblegum-entity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flarebyte%2Fbubblegum-entity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flarebyte","download_url":"https://codeload.github.com/flarebyte/bubblegum-entity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240271540,"owners_count":19774859,"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":["experimental"],"created_at":"2024-11-09T12:19:34.911Z","updated_at":"2026-06-23T18:30:20.092Z","avatar_url":"https://github.com/flarebyte.png","language":"Elm","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bubblegum-entity\n\n![Status of direct\ndependencies](https://reiner-dolp.github.io/elm-badges/flarebyte/bubblegum-entity/dependencies.svg)\n![License of the\npackage](https://reiner-dolp.github.io/elm-badges/flarebyte/bubblegum-entity/license.svg)\n![Latest version of the\npackage](https://img.shields.io/elm-package/v/flarebyte/bubblegum-entity)\n\n\u003e Access to settings and states for widgets of the Bubblegum UI toolkit\n\n## Model\n\n### Attribute\n\nAn attribute represents a small piece of information such as a [Semantic\ntriple](https://en.wikipedia.org/wiki/Semantic_triple).\n\n```\nattrLabel =\n{ id = Just \"id:1234\"\n, key = \"ui:label\"\n, facets = [\"blue\"]\n, values = [\"Some label\"]\n}\n\n```\n\n### Outcome\n\nAn outcome is a type which borrows concepts from both Elm Maybe and Result.\n\n```\ntype Outcome value\n= Valid value\n| None\n| Warning String\n```\n\n### Settings\n\nA settings entity represents some configuration that is applied to a widget.\n\n```\n{\nattributes = [\nattr \"ui:label\" \"some label\"\n, attr \"ui:font\" \"Arial\"\n]\n}\n\n```\n\n### State\n\nA state entity is similar to settings but represents the live state that is\napplied to a widget.\n\n```\n{\nattributes = [\nattr \"ui:selection\" \"first item\"\n]\n}\n\n```\n\n### Validation\n\nList of validations that can be applied to an outcome.\n\nFor most validations:\n\n-   None will propagate as None.\n-   Warning will propagate as Warning.\n-   A failure to validate the outcome will produce a Warning.\n\n## Documentation and links\n\n-   [Code Maintenance](MAINTENANCE.md)\n-   [Code Of Conduct](CODE_OF_CONDUCT.md)\n-   [Contributing](CONTRIBUTING.md)\n-   [Glossary](GLOSSARY.md)\n-   [Vocabulary used in the code base](CODE_VOCABULARY.md)\n-   [Architectural Decision Records](DECISIONS.md)\n-   [Contributors](https://github.com/flarebyte/bubblegum-entity/graphs/contributors)\n-   [Dependencies](https://github.com/flarebyte/bubblegum-entity/network/dependencies)\n\n## Installation\n\n```bash\nelm install flarebyte/bubblegum-entity\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarebyte%2Fbubblegum-entity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflarebyte%2Fbubblegum-entity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflarebyte%2Fbubblegum-entity/lists"}