Skip to content

Type Alias: ScoreEditor ​

ScoreEditor = object

Defined in: src/scores.ts:17

This example requires Node.js.

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

const value = {} as ScoreEditor
return value

Properties ​

id ​

readonly id: string

Defined in: src/scores.ts:19

Score UUID.


value ​

readonly value: ScoreSnapshot

Defined in: src/scores.ts:21

Detached score snapshot.

Methods ​

editReplay() ​

editReplay(transform): Promise<boolean>

Defined in: src/scores.ts:23

Replaces the replay and refreshes replay fields.

Parameters ​

ParameterType
transform(content) => Buffer<ArrayBufferLike> | Promise<Buffer<ArrayBufferLike>>

Returns ​

Promise<boolean>

This example requires Node.js.

ts
import { ScoreEditor } from 'osu-files'

return undefined

Released under the MIT License.