- Created separate MoneyFlix project directory - Copied Node.js redirector from production server - Added CRM PHP code (Redirects module, Core classes, Config, Routes, Views) - Created comprehensive documentation (README_MONEYFLIX.md) - Added sync script to keep CRM code updated (sync-from-crm.sh) - Configured .gitignore for Node.js and PHP - Set up proper project structure for multi-client isolation This separates MoneyFlix from the main CRM to avoid confusion between different client systems and provides a dedicated environment for MoneyFlix-specific development and maintenance.
18 lines
491 B
TypeScript
18 lines
491 B
TypeScript
import { Plugin } from "../types/options";
|
|
export interface MinMaxTime {
|
|
minTime?: string;
|
|
maxTime?: string;
|
|
}
|
|
export interface Config {
|
|
table?: Record<string, MinMaxTime>;
|
|
getTimeLimits?: (date: Date) => MinMaxTime;
|
|
tableDateFormat?: string;
|
|
}
|
|
export interface State {
|
|
formatDate: (date: Date, f: string) => string;
|
|
tableDateFormat: string;
|
|
defaults: MinMaxTime;
|
|
}
|
|
declare function minMaxTimePlugin(config?: Config): Plugin;
|
|
export default minMaxTimePlugin;
|