2020-06-17 21:05:13 +03:00
|
|
|
export const POLLING_RATE = 5000;
|
2020-09-28 20:48:44 +03:00
|
|
|
export const MAX_BUCKET_COUNT = 100;
|
2020-07-30 02:14:26 +03:00
|
|
|
export const POWERGATE_HOST = "https://grpcweb.slate.textile.io";
|
2020-09-12 06:43:28 +03:00
|
|
|
export const IPFS_GATEWAY_URL = "https://slate.textile.io/ipfs";
|
2020-07-22 12:37:40 +03:00
|
|
|
export const FILE_STORAGE_URL = "./public/static/files/";
|
2020-07-30 02:14:26 +03:00
|
|
|
export const GITHUB_URL = "https://github.com/filecoin-project/slate";
|
2020-08-17 04:59:06 +03:00
|
|
|
export const ANALYTICS_URL = "https://slate-stats-dev.azurewebsites.net/";
|
2020-08-04 05:45:59 +03:00
|
|
|
|
2021-03-27 01:09:57 +03:00
|
|
|
// NOTE(toast): 30 GB from jim/martina/ignacio
|
|
|
|
export const TEXTILE_ACCOUNT_BYTE_LIMIT = 1073741824 * 30;
|
2020-10-11 01:24:05 +03:00
|
|
|
|
2021-03-27 01:09:57 +03:00
|
|
|
// NOTE(jim): 30 GB - minus .textileseed
|
2020-10-11 01:24:05 +03:00
|
|
|
export const TEXTILE_BUCKET_LIMIT = TEXTILE_ACCOUNT_BYTE_LIMIT - 234;
|
2020-10-19 07:15:26 +03:00
|
|
|
|
|
|
|
// NOTE(jim): 100mb
|
|
|
|
export const MIN_ARCHIVE_SIZE_BYTES = 104857600;
|
2021-05-25 01:19:48 +03:00
|
|
|
|
2021-06-09 01:53:30 +03:00
|
|
|
// NOTE(amine): 15 minutes
|
|
|
|
export const TOKEN_EXPIRATION_TIME = 2 * 60 * 60 * 1000;
|
2021-05-27 11:20:34 +03:00
|
|
|
|
|
|
|
export const userPreviewProperties = ["users.id", "users.data", "users.username"];
|