@pulsecharterconnect/types 0.0.13 → 0.0.15
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.
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
export type OrganizationType = 'System Admin' | 'Transplant Center' | 'Transportation Operator' | 'Surgical Provider' | 'Donor Hospital';
|
|
2
2
|
export type AirService = 'Jet' | 'TurboProp' | 'Helicopter';
|
|
3
3
|
export type GroundService = 'Ambulance' | 'Limo' | 'Car' | 'Mid-Size SUV' | 'Full-Size SUV';
|
|
4
|
-
export type Aircraft = {
|
|
5
|
-
type: AirService;
|
|
6
|
-
tailNumber: string;
|
|
7
|
-
};
|
|
8
4
|
export type SafetyRequirements = {};
|
|
9
5
|
export type SafetyCertifications = {};
|
|
10
6
|
export type Facility = {
|
|
@@ -31,7 +27,7 @@ export interface ITranportationOperatorOrganization {
|
|
|
31
27
|
ground: GroundService[];
|
|
32
28
|
};
|
|
33
29
|
safetyCertifications: SafetyCertifications[];
|
|
34
|
-
airFleet?:
|
|
30
|
+
airFleet?: string[];
|
|
35
31
|
}
|
|
36
32
|
export interface IOrganization {
|
|
37
33
|
id: string;
|
package/dist/types/Sample.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export type SampleFieldOne = 'Flour' | 'Eggs';
|
|
2
2
|
export interface ISampleItem {
|
|
3
|
+
id: string;
|
|
3
4
|
fieldOne: SampleFieldOne;
|
|
4
5
|
fieldTwo: number;
|
|
5
6
|
}
|
|
6
7
|
export declare class SampleItem implements ISampleItem {
|
|
8
|
+
id: string;
|
|
7
9
|
fieldOne: SampleFieldOne;
|
|
8
10
|
fieldTwo: number;
|
|
9
|
-
constructor(fieldOne: SampleFieldOne, fieldTwo: number);
|
|
11
|
+
constructor(id: string, fieldOne: SampleFieldOne, fieldTwo: number);
|
|
10
12
|
}
|
package/dist/types/Sample.js
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SampleItem = void 0;
|
|
4
4
|
class SampleItem {
|
|
5
|
-
constructor(fieldOne, fieldTwo) {
|
|
5
|
+
constructor(id, fieldOne, fieldTwo) {
|
|
6
|
+
this.id = id;
|
|
6
7
|
this.fieldOne = fieldOne;
|
|
7
8
|
this.fieldTwo = fieldTwo;
|
|
8
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulsecharterconnect/types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "A TypeScript library for enhanced type safety.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,4 +26,4 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@types/express": "^5.0.0"
|
|
28
28
|
}
|
|
29
|
-
}
|
|
29
|
+
}
|