-- HousingDecorGuide/data/HDG_CrateLibrary.lua
-- Curated starter library — themed crate templates that ship with the addon.
-- The v3-curated-library migration seeds these into state.collections under
-- IDs "lib_curated:<key>" on first run. Player deletes are remembered via
-- state.curatedSeeded[key] so updates won't re-import a template the player
-- threw out.
--
-- Each entry produces a state.collections row of type="library" that the
-- Stamp UI lists alongside player-saved templates. Members are decorIDs;
-- leaving members empty is OK — the stamp flow still creates a named crate
-- in the target room with the right shape hint, and the player fills via
-- the picker.

local _, privateDB = ...

local CURATED = {
    {
        key  = "vrykul_throne_hall",
        name = "Vrykul Throne Hall",
        hint = "cross_shape",
        members = {},
        origin  = "vamoose:v1.0",
    },
    {
        key  = "cosy_hearthstone",
        name = "Cosy Hearthstone",
        hint = "square_m",
        members = {},
        origin  = "vamoose:v1.0",
    },
    {
        key  = "tavern_essentials",
        name = "Tavern Essentials",
        hint = "octagon_m",
        members = {},
        origin  = "vamoose:v1.0",
    },
    {
        key  = "library_study",
        name = "Library / Study",
        hint = "square_m",
        members = {},
        origin  = "vamoose:v1.0",
    },
    {
        key  = "garden_sanctum",
        name = "Garden Sanctum",
        hint = "circle_evening",
        members = {},
        origin  = "vamoose:v1.0",
    },
    {
        key  = "winter_chalet",
        name = "Winter Chalet",
        hint = "tall_room",
        members = {},
        origin  = "vamoose:v1.0",
    },
    {
        key  = "vrykul_armory",
        name = "Vrykul Armory",
        hint = "l_shape",
        members = {},
        origin  = "vamoose:v1.0",
    },
}

local M = { entries = CURATED }

function M.GetEntries() return CURATED end

if privateDB then privateDB.HDG_CrateLibrary = M end
return M
