Commits merged: - chore(FN-343): remove lingering iyzico references from docs, config, and scripts - feat(FN-343): remove lingering iyzico references after Stripe migration Files changed: CLAUDE.md | 10 +++++----- README.md | 2 +- apps/api/src/database/schema/core.ts | 1 + apps/web/src/messages/en.json | 1 - apps/web/src/messages/tr.json | 1 - apps/web/src/routes/dashboard/billing.tsx | 6 +++--- docker-compose.coolify.yml | 5 ++--- docs/INDEX.md | 27 ++++++++++++------------- knowledge.md | 30 ++++++++++++++-------------- packages/shared/src/constants/error-codes.ts | 1 - packages/shared/src/index.ts | 1 - packages/shared/src/types/payment.ts | 12 +---------- scripts/fn342-pw-verify.mjs | 2 +- scripts/validate-env.sh | 3 +-- 14 files changed, 43 insertions(+), 59 deletions(-) Fusion-Task-Id: FN-343
66 lines
1.9 KiB
TypeScript
66 lines
1.9 KiB
TypeScript
// Types
|
|
export type { User, UserProfile, UserSubscriptionSummary } from "./types/user.js";
|
|
export type { Vehicle, VinDecodeResult, CategoryNode, VehicleSource } from "./types/vehicle.js";
|
|
export type { Brand } from "./types/brand.js";
|
|
export type { Part, PartSearchResult, PartSource } from "./types/part.js";
|
|
export type { Category, CategoryWithSchema, SchemaPic, Hotspot } from "./types/category.js";
|
|
export type {
|
|
Plan,
|
|
Subscription,
|
|
UserBrand,
|
|
CreateSubscriptionInput,
|
|
SubscriptionStatus,
|
|
} from "./types/subscription.js";
|
|
export type {
|
|
Payment,
|
|
PaymentMethod,
|
|
PaymentStatus,
|
|
EftPaymentInput,
|
|
} from "./types/payment.js";
|
|
export type { ApiResponse, ApiError, PaginationMeta } from "./types/api-response.js";
|
|
export type { PaginationInput, PaginatedResult } from "./types/pagination.js";
|
|
|
|
// Schemas
|
|
export { vinSchema } from "./schemas/vin.js";
|
|
export {
|
|
loginSchema,
|
|
registerSchema,
|
|
forgotPasswordSchema,
|
|
resetPasswordSchema,
|
|
} from "./schemas/auth.js";
|
|
export {
|
|
changelogChangeTypeEnum,
|
|
changelogEntrySchema,
|
|
createChangelogEntrySchema,
|
|
updateChangelogEntrySchema,
|
|
} from "./schemas/changelog.js";
|
|
export type {
|
|
ChangelogEntry,
|
|
CreateChangelogEntry,
|
|
UpdateChangelogEntry,
|
|
ChangelogChangeType,
|
|
} from "./schemas/changelog.js";
|
|
export { paginationSchema } from "./schemas/pagination.js";
|
|
|
|
// Constants
|
|
export { VIN_REGEX, EMAIL_REGEX, OEM_CODE_REGEX } from "./constants/regex.js";
|
|
export { PLANS, REFERRAL_REWARDS, CURRENCY, FULL_PLAN_BRAND_LIMIT } from "./constants/plans.js";
|
|
export { ERROR_CODES } from "./constants/error-codes.js";
|
|
export type { ErrorCode } from "./constants/error-codes.js";
|
|
|
|
// Utils
|
|
export {
|
|
isValidVin,
|
|
validateVinCheckDigit,
|
|
extractWmi,
|
|
extractModelYear,
|
|
} from "./utils/vin-validator.js";
|
|
export { formatTRY, kurusToLira, liraToKurus } from "./utils/currency.js";
|
|
export {
|
|
formatVin,
|
|
formatDate,
|
|
formatDateTime,
|
|
slugify,
|
|
generateReferralCode,
|
|
} from "./utils/formatters.js";
|