Skip to content

Commit

Permalink
fix: export interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasssadar committed Jul 11, 2024
1 parent bbde3a4 commit 64fce06
Show file tree
Hide file tree
Showing 13 changed files with 37 additions and 37 deletions.
6 changes: 3 additions & 3 deletions docs/robot/demo/demo_project/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce1/example-gridui/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce1/example1/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce2/blank_project/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce3/project3/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce4/project4/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce6/example6/src/libs/colors.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce6/project6/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekce8/project8/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/lekceCara/projectCara/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
6 changes: 3 additions & 3 deletions docs/robot/libs/colors.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };
2 changes: 1 addition & 1 deletion docs/robutekLibrary/Robutek-library/src/libs/VL53L0X.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const C = {
REG_RESULT_RANGE_STATUS: 0x0014
};

type Measurement = {
export type Measurement = {
distance: number,
signalRate: number,
ambientRate: number,
Expand Down
6 changes: 3 additions & 3 deletions docs/robutekLibrary/Robutek-library/src/libs/colors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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 };
export const off : Rgb = { r: 0, g: 0, b: 0 };

0 comments on commit 64fce06

Please sign in to comment.