Add comprehensive models and script for handling inline scripts and structured data

- Implement `remove-inline-scripts.js` to externalize Next.js inline scripts, enhancing CSP compliance.
- Add models for `Book`, `Character`, `Story`, `Editor`, `System`, and `BookSerie` with relevant properties and utilities.
- Include macOS entitlements plist for app development with advanced permissions.
- Add utility functions to handle script hashing, cookie management, and content formatting.
This commit is contained in:
natreex
2025-11-16 19:56:14 -05:00
parent a1fcca45cb
commit b4eafca3bc
41 changed files with 4142 additions and 0 deletions

19
lib/models/Session.ts Executable file
View File

@@ -0,0 +1,19 @@
import {UserProps} from "@/lib/models/User";
export interface SessionProps {
isConnected: boolean,
accessToken: string;
user: UserProps | null;
}
export interface LoginResponse {
valid: boolean,
message?: string,
token?: string,
userid?: string
}
export default class Session {
constructor() {
}
}