feat : remove legacy feature
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
export const INVALIDATION_TYPES = [
|
||||
"directory.updated",
|
||||
"page.updated",
|
||||
"data-source.updated",
|
||||
"admin.updated",
|
||||
] as const;
|
||||
|
||||
@@ -30,8 +29,6 @@ export function expectedTopic(event: InvalidationEvent): string {
|
||||
return "directory";
|
||||
case "page.updated":
|
||||
return `page:${event.id}`;
|
||||
case "data-source.updated":
|
||||
return `data-source:${event.id}`;
|
||||
case "admin.updated":
|
||||
return "admin";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user