Prisma · Schema

CacheInvalidationResponse

Confirmation of cache invalidation

Properties

Name Type Description
success boolean Whether the invalidation was successful
invalidatedTags array Tags that were successfully invalidated
View JSON Schema on GitHub

JSON Schema

prisma-cacheinvalidationresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CacheInvalidationResponse",
  "title": "CacheInvalidationResponse",
  "type": "object",
  "description": "Confirmation of cache invalidation",
  "properties": {
    "success": {
      "type": "boolean",
      "description": "Whether the invalidation was successful"
    },
    "invalidatedTags": {
      "type": "array",
      "description": "Tags that were successfully invalidated",
      "items": {
        "type": "string"
      }
    }
  }
}