synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
31 lines (30 loc) • 1.2 kB
JavaScript
import { mockProjectStorageUsageOverLimit as m, mockProjectStorageUsageUnderLimit as i, OVER_LIMIT_PROJECT_ID as p, UNDER_LIMIT_PROJECT_ID as s } from "../../projectStorage/mockProjectStorageLimits.js";
import { PROJECT_STORAGE_USAGE as o } from "../../../utils/APIConstants.js";
import "@sage-bionetworks/synapse-types";
import "../../../utils/functions/EntityTypeUtils.js";
import { getEndpoint as n, BackendDestinationEnum as E } from "../../../utils/functions/getEndpoint.js";
import "../../../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-client/util/synapseClientFetch";
import "lodash-es";
import { http as r, HttpResponse as e } from "msw";
const S = (t = n(E.REPO_ENDPOINT)) => [
r.get(
`${t}${o(p)}`,
() => e.json(m, {
status: 201
})
),
r.get(
`${t}${o(s)}`,
() => e.json(i, {
status: 201
})
)
];
export {
S as getProjectStorageHandlers
};
//# sourceMappingURL=projectStorageHandlers.js.map