Files
pr-preview/node_modules/effect/dist/esm/TestSized.js
T
space a71f801c3f feat: initial scaffold - backend, frontend, Prisma schema, Docker
- Prisma schema: User, Session, RepoConfig, Preview, Job, WebhookToken, NoConfigComment, AdminSettings
- Backend: auth (login/logout/me/first-user setup), webhook handler with HMAC verification, EC2 service, SSH service, deploy pipeline, job queue worker, cron workers
- Frontend: Login with first-user detection, Dashboard, PreviewDetail with live log streaming, Settings, Repos config, Admin panel, SetupWizard, Privacy page
- Docker Compose and Dockerfile for self-hosted deployment
- Uses bcryptjs for Node 24 compatibility

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-25 00:18:08 +02:00

36 lines
841 B
JavaScript

/**
* @since 2.0.0
*/
import * as Context from "./Context.js";
import * as core from "./internal/core.js";
/**
* @since 2.0.0
*/
export const TestSizedTypeId = /*#__PURE__*/Symbol.for("effect/TestSized");
/**
* @since 2.0.0
*/
export const TestSized = /*#__PURE__*/Context.GenericTag("effect/TestSized");
/** @internal */
class SizedImpl {
fiberRef;
[TestSizedTypeId] = TestSizedTypeId;
constructor(fiberRef) {
this.fiberRef = fiberRef;
}
get size() {
return core.fiberRefGet(this.fiberRef);
}
withSize(size) {
return effect => core.fiberRefLocally(this.fiberRef, size)(effect);
}
}
/**
* @since 2.0.0
*/
export const make = size => new SizedImpl(core.fiberRefUnsafeMake(size));
/**
* @since 2.0.0
*/
export const fromFiberRef = fiberRef => new SizedImpl(fiberRef);
//# sourceMappingURL=TestSized.js.map