-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Saliou Diallo
committed
Sep 14, 2022
1 parent
ec12085
commit 9935f45
Showing
4 changed files
with
214 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
export type PremiumContentType = 'track' | ||
|
||
export type PremiumContentSignatureData = { | ||
premiumContentId: number | ||
premiumContentType: PremiumContentType | ||
userWallet: string | ||
premium_content_id: number | ||
premium_content_type: PremiumContentType | ||
user_wallet: string | ||
timestamp: string | ||
} | ||
|
||
export enum PremiumContentAccessError { | ||
MISSING_HEADERS = 'MISSING_HEADERS', | ||
INVALID_DISCOVERY_NODE = 'INVALID_DISCOVERY_NODE', | ||
FAILED_MATCH = 'FAILED_MATCH' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters