-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
24 changed files
with
1,890 additions
and
966 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.
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,4 +1,50 @@ | ||
export declare const EMPTY_STRING = ""; | ||
export declare const NOP: () => void; | ||
export declare const TAG_SEPARATOR = ","; | ||
export declare const SAVED_FILTERS = "saved_filters"; | ||
export declare const SAVED_HIDDEN = "saved_hidden"; | ||
export declare const FILTER_CHANGE_LISTENER = "table-filters-change"; | ||
export declare const FILTER_LISTENER = "table-filters"; | ||
export declare const GENERAL_ERROR = "Something went wrong. Please refresh the page and try again."; | ||
interface FilterBoxes { | ||
[key: string]: string; | ||
} | ||
export declare const FILTERBOXES: FilterBoxes; | ||
export declare const NODES_STATUSES: { | ||
DOWN: string; | ||
FENCING: string; | ||
UP: string; | ||
JOINING: string; | ||
SYNCING: string; | ||
}; | ||
export declare const DRIVES_STATUSES: { | ||
INACTIVE: string; | ||
PHASING_IN: string; | ||
ACTIVE: string; | ||
PHASING_OUT: string; | ||
}; | ||
export declare const STATUS: { | ||
OK: string; | ||
UP: string; | ||
DEGRADED: string; | ||
DOWN: string; | ||
READY: string; | ||
DEACTIVATING: string; | ||
ACTIVE: string; | ||
ENABLED: string; | ||
UPDATING: string; | ||
CREATING: string; | ||
DOWNLOADING: string; | ||
REMOVING: string; | ||
}; | ||
export declare const OBS_IS_DETACHING = "DETACHING"; | ||
export declare const OBS_MODES: { | ||
REMOTE: string; | ||
WRITABLE: string; | ||
READ_ONLY: string; | ||
}; | ||
interface TimeShortenings { | ||
[key: string]: any; | ||
} | ||
export declare const TIME_PARTS_SHORTENINGS: TimeShortenings; | ||
export {}; |
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,2 +1,2 @@ | ||
declare function useToggle(initialState: string | boolean, options?: string[] | undefined): (string | boolean | (() => void))[]; | ||
declare function useToggle(initialState: string | boolean, options?: string[] | undefined): [string | boolean, () => void]; | ||
export default useToggle; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,50 @@ | ||
export declare const EMPTY_STRING = ""; | ||
export declare const NOP: () => void; | ||
export declare const TAG_SEPARATOR = ","; | ||
export declare const SAVED_FILTERS = "saved_filters"; | ||
export declare const SAVED_HIDDEN = "saved_hidden"; | ||
export declare const FILTER_CHANGE_LISTENER = "table-filters-change"; | ||
export declare const FILTER_LISTENER = "table-filters"; | ||
export declare const GENERAL_ERROR = "Something went wrong. Please refresh the page and try again."; | ||
interface FilterBoxes { | ||
[key: string]: string; | ||
} | ||
export declare const FILTERBOXES: FilterBoxes; | ||
export declare const NODES_STATUSES: { | ||
DOWN: string; | ||
FENCING: string; | ||
UP: string; | ||
JOINING: string; | ||
SYNCING: string; | ||
}; | ||
export declare const DRIVES_STATUSES: { | ||
INACTIVE: string; | ||
PHASING_IN: string; | ||
ACTIVE: string; | ||
PHASING_OUT: string; | ||
}; | ||
export declare const STATUS: { | ||
OK: string; | ||
UP: string; | ||
DEGRADED: string; | ||
DOWN: string; | ||
READY: string; | ||
DEACTIVATING: string; | ||
ACTIVE: string; | ||
ENABLED: string; | ||
UPDATING: string; | ||
CREATING: string; | ||
DOWNLOADING: string; | ||
REMOVING: string; | ||
}; | ||
export declare const OBS_IS_DETACHING = "DETACHING"; | ||
export declare const OBS_MODES: { | ||
REMOTE: string; | ||
WRITABLE: string; | ||
READ_ONLY: string; | ||
}; | ||
interface TimeShortenings { | ||
[key: string]: any; | ||
} | ||
export declare const TIME_PARTS_SHORTENINGS: TimeShortenings; | ||
export {}; |
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,2 +1,2 @@ | ||
declare function useToggle(initialState: string | boolean, options?: string[] | undefined): (string | boolean | (() => void))[]; | ||
declare function useToggle(initialState: string | boolean, options?: string[] | undefined): [string | boolean, () => void]; | ||
export default useToggle; |
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
Oops, something went wrong.