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 d4cc8e6 commit 651a09a
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 53 deletions.
2 changes: 1 addition & 1 deletion packages/pluggable-widgets-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mendix/pluggable-widgets-tools",
"version": "10.7.3",
"version": "10.7.2",
"description": "Mendix Pluggable Widgets Tools",
"engines": {
"node": ">=16"
Expand Down
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 @@ -26,10 +26,6 @@ export function generatePreviewTypes(
styleObject?: CSSProperties;`
: ""
}
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 651a09a

Please sign in to comment.