Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
feat: subscription relationships (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
rostyk-kanafotskyy authored Feb 28, 2024
1 parent 5da6acd commit a2f736e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/types/subscriptions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ export interface SubscriptionBase {
updated_at: string
created_at: string
},
relationships: {
subscriber: {
data: {
id: string,
type: 'subscription_subscriber'
}
}
}
meta: {
owner: string,
status: 'active' | 'inactive'
Expand Down

0 comments on commit a2f736e

Please sign in to comment.