From 8cc68635e95a135b18d83be3bc4545cabf259684 Mon Sep 17 00:00:00 2001 From: Mees van der Wijk Date: Thu, 28 Aug 2025 23:18:53 +0200 Subject: [PATCH] Updated property specs --- ModuleClientAPIProperty.md | 46 ++++++++++++++++---------------------- ModuleServerAPIProperty.md | 46 ++++++++++++++++---------------------- 2 files changed, 38 insertions(+), 54 deletions(-) diff --git a/ModuleClientAPIProperty.md b/ModuleClientAPIProperty.md index 9b7a98c..613a0a5 100644 --- a/ModuleClientAPIProperty.md +++ b/ModuleClientAPIProperty.md @@ -90,31 +90,7 @@ Description of the property property.description as string; ``` -### _min_ - -The minimal value of the property - -```typescript -property.min as number; -``` - -### _max_ - -The maximal value of the property - -```typescript -property.max as number; -``` - -### _title_ - -Title of the property - -```typescript -property.title as string; -``` - -### _step_ +### _step?_ Step size of the property @@ -122,7 +98,23 @@ Step size of the property property.step as number; ``` -### _allowedValues_ +### _min?_ + +The minimal value of the property + +```typescript +property.min as number; +``` + +### _max?_ + +The maximal value of the property + +```typescript +property.max as number; +``` + +### _allowedValues?_ Title of the property @@ -130,7 +122,7 @@ Title of the property property.allowedValues as { id: string; name: string }; ``` -### _allowedTypes_ +### _allowedTypes?_ Title of the property diff --git a/ModuleServerAPIProperty.md b/ModuleServerAPIProperty.md index 4f716ec..c632115 100644 --- a/ModuleServerAPIProperty.md +++ b/ModuleServerAPIProperty.md @@ -122,31 +122,7 @@ Description of the property property.description as string; ``` -### _min_ - -The minimal value of the property - -```typescript -property.min as number; -``` - -### _max_ - -The maximal value of the property - -```typescript -property.max as number; -``` - -### _title_ - -Title of the property - -```typescript -property.title as string; -``` - -### _step_ +### _step?_ Step size of the property @@ -154,7 +130,23 @@ Step size of the property property.step as number; ``` -### _allowedValues_ +### _min?_ + +The minimal value of the property + +```typescript +property.min as number; +``` + +### _max?_ + +The maximal value of the property + +```typescript +property.max as number; +``` + +### _allowedValues?_ Title of the property @@ -162,7 +154,7 @@ Title of the property property.allowedValues as { id: string; name: string }; ``` -### _allowedTypes_ +### _allowedTypes?_ Title of the property