- 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.
16 lines
288 B
TypeScript
Executable File
16 lines
288 B
TypeScript
Executable File
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;
|
|
} |