From 64fce06b9fe6cb6986ab3518b3985e3a7a97f2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Bo=C4=8Dek?= Date: Thu, 11 Jul 2024 11:17:39 +0200 Subject: [PATCH] fix: export interfaces --- docs/robot/demo/demo_project/src/libs/colors.ts | 6 +++--- docs/robot/lekce1/example-gridui/src/libs/colors.ts | 6 +++--- docs/robot/lekce1/example1/src/libs/colors.ts | 6 +++--- docs/robot/lekce2/blank_project/src/libs/colors.ts | 6 +++--- docs/robot/lekce3/project3/src/libs/colors.ts | 6 +++--- docs/robot/lekce4/project4/src/libs/colors.ts | 6 +++--- docs/robot/lekce6/example6/src/libs/colors.ts | 6 +++--- docs/robot/lekce6/project6/src/libs/colors.ts | 6 +++--- docs/robot/lekce8/project8/src/libs/colors.ts | 6 +++--- docs/robot/lekceCara/projectCara/src/libs/colors.ts | 6 +++--- docs/robot/libs/colors.ts | 6 +++--- docs/robutekLibrary/Robutek-library/src/libs/VL53L0X.ts | 2 +- docs/robutekLibrary/Robutek-library/src/libs/colors.ts | 6 +++--- 13 files changed, 37 insertions(+), 37 deletions(-) diff --git a/docs/robot/demo/demo_project/src/libs/colors.ts b/docs/robot/demo/demo_project/src/libs/colors.ts index 3f06631f..a4834432 100644 --- a/docs/robot/demo/demo_project/src/libs/colors.ts +++ b/docs/robot/demo/demo_project/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce1/example-gridui/src/libs/colors.ts b/docs/robot/lekce1/example-gridui/src/libs/colors.ts index de76a121..d4a20d0f 100644 --- a/docs/robot/lekce1/example-gridui/src/libs/colors.ts +++ b/docs/robot/lekce1/example-gridui/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce1/example1/src/libs/colors.ts b/docs/robot/lekce1/example1/src/libs/colors.ts index de76a121..d4a20d0f 100644 --- a/docs/robot/lekce1/example1/src/libs/colors.ts +++ b/docs/robot/lekce1/example1/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce2/blank_project/src/libs/colors.ts b/docs/robot/lekce2/blank_project/src/libs/colors.ts index de76a121..d4a20d0f 100644 --- a/docs/robot/lekce2/blank_project/src/libs/colors.ts +++ b/docs/robot/lekce2/blank_project/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce3/project3/src/libs/colors.ts b/docs/robot/lekce3/project3/src/libs/colors.ts index de76a121..d4a20d0f 100644 --- a/docs/robot/lekce3/project3/src/libs/colors.ts +++ b/docs/robot/lekce3/project3/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce4/project4/src/libs/colors.ts b/docs/robot/lekce4/project4/src/libs/colors.ts index de76a121..d4a20d0f 100644 --- a/docs/robot/lekce4/project4/src/libs/colors.ts +++ b/docs/robot/lekce4/project4/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce6/example6/src/libs/colors.ts b/docs/robot/lekce6/example6/src/libs/colors.ts index fb4417b2..30f3f11d 100644 --- a/docs/robot/lekce6/example6/src/libs/colors.ts +++ b/docs/robot/lekce6/example6/src/libs/colors.ts @@ -1,5 +1,5 @@ /* Barva je jednoduchá trojice červené, zelené, a modré složky */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -10,7 +10,7 @@ interface Rgb { - Saturation: sytost barev (rozsah 0-1) - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -61,4 +61,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce6/project6/src/libs/colors.ts b/docs/robot/lekce6/project6/src/libs/colors.ts index 3f06631f..a4834432 100644 --- a/docs/robot/lekce6/project6/src/libs/colors.ts +++ b/docs/robot/lekce6/project6/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekce8/project8/src/libs/colors.ts b/docs/robot/lekce8/project8/src/libs/colors.ts index 950adfbe..16c43f19 100644 --- a/docs/robot/lekce8/project8/src/libs/colors.ts +++ b/docs/robot/lekce8/project8/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/lekceCara/projectCara/src/libs/colors.ts b/docs/robot/lekceCara/projectCara/src/libs/colors.ts index de76a121..d4a20d0f 100644 --- a/docs/robot/lekceCara/projectCara/src/libs/colors.ts +++ b/docs/robot/lekceCara/projectCara/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robot/libs/colors.ts b/docs/robot/libs/colors.ts index e43ba882..9c648f05 100644 --- a/docs/robot/libs/colors.ts +++ b/docs/robot/libs/colors.ts @@ -1,5 +1,5 @@ /* Barva je jednoduchá trojice červené, zelené, a modré složky */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -10,7 +10,7 @@ interface Rgb { - Saturation: sytost barev (rozsah 0-1) - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -60,4 +60,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 }; diff --git a/docs/robutekLibrary/Robutek-library/src/libs/VL53L0X.ts b/docs/robutekLibrary/Robutek-library/src/libs/VL53L0X.ts index 60f0bd88..f57705c1 100644 --- a/docs/robutekLibrary/Robutek-library/src/libs/VL53L0X.ts +++ b/docs/robutekLibrary/Robutek-library/src/libs/VL53L0X.ts @@ -7,7 +7,7 @@ const C = { REG_RESULT_RANGE_STATUS: 0x0014 }; -type Measurement = { +export type Measurement = { distance: number, signalRate: number, ambientRate: number, diff --git a/docs/robutekLibrary/Robutek-library/src/libs/colors.ts b/docs/robutekLibrary/Robutek-library/src/libs/colors.ts index de76a121..d4a20d0f 100644 --- a/docs/robutekLibrary/Robutek-library/src/libs/colors.ts +++ b/docs/robutekLibrary/Robutek-library/src/libs/colors.ts @@ -4,7 +4,7 @@ * - G: zelená (rozsah 0-255) * - B: modrá (rozsah 0-255) */ -interface Rgb { +export interface Rgb { r: number; g: number; b: number; @@ -17,7 +17,7 @@ interface Rgb { * - Saturation: sytost barev (rozsah 0-1) * - Lightness: světlost (rozsah 0-1) */ -interface Hsl { +export interface Hsl { h: number; s: number; l: number; @@ -78,4 +78,4 @@ export const blue = rainbow( 240 ); export const purple = rainbow( 285 ); export const pink = rainbow( 323 ); export const white : Rgb = { r: 100, g: 100, b: 100 }; -export const off : Rgb = { r: 0, g: 0, b: 0 }; \ No newline at end of file +export const off : Rgb = { r: 0, g: 0, b: 0 };