Update import paths to use module aliases

This commit is contained in:
2025-10-10 15:50:14 +02:00
parent 827b53e630
commit e02737359c
9 changed files with 23 additions and 18 deletions

View File

@@ -1,8 +1,8 @@
import type { default as Pocketbase, SendOptions } from "pocketbase";
import { fullListOptionsFrom, optionsFrom } from "./options.js";
import type { AnyZodRecord, RecordFullListOpts, RecordIdRef, RecordRef, RecordSlugRef } from "./types.ts";
import { AnyRecordsList } from "./schemas.ts";
import type { RecordsList } from "./schemas.ts";
import { fullListOptionsFrom, optionsFrom } from "@/options.ts";
import type { AnyZodRecord, RecordFullListOpts, RecordIdRef, RecordRef, RecordSlugRef } from "@/types.ts";
import { AnyRecordsList } from "@/schemas.ts";
import type { RecordsList } from "@/schemas.ts";
export function helpersFrom({ fetch, pocketbase }: HelpersFromOpts) {
async function getRecord<C extends string, S extends AnyZodRecord>(ref: RecordSlugRef<C>, opts: GetRecordOpts<S>): Promise<S["_output"]>;