Skip to content

Commit

Permalink
feat(api): cleaned up code and added back the validation with render …
Browse files Browse the repository at this point in the history
…reuse
  • Loading branch information
tatarco committed Oct 29, 2024
1 parent c925f5f commit dafafc8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/shared/src/dto/step-schemas/control-schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ import { JSONSchemaDto } from './json-schema-dto';

export interface TipTapNode {
type?: string;
attrs?: Record<string, any>;
content?: TipTapNode[];
marks?: unknown;
marks?: {
type: string;
attrs?: Record<string, any>;
[key: string]: any;
}[];
text?: string;
attrs?: Record<string, unknown>;
[key: string]: any;
}

export interface EmailStepControlSchemaDto {
emailEditor: string;
subject: string;
Expand Down

0 comments on commit dafafc8

Please sign in to comment.