Skip to content

Commit

Permalink
move some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
InventivetalentDev committed Oct 25, 2024
1 parent fa7ffb9 commit 31b9157
Show file tree
Hide file tree
Showing 51 changed files with 118 additions and 54 deletions.
1 change: 0 additions & 1 deletion dist/generate/DelayInfo.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/generate/JobInfo.js.map

This file was deleted.

1 change: 0 additions & 1 deletion dist/generate/JobStatus.js.map

This file was deleted.

14 changes: 0 additions & 14 deletions dist/generate/RateLimitInfo.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/generate/RateLimitInfo.js.map

This file was deleted.

4 changes: 0 additions & 4 deletions dist/generate/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
export * from "./DelayInfo";
export * from "./GenerateType";
export * from "./RateLimitInfo";
export * from "./DuplicateSource";
export * from "./GenerateRequest";
export * from "./GenerateResult";
export * from "./GenerateOptions";
export * from "./JobInfo";
export * from "./JobStatus";
4 changes: 0 additions & 4 deletions dist/generate/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/generate/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ export * from "./subscription";
export * from "./error";
export * from "./billing";
export * from "./usage";
export * from "./ratelimit";
export * from "./job";
2 changes: 2 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions dist/job/JobInfo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions dist/job/JobStatus.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dist/job/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./JobStatus";
export * from "./JobInfo";
19 changes: 19 additions & 0 deletions dist/job/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/job/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions dist/ratelimit/DelayInfo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions dist/ratelimit/LimitInfo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export declare class LimitInfo {
limit: number;
remaining: number;
}
7 changes: 7 additions & 0 deletions dist/ratelimit/LimitInfo.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/ratelimit/LimitInfo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions dist/ratelimit/NextRequest.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface NextRequest {
absolute: number;
relative: number;
}
3 changes: 3 additions & 0 deletions dist/ratelimit/NextRequest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/ratelimit/NextRequest.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions dist/ratelimit/RateLimitInfo.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { NextRequest } from "./NextRequest";
import { DelayInfo } from "./DelayInfo";
import { LimitInfo } from "./LimitInfo";
export interface RateLimitInfo {
next: NextRequest;
delay: DelayInfo;
limit: LimitInfo;
}
File renamed without changes.
1 change: 1 addition & 0 deletions dist/ratelimit/RateLimitInfo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions dist/ratelimit/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export * from "./RateLimitInfo";
export * from "./NextRequest";
export * from "./DelayInfo";
export * from "./LimitInfo";
21 changes: 21 additions & 0 deletions dist/ratelimit/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/ratelimit/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/skin/SkinInfo.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SkinIdAndTexture } from "./SkinIdAndTexture";
import { SkinVariant } from "./SkinVariant";
import { DelayInfo } from "../generate";
import { DelayInfo } from "../ratelimit";
export interface SkinInfo {
id: number;
idStr: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/skin/SkinInfo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions dist/usage/CreditsUsageInfo.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { CreditType } from "../billing";
export interface CreditsUsageInfo {
id: string;
type: CreditType;
type?: CreditType;
used: number;
remaining: number;
}
2 changes: 1 addition & 1 deletion dist/usage/CreditsUsageInfo.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 0 additions & 14 deletions src/generate/RateLimitInfo.ts

This file was deleted.

6 changes: 1 addition & 5 deletions src/generate/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
export * from "./DelayInfo";
export * from "./GenerateType";
export * from "./RateLimitInfo";
export * from"./DuplicateSource"
export * from "./GenerateRequest";
export * from "./GenerateResult";
export * from "./GenerateOptions"
export * from "./JobInfo";
export * from "./JobStatus"
export * from "./GenerateOptions"
4 changes: 3 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ export * from "./minecraft"
export * from "./subscription"
export * from "./error"
export * from "./billing"
export * from "./usage"
export * from "./usage"
export * from "./ratelimit"
export * from "./job"
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/job/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./JobStatus"
export * from "./JobInfo"
File renamed without changes.
4 changes: 4 additions & 0 deletions src/ratelimit/LimitInfo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export class LimitInfo {
limit: number;
remaining: number;
}
4 changes: 4 additions & 0 deletions src/ratelimit/NextRequest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface NextRequest {
absolute: number;
relative: number;
}
9 changes: 9 additions & 0 deletions src/ratelimit/RateLimitInfo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import { NextRequest } from "./NextRequest";
import { DelayInfo } from "./DelayInfo";
import { LimitInfo } from "./LimitInfo";

export interface RateLimitInfo {
next: NextRequest,
delay: DelayInfo,
limit: LimitInfo;
}
4 changes: 4 additions & 0 deletions src/ratelimit/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export * from "./RateLimitInfo"
export * from "./NextRequest"
export * from "./DelayInfo"
export * from "./LimitInfo"
2 changes: 1 addition & 1 deletion src/skin/SkinInfo.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SkinIdAndTexture } from "./SkinIdAndTexture";
import { SkinVariant } from "./SkinVariant";
import { DelayInfo } from "../generate";
import { DelayInfo } from "../ratelimit";

export interface SkinInfo {
id: number;
Expand Down

0 comments on commit 31b9157

Please sign in to comment.