Files
automatisch/packages/backend/src/models/__snapshots__/subscription.ee.test.js.snap
2024-10-02 13:44:21 +03:00

64 lines
1.1 KiB
Plaintext

// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
exports[`Subscription model > jsonSchema should have correct validations 1`] = `
{
"properties": {
"cancelUrl": {
"type": "string",
},
"cancellationEffectiveDate": {
"type": "string",
},
"createdAt": {
"type": "string",
},
"deletedAt": {
"type": "string",
},
"id": {
"format": "uuid",
"type": "string",
},
"lastBillDate": {
"type": "string",
},
"nextBillAmount": {
"type": "string",
},
"nextBillDate": {
"type": "string",
},
"paddlePlanId": {
"type": "string",
},
"paddleSubscriptionId": {
"type": "string",
},
"status": {
"type": "string",
},
"updateUrl": {
"type": "string",
},
"updatedAt": {
"type": "string",
},
"userId": {
"format": "uuid",
"type": "string",
},
},
"required": [
"userId",
"paddleSubscriptionId",
"paddlePlanId",
"updateUrl",
"cancelUrl",
"status",
"nextBillAmount",
"nextBillDate",
],
"type": "object",
}
`;