Rocky_Mountain_Vending/.pnpm-store/v10/files/fc/3ff12a92e17574b510b565cbf4442e58f0a896d02fd532cf638b311fcff35de0a7903e1130a479fae26e446bca2b1b9b24326c609c89dc2189c5fa2d3a4c48
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

31 lines
1.2 KiB
Text

import type * as Types from './../types/types.js';
import type * as ModelHandlers from './ModelHandlers.js';
export type FinalizeOptions = Types.Configuration.ParseOptions & {
allTraceEvents: readonly Types.Events.Event[];
};
export interface Handler {
reset(): void;
handleEvent(data: object): void;
finalize(options?: FinalizeOptions): Promise<void>;
data(): unknown;
deps?(): HandlerName[];
handleUserConfig?(config: Types.Configuration.Configuration): void;
}
export type HandlerName = keyof typeof ModelHandlers;
export type EnabledHandlerDataWithMeta<T extends Record<string, Handler>> = {
Meta: Readonly<ReturnType<typeof ModelHandlers['Meta']['data']>>;
} & {
[K in keyof T]: Readonly<ReturnType<T[K]['data']>>;
};
export type HandlersWithMeta<T extends Record<string, Handler>> = {
Meta: typeof ModelHandlers.Meta;
} & {
[K in keyof T]: T[K];
};
export type ParsedTrace = Readonly<EnabledHandlerDataWithMeta<typeof ModelHandlers>>;
type DeepWriteable<T> = {
-readonly [P in keyof T]: DeepWriteable<T[P]>;
};
export type ParsedTraceMutable = DeepWriteable<ParsedTrace>;
export type Handlers = typeof ModelHandlers;
export {};