Skip to content

Commit

Permalink
Move MediaPolicy out of AbstractItem
Browse files Browse the repository at this point in the history
  • Loading branch information
antweb committed Dec 13, 2024
1 parent 04a107c commit 4842644
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package eu.pretix.libpretixsync.db

enum class MediaPolicy {
NONE,
REUSE,
NEW,
REUSE_OR_NEW,
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package eu.pretix.libpretixsync.models

import eu.pretix.libpretixsync.db.AbstractItem.MediaPolicy
import eu.pretix.libpretixsync.db.ItemAddOn
import eu.pretix.libpretixsync.db.ItemBundle
import eu.pretix.libpretixsync.db.ItemVariation
import eu.pretix.libpretixsync.db.MediaPolicy
import eu.pretix.libpretixsync.db.ReusableMediaType
import org.json.JSONArray
import org.json.JSONException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package eu.pretix.libpretixsync.models.db

import eu.pretix.libpretixsync.models.Item as ItemModel
import eu.pretix.libpretixsync.db.AbstractItem.MediaPolicy
import eu.pretix.libpretixsync.db.MediaPolicy
import eu.pretix.libpretixsync.db.ReusableMediaType
import eu.pretix.libpretixsync.sqldelight.Item
import eu.pretix.libpretixsync.sqldelight.isGenerateTickets
Expand Down

0 comments on commit 4842644

Please sign in to comment.