@adonisjs/inertia
Version:
Official Inertia.js adapter for AdonisJS
26 lines (25 loc) • 1.1 kB
TypeScript
/**
* Symbol used to mark props that should always be included in responses.
* Props marked with this symbol cannot be filtered out during cherry-picking.
*/
export declare const ALWAYS_PROP: unique symbol;
/**
* Symbol used to mark props that are optional and only included when explicitly requested.
* These props are never included in standard visits and must be cherry-picked.
*/
export declare const OPTIONAL_PROP: unique symbol;
/**
* Symbol used to mark props that should be merged with existing props on the client.
* Props marked with this symbol will be merged rather than replaced during updates.
*/
export declare const TO_BE_MERGED: unique symbol;
/**
* Symbol used to mark props that are deferred and computed lazily.
* These props are skipped in standard visits but communicated to the client for potential loading.
*/
export declare const DEFERRED_PROP: unique symbol;
/**
* Symbol used to indicate that a mergeable prop should use deep merging behavior.
* Deep merging recursively merges nested objects and arrays.
*/
export declare const DEEP_MERGE: unique symbol;