This repository has been archived by the owner on Aug 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7558ca
commit dbe8769
Showing
13 changed files
with
69 additions
and
18 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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
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,3 +1,17 @@ | ||
import { writable } from "svelte/store"; | ||
|
||
export default writable(0); | ||
function createDeploymentStore() { | ||
const { subscribe, set, update } = writable(0); | ||
|
||
return { | ||
subscribe, | ||
set(x: number) { | ||
update((value) => { | ||
value = value + 1; | ||
return value; | ||
}); | ||
}, | ||
}; | ||
} | ||
|
||
export default createDeploymentStore(); |
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,21 @@ | ||
const { GridClient, Nodes } = window.configs?.grid3_client ?? {}; | ||
|
||
export default function findNodes() { | ||
const nodes = new Nodes( | ||
GridClient.config.graphqlURL, | ||
GridClient.config.rmbClient["proxyURL"] | ||
); | ||
|
||
return nodes.filterNodes({ | ||
accessNodeV4: false, | ||
accessNodeV6: false, | ||
city: "", | ||
country: "", | ||
cru: 0, | ||
farmId: 0, | ||
gateway: false, | ||
hru: 0, | ||
mru: 0, | ||
sru: 0, | ||
}); | ||
} |