Files
bigcapital/packages/server/src/modules/Attachments/Attachment.transformer.ts
Ahmed Bouhuolia ec8aec440b wip
2026-05-31 23:40:54 +02:00

20 lines
397 B
TypeScript

import { Transformer } from '../Transformer/Transformer';
export class AttachmentTransformer extends Transformer {
/**
* Exclude attributes.
* @returns {string[]}
*/
public excludeAttributes = (): string[] => {
return ['id', 'createdAt'];
};
/**
* Includeded attributes.
* @returns {string[]}
*/
public includeAttributes = (): string[] => {
return [];
};
}