{"id":21401442,"url":"https://github.com/spoonx/stix-wetland","last_synced_at":"2025-07-13T21:31:47.250Z","repository":{"id":33018575,"uuid":"149336743","full_name":"SpoonX/stix-wetland","owner":"SpoonX","description":"🎩 A stix module that brings Wetland ORM to your project, including helpers and a criteria parser.","archived":false,"fork":false,"pushed_at":"2022-12-08T19:50:32.000Z","size":256,"stargazers_count":2,"open_issues_count":9,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-16T19:48:07.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/SpoonX.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}},"created_at":"2018-09-18T18:47:34.000Z","updated_at":"2020-05-19T03:25:24.000Z","dependencies_parsed_at":"2023-01-14T23:04:26.734Z","dependency_job_id":null,"html_url":"https://github.com/SpoonX/stix-wetland","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fstix-wetland","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fstix-wetland/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fstix-wetland/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpoonX%2Fstix-wetland/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpoonX","download_url":"https://codeload.github.com/SpoonX/stix-wetland/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225919516,"owners_count":17545274,"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-22T15:27:46.487Z","updated_at":"2024-11-22T15:27:46.964Z","avatar_url":"https://github.com/SpoonX.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![Stix wetland](./stix-wetland.svg)\n\n[![Slack Status](https://spoonx-slack.herokuapp.com/badge.svg)](https://spoonx-slack.herokuapp.com)\n\nA [stix](https://github.com/SpoonX/stix) module for [Wetland ORM](https://wetland.spoonx.org/).\n\n## Setup\n\nIf you initialized a new stix project using the [boards cli stix preset](https://github.com/SpoonX/boards-preset-stix), stix-wetland will already be included in your project and you can move on to the [using section](#using). If not, keep reading.\n\n1. In your stix project, simply run `yarn add stix-wetland`.\n2. Add the module to your project's `src/config/modules.ts`:\n\n```ts\nimport { ModuleManagerConfigInterface } from 'stix';\nimport { Wetland } from 'stix-wetland';\n\nexport const modules: ModuleManagerConfigInterface = [\n  Wetland,\n  // Your other modules.\n];\n```\n\n### Setting up wetland\n\nConfiguring wetland can be done by adding a `wetland` key to your config.\n\n1. Add `export * from './wetland';` to your `src/config/index.ts`.\n2. Create a file at `src/config/wetland.ts` and add `export const wetland = {}` to it.\n3. Configure wetland to your heart's desire.\n\nYou can find more info about the configuration options in the [wetland documentation](https://wetland.spoonx.org/configuration.html).\n\n_**Note:** Due to the nature of stix's module system, all configs conveniently get merged. This means that you could add a `config/wetland.ts` to each of your modules specifying the `entityPaths[]` for those module's entities._\n\n## Documentation\n\nTake a look at the `doc/` directory to find documentation.\n\n- [decorators](doc/decorators.md)\n- [routes](doc/decorators.md)\n- [config](doc/config.md)\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoonx%2Fstix-wetland","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspoonx%2Fstix-wetland","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoonx%2Fstix-wetland/lists"}