mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-06-01 07:29:01 +00:00
20 lines
397 B
TypeScript
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 [];
|
|
};
|
|
}
|