/** * @type CacheRule: A cache rule configuration. * * @property ruleId: The unique identifier for the cache rule. * - **Pattern:** /^.*$/ * * @property description: A description of what the cache rule does. * - **Pattern:** /^.*$/ * * @property expression: The expression that defines when this cache rule applies. * - **Pattern:** /^.*$/ * * @property action: The action to take (\"cache\" to enable caching, \"bypass\" to bypass cache). * - **Pattern:** /^.*$/ * * @property excludeQueryStrings: List of query string parameters to exclude from the cache key. * * @property ignoreQueryStringsOrder: Specifies whether the order of query string parameters in the cache key is ignored. * * @property respectStrongEtags: Specifies whether strong ETags are respected. * * @property lastUpdated: The timestamp when the rule was last updated. * * @property enabled: Specifies whether the rule is enabled. * */ export type CacheRule = { ruleId: string; description: string; expression: string; action: string; excludeQueryStrings?: Array; ignoreQueryStringsOrder?: boolean; respectStrongEtags?: boolean; lastUpdated?: string; enabled: boolean; } & { [key: string]: any; };