-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export declare enum DuplicateSource { | ||
MINESKIN_URL = "mineskin_url", | ||
TEXTURE_URL = "texture_url", | ||
IMAGE_HASH = "image_hash", | ||
TEXTURE_URL_DATA = "texture_url_data", | ||
IMAGE_HASH_DATA = "image_hash_data", | ||
USER_UUID = "user_uuid" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { GenerateType } from "./GenerateType"; | ||
import { ClientInfo } from "../skin"; | ||
import { GenerateOptions } from "./GenerateOptions"; | ||
import { Breadcrumb } from "../misc"; | ||
export interface GenerateRequest { | ||
image: string; | ||
type: GenerateType; | ||
clientInfo: ClientInfo; | ||
client?: any; | ||
options: GenerateOptions; | ||
breadcrumb?: Breadcrumb; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { UUID } from "../misc"; | ||
import { DuplicateSource } from "./DuplicateSource"; | ||
import { UsageInfo } from "../usage"; | ||
export interface GenerateResult { | ||
skin: UUID; | ||
duplicate?: DuplicateSource; | ||
usage?: UsageInfo; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
export * from "./DelayInfo"; | ||
export * from "./GenerateType"; | ||
export * from "./RateLimitInfo"; | ||
export * from "./DuplicateSource"; | ||
export * from "./GenerateRequest"; | ||
export * from "./GenerateResult"; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { CreditType } from "../billing"; | ||
export interface CreditsUsageInfo { | ||
type: CreditType; | ||
used: number; | ||
remaining: number; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface LimitUsageInfo { | ||
limit: number; | ||
remaining: number; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export interface MeteredUsageInfo { | ||
used: number; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface RateUsageInfo { | ||
delay: number; | ||
next: number; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { MeteredUsageInfo } from "./MeteredUsageInfo"; | ||
import { LimitUsageInfo } from "./LimitUsageInfo"; | ||
import { CreditsUsageInfo } from "./CreditsUsageInfo"; | ||
import { RateUsageInfo } from "./RateUsageInfo"; | ||
export interface UsageInfo { | ||
credits?: CreditsUsageInfo; | ||
metered?: MeteredUsageInfo; | ||
rate?: RateUsageInfo; | ||
limit?: LimitUsageInfo; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export * from "./CreditsUsageInfo"; | ||
export * from "./LimitUsageInfo"; | ||
export * from "./MeteredUsageInfo"; | ||
export * from "./RateUsageInfo"; | ||
export * from "./UsageInfo"; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export enum DuplicateSource { | ||
MINESKIN_URL = "mineskin_url", | ||
TEXTURE_URL = "texture_url", | ||
IMAGE_HASH = "image_hash", | ||
TEXTURE_URL_DATA = "texture_url_data", | ||
IMAGE_HASH_DATA = "image_hash_data", | ||
USER_UUID = "user_uuid" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { GenerateType } from "./GenerateType"; | ||
import { ClientInfo } from "../skin"; | ||
import { GenerateOptions } from "./GenerateOptions"; | ||
import { Breadcrumb } from "../misc"; | ||
|
||
export interface GenerateRequest { | ||
image: string; // image hash | ||
type: GenerateType; | ||
clientInfo: ClientInfo; | ||
client?: any; | ||
options: GenerateOptions; | ||
breadcrumb?: Breadcrumb; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { UUID } from "../misc"; | ||
import { DuplicateSource } from "./DuplicateSource"; | ||
import { UsageInfo } from "../usage"; | ||
|
||
export interface GenerateResult { | ||
skin: UUID; | ||
duplicate?: DuplicateSource; | ||
usage?: UsageInfo; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
export * from "./DelayInfo"; | ||
export * from "./GenerateType"; | ||
export * from "./RateLimitInfo"; | ||
export * from "./RateLimitInfo"; | ||
export * from"./DuplicateSource" | ||
export * from "./GenerateRequest"; | ||
export * from "./GenerateResult"; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { CreditType } from "../billing"; | ||
|
||
export interface CreditsUsageInfo { | ||
type: CreditType; | ||
used: number; | ||
remaining: number; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface LimitUsageInfo { | ||
limit: number; | ||
remaining: number; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export interface MeteredUsageInfo { | ||
used: number; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export interface RateUsageInfo { | ||
delay: number; | ||
next: number; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { MeteredUsageInfo } from "./MeteredUsageInfo"; | ||
import { LimitUsageInfo } from "./LimitUsageInfo"; | ||
import { CreditsUsageInfo } from "./CreditsUsageInfo"; | ||
import { RateUsageInfo } from "./RateUsageInfo"; | ||
|
||
export interface UsageInfo { | ||
credits?: CreditsUsageInfo; | ||
metered?: MeteredUsageInfo; | ||
rate?: RateUsageInfo; | ||
limit?: LimitUsageInfo; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export * from "./CreditsUsageInfo"; | ||
export * from "./LimitUsageInfo"; | ||
export * from "./MeteredUsageInfo"; | ||
export * from "./RateUsageInfo"; | ||
export * from "./UsageInfo"; |