feat(SW-237): Cache revalidation support
This commit is contained in:
@@ -16,6 +16,7 @@ import {
|
||||
validateBookingWidgetToggleSchema,
|
||||
ValidateBookingWidgetToggleType,
|
||||
} from "./output"
|
||||
import { affix as bookingwidgetAffix } from "./utils"
|
||||
|
||||
import { ContentTypeEnum } from "@/types/requests/contentType"
|
||||
|
||||
@@ -65,7 +66,7 @@ export const bookingwidgetQueryRouter = router({
|
||||
},
|
||||
{
|
||||
next: {
|
||||
tags: [generateTag(lang, uid, "bookingwidget")],
|
||||
tags: [generateTag(lang, uid, bookingwidgetAffix)],
|
||||
},
|
||||
}
|
||||
)
|
||||
|
||||
1
server/routers/contentstack/bookingwidget/utils.ts
Normal file
1
server/routers/contentstack/bookingwidget/utils.ts
Normal file
@@ -0,0 +1 @@
|
||||
export const affix = "bookingwidget"
|
||||
Reference in New Issue
Block a user