첫 완료

This commit is contained in:
kjy
2025-11-12 02:58:36 +09:00
commit 2aab5be513
57 changed files with 56098 additions and 0 deletions

80
src/types/naver.types.ts Normal file
View File

@@ -0,0 +1,80 @@
export interface ArticleItem {
articleNumber: string;
articleName: string;
buildingType: string;
tradeType: string;
realEstateType: string;
spaceInfo: {
supplySpace: number;
exclusiveSpace: number;
landSpace: number;
exclusiveSpaceName: string;
};
buildingInfo: {
buildingConjunctionDateType: string;
buildingConjunctionDate: string;
approvalElapsedYear: number;
};
verificationInfo: {
verificationType: string;
isAssociationArticle: boolean;
exposureStartDate: string;
articleConfirmDate: string;
};
articleDetail: {
direction: string;
directionStandard: string;
articleFeatureDescription: string;
directTrade: boolean;
floorInfo: string;
floorDetailInfo: {
targetFloor: string;
totalFloor: string;
groundTotalFloor: string;
undergroundTotalFloor: string;
floorType: string;
};
isSafeLessorOfHug: boolean;
};
articleMedia: {
imageUrl: string;
imageType: string;
imageCount: number;
isVrExposed: boolean;
};
address: {
city: string;
division: string;
sector: string;
coordinates: {
xCoordinate: number;
yCoordinate: number;
};
subwayInfo: any;
};
priceInfo: {
dealPrice: number;
warrantyPrice: number;
rentPrice: number;
managementFeeAmount: number;
priceChangeStatus: number;
};
[key: string]: any;
}
export interface ArticleResponse {
seed: string;
lastInfo: (string | number)[];
hasNextPage: boolean;
list: Array<{
representativeArticleInfo: ArticleItem;
}>;
}
export interface NaverRealEstateConfig {
realtorId: string;
seed?: string;
baseUrl?: string;
tradeTypes?: string[];
realestateTypes?: string[];
}