@test137e29b/module-hrp-database-types
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -29,3 +29,3 @@ /// <reference types="mongoose/types/types" /> | ||
import { Schema, Types } from 'mongoose'; | ||
import { CharacterClothing, CharacterFaceFeatures, CharacterHeadBlend, CharacterHeadOverlay, CharaterHair } from './Character.types'; | ||
import { CharacterClothing, CharacterFaceFeatures, CharacterHair, CharacterHeadBlend, CharacterHeadOverlay } from './Character.types'; | ||
export declare const characterSchema: Schema; | ||
@@ -39,3 +39,3 @@ export declare abstract class DBCharacter { | ||
clothing: CharacterClothing; | ||
hair: CharaterHair; | ||
hair: CharacterHair; | ||
} | ||
@@ -49,4 +49,4 @@ export declare abstract class ClientCharacter implements ClientEntity<DBCharacter> { | ||
clothing: CharacterClothing; | ||
hair: CharaterHair; | ||
hair: CharacterHair; | ||
} | ||
export declare function toClientCharacter(db: DBCharacter): ClientCharacter; |
@@ -92,2 +92,2 @@ /** | ||
}; | ||
export type CharaterHair = CharacterHairTint & CharacterClothingData; | ||
export type CharacterHair = CharacterHairTint & CharacterClothingData; |
{ | ||
"name": "@test137e29b/module-hrp-database-types", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Database Types and Exported Repository Wrappers for HorizonRP on FiveM.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import { ClientEntity } from '@test137e29b/fm-mongoose-repository/dist/repository/types'; | ||
import { Schema, Types } from 'mongoose'; | ||
import { CharacterClothing, CharacterFaceFeatures, CharacterHeadBlend, CharacterHeadOverlay, CharaterHair } from './Character.types'; | ||
import { CharacterClothing, CharacterFaceFeatures, CharacterHair, CharacterHeadBlend, CharacterHeadOverlay } from './Character.types'; | ||
@@ -26,3 +26,3 @@ export const characterSchema: Schema = new Schema( | ||
clothing: CharacterClothing; | ||
hair: CharaterHair; | ||
hair: CharacterHair; | ||
} | ||
@@ -36,3 +36,3 @@ export abstract class ClientCharacter implements ClientEntity<DBCharacter> { | ||
clothing: CharacterClothing; | ||
hair: CharaterHair; | ||
hair: CharacterHair; | ||
} | ||
@@ -39,0 +39,0 @@ export function toClientCharacter(db: DBCharacter): ClientCharacter { |
@@ -99,2 +99,2 @@ /** | ||
export type CharaterHair = CharacterHairTint & CharacterClothingData; | ||
export type CharacterHair = CharacterHairTint & CharacterClothingData; |
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
25850