oak-general-business/es/components/platform/panel/index.js

49 lines
1.3 KiB
JavaScript

export default OakComponent({
isList: false,
entity: 'platform',
projection: {
id: 1,
name: 1,
config: 1,
description: 1,
style: 1,
// system$platform: {
// $entity: 'system',
// data: {
// id: 1,
// name: 1,
// config: 1,
// description: 1,
// super: 1,
// folder: 1,
// platformId: 1,
// style: 1,
// domain$system: {
// $entity: 'domain',
// data: {
// id: 1,
// systemId: 1,
// url: 1,
// },
// },
// application$system: {
// $entity: 'application',
// data: {
// id: 1,
// name: 1,
// config: 1,
// description: 1,
// type: 1,
// systemId: 1,
// domainId: 1,
// style: 1,
// }
// }
// }
// }
},
formData({ data }) {
return data || {};
},
});