mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-18 04:34:59 +00:00
11 lines
390 B
TypeScript
11 lines
390 B
TypeScript
import { fetchResults } from "ChillMainAssets/lib/api/apiMethods";
|
|
import { GenericDocForAccompanyingPeriod } from "ChillDocStoreAssets/types/generic_doc";
|
|
|
|
export function fetch_generic_docs_by_accompanying_period(
|
|
periodId: number,
|
|
): Promise<GenericDocForAccompanyingPeriod[]> {
|
|
return fetchResults(
|
|
`/api/1.0/doc-store/generic-doc/by-period/${periodId}/index`,
|
|
);
|
|
}
|