Compare commits

...

2 Commits

Author SHA1 Message Date
9f0d85cf5b oops ignore this 2024-04-14 13:35:22 -04:00
c0ce86faf6 oops, ignore this 2024-04-14 13:35:14 -04:00
3 changed files with 2 additions and 48 deletions

3
Lib/.gitignore vendored
View File

@ -1 +1,2 @@
node_modules
node_modules
dist

46
Lib/dist/index.d.ts vendored
View File

@ -1,46 +0,0 @@
// Generated by dts-bundle-generator v9.3.1
export type Player = {
/**
* The unique id of this player.
*/
uniqueId: string;
/**
* The username of this player.
*/
username: string;
/**
* The skin of this player.
*/
skin: Skin;
};
/**
* A skin for a {@link Player}.
*/
export type Skin = {
/**
* The texture URL of this skin.
*/
url: string;
/**
* The model of this skin.
*/
model: Model;
/**
* Is this skin legacy?
*/
legacy: boolean;
};
/**
* Possible models for a skin.
*/
export type Model = "default" | "slim";
/**
* Get a player by their username or UUID.
*
* @param query the query to search for the player by
* @returns the promised player
*/
export declare const getPlayer: (query: string) => Promise<Player>;
export {};

1
Lib/dist/index.js vendored
View File

@ -1 +0,0 @@
var d=(a)=>{return new Promise((p,b)=>{p({uniqueId:"fc1d5fe7-f29b-430d-80bb-3b093a638b0f",username:"Rainnny",skin:{url:"",model:"default",legacy:!1}})})};export{d as getPlayer};