-
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.
Merge pull request #77 from PierreBeucher/zod-schema
Zod schema validation
- Loading branch information
Showing
58 changed files
with
2,315 additions
and
1,760 deletions.
There are no files selected for viewing
This file was deleted.
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
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 |
---|---|---|
@@ -1,10 +1,6 @@ | ||
import * as path from 'path'; | ||
|
||
export const CLOUDYPAD_PROVIDER_AWS = "aws" | ||
export const CLOUDYPAD_PROVIDER_PAPERSPACE = "paperspace" | ||
export const CLOUDYPAD_PROVIDER_AZURE = "azure" | ||
export const CLOUDYPAD_PROVIDER_GCP = "gcp" | ||
export type CLOUDYPAD_PROVIDER = typeof CLOUDYPAD_PROVIDER_AWS | typeof CLOUDYPAD_PROVIDER_PAPERSPACE | typeof CLOUDYPAD_PROVIDER_AZURE | typeof CLOUDYPAD_PROVIDER_GCP | ||
|
||
export const CLOUDYPAD_HOME = path.resolve(`${process.env.HOME || ''}/.cloudypad`) | ||
export const CLOUDYPAD_INSTANCES_DIR = path.resolve(`${CLOUDYPAD_HOME}/instances`) | ||
export const CLOUDYPAD_PROVIDER_LIST = [ CLOUDYPAD_PROVIDER_AWS, CLOUDYPAD_PROVIDER_PAPERSPACE, CLOUDYPAD_PROVIDER_AZURE, CLOUDYPAD_PROVIDER_GCP ] as const |
Oops, something went wrong.