Files
pr-preview/node_modules/fast-check/lib/arbitrary/float64Array.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

18 lines
632 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.float64Array = float64Array;
const double_1 = require("./double");
const array_1 = require("./array");
const globals_1 = require("../utils/globals");
function toTypedMapper(data) {
return globals_1.Float64Array.from(data);
}
function fromTypedUnmapper(value) {
if (!(value instanceof globals_1.Float64Array))
throw new Error('Unexpected type');
return [...value];
}
function float64Array(constraints = {}) {
return (0, array_1.array)((0, double_1.double)(constraints), constraints).map(toTypedMapper, fromTypedUnmapper);
}