mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
20 lines
404 B
TypeScript
20 lines
404 B
TypeScript
import { Transformer } from '@/lib/Transformer/Transformer';
|
|
|
|
export class AttachmentTransformer extends Transformer {
|
|
/**
|
|
* Exclude attributes.
|
|
* @returns {string[]}
|
|
*/
|
|
public excludeAttributes = (): string[] => {
|
|
return ['*'];
|
|
};
|
|
|
|
/**
|
|
* Includeded attributes.
|
|
* @returns {string[]}
|
|
*/
|
|
public includeAttributes = (): string[] => {
|
|
return ['extension', 'key'];
|
|
};
|
|
}
|