Updated Supabase dependency across multiple packages from "^2.41.1" to "^2.42.0". Removed files handling sidebar state and theme cookies. Created a new Logger interface for managing log messages in the shared package. Enhanced the middleware to track accounts membership webhook payload. Minor adjustments were also made in multiple package.json files.
18 lines
374 B
TypeScript
18 lines
374 B
TypeScript
type LogFn = {
|
|
<T extends object>(obj: T, msg?: string, ...args: unknown[]): void;
|
|
(obj: unknown, msg?: string, ...args: unknown[]): void;
|
|
(msg: string, ...args: unknown[]): void;
|
|
};
|
|
|
|
/**
|
|
* @name Logger
|
|
* @description Logger interface for logging messages
|
|
*/
|
|
export interface Logger {
|
|
info: LogFn;
|
|
error: LogFn;
|
|
warn: LogFn;
|
|
debug: LogFn;
|
|
fatal: LogFn;
|
|
}
|