Type alias GetPaywallForDefaultAudienceParamsInput

GetPaywallForDefaultAudienceParamsInput: {
    fetchPolicy?: Exclude<FetchPolicy, "return_cache_data_if_not_expired_else_load">;
} | {
    fetchPolicy: Extract<FetchPolicy, "return_cache_data_if_not_expired_else_load">;
    maxAgeSeconds: number;
}

Type declaration

  • Optional fetchPolicy?: Exclude<FetchPolicy, "return_cache_data_if_not_expired_else_load">

    Fetch policy

    Remarks

    By default SDK will try to load data from server and will return cached data in case of failure. Otherwise use 'return_cache_data_else_load' to return cached data if it exists.

Type declaration

  • fetchPolicy: Extract<FetchPolicy, "return_cache_data_if_not_expired_else_load">

    Fetch policy

    Remarks

    By default SDK will try to load data from server and will return cached data in case of failure. Otherwise use 'return_cache_data_else_load' to return cached data if it exists.

  • maxAgeSeconds: number

    Max age for cached data.

    Remarks

    Max time (in seconds) the cache is valid in case of 'return_cache_data_if_not_expired_else_load' fetch policy.

Generated using TypeDoc