thrustcurve-db 2.0.1 → 3.0.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thrustcurve-db",
3
- "version": "2.0.1",
3
+ "version": "3.0.0",
4
4
  "type": "module",
5
5
  "description": "ThrustCurve.org model rocket motor and thrust curve data as a single JSON file",
6
6
  "exports": {
@@ -1,9 +1,9 @@
1
- type ThrustPoint = [
1
+ type TCSample = [
2
2
  number, // time (seconds)
3
3
  number // thrust (Newtons)
4
4
  ];
5
5
 
6
- export declare type Motor = {
6
+ export declare type TCMotor = {
7
7
  availability: 'regular' | 'OOP';
8
8
  avgThrustN: number;
9
9
  burnTimeS: number;
@@ -37,7 +37,7 @@ export declare type Motor = {
37
37
  motorId: string;
38
38
  propInfo: string;
39
39
  propWeightG: number;
40
- samples?: ThrustPoint[];
40
+ samples?: TCSample[];
41
41
  sparky?: boolean;
42
42
  totImpulseNs: number;
43
43
  totalWeightG: number;
@@ -45,5 +45,5 @@ export declare type Motor = {
45
45
  updatedOn: string;
46
46
  };
47
47
 
48
- declare const MOTORS: Array<Motor>;
48
+ declare const MOTORS: TCMotor[];
49
49
  export default MOTORS;