thrustcurve-db 2.0.3 → 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.3",
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;
@@ -121435,7 +121435,7 @@
121435
121435
  "caseInfo": "RMS-75/1280",
121436
121436
  "certOrg": "Tripoli Rocketry Association, Inc.",
121437
121437
  "commonName": "K750",
121438
- "dataFiles": 0,
121438
+ "dataFiles": 1,
121439
121439
  "delays": "P",
121440
121440
  "designation": "K750ST",
121441
121441
  "diameter": 75,
@@ -121447,6 +121447,128 @@
121447
121447
  "motorId": "627bbef01b11ab0004a4bb20",
121448
121448
  "propInfo": "Super Thunder",
121449
121449
  "propWeightG": 595,
121450
+ "samples": [
121451
+ [
121452
+ 0,
121453
+ 0
121454
+ ],
121455
+ [
121456
+ 0.014,
121457
+ 4.867
121458
+ ],
121459
+ [
121460
+ 0.018,
121461
+ 10.18
121462
+ ],
121463
+ [
121464
+ 0.044,
121465
+ 659.3
121466
+ ],
121467
+ [
121468
+ 0.068,
121469
+ 606.6
121470
+ ],
121471
+ [
121472
+ 0.118,
121473
+ 632.3
121474
+ ],
121475
+ [
121476
+ 0.17,
121477
+ 658
121478
+ ],
121479
+ [
121480
+ 0.22,
121481
+ 681
121482
+ ],
121483
+ [
121484
+ 0.263,
121485
+ 703.1
121486
+ ],
121487
+ [
121488
+ 0.334,
121489
+ 727.9
121490
+ ],
121491
+ [
121492
+ 0.483,
121493
+ 772.1
121494
+ ],
121495
+ [
121496
+ 0.577,
121497
+ 792.5
121498
+ ],
121499
+ [
121500
+ 0.663,
121501
+ 805.8
121502
+ ],
121503
+ [
121504
+ 0.723,
121505
+ 809.3
121506
+ ],
121507
+ [
121508
+ 0.778,
121509
+ 814.6
121510
+ ],
121511
+ [
121512
+ 0.886,
121513
+ 811.9
121514
+ ],
121515
+ [
121516
+ 0.975,
121517
+ 807.5
121518
+ ],
121519
+ [
121520
+ 1.065,
121521
+ 796.9
121522
+ ],
121523
+ [
121524
+ 1.148,
121525
+ 788.9
121526
+ ],
121527
+ [
121528
+ 1.234,
121529
+ 779.2
121530
+ ],
121531
+ [
121532
+ 1.352,
121533
+ 763.7
121534
+ ],
121535
+ [
121536
+ 1.456,
121537
+ 749.1
121538
+ ],
121539
+ [
121540
+ 1.559,
121541
+ 738.5
121542
+ ],
121543
+ [
121544
+ 1.625,
121545
+ 737.6
121546
+ ],
121547
+ [
121548
+ 1.664,
121549
+ 744.7
121550
+ ],
121551
+ [
121552
+ 1.704,
121553
+ 768.6
121554
+ ],
121555
+ [
121556
+ 1.715,
121557
+ 759.7
121558
+ ],
121559
+ [
121560
+ 1.755,
121561
+ 128.8
121562
+ ],
121563
+ [
121564
+ 1.767,
121565
+ 41.15
121566
+ ],
121567
+ [
121568
+ 1.783,
121569
+ 0
121570
+ ]
121571
+ ],
121450
121572
  "totImpulseNs": 1299,
121451
121573
  "totalWeightG": 1948,
121452
121574
  "type": "reload",