Skip to content

Commit f44c7d6

Browse files
committed
import relative
1 parent e794af4 commit f44c7d6

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

packages/convex-helpers/server/validators.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ import {
2929
import { type GenericId, v, type Infer, type ObjectType } from "convex/values";
3030
import { assertType, describe, expect, expectTypeOf, test } from "vitest";
3131
import { modules } from "./setup.test.js";
32-
import { getOrThrow } from "convex-helpers/server/relationships";
32+
import { getOrThrow } from "./relationships.js";
3333
import { validate } from "../validators.js";
3434
import { fail } from "assert";
35-
import { type Expand } from "convex-helpers";
35+
import { type Expand } from "../index.js";
3636

3737
export const testLiterals = internalQueryGeneric({
3838
args: {

packages/convex-helpers/validators.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1+
import type {
2+
DataModelFromSchemaDefinition,
3+
GenericDatabaseReader,
4+
GenericDataModel,
5+
SchemaDefinition,
6+
TableNamesInDataModel,
7+
} from "convex/server";
18
import type {
29
GenericValidator,
310
Infer,
411
ObjectType,
512
OptionalProperty,
613
PropertyValidators,
14+
Validator,
715
VLiteral,
816
VObject,
917
VOptional,
1018
VString,
1119
VUnion,
12-
Validator,
1320
} from "convex/values";
1421
import { v } from "convex/values";
1522
import type { Expand } from "./index.js";
16-
import type {
17-
DataModelFromSchemaDefinition,
18-
GenericDatabaseReader,
19-
GenericDataModel,
20-
SchemaDefinition,
21-
TableNamesInDataModel,
22-
} from "convex/server";
23-
import { assert } from "convex-helpers";
23+
import { assert } from "./index.js";
2424

2525
/**
2626
* Helper for defining a union of literals more concisely.

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"allowSyntheticDefaultImports": true,
99
"strict": true,
1010
"forceConsistentCasingInFileNames": true,
11-
"module": "ESNext",
12-
"moduleResolution": "Node",
11+
"module": "NodeNext",
12+
"moduleResolution": "NodeNext",
1313
"resolveJsonModule": true,
1414
"isolatedModules": true,
1515
"noEmit": true,

0 commit comments

Comments
 (0)