lockblock-dev / ordr.js Goto Github PK
View Code? Open in Web Editor NEWA TypeScript library for interacting with the o!rdr API and WebSocket
Home Page: https://www.npmjs.com/package/ordr.js
License: MIT License
A TypeScript library for interacting with the o!rdr API and WebSocket
Home Page: https://www.npmjs.com/package/ordr.js
License: MIT License
I managed to temporarily fix these issues by doing that :
type Render = {
date: string
readableDate: string
renderID: number
username: string
progress: string
errorCode: number
renderer: string
description: string
title: string
replayFilePath: string
videoUrl: string
mapLink: string
mapTitle: string
mapLength: number
replayDifficulty: string
replayUsername: string
replayMods: string
mapID: number
needToRedownload: boolean
resolution: string
globalVolume: number
musicVolume: number
hitsoundVolume: number
useSkinHitsounds: boolean
showHitErrorMeter: boolean
showUnstableRate: boolean
showScore: boolean
showHPBar: boolean
showComboCounter: boolean
showPPCounter: boolean
showKeyOverlay: boolean
showScoreboard: boolean
showBorders: boolean
showMods: boolean
showResultScreen: boolean
skin: string
hasCursorMiddle: boolean
useSkinCursor: boolean
useSkinColors: boolean
useBeatmapColors: boolean
cursorScaleToCS: boolean
cursorRainbow: boolean
cursorTrailGlow: boolean
cursorSize: number
cursorTrail: boolean
drawFollowPoints: boolean
drawComboNumbers: boolean
scaleToTheBeat: boolean
sliderMerge: boolean
objectsRainbow: boolean
objectsFlashToTheBeat: boolean
useHitCircleColor: boolean
seizureWarning: boolean
loadStoryboard: boolean
loadVideo: boolean
introBGDim: number
inGameBGDim: number
breakBGDim: number
BGParallax: boolean
showDanserLogo: boolean
motionBlur960fps: boolean
skip: boolean
cursorRipples: boolean
sliderSnakingIn: boolean
sliderSnakingOut: boolean
isVerified: boolean
isBot: boolean
renderStartTime: number
renderEndTime: number
renderTotalTime: number
uploadEndTime: number
uploadTotalTime: number
}
interface RenderData {
renders: Render[]
maxRenders: number
}
export class Client {
constructor(API_KEY?: string) <--
[...]
renders(params?: {
pageSize?: number
page?: number
ordrUsername?: string
replayUsername?: string
renderID: number
}): Promise<RendersData>
The thing is that I can't push the new version to production yet because it will fail the build in the CI/CD pipeline.
Could not find a declaration file for module 'ordr.js'. implicitly has an 'any' type.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.