local addonName, dv = ...

local DVD = _G.DecorVendorData

if DVD then
    -- Main shared item database
    dv.ActiveItems = DVD.ActiveItems or dv.ActiveItems or {}

    -- Shared source lists
    dv.npcs = DVD.npcs or dv.npcs or {}
    dv.quests = DVD.quests or dv.quests or {}
    dv.professions = DVD.professions or dv.professions or {}
    dv.achievements = DVD.achievements or dv.achievements or {}
    dv.bossdrops = DVD.bossdrops or dv.bossdrops or {}

    -- Shared camera overrides
    dv.VendorCameraOverrides = DVD.VendorCameraOverrides or dv.VendorCameraOverrides or {}
    dv.DecorCameraOverrides = DVD.DecorCameraOverrides or dv.DecorCameraOverrides or {}
else
    print("|cffff4040DecorVendor: DecorVendorData is missing or loaded too late.|r")
end