-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add typing in templateReposProvider * Add api sandbox support * Improve deployment detail api endpoint * Run provider syncing for sandbox * Update indexer ibc denom for usdc * Cleanup * Add sdl denom validation * Remove console.log
- Loading branch information
Showing
20 changed files
with
294 additions
and
62 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export type GithubChainRegistryAssetListResponse = { | ||
$schema: string; | ||
chain_name: string; | ||
assets: { | ||
description: string; | ||
denom_units: { | ||
denom: string; | ||
exponent: number; | ||
}[]; | ||
base: string; | ||
name: string; | ||
display: string; | ||
symbol: string; | ||
logo_URIs: { | ||
png: string; | ||
svg: string; | ||
}; | ||
coingecko_id: string; | ||
}[]; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export type GithubDirectoryItem = { | ||
type: string; | ||
size: number; | ||
name: string; | ||
path: string; | ||
content?: string; | ||
sha: string; | ||
url: string; | ||
git_url: string; | ||
html_url: string; | ||
download_url: string; | ||
_links: { | ||
git: string; | ||
html: string; | ||
self: string; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
export * from "./template" | ||
export * from "./template"; | ||
export * from "./graph"; | ||
export * from "./chainRegistry"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
export type RestDeploymentInfoResponse = | ||
| { | ||
code: number; | ||
message: string; | ||
details: string[]; | ||
} | ||
| { | ||
deployment: { | ||
deployment_id: { | ||
owner: string; | ||
dseq: string; | ||
}; | ||
state: string; | ||
version: string; | ||
created_at: string; | ||
}; | ||
groups: { | ||
group_id: { | ||
owner: string; | ||
dseq: string; | ||
gseq: number; | ||
}; | ||
state: string; | ||
group_spec: { | ||
name: string; | ||
requirements: { | ||
signed_by: { | ||
all_of: string[]; | ||
any_of: string[]; | ||
}; | ||
attributes: { key: string; value: string }[]; | ||
}; | ||
resources: { | ||
resource: { | ||
id: number; | ||
cpu: { | ||
units: { | ||
val: string; | ||
}; | ||
attributes: { key: string; value: string }[]; | ||
}; | ||
memory: { | ||
quantity: { | ||
val: string; | ||
}; | ||
attributes: { key: string; value: string }[]; | ||
}; | ||
storage: [ | ||
{ | ||
name: string; | ||
quantity: { | ||
val: string; | ||
}; | ||
attributes: { key: string; value: string }[]; | ||
}, | ||
{ | ||
name: string; | ||
quantity: { | ||
val: string; | ||
}; | ||
attributes: { key: string; value: string }[]; | ||
} | ||
]; | ||
gpu: { | ||
units: { | ||
val: string; | ||
}; | ||
attributes: { key: string; value: string }[]; | ||
}; | ||
endpoints: { kind: string; sequence_number: number }[]; | ||
}; | ||
count: number; | ||
price: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
}[]; | ||
}; | ||
created_at: string; | ||
}[]; | ||
escrow_account: { | ||
id: { | ||
scope: string; | ||
xid: string; | ||
}; | ||
owner: string; | ||
state: string; | ||
balance: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
transferred: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
settled_at: string; | ||
depositor: string; | ||
funds: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from "./leaseListResponse"; | ||
export * from "./deploymentInfoResponse"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
export type RestLeaseListResponse = { | ||
leases: { | ||
lease: { | ||
lease_id: { | ||
owner: string; | ||
dseq: string; | ||
gseq: number; | ||
oseq: number; | ||
provider: string; | ||
}; | ||
state: string; | ||
price: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
created_at: string; | ||
closed_on: string; | ||
}; | ||
escrow_payment: { | ||
account_id: { | ||
scope: string; | ||
xid: string; | ||
}; | ||
payment_id: string; | ||
owner: string; | ||
state: string; | ||
rate: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
balance: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
withdrawn: { | ||
denom: string; | ||
amount: string; | ||
}; | ||
}; | ||
}[]; | ||
pagination: { | ||
next_key: string; | ||
total: string; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.