oak-general-business/src/components/system/application/index.ts

21 lines
382 B
TypeScript

export default OakComponent({
entity: 'application',
isList: true,
projection: {
id: 1,
name: 1,
config: 1,
description: 1,
type: 1,
systemId: 1,
domainId: 1,
},
properties: {
systemId: '',
},
formData({ data }) {
return {
applications: data || [],
};
},
});