GitHub

daffCollectionBuildMetadataFromRequest

Extracts the part of the DaffCollectionRequest that can be directly set in DaffCollectionMetadata.

import { daffCollectionBuildMetadataFromRequest } from '@daffodil/core'
const daffCollectionBuildMetadataFromRequest: (request: DaffCollectionRequest) => Partial<DaffCollectionMetadata>