The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { Field, Int, ObjectType } from '@nestjs/graphql';
@ObjectType('AiSystemPromptSection')
export class AiSystemPromptSectionDTO {
@Field(() => String)
title: string;
@Field(() => String)
content: string;
@Field(() => Int)
estimatedTokenCount: number;
}
@ObjectType('AiSystemPromptPreview')
export class AiSystemPromptPreviewDTO {
@Field(() => [AiSystemPromptSectionDTO])
sections: AiSystemPromptSectionDTO[];
@Field(() => Int)
estimatedTokenCount: number;
}