UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

54 lines (53 loc) 1.47 kB
import { SYNAPSE_STORAGE_LOCATION_ID as e } from "../../synapse-client/SynapseClient.js"; import "@sage-bionetworks/synapse-client/generated/models/ErrorResponseCode"; import "@sage-bionetworks/synapse-client/generated/models/TwoFactorAuthErrorResponse"; import "@sage-bionetworks/synapse-client/util/SynapseClientError"; import "@sage-bionetworks/synapse-types"; import "../../utils/functions/EntityTypeUtils.js"; import "../../utils/SynapseConstants.js"; import "lodash-es"; import "@sage-bionetworks/synapse-client/util/synapseClientFetch"; const t = "syn54321", o = "syn12345", L = { projectId: t, locations: [ { storageLocationId: e, sumFileBytes: 12e8, // 1.2 GB maxAllowedFileBytes: 1073741824, // 1 GB limit isOverLimit: !0 // Over the limit }, { storageLocationId: 2, sumFileBytes: 1e8, maxAllowedFileBytes: 1073741824, isOverLimit: !1 } ] }, p = { projectId: o, locations: [ { storageLocationId: e, sumFileBytes: 5420135, maxAllowedFileBytes: 5571138, isOverLimit: !1 // Under the limit }, { storageLocationId: 2, sumFileBytes: 1e3, maxAllowedFileBytes: 1073741824, isOverLimit: !1 } ] }; export { t as OVER_LIMIT_PROJECT_ID, o as UNDER_LIMIT_PROJECT_ID, L as mockProjectStorageUsageOverLimit, p as mockProjectStorageUsageUnderLimit }; //# sourceMappingURL=mockProjectStorageLimits.js.map