Skip to content

feature: support loading document roots with given document type#52

Merged
lebalz merged 1 commit intomainfrom
feature/support-doc-type-when-loading-doc-root
Jan 10, 2026
Merged

feature: support loading document roots with given document type#52
lebalz merged 1 commit intomainfrom
feature/support-doc-type-when-loading-doc-root

Conversation

@lebalz
Copy link
Contributor

@lebalz lebalz commented Jan 10, 2026

add type query param

/**
 * @optional ?ignoreMissingRoots: boolean
 * @optional ?type: string -> filter included documents by provided type
 * @requires ?ids: string[]
 */
router.get('/users/:id/documentRoots', findManyDocumentRootsFor);

add `type` query param

```ts
/**
 * @optional ?ignoreMissingRoots: boolean
 * @optional ?type: string -> filter included documents by provided type
 * @requires ?ids: string[]
 */
router.get('/users/:id/documentRoots', findManyDocumentRootsFor);
```
@lebalz lebalz merged commit af4e60b into main Jan 10, 2026
1 check passed
@lebalz lebalz deleted the feature/support-doc-type-when-loading-doc-root branch January 10, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant