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

16
shared/interface.ts Executable file
View File

@@ -0,0 +1,16 @@
export interface QueryDataResponse<T> {
valid: boolean,
message?: string,
data?: T
}
export interface FormResponse {
valid: boolean,
message?: string,
id?: number | string
}
export interface SelectBoxProps {
label: string;
value: string;
}