Skip to content

Commit

Permalink
Merge pull request #74 from sesamyab/dev
Browse files Browse the repository at this point in the history
fix: change to package-type
  • Loading branch information
markusahlstrand authored May 22, 2024
2 parents db5b912 + c82b3e2 commit 3853de0
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/rss/rss-extensions/sesamy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,8 @@ export const sesamyProductSchema = z.object({
.optional(),
price: z.number().optional(),
'sesamy:price': z.number().optional(),
'product-type': z
.enum(['ARTICLE', 'EPISODE', 'PODCAST', 'PASS', 'BUNDLE'])
.transform(value => value.toUpperCase())
.optional(),
'sesamy:product-type': z
.enum(['ARTICLE', 'EPISODE', 'PODCAST', 'PASS', 'BUNDLE'])
.transform(value => value.toUpperCase())
.optional(),
'purchase-type': z
.enum(['OWN', 'LEASE', 'RECURRING'])
'sesamy:package-type': z
.enum(['SINGLE', 'COLLECTION', 'MULTIPRODUCT'])
.transform(value => value.toUpperCase())
.optional(),
'sesamy:purchase-type': z
Expand Down

0 comments on commit 3853de0

Please sign in to comment.