2023-04-13 11:52:40 +02:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const { getService } = require('../utils');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
getInitData(ctx) {
|
|
|
|
ctx.body = {
|
|
|
|
data: {
|
2023-04-13 18:53:30 +02:00
|
|
|
fieldSizes: getService('field-sizes').getAllFieldSizes(),
|
2023-04-13 11:52:40 +02:00
|
|
|
},
|
|
|
|
};
|
|
|
|
},
|
|
|
|
};
|