- 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
41 lines
1.6 KiB
TypeScript
41 lines
1.6 KiB
TypeScript
import type { BaseRoot } from "../roots/root.ts";
|
|
import type { BaseErrorContext, declareNode } from "../shared/declare.ts";
|
|
import { type nodeImplementationOf } from "../shared/implement.ts";
|
|
import type { JsonSchema } from "../shared/jsonSchema.ts";
|
|
import type { TraverseAllows } from "../shared/traversal.ts";
|
|
import { BaseRange, type BaseRangeInner, type LengthBoundableData, type UnknownExpandedRangeSchema, type UnknownNormalizedRangeSchema } from "./range.ts";
|
|
export declare namespace MinLength {
|
|
interface Inner extends BaseRangeInner {
|
|
rule: number;
|
|
}
|
|
interface NormalizedSchema extends UnknownNormalizedRangeSchema {
|
|
rule: number;
|
|
}
|
|
interface ExpandedSchema extends UnknownExpandedRangeSchema {
|
|
rule: number;
|
|
}
|
|
type Schema = ExpandedSchema | number;
|
|
interface ErrorContext extends BaseErrorContext<"minLength">, Inner {
|
|
}
|
|
interface Declaration extends declareNode<{
|
|
kind: "minLength";
|
|
schema: Schema;
|
|
normalizedSchema: NormalizedSchema;
|
|
inner: Inner;
|
|
prerequisite: LengthBoundableData;
|
|
reducibleTo: "intersection";
|
|
errorContext: ErrorContext;
|
|
}> {
|
|
}
|
|
type Node = MinLengthNode;
|
|
}
|
|
export declare class MinLengthNode extends BaseRange<MinLength.Declaration> {
|
|
readonly impliedBasis: BaseRoot;
|
|
traverseAllows: TraverseAllows<LengthBoundableData>;
|
|
reduceJsonSchema(schema: JsonSchema.LengthBoundable): JsonSchema.LengthBoundable;
|
|
}
|
|
export declare const MinLength: {
|
|
implementation: nodeImplementationOf<MinLength.Declaration>;
|
|
Node: typeof MinLengthNode;
|
|
};
|