mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
adding payments
This commit is contained in:
@@ -6,6 +6,7 @@ export type TProject = {
|
||||
name: string,
|
||||
premium: boolean,
|
||||
premium_type?: number,
|
||||
customer_id?: string,
|
||||
premium_expire_at: Date,
|
||||
created_at: Date
|
||||
}
|
||||
@@ -15,6 +16,7 @@ const ProjectSchema = new Schema<TProject>({
|
||||
name: { type: String, required: true },
|
||||
premium: { type: Boolean, default: false },
|
||||
premium_type: { type: Number },
|
||||
customer_id: { type: String },
|
||||
premium_expire_at: { type: Date },
|
||||
created_at: { type: Date, default: () => Date.now() },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user