Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing type definitions #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions junit.xml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="jest tests" tests="8" failures="0" errors="0" time="1.285">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2024-05-30T12:57:09" time="1.147" tests="8">
<testcase classname=" should retrieve by steam appid" name=" should retrieve by steam appid" time="0.022">
<testsuites name="jest tests" tests="8" failures="0" errors="0" time="0.902">
<testsuite name="undefined" errors="0" failures="0" skipped="0" timestamp="2024-09-24T15:12:56" time="0.868" tests="8">
<testcase classname=" should retrieve by steam appid" name=" should retrieve by steam appid" time="0.011">
</testcase>
<testcase classname=" should retrieve by game id" name=" should retrieve by game id" time="0.022">
<testcase classname=" should retrieve by game id" name=" should retrieve by game id" time="0.003">
</testcase>
<testcase classname=" should retrieve platform data" name=" should retrieve platform data" time="0.03">
<testcase classname=" should retrieve platform data" name=" should retrieve platform data" time="0.004">
</testcase>
<testcase classname=" should be searchable" name=" should be searchable" time="0.03">
<testcase classname=" should be searchable" name=" should be searchable" time="0.003">
</testcase>
<testcase classname=" should retrieve by steam appid" name=" should retrieve by steam appid" time="0.03">
<testcase classname=" should retrieve by steam appid" name=" should retrieve by steam appid" time="0.004">
</testcase>
<testcase classname=" should be filterable for style" name=" should be filterable for style" time="0.028">
<testcase classname=" should be filterable for style" name=" should be filterable for style" time="0.004">
</testcase>
<testcase classname=" should be filterable for nsfw" name=" should be filterable for nsfw" time="0.029">
<testcase classname=" should be filterable for nsfw" name=" should be filterable for nsfw" time="0.003">
</testcase>
<testcase classname=" should be deletable" name=" should be deletable" time="0.03">
<testcase classname=" should be deletable" name=" should be deletable" time="0.003">
</testcase>
</testsuite>
</testsuites>
9 changes: 9 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,17 @@ export interface SGDBImage {
id: number;
score: number;
style: string[];
width: number;
height: number;
nsfw: boolean;
humor: boolean;
mime: string;
url: URL;
thumb: URL;
lock: boolean;
epilepsy: boolean;
upvotes: number;
downvotes: number;
tags: string[];
author: SGDBAuthor;
language: string;
Expand Down