Files
klz-cables.com/.pnpm-store/v10/files/fa/f93a4292122527b67ba49d6664c8bd4795bd0066394daeb105e92371afae3fae999f368f50859584896cd317fb20d452e78bed8f5822138b560f0df39f9355
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

24 lines
855 B
Plaintext

import type { DrizzleAdapter } from '../types.js';
import { extendDrizzleTable } from './extendDrizzleTable.js';
type DatabaseSchema = {
enums?: DrizzleAdapter['enums'];
relations: Record<string, any>;
tables: DrizzleAdapter['tables'];
};
type Adapter = {
afterSchemaInit: DatabaseSchemaHook[];
beforeSchemaInit: DatabaseSchemaHook[];
} & DatabaseSchema;
type DatabaseSchemaHookArgs = {
adapter: Record<string, unknown>;
extendTable: typeof extendDrizzleTable;
schema: DatabaseSchema;
};
type DatabaseSchemaHook = (args: DatabaseSchemaHookArgs) => DatabaseSchema | Promise<DatabaseSchema>;
type Args = {
adapter: Adapter;
type: 'afterSchemaInit' | 'beforeSchemaInit';
};
export declare const executeSchemaHooks: ({ type, adapter }: Args) => Promise<void>;
export {};
//# sourceMappingURL=executeSchemaHooks.d.ts.map