{"id":13392496,"url":"https://github.com/vuex-orm/plugin-soft-delete","last_synced_at":"2025-09-12T12:48:51.910Z","repository":{"id":40294939,"uuid":"126123094","full_name":"vuex-orm/plugin-soft-delete","owner":"vuex-orm","description":"Vuex ORM plugin for adding soft delete feature to model entities.","archived":false,"fork":false,"pushed_at":"2022-12-12T06:45:30.000Z","size":2647,"stargazers_count":16,"open_issues_count":28,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T14:35:58.078Z","etag":null,"topics":["vue","vuex","vuex-orm","vuex-orm-plugin","vuex-plugin"],"latest_commit_sha":null,"homepage":"https://vuex-orm.github.io/plugin-soft-delete/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vuex-orm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"kiaking"}},"created_at":"2018-03-21T04:26:25.000Z","updated_at":"2024-10-29T16:06:17.000Z","dependencies_parsed_at":"2023-01-27T15:16:06.800Z","dependency_job_id":null,"html_url":"https://github.com/vuex-orm/plugin-soft-delete","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/vuex-orm%2Fplugin-soft-delete","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuex-orm%2Fplugin-soft-delete/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuex-orm%2Fplugin-soft-delete/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vuex-orm%2Fplugin-soft-delete/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vuex-orm","download_url":"https://codeload.github.com/vuex-orm/plugin-soft-delete/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254470301,"owners_count":22076566,"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":["vue","vuex","vuex-orm","vuex-orm-plugin","vuex-plugin"],"created_at":"2024-07-30T17:00:23.739Z","updated_at":"2025-05-16T04:34:32.526Z","avatar_url":"https://github.com/vuex-orm.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"192\" src=\"https://github.com/vuex-orm/vuex-orm/raw/master/logo-vuex-orm.png\" alt=\"Vuex ORM\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eVuex ORM Plugin: Soft Delete\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@vuex-orm/plugin-soft-delete\"\u003e\n    \u003cimg alt=\"npm\" src=\"https://img.shields.io/npm/v/@vuex-orm/plugin-soft-delete?color=blue\" alt=\"npm\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/vuex-orm/plugin-soft-delete\"\u003e\n    \u003cimg src=\"https://travis-ci.org/vuex-orm/plugin-soft-delete.svg?branch=master\" alt=\"Travis CI\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://codecov.io/gh/vuex-orm/plugin-soft-delete\"\u003e\n    \u003cimg src=\"https://codecov.io/gh/vuex-orm/plugin-soft-delete/branch/master/graph/badge.svg\" alt=\"codecov\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/vuex-orm/plugin-soft-delete/blob/master/LICENSE.md\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/l/@vuex-orm/plugin-soft-delete.svg\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nVuex ORM Soft Delete plugin adds soft delete capabilities to [Vuex ORM](https://github.com/vuex-orm/vuex-orm) models.\n\nThe plugin allows models to be soft deleted or \"trashed\" without actually removing them from the entity data set. Subsequently, when executing queries, the soft deleted models will be excluded from results. Using query modifiers, queries can be instructed to inclusively or exclusively retrieve soft deletes.\n\n```js\n// Model action example...\nUser.softDelete(1)\n\n// Instance action example...\nconst user = User.find(1)\nawait user.$softDelete()\n\n// Query integration example...\nUser.query().withTrashed().get()\nUser.query().onlyTrashed().get()\n```\n\n\u003ch2 align=\"center\"\u003eSponsors\u003c/h2\u003e\n\n\u003cp align=\"center\"\u003eVuex ORM is sponsored by awesome folks. Big love to all of them from whole Vuex ORM community :two_hearts:\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003eSuper Love Sponsors\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/petertoth\"\u003e\n    \u003cimg src=\"https://avatars2.githubusercontent.com/u/3661783?s=460\u0026v=4\" alt=\"Peter Tóth\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/phaust\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/2367770?s=460\u0026v=4\" alt=\"Mario Kolli\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/cannikan\"\u003e\n    \u003cimg src=\"https://avatars2.githubusercontent.com/u/21893904?s=460\u0026v=4\" alt=\"Cannikan\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/somazx\"\u003e\n    \u003cimg src=\"https://avatars0.githubusercontent.com/u/7306?s=460\u0026v=4\" alt=\"Andy Koch\" width=\"88\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/dylancopeland\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/99355?s=460\u0026v=4\" alt=\"Dylan Copeland\" width=\"88\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003eBig Love Sponsors\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/geraldbiggs\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/3213608?s=460\u0026v=4\" alt=\"geraldbiggs\" width=\"64\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/cuebit\"\u003e\n    \u003cimg src=\"https://avatars0.githubusercontent.com/u/1493221?s=460\u0026v=4\" alt=\"Cue\" width=\"64\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/kazupon\"\u003e\n    \u003cimg src=\"https://avatars0.githubusercontent.com/u/72989?s=400\u0026v=4\" alt=\"Kazuya Kawaguchi\" width=\"64\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jShaf\"\u003e\n    \u003cimg src=\"https://avatars3.githubusercontent.com/u/30289?s=400\u0026v=4\" alt=\"jShaf\" width=\"64\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch4 align=\"center\"\u003eA Love Sponsors\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/georgechaduneli\"\u003e\n    \u003cimg src=\"https://avatars1.githubusercontent.com/u/9340753?s=460\u0026v=4\" alt=\"George Chaduneli\" width=\"48\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/bpuig\"\u003e\n    \u003cimg src=\"https://avatars3.githubusercontent.com/u/22938625?s=460\u0026v=4\" alt=\"bpuig\" width=\"48\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/robokozo\"\u003e\n    \u003cimg src=\"https://avatars2.githubusercontent.com/u/1719221?s=400\u0026v=4\" alt=\"John\" width=\"48\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/mean-cj\"\u003e\n    \u003cimg src=\"https://avatars3.githubusercontent.com/u/1191385?s=400\u0026v=4\" alt=\"mean-cj\" width=\"48\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Documentation\n\nYou can check out the full documentation for Vuex ORM Plugin: Soft Delete at https://vuex-orm.github.io/plugin-soft-delete.\n\n## Questions \u0026 Discussions\n\nJoin us on our [Slack Channel](https://join.slack.com/t/vuex-orm/shared_invite/enQtNDQ0NjE3NTgyOTY2LTc1YTI2N2FjMGRlNGNmMzBkMGZlMmYxOTgzYzkzZDM2OTQ3OGExZDRkN2FmMGQ1MGJlOWM1NjU0MmRiN2VhYzQ) for any questions and discussions.\n\nAlthough there is the Slack Channel, do not hesitate to open an [issue](https://github.com/vuex-orm/plugin-soft-delete/issues) for any question you might have. We're always more than happy to hear any feedback, and we don't care what kind of form they are.\n\n## Plugins\n\nVuex ORM can be extended via plugins to add additional features. Here is a list of available plugins.\n\n- [Vuex ORM Axios](https://github.com/vuex-orm/plugin-axios) – The plugin to sync the store against a RESTful API.\n- [Vuex ORM GraphQL](https://github.com/vuex-orm/plugin-graphql) – The plugin to sync the store against a [GraphQL](https://graphql.org) API.\n- [Vuex ORM Search](https://github.com/vuex-orm/plugin-search) – The plugin adds a search() method to filter records using fuzzy search logic from the [Fuse.js](http://fusejs.io).\n- [Vuex ORM Change Flags](https://github.com/vuex-orm/plugin-change-flags) - Vuex ORM plugin for adding IsDirty / IsNew flags to model entities.\n\nAlso, you can find a list of awesome things related to Vuex ORM at [Awesome Vuex ORM](https://github.com/vuex-orm/awesome-vuex-orm).\n\n## Contribution\n\nWe are excited that you are interested in contributing to Vuex ORM Plugin: Soft Delete! Anything from raising an issue, submitting an idea of a new feature, or making a pull request is welcome! Before submitting your contribution though, please make sure to take a moment and read through the following guidelines.\n\n### Pull Request Guidelines\n\nWhen submitting a new pull request, please make sure to follow these guidelines:\n\n- **For feature requests:** Checkout a topic branch from `dev` branch, and merge back against `dev` branch.\n- **For bug fixes:** Checkout a topic branch from `master` branch, and merge back against `master` branch.\n\nThese rules also apply to the documentation. If you're submitting documentation about a new feature that isn't released yet, you must checkout the `dev` branch, but for non-functional updates, such as fixing a typo, you may checkout and commit to the `master` branch.\n\n### Scripts\n\nThere are several scripts to help with development.\n\n```bash\nyarn build\n```\n\nCompile files and generate bundles in `dist` directory.\n\n```bash\nyarn lint\n```\n\nLint files using [Prettier](https://prettier.io/).\n\n```bash\nyarn test\n```\n\nRun the test using [Jest](https://jestjs.io/).\n\n```bash\nyarn test:watch\n```\n\nRun the test in watch mode.\n\n```bash\nyarn coverage\n```\n\nGenerate test coverage in `coverage` directory.\n\n```bash\nyarn docs\n```\n\nBuild and boot documentation server with [VuePress](https://vuepress.vuejs.org/).\n\n## License\n\nVuex ORM Plugin: Soft Delete is open-sourced software licensed under the [MIT license](./LICENSE).\n","funding_links":["https://github.com/sponsors/kiaking"],"categories":["Plugins"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuex-orm%2Fplugin-soft-delete","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvuex-orm%2Fplugin-soft-delete","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvuex-orm%2Fplugin-soft-delete/lists"}