'use strict';
import { createBaseResourceProperties } from '../utils/base-resource-properties.js';
import { dashboard1Id, dashboard2Id } from '../../../fd-toolbox/constants/internal-dashboard-ids.js';
import { workspaceConstants } from '../../../fd-toolbox/server/constants/workspace-constants.js';
import { createDashboard } from './dashboard-db.js';

var __defProp=Object['defineProperty'],__name=(_0x1d4a66,_0x51e464)=>__defProp(_0x1d4a66,'name',{'value':_0x51e464,'configurable':!![]});async function seedDashboards(){await seedDashboard1(),await seedDashboard2();}__name(seedDashboards,'seedDashboards');function seedDashboard(_0x289fd7,_0x1b7fb3){return createDashboard({...createBaseResourceProperties(_0x289fd7),'name':_0x1b7fb3,'workspaceId':workspaceConstants['defaultWorkspaceId']});}__name(seedDashboard,'seedDashboard');function seedDashboard1(){return seedDashboard(dashboard1Id,'Test\x20Dashboard');}__name(seedDashboard1,'seedDashboard1');function seedDashboard2(){return seedDashboard(dashboard2Id,'SB\x20Dashboard');}__name(seedDashboard2,'seedDashboard2');

export { seedDashboards };
