@doctadevs/types
Advanced tools
Comparing version 0.0.30 to 0.0.31
export * from './types/person'; | ||
export * from './types/tag'; | ||
export * from './types/gender'; | ||
export * from './types/pronoun'; | ||
export * from './types/discount-rule'; | ||
@@ -4,0 +6,0 @@ export * from './types/discount'; |
@@ -16,2 +16,4 @@ "use strict"; | ||
__exportStar(require("./types/tag"), exports); | ||
__exportStar(require("./types/gender"), exports); | ||
__exportStar(require("./types/pronoun"), exports); | ||
// Entities | ||
@@ -18,0 +20,0 @@ __exportStar(require("./types/discount-rule"), exports); |
@@ -0,1 +1,3 @@ | ||
import { Gender } from './gender'; | ||
import { Pronoun } from './pronoun'; | ||
export declare type Person = { | ||
@@ -7,4 +9,5 @@ id?: string; | ||
email: string; | ||
gender: string; | ||
gender: Gender; | ||
pronoun: Pronoun; | ||
documentNumber: string; | ||
}; |
// Generics | ||
export * from './types/person'; | ||
export * from './types/tag'; | ||
export * from './types/gender'; | ||
export * from './types/pronoun'; | ||
@@ -5,0 +7,0 @@ // Entities |
{ | ||
"name": "@doctadevs/types", | ||
"version": "0.0.30", | ||
"version": "0.0.31", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
export type DiscountRule = { | ||
id: string; | ||
discountId: string; | ||
isCoupon?: boolean; | ||
trainingCohortId?: string; | ||
trainingTypeId?: string; | ||
paymentMethodId?: string; | ||
installments?: number; | ||
forAlumni?: boolean; | ||
studentDocumentNumber?: string; | ||
modifierPercentage?: number; | ||
modifierFixedAmount?: number; | ||
}; | ||
id: string; | ||
discountId: string; | ||
isCoupon?: boolean; | ||
trainingCohortId?: string; | ||
trainingTypeId?: string; | ||
paymentMethodId?: string; | ||
installments?: number; | ||
forAlumni?: boolean; | ||
studentDocumentNumber?: string; | ||
modifierPercentage?: number; | ||
modifierFixedAmount?: number; | ||
}; |
@@ -0,1 +1,4 @@ | ||
import { Gender } from './gender'; | ||
import { Pronoun } from './pronoun'; | ||
export type Person = { | ||
@@ -7,4 +10,5 @@ id?: string; | ||
email: string; | ||
gender: string; | ||
gender: Gender; | ||
pronoun: Pronoun; | ||
documentNumber: string; | ||
}; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21987
95
547