Code Monkey home page Code Monkey logo

ordr.js's People

Contributors

lockblock-dev avatar theasmgirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

flazepe tco46

ordr.js's Issues

Missing or incorrect TypeScript typings

image

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.