Feat/BOOK-240 hero video
Approved-by: Chuma Mcphoy (We Ahead) Approved-by: Christel Westerberg
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import type { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import { Lang } from "@scandic-hotels/common/constants/language"
|
||||
|
||||
import type { System } from "../routers/contentstack/schemas/system"
|
||||
import type {
|
||||
AssetSystem,
|
||||
System,
|
||||
} from "../routers/contentstack/schemas/system"
|
||||
import type { Edges } from "../types/edges"
|
||||
import type { NodeRefs } from "../types/refs"
|
||||
|
||||
@@ -85,6 +88,14 @@ export function generateTagsFromSystem(
|
||||
})
|
||||
}
|
||||
|
||||
export function generateTagsFromAssetSystem(
|
||||
connections: AssetSystem["system"][]
|
||||
) {
|
||||
return connections.map((system) => {
|
||||
return generateTag(Lang.en, system.content_type_uid, system.uid)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to generate tags for loyalty configuration models
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user