Skip to content

Commit

Permalink
Review: Removed some redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrik-jacobs-mendix committed Jul 9, 2024
1 parent ff3ceaf commit fe64f6e
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export interface MyWidgetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
reference: string;
referenceSet: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
collapsed: string;
onToggleCollapsed: {} | null;
Expand Down Expand Up @@ -55,9 +52,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
onToggleCollapsed: {} | null;
datasourceProperties: DatasourcePropertiesPreviewType[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ export interface MyWidgetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
content: { widgetCount: number; renderer: ComponentType<{ children: ReactNode; caption?: string }> };
description: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
contentSource: {} | { caption: string } | { type: string } | null;
optionalSource: {} | { caption: string } | { type: string } | null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ export interface MyWidgetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
myDataSource: {} | { caption: string } | { type: string } | null;
expressionReturnTypeType: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
file: string;
file2: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
icons: IconsPreviewType[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ export interface MyWidgetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
valueAttribute: string;
mywidgetValue: string;
Expand Down Expand Up @@ -128,9 +125,6 @@ export interface MyWidgetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
valueAttribute: string;
mywidgetValue: string;
Expand Down Expand Up @@ -195,9 +189,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
valueAttribute: string;
mywidgetValue: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
actions: ActionsPreviewType[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ export interface MyWidgetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
dataSource: {} | { caption: string } | { type: string } | null;
reference: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
actions: ActionsPreviewType[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ export interface MyWidgetContainerProps {
export interface MyWidgetPreviewProps {
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
actions: ActionsPreviewType[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ export interface MyWidgetPreviewProps {
style: string;
styleObject?: CSSProperties;
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
selectionAll: "None" | "Single" | "Multi";
selectionSingleMulti: "Single" | "Multi";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export function generatePreviewTypes(
: ""
}
readOnly: boolean;
/**
* Introduced in version 10.11.0 otherwise it will be undefined
*/
renderMode?: "design" | "xray" | "structure";
${generatePreviewTypeBody(properties, results, resolveProp)}
}`);
Expand Down

0 comments on commit fe64f6e

Please sign in to comment.