a71f801c3f
- 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>
27 lines
766 B
TypeScript
27 lines
766 B
TypeScript
export { digest } from 'ohash/crypto';
|
|
export { i as isEqual } from './shared/ohash.CMR0vuBX.mjs';
|
|
|
|
/**
|
|
* Serializes any input value into a string for hashing.
|
|
*
|
|
* This method uses best efforts to generate stable serialized values.
|
|
* However, it is not designed for security purposes.
|
|
* Keep in mind that there is always a chance of intentional collisions caused by user input.
|
|
*
|
|
* @param input any value to serialize
|
|
* @return {string} serialized string value
|
|
*/
|
|
declare function serialize(input: any): string;
|
|
|
|
/**
|
|
* Hashes any JS value into a string.
|
|
*
|
|
* The input is first serialized and then hashed.
|
|
*
|
|
* @param input any value to serialize
|
|
* @return {string} hash value
|
|
*/
|
|
declare function hash(input: any): string;
|
|
|
|
export { hash, serialize };
|