mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: api keys
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { Transformer } from '@/modules/Transformer/Transformer';
|
||||
|
||||
export class GetApiKeysTransformer extends Transformer {
|
||||
public includeAttributes = (): string[] => {
|
||||
return [
|
||||
'id',
|
||||
'key',
|
||||
'name',
|
||||
'createdAt',
|
||||
'expiresAt',
|
||||
'revoked',
|
||||
'userId',
|
||||
'tenantId',
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user