Skip to content

Type Alias: File ​

File = object

Defined in: src/schema/types.ts:143

A file tracked in the files folder, keyed by SHA-256 hash.

ts
import type { File } from 'osu-files'

const file = db.files.get.first()
return file?.Hash

Properties ​

Hash? ​

optional Hash?: string

Defined in: src/schema/types.ts:144

Released under the MIT License.