The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { Field, ObjectType, registerEnumType } from '@nestjs/graphql';
import {
ALL_METADATA_NAME,
type AllMetadataName,
} from 'twenty-shared/metadata';
registerEnumType(ALL_METADATA_NAME, {
name: 'AllMetadataName',
});
@ObjectType('CollectionHash')
export class CollectionHashDTO {
@Field(() => ALL_METADATA_NAME)
collectionName: AllMetadataName;
@Field(() => String)
hash: string;
}