@doctadevs/types
Advanced tools
Comparing version 0.0.8 to 0.0.10
@@ -1,4 +0,5 @@ | ||
export declare const enum PriceType { | ||
Activity = "CRS", | ||
Enrollment = "MT" | ||
} | ||
export declare const PriceType: { | ||
readonly Activity: "CRS"; | ||
readonly Enrollment: "MT"; | ||
}; | ||
export declare type PriceTypeEnum = 'CRS' | 'MT'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PriceType = void 0; | ||
exports.PriceType = { | ||
Activity: 'CRS', | ||
Enrollment: 'MT', | ||
}; | ||
//# sourceMappingURL=price-type.js.map |
@@ -1,6 +0,6 @@ | ||
import { PriceType } from './price-type'; | ||
import { PriceTypeEnum } from './price-type'; | ||
export declare type Price = { | ||
id: string; | ||
trainingCohortId: string; | ||
priceType: PriceType; | ||
priceType: PriceTypeEnum; | ||
priceValue: number; | ||
@@ -7,0 +7,0 @@ dateCreated: Date; |
{ | ||
"name": "@doctadevs/types", | ||
"version": "0.0.8", | ||
"version": "0.0.10", | ||
"main": "dist/index.js", | ||
@@ -16,2 +16,3 @@ "types": "dist/index.d.ts", | ||
"scripts": { | ||
"dist": "npm version patch; git push; npm publish --access public", | ||
"build": "rm -rf dist; tsc -b", | ||
@@ -18,0 +19,0 @@ "prepublishOnly": "npm run build" |
@@ -1,4 +0,6 @@ | ||
export const enum PriceType { | ||
Activity = 'CRS', | ||
Enrollment = 'MT', | ||
} | ||
export const PriceType = { | ||
Activity: 'CRS', | ||
Enrollment: 'MT', | ||
} as const; | ||
export type PriceTypeEnum = 'CRS' | 'MT'; |
@@ -1,2 +0,2 @@ | ||
import { PriceType } from './price-type'; | ||
import { PriceTypeEnum } from './price-type'; | ||
@@ -6,3 +6,3 @@ export type Price = { | ||
trainingCohortId: string; | ||
priceType: PriceType; | ||
priceType: PriceTypeEnum; | ||
priceValue: number; | ||
@@ -9,0 +9,0 @@ dateCreated: Date; |
Sorry, the diff of this file is not supported yet
11682
263