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:
16
shared/interface.ts
Executable file
16
shared/interface.ts
Executable 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;
|
||||
}
|
||||
Reference in New Issue
Block a user