Use explicit Ajv ESM entrypoint

This commit is contained in:
Meta Vens 2026-09-28 02:51:12 +02:00
commit 02f13527eb
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
import Ajv2020, { type ValidateFunction } from "ajv/dist/2020";
import Ajv2020, { type ValidateFunction } from "ajv/dist/2020.js";
import documentRecordSchema from "../contracts/cultnet/cultnet.document-record.schema.json";
import helloSchema from "../contracts/cultnet/cultnet.hello.schema.json";

View file

@ -1,4 +1,4 @@
import Ajv2020, { type ErrorObject, type ValidateFunction } from "ajv/dist/2020";
import Ajv2020, { type ErrorObject, type ValidateFunction } from "ajv/dist/2020.js";
import type { CultCacheSchema } from "@gamecult/cultcache-ts";
export interface JsonSchemaContract<TValue> extends CultCacheSchema<TValue> {