@glissandoo/lib 1.115.0 → 1.116.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/functions/auth.d.ts +1 -3
- package/functions/customer.d.ts +0 -4
- package/functions/event.js +1 -1
- package/functions/eventPlayer.js +1 -1
- package/functions/eventRepertory.d.ts +0 -2
- package/functions/eventRepertory.js +1 -1
- package/functions/groupRepertory.d.ts +0 -110
- package/functions/index.d.ts +0 -30
- package/functions/index.js +1 -31
- package/functions/misc.d.ts +0 -6
- package/functions/regions.js +1 -31
- package/helpers/appScenes.js +1 -1
- package/helpers/auth.d.ts +9 -2
- package/helpers/auth.js +14 -33
- package/helpers/badges.js +1 -1
- package/helpers/collections.js +2 -2
- package/helpers/communicationTemplate/index.d.ts +2 -3
- package/helpers/communicationTemplate/index.js +5 -5
- package/helpers/dlinks.js +1 -1
- package/helpers/errors.d.ts +0 -1
- package/helpers/errors.js +1 -2
- package/helpers/glissandooAdmin.d.ts +3 -0
- package/helpers/glissandooAdmin.js +6 -0
- package/helpers/instruments/index.d.ts +0 -17
- package/helpers/instruments/index.js +1 -5
- package/helpers/instruments/lists.d.ts +3 -3
- package/helpers/instruments/lists.js +5 -5
- package/helpers/musicStyles/index.d.ts +4 -22
- package/helpers/musicStyles/index.js +35 -114
- package/helpers/notifications/index.js +1 -1
- package/helpers/objects.d.ts +1 -5
- package/helpers/objects.js +6 -7
- package/helpers/plans.js +2 -2
- package/helpers/rates.d.ts +1 -1
- package/helpers/slate.d.ts +5 -64
- package/helpers/slate.js +1 -7
- package/helpers/ts-extras/array-includes.js +2 -1
- package/helpers/ts-extras/as-mutable.js +2 -1
- package/helpers/ts-extras/assert-error.js +2 -1
- package/helpers/ts-extras/index.js +1 -1
- package/helpers/ts-extras/is-defined.js +2 -1
- package/helpers/ts-extras/is-empty.js +2 -1
- package/helpers/ts-extras/is-infinite.js +2 -1
- package/helpers/ts-extras/is-present.js +2 -1
- package/helpers/ts-extras/object-entries.d.ts +1 -1
- package/helpers/ts-extras/object-from-entries.d.ts +1 -1
- package/helpers/ts-extras/object-has-own.js +2 -1
- package/helpers/ts-extras/object-keys.d.ts +1 -1
- package/helpers/ts-extras/object-keys.js +1 -0
- package/helpers/ts-extras/set-has.js +2 -1
- package/helpers/types.d.ts +0 -26
- package/helpers/types.js +5 -25
- package/lang/ca.json +91 -325
- package/lang/de.json +91 -325
- package/lang/en.json +91 -325
- package/lang/es.json +91 -325
- package/lang/eu.json +91 -325
- package/lang/fr.json +91 -325
- package/lang/gl.json +91 -325
- package/lang/index.js +2 -3
- package/lang/it.json +91 -325
- package/lang/nl.json +91 -325
- package/lang/pt.json +91 -325
- package/models/Communication/types.d.ts +16 -0
- package/models/Communication/types.js +9 -3
- package/models/Counters/Group/Analytics/types.js +1 -1
- package/models/Customer/index.d.ts +1 -1
- package/models/Customer/index.js +3 -3
- package/models/Customer/types.js +1 -1
- package/models/Evento/Player/types.js +3 -3
- package/models/Evento/Repertory/types.d.ts +1 -2
- package/models/Evento/index.d.ts +2 -3
- package/models/Evento/index.js +4 -5
- package/models/Evento/types.d.ts +31 -2
- package/models/Evento/types.js +39 -8
- package/models/Federation/index.d.ts +1 -1
- package/models/Federation/index.js +3 -3
- package/models/Group/Analytics/types.js +1 -1
- package/models/Group/Player/types.js +1 -1
- package/models/Group/Repertory/File/Section/index.d.ts +3 -3
- package/models/Group/Repertory/File/Section/index.js +2 -3
- package/models/Group/Repertory/File/Section/types.d.ts +0 -7
- package/models/Group/Repertory/File/Section/types.js +1 -1
- package/models/Group/Repertory/File/index.d.ts +2 -4
- package/models/Group/Repertory/File/index.js +4 -4
- package/models/Group/Repertory/FilePath/index.d.ts +4 -3
- package/models/Group/Repertory/index.d.ts +4 -12
- package/models/Group/Repertory/index.js +0 -9
- package/models/Group/Repertory/types.d.ts +32 -21
- package/models/Group/Repertory/types.js +18 -8
- package/models/Group/index.d.ts +13 -15
- package/models/Group/index.js +15 -16
- package/models/Group/types.d.ts +66 -6
- package/models/Group/types.js +50 -8
- package/models/Instrument/{fromRecord.d.ts → group.d.ts} +5 -4
- package/models/Instrument/{fromRecord.js → group.js} +10 -10
- package/models/Instrument/index.d.ts +0 -2
- package/models/Instrument/index.js +1 -38
- package/models/Inventory/Item/types.js +2 -2
- package/models/Inventory/types.js +1 -1
- package/models/Notification/types.js +2 -2
- package/models/Offer/types.d.ts +12 -0
- package/models/Offer/types.js +15 -2
- package/models/Partnership/Partner/types.js +1 -1
- package/models/Partnership/Payment/types.js +2 -2
- package/models/Partnership/index.d.ts +1 -1
- package/models/Partnership/index.js +3 -3
- package/models/Partnership/types.js +1 -1
- package/models/Repertory/types.d.ts +0 -12
- package/models/Repertory/types.js +2 -2
- package/models/User/Group/index.js +2 -1
- package/models/User/index.d.ts +1 -1
- package/models/User/index.js +3 -3
- package/models/User/types.d.ts +1 -2
- package/models/User/types.js +7 -7
- package/models/WebhookEvent/types.js +1 -1
- package/package.json +20 -28
- package/types/firestore.d.ts +1 -0
- package/types/firestore.js +1 -1
- package/types/supabase/generated.d.ts +545 -3113
- package/types/supabase/generated.js +0 -9
- package/types/supabase/generated.ts +581 -3080
- package/types/supabase/index.d.ts +19 -155
- package/types/supabase/index.js +0 -15
- package/types/supabase/index.ts +21 -288
- package/types/supabase/overwrites/comm.d.ts +18 -0
- package/types/supabase/overwrites/comm.ts +18 -0
- package/types/supabase/overwrites/comm_history.d.ts +10 -0
- package/types/supabase/overwrites/comm_history.ts +10 -0
- package/types/supabase/overwrites/{tables/event/index.d.ts → event.d.ts} +1 -1
- package/types/supabase/overwrites/{tables/event/index.ts → event.ts} +1 -1
- package/types/supabase/overwrites/event_history.d.ts +10 -0
- package/types/supabase/overwrites/event_history.ts +10 -0
- package/types/supabase/overwrites/{tables/group/index.d.ts → group.d.ts} +5 -2
- package/types/supabase/overwrites/{tables/group/index.ts → group.ts} +6 -2
- package/types/supabase/overwrites/group_history.d.ts +9 -0
- package/types/supabase/overwrites/group_history.ts +9 -0
- package/types/supabase/overwrites/index.d.ts +1 -1
- package/types/supabase/overwrites/index.ts +1 -1
- package/types/supabase/overwrites/{tables/offer/index.d.ts → offer.d.ts} +2 -6
- package/types/supabase/overwrites/{tables/offer/index.ts → offer.ts} +2 -7
- package/types/supabase/overwrites/offer_history.d.ts +10 -0
- package/types/supabase/overwrites/offer_history.ts +10 -0
- package/types/supabase/overwrites/repertoire.d.ts +12 -0
- package/types/supabase/overwrites/repertoire.ts +12 -0
- package/types/supabase/overwrites/repertoire_history.d.ts +10 -0
- package/types/supabase/overwrites/repertoire_history.ts +10 -0
- package/functions/composer.d.ts +0 -13
- package/functions/composerComposition.d.ts +0 -102
- package/functions/composerNotification.d.ts +0 -38
- package/functions/composerPayout.d.ts +0 -20
- package/helpers/catalogBridge.d.ts +0 -121
- package/helpers/catalogBridge.js +0 -95
- package/helpers/compositionCategories/genres.d.ts +0 -922
- package/helpers/compositionCategories/genres.js +0 -940
- package/helpers/compositionCategories/index.d.ts +0 -2
- package/helpers/compositionCategories/index.js +0 -18
- package/helpers/compositionCategories/styles.d.ts +0 -181
- package/helpers/compositionCategories/styles.js +0 -197
- package/helpers/compositionSoloistOffstageParts/index.d.ts +0 -34
- package/helpers/compositionSoloistOffstageParts/index.js +0 -117
- package/helpers/currency.d.ts +0 -19
- package/helpers/currency.js +0 -85
- package/helpers/currencyConversion.d.ts +0 -45
- package/helpers/currencyConversion.js +0 -119
- package/helpers/dataStructures/trees/index.d.ts +0 -12
- package/helpers/dataStructures/trees/index.js +0 -71
- package/helpers/dataStructures/trees/types.d.ts +0 -14
- package/helpers/dataStructures/trees/types.js +0 -5
- package/helpers/externalUrls.d.ts +0 -12
- package/helpers/externalUrls.js +0 -40
- package/models/CompositionGenre/index.d.ts +0 -9
- package/models/CompositionGenre/index.js +0 -16
- package/models/CompositionStyle/index.d.ts +0 -9
- package/models/CompositionStyle/index.js +0 -16
- package/models/supabase/Comm/index.d.ts +0 -24
- package/models/supabase/Comm/index.js +0 -68
- package/models/supabase/Comm/types.d.ts +0 -6
- package/models/supabase/CommHistory/index.d.ts +0 -22
- package/models/supabase/CommHistory/index.js +0 -37
- package/models/supabase/CommHistory/types.d.ts +0 -11
- package/models/supabase/CommHistory/types.js +0 -9
- package/models/supabase/Composer/Composition/Acquisition/index.d.ts +0 -4
- package/models/supabase/Composer/Composition/Acquisition/index.js +0 -9
- package/models/supabase/Composer/Composition/Acquisition/types.d.ts +0 -36
- package/models/supabase/Composer/Composition/Favorite/index.d.ts +0 -4
- package/models/supabase/Composer/Composition/Favorite/index.js +0 -9
- package/models/supabase/Composer/Composition/Favorite/types.d.ts +0 -6
- package/models/supabase/Composer/Composition/View/index.d.ts +0 -4
- package/models/supabase/Composer/Composition/View/index.js +0 -9
- package/models/supabase/Composer/Composition/View/types.d.ts +0 -6
- package/models/supabase/Composer/Composition/index.d.ts +0 -5284
- package/models/supabase/Composer/Composition/index.js +0 -166
- package/models/supabase/Composer/Composition/types.d.ts +0 -96
- package/models/supabase/Composer/Composition/types.js +0 -32
- package/models/supabase/Composer/Notification/index.d.ts +0 -4
- package/models/supabase/Composer/Notification/index.js +0 -9
- package/models/supabase/Composer/Notification/types.d.ts +0 -39
- package/models/supabase/Composer/Notification/types.js +0 -27
- package/models/supabase/Composer/Payout/index.d.ts +0 -4
- package/models/supabase/Composer/Payout/index.js +0 -9
- package/models/supabase/Composer/Payout/status.d.ts +0 -1
- package/models/supabase/Composer/Payout/types.d.ts +0 -5
- package/models/supabase/Composer/PerformanceAttendance/types.d.ts +0 -4
- package/models/supabase/Composer/index.d.ts +0 -78
- package/models/supabase/Composer/index.js +0 -105
- package/models/supabase/Composer/types.d.ts +0 -6
- package/models/supabase/Composer/types.js +0 -2
- package/models/supabase/EventHistory/index.d.ts +0 -22
- package/models/supabase/EventHistory/index.js +0 -37
- package/models/supabase/EventHistory/types.d.ts +0 -36
- package/models/supabase/EventHistory/types.js +0 -34
- package/models/supabase/GroupHistory/index.d.ts +0 -21
- package/models/supabase/GroupHistory/index.js +0 -34
- package/models/supabase/GroupHistory/types.d.ts +0 -27
- package/models/supabase/GroupHistory/types.js +0 -25
- package/models/supabase/Model/index.d.ts +0 -10
- package/models/supabase/Model/index.js +0 -21
- package/models/supabase/OfferHistory/index.d.ts +0 -22
- package/models/supabase/OfferHistory/index.js +0 -37
- package/models/supabase/OfferHistory/types.d.ts +0 -18
- package/models/supabase/OfferHistory/types.js +0 -16
- package/models/supabase/Repertoire/index.d.ts +0 -16
- package/models/supabase/Repertoire/index.js +0 -43
- package/models/supabase/Repertoire/types.d.ts +0 -6
- package/models/supabase/Repertoire/types.js +0 -2
- package/models/supabase/RepertoireHistory/index.d.ts +0 -22
- package/models/supabase/RepertoireHistory/index.js +0 -37
- package/models/supabase/RepertoireHistory/types.d.ts +0 -21
- package/models/supabase/RepertoireHistory/types.js +0 -19
- package/models/supabase/User/Group/index.d.ts +0 -11
- package/models/supabase/User/Group/index.js +0 -30
- package/models/supabase/User/Group/types.d.ts +0 -6
- package/models/supabase/User/Group/types.js +0 -2
- package/models/supabase/User/index.d.ts +0 -13
- package/models/supabase/User/index.js +0 -37
- package/models/supabase/User/types.d.ts +0 -6
- package/models/supabase/User/types.js +0 -2
- package/types/supabase/catalog.d.ts +0 -46
- package/types/supabase/catalog.js +0 -2
- package/types/supabase/catalog.ts +0 -67
- package/types/supabase/composerMetrics.d.ts +0 -27
- package/types/supabase/composerMetrics.js +0 -2
- package/types/supabase/composerMetrics.ts +0 -26
- package/types/supabase/overwrites/tables/comm/model.d.ts +0 -4
- package/types/supabase/overwrites/tables/comm/model.js +0 -2
- package/types/supabase/overwrites/tables/comm/model.ts +0 -4
- package/types/supabase/overwrites/tables/comm_history/index.d.ts +0 -7
- package/types/supabase/overwrites/tables/comm_history/index.js +0 -2
- package/types/supabase/overwrites/tables/comm_history/index.ts +0 -9
- package/types/supabase/overwrites/tables/comm_history/model.d.ts +0 -10
- package/types/supabase/overwrites/tables/comm_history/model.js +0 -2
- package/types/supabase/overwrites/tables/comm_history/model.ts +0 -13
- package/types/supabase/overwrites/tables/common/index.js +0 -2
- package/types/supabase/overwrites/tables/composer/index.d.ts +0 -9
- package/types/supabase/overwrites/tables/composer/index.js +0 -2
- package/types/supabase/overwrites/tables/composer/index.ts +0 -10
- package/types/supabase/overwrites/tables/composer/model.d.ts +0 -12
- package/types/supabase/overwrites/tables/composer/model.js +0 -2
- package/types/supabase/overwrites/tables/composer/model.ts +0 -15
- package/types/supabase/overwrites/tables/composer/publicModel.d.ts +0 -11
- package/types/supabase/overwrites/tables/composer/publicModel.js +0 -2
- package/types/supabase/overwrites/tables/composer/publicModel.ts +0 -15
- package/types/supabase/overwrites/tables/composerComposition/index.d.ts +0 -18
- package/types/supabase/overwrites/tables/composerComposition/index.js +0 -2
- package/types/supabase/overwrites/tables/composerComposition/index.ts +0 -24
- package/types/supabase/overwrites/tables/composerComposition/model.d.ts +0 -9
- package/types/supabase/overwrites/tables/composerComposition/model.js +0 -2
- package/types/supabase/overwrites/tables/composerComposition/model.ts +0 -26
- package/types/supabase/overwrites/tables/composerComposition/publicModel.d.ts +0 -9
- package/types/supabase/overwrites/tables/composerComposition/publicModel.js +0 -2
- package/types/supabase/overwrites/tables/composerComposition/publicModel.ts +0 -37
- package/types/supabase/overwrites/tables/composerNotification/index.d.ts +0 -19
- package/types/supabase/overwrites/tables/composerNotification/index.js +0 -2
- package/types/supabase/overwrites/tables/composerNotification/index.ts +0 -25
- package/types/supabase/overwrites/tables/composerOwnedTransaction/model.d.ts +0 -2
- package/types/supabase/overwrites/tables/composerOwnedTransaction/model.js +0 -2
- package/types/supabase/overwrites/tables/composerOwnedTransaction/model.ts +0 -3
- package/types/supabase/overwrites/tables/composerPayout/index.d.ts +0 -7
- package/types/supabase/overwrites/tables/composerPayout/index.js +0 -2
- package/types/supabase/overwrites/tables/composerPayout/index.ts +0 -8
- package/types/supabase/overwrites/tables/compositionAcquisition/index.d.ts +0 -4
- package/types/supabase/overwrites/tables/compositionAcquisition/index.js +0 -2
- package/types/supabase/overwrites/tables/compositionAcquisition/index.ts +0 -8
- package/types/supabase/overwrites/tables/compositionAcquisition/model.d.ts +0 -6
- package/types/supabase/overwrites/tables/compositionAcquisition/model.js +0 -2
- package/types/supabase/overwrites/tables/compositionAcquisition/model.ts +0 -11
- package/types/supabase/overwrites/tables/compositionFavorite/index.d.ts +0 -1
- package/types/supabase/overwrites/tables/compositionFavorite/index.js +0 -2
- package/types/supabase/overwrites/tables/compositionFavorite/index.ts +0 -2
- package/types/supabase/overwrites/tables/compositionFavorite/model.d.ts +0 -1
- package/types/supabase/overwrites/tables/compositionFavorite/model.js +0 -2
- package/types/supabase/overwrites/tables/compositionFavorite/model.ts +0 -1
- package/types/supabase/overwrites/tables/compositionView/index.d.ts +0 -1
- package/types/supabase/overwrites/tables/compositionView/index.js +0 -2
- package/types/supabase/overwrites/tables/compositionView/index.ts +0 -2
- package/types/supabase/overwrites/tables/compositionView/model.d.ts +0 -1
- package/types/supabase/overwrites/tables/compositionView/model.js +0 -2
- package/types/supabase/overwrites/tables/compositionView/model.ts +0 -1
- package/types/supabase/overwrites/tables/currencyExchangeRate/index.d.ts +0 -16
- package/types/supabase/overwrites/tables/currencyExchangeRate/index.js +0 -2
- package/types/supabase/overwrites/tables/currencyExchangeRate/index.ts +0 -18
- package/types/supabase/overwrites/tables/event/index.js +0 -2
- package/types/supabase/overwrites/tables/event_history/index.d.ts +0 -7
- package/types/supabase/overwrites/tables/event_history/index.js +0 -2
- package/types/supabase/overwrites/tables/event_history/index.ts +0 -9
- package/types/supabase/overwrites/tables/event_history/model.d.ts +0 -10
- package/types/supabase/overwrites/tables/event_history/model.js +0 -2
- package/types/supabase/overwrites/tables/event_history/model.ts +0 -13
- package/types/supabase/overwrites/tables/group/index.js +0 -2
- package/types/supabase/overwrites/tables/group_history/index.d.ts +0 -7
- package/types/supabase/overwrites/tables/group_history/index.js +0 -2
- package/types/supabase/overwrites/tables/group_history/index.ts +0 -9
- package/types/supabase/overwrites/tables/group_history/model.d.ts +0 -10
- package/types/supabase/overwrites/tables/group_history/model.js +0 -2
- package/types/supabase/overwrites/tables/group_history/model.ts +0 -13
- package/types/supabase/overwrites/tables/offer/index.js +0 -2
- package/types/supabase/overwrites/tables/offer_history/index.d.ts +0 -7
- package/types/supabase/overwrites/tables/offer_history/index.js +0 -2
- package/types/supabase/overwrites/tables/offer_history/index.ts +0 -9
- package/types/supabase/overwrites/tables/offer_history/model.d.ts +0 -10
- package/types/supabase/overwrites/tables/offer_history/model.js +0 -2
- package/types/supabase/overwrites/tables/offer_history/model.ts +0 -13
- package/types/supabase/overwrites/tables/repertoire/model.d.ts +0 -7
- package/types/supabase/overwrites/tables/repertoire/model.js +0 -2
- package/types/supabase/overwrites/tables/repertoire/model.ts +0 -7
- package/types/supabase/overwrites/tables/repertoire_history/index.d.ts +0 -7
- package/types/supabase/overwrites/tables/repertoire_history/index.js +0 -2
- package/types/supabase/overwrites/tables/repertoire_history/index.ts +0 -9
- package/types/supabase/overwrites/tables/repertoire_history/model.d.ts +0 -10
- package/types/supabase/overwrites/tables/repertoire_history/model.js +0 -2
- package/types/supabase/overwrites/tables/repertoire_history/model.ts +0 -13
- package/types/supabase/overwrites/tables/user/index.d.ts +0 -11
- package/types/supabase/overwrites/tables/user/index.js +0 -2
- package/types/supabase/overwrites/tables/user/index.ts +0 -13
- /package/{functions/composer.js → types/supabase/overwrites/comm.js} +0 -0
- /package/{functions/composerComposition.js → types/supabase/overwrites/comm_history.js} +0 -0
- /package/{functions/composerNotification.js → types/supabase/overwrites/event.js} +0 -0
- /package/{functions/composerPayout.js → types/supabase/overwrites/event_history.js} +0 -0
- /package/{models/supabase/Comm/types.js → types/supabase/overwrites/group.js} +0 -0
- /package/{models/supabase/Composer/Composition/Acquisition/types.js → types/supabase/overwrites/group_history.js} +0 -0
- /package/{models/supabase/Composer/Composition/Favorite/types.js → types/supabase/overwrites/offer.js} +0 -0
- /package/{models/supabase/Composer/Composition/View/types.js → types/supabase/overwrites/offer_history.js} +0 -0
- /package/{models/supabase/Composer/Payout/status.js → types/supabase/overwrites/repertoire.js} +0 -0
- /package/{models/supabase/Composer/Payout/types.js → types/supabase/overwrites/repertoire_history.js} +0 -0
- /package/types/supabase/overwrites/{tables/common/index.d.ts → utils.d.ts} +0 -0
- /package/{models/supabase/Composer/PerformanceAttendance/types.js → types/supabase/overwrites/utils.js} +0 -0
- /package/types/supabase/overwrites/{tables/common/index.ts → utils.ts} +0 -0
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { MarketplaceCurrencyCode } from '../../helpers/currencyConversion';
|
|
2
|
-
import { Descendant } from '../../helpers/slate';
|
|
3
|
-
import { GroupRepertoryData } from '../../models/Group/Repertory/types';
|
|
4
|
-
import { ComposerCompositionCover, ComposerCompositionHighlightedPart, ComposerCompositionProducts, ComposerCompositionSample } from '../../models/supabase/Composer/Composition/types';
|
|
5
|
-
import { Database as DatabaseGenerated } from './generated';
|
|
6
|
-
type CatalogCompositionBrowseFunctionGenerated = DatabaseGenerated['public']['Functions']['catalogCompositionBrowse'];
|
|
7
|
-
type CatalogCompositionBrowseRowGenerated = CatalogCompositionBrowseFunctionGenerated['Returns'][number];
|
|
8
|
-
type NullableArgs<T> = {
|
|
9
|
-
[K in keyof T]: T[K] | null;
|
|
10
|
-
};
|
|
11
|
-
export type CatalogCompositionBrowseArgs = Omit<NullableArgs<CatalogCompositionBrowseFunctionGenerated['Args']>, 'buyerCurrency'> & {
|
|
12
|
-
buyerCurrency?: MarketplaceCurrencyCode | null;
|
|
13
|
-
};
|
|
14
|
-
export type CatalogCompositionBrowseRow = Omit<CatalogCompositionBrowseRowGenerated, 'cover' | 'description' | 'files' | 'highlightedParts' | 'products' | 'samples'> & {
|
|
15
|
-
cover: ComposerCompositionCover | null;
|
|
16
|
-
description: Descendant[];
|
|
17
|
-
files: GroupRepertoryData['files'];
|
|
18
|
-
highlightedParts: ComposerCompositionHighlightedPart[];
|
|
19
|
-
products: ComposerCompositionProducts;
|
|
20
|
-
samples: Record<string, ComposerCompositionSample>;
|
|
21
|
-
};
|
|
22
|
-
export interface CatalogCompositionBrowseFunction {
|
|
23
|
-
Args: CatalogCompositionBrowseArgs;
|
|
24
|
-
Returns: CatalogCompositionBrowseRow[];
|
|
25
|
-
}
|
|
26
|
-
export interface CatalogCompositionFacetsArgs {
|
|
27
|
-
buyerCurrency?: MarketplaceCurrencyCode;
|
|
28
|
-
composerLocationCountries?: string[];
|
|
29
|
-
composerLocationLatitude?: number;
|
|
30
|
-
composerLocationLongitude?: number;
|
|
31
|
-
composerLocationRadiusKm?: number;
|
|
32
|
-
}
|
|
33
|
-
export interface CatalogCompositionFacetsRow {
|
|
34
|
-
composers: string[];
|
|
35
|
-
genresIds: string[];
|
|
36
|
-
highlightedParts: ComposerCompositionHighlightedPart[];
|
|
37
|
-
instrumentationIds: string[];
|
|
38
|
-
maxDuration: number;
|
|
39
|
-
maxPrice: number;
|
|
40
|
-
stylesIds: string[];
|
|
41
|
-
}
|
|
42
|
-
export interface CatalogCompositionFacetsFunction {
|
|
43
|
-
Args: CatalogCompositionFacetsArgs;
|
|
44
|
-
Returns: CatalogCompositionFacetsRow[];
|
|
45
|
-
}
|
|
46
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { MarketplaceCurrencyCode } from '../../helpers/currencyConversion';
|
|
2
|
-
import { Descendant } from '../../helpers/slate';
|
|
3
|
-
import { GroupRepertoryData } from '../../models/Group/Repertory/types';
|
|
4
|
-
import {
|
|
5
|
-
ComposerCompositionCover,
|
|
6
|
-
ComposerCompositionHighlightedPart,
|
|
7
|
-
ComposerCompositionProducts,
|
|
8
|
-
ComposerCompositionSample,
|
|
9
|
-
} from '../../models/supabase/Composer/Composition/types';
|
|
10
|
-
import { Database as DatabaseGenerated } from './generated';
|
|
11
|
-
|
|
12
|
-
type CatalogCompositionBrowseFunctionGenerated =
|
|
13
|
-
DatabaseGenerated['public']['Functions']['catalogCompositionBrowse'];
|
|
14
|
-
|
|
15
|
-
type CatalogCompositionBrowseRowGenerated =
|
|
16
|
-
CatalogCompositionBrowseFunctionGenerated['Returns'][number];
|
|
17
|
-
|
|
18
|
-
type NullableArgs<T> = {
|
|
19
|
-
[K in keyof T]: T[K] | null;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export type CatalogCompositionBrowseArgs = Omit<
|
|
23
|
-
NullableArgs<CatalogCompositionBrowseFunctionGenerated['Args']>,
|
|
24
|
-
'buyerCurrency'
|
|
25
|
-
> & {
|
|
26
|
-
buyerCurrency?: MarketplaceCurrencyCode | null;
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
export type CatalogCompositionBrowseRow = Omit<
|
|
30
|
-
CatalogCompositionBrowseRowGenerated,
|
|
31
|
-
'cover' | 'description' | 'files' | 'highlightedParts' | 'products' | 'samples'
|
|
32
|
-
> & {
|
|
33
|
-
cover: ComposerCompositionCover | null;
|
|
34
|
-
description: Descendant[];
|
|
35
|
-
files: GroupRepertoryData['files'];
|
|
36
|
-
highlightedParts: ComposerCompositionHighlightedPart[];
|
|
37
|
-
products: ComposerCompositionProducts;
|
|
38
|
-
samples: Record<string, ComposerCompositionSample>;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
export interface CatalogCompositionBrowseFunction {
|
|
42
|
-
Args: CatalogCompositionBrowseArgs;
|
|
43
|
-
Returns: CatalogCompositionBrowseRow[];
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export interface CatalogCompositionFacetsArgs {
|
|
47
|
-
buyerCurrency?: MarketplaceCurrencyCode;
|
|
48
|
-
composerLocationCountries?: string[];
|
|
49
|
-
composerLocationLatitude?: number;
|
|
50
|
-
composerLocationLongitude?: number;
|
|
51
|
-
composerLocationRadiusKm?: number;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export interface CatalogCompositionFacetsRow {
|
|
55
|
-
composers: string[];
|
|
56
|
-
genresIds: string[];
|
|
57
|
-
highlightedParts: ComposerCompositionHighlightedPart[];
|
|
58
|
-
instrumentationIds: string[];
|
|
59
|
-
maxDuration: number;
|
|
60
|
-
maxPrice: number;
|
|
61
|
-
stylesIds: string[];
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export interface CatalogCompositionFacetsFunction {
|
|
65
|
-
Args: CatalogCompositionFacetsArgs;
|
|
66
|
-
Returns: CatalogCompositionFacetsRow[];
|
|
67
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface ComposerBalanceRpcResult {
|
|
2
|
-
totalEarnedCents: number;
|
|
3
|
-
totalPaidOutCents: number;
|
|
4
|
-
availableCents: number;
|
|
5
|
-
}
|
|
6
|
-
export interface ComposerExploreMetricsRpcResult {
|
|
7
|
-
compositionsCount: number;
|
|
8
|
-
viewsCount: number;
|
|
9
|
-
groupsTargetedCount: number;
|
|
10
|
-
favoritesCount: number;
|
|
11
|
-
acquisitionsCount: number;
|
|
12
|
-
revenueTotal: number;
|
|
13
|
-
groupsClientsCount: number;
|
|
14
|
-
concertsCount: number;
|
|
15
|
-
}
|
|
16
|
-
export interface ComposerBalanceFunction {
|
|
17
|
-
Args: {
|
|
18
|
-
composer_id: string;
|
|
19
|
-
};
|
|
20
|
-
Returns: ComposerBalanceRpcResult;
|
|
21
|
-
}
|
|
22
|
-
export interface ComposerExploreMetricsFunction {
|
|
23
|
-
Args: {
|
|
24
|
-
composer_id: string;
|
|
25
|
-
};
|
|
26
|
-
Returns: ComposerExploreMetricsRpcResult;
|
|
27
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface ComposerBalanceRpcResult {
|
|
2
|
-
totalEarnedCents: number;
|
|
3
|
-
totalPaidOutCents: number;
|
|
4
|
-
availableCents: number;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
export interface ComposerExploreMetricsRpcResult {
|
|
8
|
-
compositionsCount: number;
|
|
9
|
-
viewsCount: number;
|
|
10
|
-
groupsTargetedCount: number;
|
|
11
|
-
favoritesCount: number;
|
|
12
|
-
acquisitionsCount: number;
|
|
13
|
-
revenueTotal: number;
|
|
14
|
-
groupsClientsCount: number;
|
|
15
|
-
concertsCount: number;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export interface ComposerBalanceFunction {
|
|
19
|
-
Args: { composer_id: string };
|
|
20
|
-
Returns: ComposerBalanceRpcResult;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface ComposerExploreMetricsFunction {
|
|
24
|
-
Args: { composer_id: string };
|
|
25
|
-
Returns: ComposerExploreMetricsRpcResult;
|
|
26
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CommHistoryAction } from '../../../../../models/supabase/CommHistory/types';
|
|
2
|
-
export type CommHistoryValue = Record<string, unknown>;
|
|
3
|
-
export interface CommHistoryOverwrite {
|
|
4
|
-
action: CommHistoryAction;
|
|
5
|
-
value: CommHistoryValue | null;
|
|
6
|
-
prev_value: CommHistoryValue | null;
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CommHistoryAction } from '../../../../../models/supabase/CommHistory/types';
|
|
2
|
-
|
|
3
|
-
export type CommHistoryValue = Record<string, unknown>;
|
|
4
|
-
|
|
5
|
-
export interface CommHistoryOverwrite {
|
|
6
|
-
action: CommHistoryAction;
|
|
7
|
-
value: CommHistoryValue | null;
|
|
8
|
-
prev_value: CommHistoryValue | null;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CommHistoryValue } from '.';
|
|
2
|
-
import { CommHistoryAction } from '../../../../../models/supabase/CommHistory/types';
|
|
3
|
-
import { Database } from '../../../generated';
|
|
4
|
-
type CommHistoryRow = Omit<Database['public']['Tables']['comm_history']['Row'], 'value' | 'prev_value'>;
|
|
5
|
-
export interface CommHistoryModelOverwrite extends CommHistoryRow {
|
|
6
|
-
action: CommHistoryAction;
|
|
7
|
-
value: CommHistoryValue | null;
|
|
8
|
-
prev_value: CommHistoryValue | null;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CommHistoryValue } from '.';
|
|
2
|
-
import { CommHistoryAction } from '../../../../../models/supabase/CommHistory/types';
|
|
3
|
-
import { Database } from '../../../generated';
|
|
4
|
-
|
|
5
|
-
type CommHistoryRow = Omit<
|
|
6
|
-
Database['public']['Tables']['comm_history']['Row'],
|
|
7
|
-
'value' | 'prev_value'
|
|
8
|
-
>;
|
|
9
|
-
export interface CommHistoryModelOverwrite extends CommHistoryRow {
|
|
10
|
-
action: CommHistoryAction;
|
|
11
|
-
value: CommHistoryValue | null;
|
|
12
|
-
prev_value: CommHistoryValue | null;
|
|
13
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InstrumentsRecord } from '../../../../../helpers/instruments';
|
|
2
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
3
|
-
import { SocialNetworksRecord, RepertoireTagsRecord } from '../../../../../helpers/types';
|
|
4
|
-
export interface ComposerOverwrite {
|
|
5
|
-
description: Descendant[] | null;
|
|
6
|
-
instruments: InstrumentsRecord;
|
|
7
|
-
repertoireTags: RepertoireTagsRecord;
|
|
8
|
-
socialNetworks: SocialNetworksRecord;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { InstrumentsRecord } from '../../../../../helpers/instruments';
|
|
2
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
3
|
-
import { SocialNetworksRecord, RepertoireTagsRecord } from '../../../../../helpers/types';
|
|
4
|
-
|
|
5
|
-
export interface ComposerOverwrite {
|
|
6
|
-
description: Descendant[] | null;
|
|
7
|
-
instruments: InstrumentsRecord;
|
|
8
|
-
repertoireTags: RepertoireTagsRecord;
|
|
9
|
-
socialNetworks: SocialNetworksRecord;
|
|
10
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { InstrumentsRecord } from '../../../../../helpers/instruments';
|
|
2
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
3
|
-
import { SocialNetworksRecord, RepertoireTagsRecord } from '../../../../../helpers/types';
|
|
4
|
-
import { Database } from '../../../generated';
|
|
5
|
-
type ComposerRow = Omit<Database['public']['Tables']['composer']['Row'], 'description' | 'instruments' | 'repertoireTags' | 'socialNetworks'>;
|
|
6
|
-
export interface ComposerModelOverwrite extends ComposerRow {
|
|
7
|
-
description: Descendant[] | null;
|
|
8
|
-
instruments: InstrumentsRecord;
|
|
9
|
-
repertoireTags: RepertoireTagsRecord;
|
|
10
|
-
socialNetworks: SocialNetworksRecord;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InstrumentsRecord } from '../../../../../helpers/instruments';
|
|
2
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
3
|
-
import { SocialNetworksRecord, RepertoireTagsRecord } from '../../../../../helpers/types';
|
|
4
|
-
import { Database } from '../../../generated';
|
|
5
|
-
|
|
6
|
-
type ComposerRow = Omit<
|
|
7
|
-
Database['public']['Tables']['composer']['Row'],
|
|
8
|
-
'description' | 'instruments' | 'repertoireTags' | 'socialNetworks'
|
|
9
|
-
>;
|
|
10
|
-
export interface ComposerModelOverwrite extends ComposerRow {
|
|
11
|
-
description: Descendant[] | null;
|
|
12
|
-
instruments: InstrumentsRecord;
|
|
13
|
-
repertoireTags: RepertoireTagsRecord;
|
|
14
|
-
socialNetworks: SocialNetworksRecord;
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { InstrumentsRecord } from '../../../../../helpers/instruments';
|
|
2
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
3
|
-
import { SocialNetworksRecord } from '../../../../../helpers/types';
|
|
4
|
-
import { Database } from '../../../generated';
|
|
5
|
-
type ComposerPublicModelRow = Omit<Database['public']['Views']['composerPublicModel']['Row'], 'description' | 'instruments' | 'socialNetworks'>;
|
|
6
|
-
export interface ComposerPublicModelOverwrite extends ComposerPublicModelRow {
|
|
7
|
-
description: Descendant[] | null;
|
|
8
|
-
instruments: InstrumentsRecord;
|
|
9
|
-
socialNetworks: SocialNetworksRecord;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { InstrumentsRecord } from '../../../../../helpers/instruments';
|
|
2
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
3
|
-
import { SocialNetworksRecord } from '../../../../../helpers/types';
|
|
4
|
-
import { Database } from '../../../generated';
|
|
5
|
-
|
|
6
|
-
type ComposerPublicModelRow = Omit<
|
|
7
|
-
Database['public']['Views']['composerPublicModel']['Row'],
|
|
8
|
-
'description' | 'instruments' | 'socialNetworks'
|
|
9
|
-
>;
|
|
10
|
-
|
|
11
|
-
export interface ComposerPublicModelOverwrite extends ComposerPublicModelRow {
|
|
12
|
-
description: Descendant[] | null;
|
|
13
|
-
instruments: InstrumentsRecord;
|
|
14
|
-
socialNetworks: SocialNetworksRecord;
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { CompositionGenreId } from '../../../../../helpers/compositionCategories/genres';
|
|
2
|
-
import { CompositionStyleId } from '../../../../../helpers/compositionCategories/styles';
|
|
3
|
-
import { MusicStyleId } from '../../../../../helpers/musicStyles';
|
|
4
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
5
|
-
import { GroupRepertoryData } from '../../../../../models/Group/Repertory/types';
|
|
6
|
-
import { ComposerCompositionCover, ComposerCompositionSample, ComposerCompositionProducts, ComposerCompositionHighlightedPart } from '../../../../../models/supabase/Composer/Composition/types';
|
|
7
|
-
export interface ComposerCompositionOverwrite {
|
|
8
|
-
description: Descendant[];
|
|
9
|
-
cover: ComposerCompositionCover | null;
|
|
10
|
-
samples: Record<string, ComposerCompositionSample>;
|
|
11
|
-
files: GroupRepertoryData['files'];
|
|
12
|
-
filesPath: GroupRepertoryData['filesPath'];
|
|
13
|
-
products: ComposerCompositionProducts;
|
|
14
|
-
highlightedParts: ComposerCompositionHighlightedPart[];
|
|
15
|
-
instrumentationIds: MusicStyleId[];
|
|
16
|
-
genresIds: CompositionGenreId[];
|
|
17
|
-
stylesIds: CompositionStyleId[];
|
|
18
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { CompositionGenreId } from '../../../../../helpers/compositionCategories/genres';
|
|
2
|
-
import { CompositionStyleId } from '../../../../../helpers/compositionCategories/styles';
|
|
3
|
-
import { MusicStyleId } from '../../../../../helpers/musicStyles';
|
|
4
|
-
import { Descendant } from '../../../../../helpers/slate';
|
|
5
|
-
import { GroupRepertoryData } from '../../../../../models/Group/Repertory/types';
|
|
6
|
-
import {
|
|
7
|
-
ComposerCompositionCover,
|
|
8
|
-
ComposerCompositionSample,
|
|
9
|
-
ComposerCompositionProducts,
|
|
10
|
-
ComposerCompositionHighlightedPart,
|
|
11
|
-
} from '../../../../../models/supabase/Composer/Composition/types';
|
|
12
|
-
|
|
13
|
-
export interface ComposerCompositionOverwrite {
|
|
14
|
-
description: Descendant[];
|
|
15
|
-
cover: ComposerCompositionCover | null;
|
|
16
|
-
samples: Record<string, ComposerCompositionSample>;
|
|
17
|
-
files: GroupRepertoryData['files'];
|
|
18
|
-
filesPath: GroupRepertoryData['filesPath'];
|
|
19
|
-
products: ComposerCompositionProducts;
|
|
20
|
-
highlightedParts: ComposerCompositionHighlightedPart[];
|
|
21
|
-
instrumentationIds: MusicStyleId[];
|
|
22
|
-
genresIds: CompositionGenreId[];
|
|
23
|
-
stylesIds: CompositionStyleId[];
|
|
24
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Database } from '../../../generated';
|
|
2
|
-
import { ComposerCompositionOverwrite } from '.';
|
|
3
|
-
type ComposerCompositionRowCommonColumns = Omit<Database['public']['Tables']['composerComposition']['Row'], 'description' | 'cover' | 'media' | 'samples' | 'files' | 'filesPath' | 'products' | 'highlightedParts' | 'instrumentationIds' | 'genresIds' | 'stylesIds'>;
|
|
4
|
-
type ComposerCompositionModelRow = Database['public']['Views']['composerCompositionModel']['Row'];
|
|
5
|
-
export interface ComposerCompositionModelOverwrite extends ComposerCompositionRowCommonColumns, ComposerCompositionOverwrite {
|
|
6
|
-
arrangerName: ComposerCompositionModelRow['arrangerName'];
|
|
7
|
-
composerName: ComposerCompositionModelRow['composerName'];
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Database } from '../../../generated';
|
|
2
|
-
import { ComposerCompositionOverwrite } from '.';
|
|
3
|
-
|
|
4
|
-
type ComposerCompositionRowCommonColumns = Omit<
|
|
5
|
-
Database['public']['Tables']['composerComposition']['Row'],
|
|
6
|
-
| 'description'
|
|
7
|
-
| 'cover'
|
|
8
|
-
| 'media'
|
|
9
|
-
| 'samples'
|
|
10
|
-
| 'files'
|
|
11
|
-
| 'filesPath'
|
|
12
|
-
| 'products'
|
|
13
|
-
| 'highlightedParts'
|
|
14
|
-
| 'instrumentationIds'
|
|
15
|
-
| 'genresIds'
|
|
16
|
-
| 'stylesIds'
|
|
17
|
-
>;
|
|
18
|
-
|
|
19
|
-
type ComposerCompositionModelRow = Database['public']['Views']['composerCompositionModel']['Row'];
|
|
20
|
-
|
|
21
|
-
export interface ComposerCompositionModelOverwrite
|
|
22
|
-
extends ComposerCompositionRowCommonColumns,
|
|
23
|
-
ComposerCompositionOverwrite {
|
|
24
|
-
arrangerName: ComposerCompositionModelRow['arrangerName'];
|
|
25
|
-
composerName: ComposerCompositionModelRow['composerName'];
|
|
26
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GroupRepertoireFile } from '../../../../../models/Group/Repertory/types';
|
|
2
|
-
import { Database } from '../../../generated';
|
|
3
|
-
import { ComposerCompositionOverwrite } from '.';
|
|
4
|
-
type ComposerCompositionPublicModelRow = Omit<Database['public']['Views']['composerCompositionPublicModel']['Row'], 'description' | 'cover' | 'samples' | 'files' | 'products' | 'highlightedParts' | 'instrumentationIds' | 'genresIds' | 'stylesIds'>;
|
|
5
|
-
type PublicCompositionFile = Pick<GroupRepertoireFile, 'sections' | 'pageCount' | 'filetype' | 'isEncrypted'>;
|
|
6
|
-
export interface ComposerCompositionPublicModelOverwrite extends ComposerCompositionPublicModelRow, Pick<ComposerCompositionOverwrite, 'description' | 'cover' | 'samples' | 'products' | 'highlightedParts' | 'instrumentationIds' | 'genresIds' | 'stylesIds'> {
|
|
7
|
-
files: Record<string, PublicCompositionFile>;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { GroupRepertoireFile } from '../../../../../models/Group/Repertory/types';
|
|
2
|
-
import { Database } from '../../../generated';
|
|
3
|
-
import { ComposerCompositionOverwrite } from '.';
|
|
4
|
-
|
|
5
|
-
type ComposerCompositionPublicModelRow = Omit<
|
|
6
|
-
Database['public']['Views']['composerCompositionPublicModel']['Row'],
|
|
7
|
-
| 'description'
|
|
8
|
-
| 'cover'
|
|
9
|
-
| 'samples'
|
|
10
|
-
| 'files'
|
|
11
|
-
| 'products'
|
|
12
|
-
| 'highlightedParts'
|
|
13
|
-
| 'instrumentationIds'
|
|
14
|
-
| 'genresIds'
|
|
15
|
-
| 'stylesIds'
|
|
16
|
-
>;
|
|
17
|
-
|
|
18
|
-
type PublicCompositionFile = Pick<
|
|
19
|
-
GroupRepertoireFile,
|
|
20
|
-
'sections' | 'pageCount' | 'filetype' | 'isEncrypted'
|
|
21
|
-
>;
|
|
22
|
-
|
|
23
|
-
export interface ComposerCompositionPublicModelOverwrite
|
|
24
|
-
extends ComposerCompositionPublicModelRow,
|
|
25
|
-
Pick<
|
|
26
|
-
ComposerCompositionOverwrite,
|
|
27
|
-
| 'description'
|
|
28
|
-
| 'cover'
|
|
29
|
-
| 'samples'
|
|
30
|
-
| 'products'
|
|
31
|
-
| 'highlightedParts'
|
|
32
|
-
| 'instrumentationIds'
|
|
33
|
-
| 'genresIds'
|
|
34
|
-
| 'stylesIds'
|
|
35
|
-
> {
|
|
36
|
-
files: Record<string, PublicCompositionFile>;
|
|
37
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ComposerNotificationEmailStatus, ComposerNotificationMetadata, ComposerNotificationParams, ComposerNotificationType } from '../../../../../models/supabase/Composer/Notification/types';
|
|
2
|
-
export interface ComposerNotificationOverwrite {
|
|
3
|
-
id: string;
|
|
4
|
-
composerId: string;
|
|
5
|
-
userId: string;
|
|
6
|
-
type: ComposerNotificationType;
|
|
7
|
-
titleKey: string;
|
|
8
|
-
bodyKey: string;
|
|
9
|
-
params: ComposerNotificationParams;
|
|
10
|
-
metadata: ComposerNotificationMetadata;
|
|
11
|
-
actionUrl: string | null;
|
|
12
|
-
readAt: string | null;
|
|
13
|
-
archivedAt: string | null;
|
|
14
|
-
emailStatus: ComposerNotificationEmailStatus;
|
|
15
|
-
emailSentAt: string | null;
|
|
16
|
-
emailError: string | null;
|
|
17
|
-
dedupeKey: string | null;
|
|
18
|
-
createdAt: string;
|
|
19
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
ComposerNotificationEmailStatus,
|
|
3
|
-
ComposerNotificationMetadata,
|
|
4
|
-
ComposerNotificationParams,
|
|
5
|
-
ComposerNotificationType,
|
|
6
|
-
} from '../../../../../models/supabase/Composer/Notification/types';
|
|
7
|
-
|
|
8
|
-
export interface ComposerNotificationOverwrite {
|
|
9
|
-
id: string;
|
|
10
|
-
composerId: string;
|
|
11
|
-
userId: string;
|
|
12
|
-
type: ComposerNotificationType;
|
|
13
|
-
titleKey: string;
|
|
14
|
-
bodyKey: string;
|
|
15
|
-
params: ComposerNotificationParams;
|
|
16
|
-
metadata: ComposerNotificationMetadata;
|
|
17
|
-
actionUrl: string | null;
|
|
18
|
-
readAt: string | null;
|
|
19
|
-
archivedAt: string | null;
|
|
20
|
-
emailStatus: ComposerNotificationEmailStatus;
|
|
21
|
-
emailSentAt: string | null;
|
|
22
|
-
emailError: string | null;
|
|
23
|
-
dedupeKey: string | null;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Database } from '../../../generated';
|
|
2
|
-
import { ComposerPayoutStatus } from '../../../../../models/supabase/Composer/Payout/status';
|
|
3
|
-
type ComposerPayoutRow = Database['public']['Tables']['composerPayout']['Row'];
|
|
4
|
-
export interface ComposerPayoutOverwrite extends Omit<ComposerPayoutRow, 'status'> {
|
|
5
|
-
status: ComposerPayoutStatus;
|
|
6
|
-
}
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Database } from '../../../generated';
|
|
2
|
-
import { ComposerPayoutStatus } from '../../../../../models/supabase/Composer/Payout/status';
|
|
3
|
-
|
|
4
|
-
type ComposerPayoutRow = Database['public']['Tables']['composerPayout']['Row'];
|
|
5
|
-
|
|
6
|
-
export interface ComposerPayoutOverwrite extends Omit<ComposerPayoutRow, 'status'> {
|
|
7
|
-
status: ComposerPayoutStatus;
|
|
8
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AcquiredProductsMap, CompositionAcquisitionCurrencyFields } from '../../../../../models/supabase/Composer/Composition/Acquisition/types';
|
|
2
|
-
export interface CompositionAcquisitionOverwrite extends CompositionAcquisitionCurrencyFields {
|
|
3
|
-
acquiredProducts: AcquiredProductsMap;
|
|
4
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AcquiredProductsMap,
|
|
3
|
-
CompositionAcquisitionCurrencyFields,
|
|
4
|
-
} from '../../../../../models/supabase/Composer/Composition/Acquisition/types';
|
|
5
|
-
|
|
6
|
-
export interface CompositionAcquisitionOverwrite extends CompositionAcquisitionCurrencyFields {
|
|
7
|
-
acquiredProducts: AcquiredProductsMap;
|
|
8
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { CompositionAcquisitionOverwrite } from '.';
|
|
2
|
-
import { ComposerCompositionCover, ComposerCompositionProducts } from '../../../../../models/supabase/Composer/Composition/types';
|
|
3
|
-
export interface CompositionAcquisitionModelOverwrite extends CompositionAcquisitionOverwrite {
|
|
4
|
-
compositionCover: ComposerCompositionCover | null;
|
|
5
|
-
compositionProducts: ComposerCompositionProducts | null;
|
|
6
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CompositionAcquisitionOverwrite } from '.';
|
|
2
|
-
import {
|
|
3
|
-
ComposerCompositionCover,
|
|
4
|
-
ComposerCompositionProducts,
|
|
5
|
-
} from '../../../../../models/supabase/Composer/Composition/types';
|
|
6
|
-
|
|
7
|
-
// Model views add joined composition fields from composerComposition.
|
|
8
|
-
export interface CompositionAcquisitionModelOverwrite extends CompositionAcquisitionOverwrite {
|
|
9
|
-
compositionCover: ComposerCompositionCover | null;
|
|
10
|
-
compositionProducts: ComposerCompositionProducts | null;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type CompositionFavoriteOverwrite = Record<never, never>;
|