@appsemble/utils
Version:
Utility functions used in Appsemble internally
17 lines (16 loc) • 607 B
JavaScript
import * as remapperSchemas from '../../../reference-schemas/remappers/index.js';
const remapperList = {};
for (const section of Object.values(remapperSchemas)) {
Object.assign(remapperList, section);
}
export const ObjectRemapperDefinition = {
type: 'object',
description: `An object based remapper is defined by a specific implementation
Object based remappers may only define 1 key. The allowed value depends on the remapper.
`,
minProperties: 1,
maxProperties: 1,
additionalProperties: false,
properties: remapperList,
};
//# sourceMappingURL=ObjectRemapperDefinition.js.map