mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
17 lines
466 B
JavaScript
17 lines
466 B
JavaScript
import ApplicationSerializer from 'flarum/serializers/application';
|
|
|
|
export default ApplicationSerializer.extend({
|
|
attrs: {
|
|
number: {serialize: false},
|
|
time: {serialize: false},
|
|
type: {serialize: false},
|
|
contentHtml: {serialize: false},
|
|
editTime: {serialize: false},
|
|
editUser: {serialize: false},
|
|
hideTime: {serialize: false},
|
|
hideUser: {serialize: false},
|
|
canEdit: {serialize: false},
|
|
canDelete: {serialize: false}
|
|
}
|
|
});
|