'use strict';

var chunkAGHRB4JF = require('./chunk-AGHRB4JF.js');

// src/diagrams/common/populateCommonDb.ts
function populateCommonDb(ast, db) {
  if (ast.accDescr) {
    db.setAccDescription?.(ast.accDescr);
  }
  if (ast.accTitle) {
    db.setAccTitle?.(ast.accTitle);
  }
  if (ast.title) {
    db.setDiagramTitle?.(ast.title);
  }
}
chunkAGHRB4JF.__name(populateCommonDb, "populateCommonDb");

exports.populateCommonDb = populateCommonDb;
