in public/js/constants/atomData.js [147:161]
export function getCreateUrlFromAtomType(atomType) {
if (isAtomTypeEditable(atomType.type)) {
return `/create/${atomType.type}`;
} else if (!atomType.createUri) {
logInfo(`Create URI requested for type ${atomType.type}, none found`);
return;
}
const store = getStore();
const state = store.getState();
return atomType.createUri({
gutoolsDomain: state.config.atomEditorGutoolsDomain,
});
}