Skip to content

Commit

Permalink
adjusting types
Browse files Browse the repository at this point in the history
  • Loading branch information
AbuNavsa committed Dec 2, 2023
1 parent d1903df commit 85cfa21
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions model/src/components/component-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,15 @@ export const ComponentTypes: ComponentDef[] = [
options: {},
schema: {},
},
{
name: "ClientSideFileUploadField",
type: "ClientSideFileUploadField",
title: "Client side file upload field",
subType: "field",
hint: "",
options: {},
schema: {},
},
{
name: "Para",
type: "Para",
Expand Down
12 changes: 6 additions & 6 deletions model/src/components/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,12 +242,12 @@ export interface ClientSideFileUploadFieldComponent {
title: string;
hint: string;
options: {
dropzoneConfig: object;
showNoScriptWarning: boolean;
minimumRequiredFiles: number;
totalOverallFilesize: number;
required: boolean; // these values are set dynamically based on
optionalText: boolean; // minimumRequiredFiles being > 0
dropzoneConfig?: object;
showNoScriptWarning?: boolean;
minimumRequiredFiles?: number;
totalOverallFilesize?: number;
required?: boolean; // these values are set dynamically based on
optionalText?: boolean; // minimumRequiredFiles being > 0
};
schema: {};
}
Expand Down

0 comments on commit 85cfa21

Please sign in to comment.