Files
trackgo-be/src/common/http/response/index.ts
T
shancheas 0e73d14381 Add address fields to sales invoices and implement related validations
- Introduced new columns `address`, `latitude`, and `longitude` in the `sales_invoices` table to store location details.
- Updated the `SalesInvoicesService` to handle the new fields, including validation for address format and geographical coordinates.
- Enhanced the `SalesInvoiceDto` and related data transfer objects to include the new fields for API requests and responses.
- Added unit and e2e tests to ensure proper handling of the new fields and validate their integration within the sales invoice workflow.
- Created a new migration script to apply the database schema changes for the sales invoices.
2026-09-01 09:50:19 +07:00

51 lines
1.3 KiB
TypeScript

export { PAGINATION_RESPONSE, RAW_RESPONSE } from './constants';
export { Pagination, RawResponse } from './pagination.decorator';
export type {
PaginationMeta,
PaginationResponse,
SuccessResponse,
} from './ok-response.interface';
export { PaginationMetaDto } from './pagination-meta.dto';
export { TransformInterceptor } from './transform.interceptor';
export {
createPaginationMeta,
createPaginationResponse,
resolvePaginationQuery,
} from './pagination-meta.helper';
export { PaginationQueryDto } from './pagination-query.dto';
export {
toListPage,
type ListPage,
type PaginationQueryInput,
} from './list-page';
export {
PAGINATION_DEFAULT_LIMIT,
PAGINATION_MAX_LIMIT,
} from './pagination.constants';
export {
CODE_RELATION_FIELDS,
DEFAULT_RELATION_FIELDS,
fallbackUserRelation,
pickCodeRelation,
pickDefaultRelation,
pickRelation,
pickUserRelation,
USER_RELATION_FIELDS,
type CodeRelation,
type DefaultRelation,
type UserRelation,
} from './relation-fields';
export {
CodeRelationDto,
DefaultRelationDto,
UserRelationDto,
} from './relation.dto';
export {
ORDER_TYPES,
toOrderClauses,
type ListOrderQuery,
type OrderDefault,
type OrderType,
} from './order-clause';
export { parseQueryIdList } from './parse-query-id-list';