triangle-types 1.0.17 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,6 @@ export declare function is_scout_type_id(scout_type_id: any): scout_type_id is S
4
4
  export declare class Scout {
5
5
  readonly scout_id: string;
6
6
  readonly scout_type_id: ScoutTypeID;
7
- readonly number: number;
8
7
  readonly name: string;
9
8
  readonly s3_id_jpeg?: string;
10
9
  readonly [x: string]: any;
@@ -5,7 +5,6 @@ export function is_scout_type_id(scout_type_id) {
5
5
  export class Scout {
6
6
  scout_id;
7
7
  scout_type_id;
8
- number;
9
8
  name;
10
9
  s3_id_jpeg;
11
10
  constructor(scout) {
@@ -14,7 +13,6 @@ export class Scout {
14
13
  }
15
14
  this.scout_id = scout.scout_id;
16
15
  this.scout_type_id = scout.scout_type_id;
17
- this.number = scout.number;
18
16
  this.name = scout.name;
19
17
  this.s3_id_jpeg = scout.s3_id_jpeg;
20
18
  }
@@ -22,7 +20,6 @@ export class Scout {
22
20
  return (scout !== undefined &&
23
21
  typeof scout.scout_id === "string" &&
24
22
  is_scout_type_id(scout.scout_type_id) &&
25
- typeof scout.number === "number" &&
26
23
  typeof scout.name === "string" &&
27
24
  (scout.s3_id_jpeg === undefined || typeof scout.s3_id_jpeg === "string"));
28
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "triangle-types",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "scripts": {
@@ -9,7 +9,6 @@ export function is_scout_type_id(scout_type_id : any) : scout_type_id is ScoutTy
9
9
  export class Scout {
10
10
  readonly scout_id : string
11
11
  readonly scout_type_id : ScoutTypeID
12
- readonly number : number
13
12
  readonly name : string
14
13
  readonly s3_id_jpeg? : string
15
14
  readonly [x : string] : any
@@ -20,7 +19,6 @@ export class Scout {
20
19
  }
21
20
  this.scout_id = scout.scout_id
22
21
  this.scout_type_id = scout.scout_type_id
23
- this.number = scout.number
24
22
  this.name = scout.name
25
23
  this.s3_id_jpeg = scout.s3_id_jpeg
26
24
  }
@@ -30,7 +28,6 @@ export class Scout {
30
28
  scout !== undefined &&
31
29
  typeof scout.scout_id === "string" &&
32
30
  is_scout_type_id(scout.scout_type_id) &&
33
- typeof scout.number === "number" &&
34
31
  typeof scout.name === "string" &&
35
32
  (scout.s3_id_jpeg === undefined || typeof scout.s3_id_jpeg === "string")
36
33
  )