Files
pr-preview/node_modules/fast-check/lib/arbitrary/float32Array.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
628 B
JavaScript

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