- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
19 lines
960 B
JavaScript
19 lines
960 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.property = property;
|
|
const Arbitrary_1 = require("../arbitrary/definition/Arbitrary");
|
|
const tuple_1 = require("../../arbitrary/tuple");
|
|
const Property_generic_1 = require("./Property.generic");
|
|
const AlwaysShrinkableArbitrary_1 = require("../../arbitrary/_internals/AlwaysShrinkableArbitrary");
|
|
const globals_1 = require("../../utils/globals");
|
|
function property(...args) {
|
|
if (args.length < 2) {
|
|
throw new Error('property expects at least two parameters');
|
|
}
|
|
const arbs = (0, globals_1.safeSlice)(args, 0, args.length - 1);
|
|
const p = args[args.length - 1];
|
|
(0, globals_1.safeForEach)(arbs, Arbitrary_1.assertIsArbitrary);
|
|
const mappedArbs = (0, globals_1.safeMap)(arbs, (arb) => new AlwaysShrinkableArbitrary_1.AlwaysShrinkableArbitrary(arb));
|
|
return new Property_generic_1.Property((0, tuple_1.tuple)(...mappedArbs), (t) => p(...t));
|
|
}
|