@typed/content-hash
Version:
Content hash a directory of HTML/JS/CSS files and other static assets
9 lines (5 loc) • 319 B
text/typescript
import { Env, op, RequirementsOf } from '@typed/fp/Env'
import { DocumentRegistry } from '../model'
import { LoggerEnv } from './logging'
export const writeDocuments = op<(documents: DocumentRegistry) => Env<LoggerEnv, void>>()('writeDocuments')
export type WriteDocumentsEnv = RequirementsOf<typeof writeDocuments>