feat: 支持馆主个人信息编辑
This commit is contained in:
@@ -75,6 +75,8 @@ export type {
|
||||
} from './membership-renewal'
|
||||
|
||||
// Types
|
||||
export * from './owner-profile'
|
||||
|
||||
export type {
|
||||
TeachingAnalytics,
|
||||
TeachingAnalyticsRecord,
|
||||
|
||||
14
packages/shared/src/owner-profile.ts
Normal file
14
packages/shared/src/owner-profile.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
// Null database fields use these initial values. Empty content is intentional.
|
||||
export const DEFAULT_OWNER_INTRODUCTION = '我是 Iris,一名注重体态、控制与身体感受的普拉提教练。\n\n我希望带你在稳定、安心的节奏里,找回核心力量、挺拔线条和更轻松的身体状态。'
|
||||
|
||||
export const DEFAULT_OWNER_CERTIFICATIONS = [
|
||||
'斯多特塑身机初&中级认证教练',
|
||||
'斯多特全场馆认证教练',
|
||||
'曼丽丘斯多特塑身机弹跳网芭杆工作坊',
|
||||
'塑身机上的高尔夫与旋转运动调理工作坊',
|
||||
'四维人体运动解剖认证',
|
||||
]
|
||||
|
||||
export const OWNER_INTRODUCTION_MAX_LENGTH = 5000
|
||||
export const OWNER_CERTIFICATIONS_MAX_COUNT = 30
|
||||
export const OWNER_CERTIFICATION_MAX_LENGTH = 200
|
||||
@@ -9,6 +9,8 @@ export interface StudioConfig {
|
||||
readonly longitude: number | null
|
||||
readonly cancelHoursLimit: number
|
||||
readonly photos: string[]
|
||||
readonly ownerIntroduction: string
|
||||
readonly ownerCertifications: string[]
|
||||
readonly updatedAt: string
|
||||
}
|
||||
|
||||
@@ -24,6 +26,8 @@ export interface UpdateStudioConfigDto {
|
||||
readonly longitude?: number
|
||||
readonly cancelHoursLimit?: number
|
||||
readonly photos?: string[]
|
||||
readonly ownerIntroduction?: string
|
||||
readonly ownerCertifications?: string[]
|
||||
}
|
||||
|
||||
export interface CreateStudioUploadCredentialDto {
|
||||
|
||||
Reference in New Issue
Block a user