@glissandoo/lib 1.114.1 → 1.115.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 +3 -1
- package/functions/composer.d.ts +13 -0
- package/functions/composerComposition.d.ts +102 -0
- package/functions/composerNotification.d.ts +38 -0
- package/functions/composerPayout.d.ts +20 -0
- package/functions/customer.d.ts +4 -0
- package/functions/event.js +1 -1
- package/functions/eventPlayer.js +1 -1
- package/functions/eventRepertory.d.ts +2 -0
- package/functions/eventRepertory.js +1 -1
- package/functions/groupRepertory.d.ts +110 -0
- package/functions/index.d.ts +30 -0
- package/functions/index.js +31 -1
- package/functions/misc.d.ts +6 -0
- package/functions/regions.js +31 -1
- package/helpers/appScenes.js +1 -1
- package/helpers/auth.d.ts +2 -9
- package/helpers/auth.js +33 -14
- package/helpers/badges.js +1 -1
- package/helpers/catalogBridge.d.ts +121 -0
- package/helpers/catalogBridge.js +95 -0
- package/helpers/collections.js +2 -2
- package/helpers/communicationTemplate/index.d.ts +3 -2
- package/helpers/communicationTemplate/index.js +5 -5
- package/helpers/compositionCategories/genres.d.ts +922 -0
- package/helpers/compositionCategories/genres.js +940 -0
- package/helpers/compositionCategories/index.d.ts +2 -0
- package/helpers/compositionCategories/index.js +18 -0
- package/helpers/compositionCategories/styles.d.ts +181 -0
- package/helpers/compositionCategories/styles.js +197 -0
- package/helpers/compositionSoloistOffstageParts/index.d.ts +34 -0
- package/helpers/compositionSoloistOffstageParts/index.js +117 -0
- package/helpers/currency.d.ts +19 -0
- package/helpers/currency.js +85 -0
- package/helpers/currencyConversion.d.ts +45 -0
- package/helpers/currencyConversion.js +119 -0
- package/helpers/dataStructures/trees/index.d.ts +12 -0
- package/helpers/dataStructures/trees/index.js +71 -0
- package/helpers/dataStructures/trees/types.d.ts +14 -0
- package/helpers/dataStructures/trees/types.js +5 -0
- package/helpers/dlinks.js +1 -1
- package/helpers/errors.d.ts +1 -0
- package/helpers/errors.js +2 -1
- package/helpers/externalUrls.d.ts +12 -0
- package/helpers/externalUrls.js +40 -0
- package/helpers/instruments/index.d.ts +17 -0
- package/helpers/instruments/index.js +5 -1
- package/helpers/instruments/lists.d.ts +3 -3
- package/helpers/instruments/lists.js +5 -5
- package/helpers/musicStyles/index.d.ts +22 -4
- package/helpers/musicStyles/index.js +114 -35
- package/helpers/notifications/index.js +1 -1
- package/helpers/objects.d.ts +5 -1
- package/helpers/objects.js +7 -6
- package/helpers/plans.js +2 -2
- package/helpers/rates.d.ts +1 -1
- package/helpers/slate.d.ts +64 -5
- package/helpers/slate.js +7 -1
- package/helpers/ts-extras/array-includes.js +1 -2
- package/helpers/ts-extras/as-mutable.js +1 -2
- package/helpers/ts-extras/assert-error.js +1 -2
- package/helpers/ts-extras/index.js +1 -1
- package/helpers/ts-extras/is-defined.js +1 -2
- package/helpers/ts-extras/is-empty.js +1 -2
- package/helpers/ts-extras/is-infinite.js +1 -2
- package/helpers/ts-extras/is-present.js +1 -2
- 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 +1 -2
- package/helpers/ts-extras/object-keys.d.ts +1 -1
- package/helpers/ts-extras/object-keys.js +0 -1
- package/helpers/ts-extras/set-has.js +1 -2
- package/helpers/types.d.ts +26 -0
- package/helpers/types.js +25 -5
- package/lang/ca.json +325 -91
- package/lang/de.json +325 -91
- package/lang/en.json +325 -91
- package/lang/es.json +325 -91
- package/lang/eu.json +325 -91
- package/lang/fr.json +325 -91
- package/lang/gl.json +325 -91
- package/lang/index.js +3 -2
- package/lang/it.json +325 -91
- package/lang/nl.json +325 -91
- package/lang/pt.json +325 -91
- package/models/Communication/types.d.ts +0 -16
- package/models/Communication/types.js +3 -9
- package/models/CompositionGenre/index.d.ts +9 -0
- package/models/CompositionGenre/index.js +16 -0
- package/models/CompositionStyle/index.d.ts +9 -0
- package/models/CompositionStyle/index.js +16 -0
- 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 +2 -1
- package/models/Evento/index.d.ts +3 -2
- package/models/Evento/index.js +5 -4
- package/models/Evento/types.d.ts +2 -31
- package/models/Evento/types.js +8 -39
- 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 +3 -2
- package/models/Group/Repertory/File/Section/types.d.ts +7 -0
- package/models/Group/Repertory/File/Section/types.js +1 -1
- package/models/Group/Repertory/File/index.d.ts +4 -2
- package/models/Group/Repertory/File/index.js +4 -4
- package/models/Group/Repertory/FilePath/index.d.ts +3 -4
- package/models/Group/Repertory/index.d.ts +12 -4
- package/models/Group/Repertory/index.js +9 -0
- package/models/Group/Repertory/types.d.ts +21 -32
- package/models/Group/Repertory/types.js +8 -18
- package/models/Group/index.d.ts +15 -13
- package/models/Group/index.js +16 -15
- package/models/Group/types.d.ts +6 -66
- package/models/Group/types.js +8 -50
- package/models/Instrument/{group.d.ts → fromRecord.d.ts} +4 -5
- package/models/Instrument/{group.js → fromRecord.js} +10 -10
- package/models/Instrument/index.d.ts +2 -0
- package/models/Instrument/index.js +38 -1
- 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 +0 -12
- package/models/Offer/types.js +2 -15
- 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 +12 -0
- package/models/Repertory/types.js +2 -2
- package/models/User/Group/index.js +1 -2
- package/models/User/index.d.ts +1 -1
- package/models/User/index.js +3 -3
- package/models/User/types.d.ts +2 -1
- package/models/User/types.js +7 -7
- package/models/WebhookEvent/types.js +1 -1
- package/models/supabase/Comm/index.d.ts +24 -0
- package/models/supabase/Comm/index.js +68 -0
- package/models/supabase/Comm/types.d.ts +6 -0
- package/models/supabase/CommHistory/index.d.ts +22 -0
- package/models/supabase/CommHistory/index.js +37 -0
- package/models/supabase/CommHistory/types.d.ts +11 -0
- package/models/supabase/CommHistory/types.js +9 -0
- package/models/supabase/Composer/Composition/Acquisition/index.d.ts +4 -0
- package/models/supabase/Composer/Composition/Acquisition/index.js +9 -0
- package/models/supabase/Composer/Composition/Acquisition/types.d.ts +36 -0
- package/models/supabase/Composer/Composition/Favorite/index.d.ts +4 -0
- package/models/supabase/Composer/Composition/Favorite/index.js +9 -0
- package/models/supabase/Composer/Composition/Favorite/types.d.ts +6 -0
- package/models/supabase/Composer/Composition/View/index.d.ts +4 -0
- package/models/supabase/Composer/Composition/View/index.js +9 -0
- package/models/supabase/Composer/Composition/View/types.d.ts +6 -0
- package/models/supabase/Composer/Composition/index.d.ts +5284 -0
- package/models/supabase/Composer/Composition/index.js +166 -0
- package/models/supabase/Composer/Composition/types.d.ts +96 -0
- package/models/supabase/Composer/Composition/types.js +32 -0
- package/models/supabase/Composer/Notification/index.d.ts +4 -0
- package/models/supabase/Composer/Notification/index.js +9 -0
- package/models/supabase/Composer/Notification/types.d.ts +39 -0
- package/models/supabase/Composer/Notification/types.js +27 -0
- package/models/supabase/Composer/Payout/index.d.ts +4 -0
- package/models/supabase/Composer/Payout/index.js +9 -0
- package/models/supabase/Composer/Payout/status.d.ts +1 -0
- package/models/supabase/Composer/Payout/types.d.ts +5 -0
- package/models/supabase/Composer/PerformanceAttendance/types.d.ts +4 -0
- package/models/supabase/Composer/index.d.ts +78 -0
- package/models/supabase/Composer/index.js +105 -0
- package/models/supabase/Composer/types.d.ts +6 -0
- package/models/supabase/Composer/types.js +2 -0
- package/models/supabase/EventHistory/index.d.ts +22 -0
- package/models/supabase/EventHistory/index.js +37 -0
- package/models/supabase/EventHistory/types.d.ts +36 -0
- package/models/supabase/EventHistory/types.js +34 -0
- package/models/supabase/GroupHistory/index.d.ts +21 -0
- package/models/supabase/GroupHistory/index.js +34 -0
- package/models/supabase/GroupHistory/types.d.ts +27 -0
- package/models/supabase/GroupHistory/types.js +25 -0
- package/models/supabase/Model/index.d.ts +10 -0
- package/models/supabase/Model/index.js +21 -0
- package/models/supabase/OfferHistory/index.d.ts +22 -0
- package/models/supabase/OfferHistory/index.js +37 -0
- package/models/supabase/OfferHistory/types.d.ts +18 -0
- package/models/supabase/OfferHistory/types.js +16 -0
- package/models/supabase/Repertoire/index.d.ts +16 -0
- package/models/supabase/Repertoire/index.js +43 -0
- package/models/supabase/Repertoire/types.d.ts +6 -0
- package/models/supabase/Repertoire/types.js +2 -0
- package/models/supabase/RepertoireHistory/index.d.ts +22 -0
- package/models/supabase/RepertoireHistory/index.js +37 -0
- package/models/supabase/RepertoireHistory/types.d.ts +21 -0
- package/models/supabase/RepertoireHistory/types.js +19 -0
- package/models/supabase/User/Group/index.d.ts +11 -0
- package/models/supabase/User/Group/index.js +30 -0
- package/models/supabase/User/Group/types.d.ts +6 -0
- package/models/supabase/User/Group/types.js +2 -0
- package/models/supabase/User/index.d.ts +13 -0
- package/models/supabase/User/index.js +37 -0
- package/models/supabase/User/types.d.ts +6 -0
- package/models/supabase/User/types.js +2 -0
- package/package.json +28 -20
- package/types/firestore.d.ts +0 -1
- package/types/firestore.js +1 -1
- package/types/supabase/catalog.d.ts +46 -0
- package/types/supabase/catalog.js +2 -0
- package/types/supabase/catalog.ts +67 -0
- package/types/supabase/composerMetrics.d.ts +27 -0
- package/types/supabase/composerMetrics.js +2 -0
- package/types/supabase/composerMetrics.ts +26 -0
- package/types/supabase/generated.d.ts +3158 -451
- package/types/supabase/generated.js +13 -0
- package/types/supabase/generated.ts +3116 -496
- package/types/supabase/index.d.ts +155 -19
- package/types/supabase/index.js +15 -0
- package/types/supabase/index.ts +288 -21
- package/types/supabase/overwrites/index.d.ts +1 -1
- package/types/supabase/overwrites/index.ts +1 -1
- package/types/supabase/overwrites/tables/comm/model.d.ts +4 -0
- package/types/supabase/overwrites/tables/comm/model.js +2 -0
- package/types/supabase/overwrites/tables/comm/model.ts +4 -0
- package/types/supabase/overwrites/tables/comm_history/index.d.ts +7 -0
- package/types/supabase/overwrites/tables/comm_history/index.js +2 -0
- package/types/supabase/overwrites/tables/comm_history/index.ts +9 -0
- package/types/supabase/overwrites/tables/comm_history/model.d.ts +10 -0
- package/types/supabase/overwrites/tables/comm_history/model.js +2 -0
- package/types/supabase/overwrites/tables/comm_history/model.ts +13 -0
- package/types/supabase/overwrites/tables/common/index.js +2 -0
- package/types/supabase/overwrites/tables/composer/index.d.ts +9 -0
- package/types/supabase/overwrites/tables/composer/index.js +2 -0
- package/types/supabase/overwrites/tables/composer/index.ts +10 -0
- package/types/supabase/overwrites/tables/composer/model.d.ts +12 -0
- package/types/supabase/overwrites/tables/composer/model.js +2 -0
- package/types/supabase/overwrites/tables/composer/model.ts +15 -0
- package/types/supabase/overwrites/tables/composer/publicModel.d.ts +11 -0
- package/types/supabase/overwrites/tables/composer/publicModel.js +2 -0
- package/types/supabase/overwrites/tables/composer/publicModel.ts +15 -0
- package/types/supabase/overwrites/tables/composerComposition/index.d.ts +18 -0
- package/types/supabase/overwrites/tables/composerComposition/index.js +2 -0
- package/types/supabase/overwrites/tables/composerComposition/index.ts +24 -0
- package/types/supabase/overwrites/tables/composerComposition/model.d.ts +9 -0
- package/types/supabase/overwrites/tables/composerComposition/model.js +2 -0
- package/types/supabase/overwrites/tables/composerComposition/model.ts +26 -0
- package/types/supabase/overwrites/tables/composerComposition/publicModel.d.ts +9 -0
- package/types/supabase/overwrites/tables/composerComposition/publicModel.js +2 -0
- package/types/supabase/overwrites/tables/composerComposition/publicModel.ts +37 -0
- package/types/supabase/overwrites/tables/composerNotification/index.d.ts +19 -0
- package/types/supabase/overwrites/tables/composerNotification/index.js +2 -0
- package/types/supabase/overwrites/tables/composerNotification/index.ts +25 -0
- package/types/supabase/overwrites/tables/composerOwnedTransaction/model.d.ts +2 -0
- package/types/supabase/overwrites/tables/composerOwnedTransaction/model.js +2 -0
- package/types/supabase/overwrites/tables/composerOwnedTransaction/model.ts +3 -0
- package/types/supabase/overwrites/tables/composerPayout/index.d.ts +7 -0
- package/types/supabase/overwrites/tables/composerPayout/index.js +2 -0
- package/types/supabase/overwrites/tables/composerPayout/index.ts +8 -0
- package/types/supabase/overwrites/tables/compositionAcquisition/index.d.ts +4 -0
- package/types/supabase/overwrites/tables/compositionAcquisition/index.js +2 -0
- package/types/supabase/overwrites/tables/compositionAcquisition/index.ts +8 -0
- package/types/supabase/overwrites/tables/compositionAcquisition/model.d.ts +6 -0
- package/types/supabase/overwrites/tables/compositionAcquisition/model.js +2 -0
- package/types/supabase/overwrites/tables/compositionAcquisition/model.ts +11 -0
- package/types/supabase/overwrites/tables/compositionFavorite/index.d.ts +1 -0
- package/types/supabase/overwrites/tables/compositionFavorite/index.js +2 -0
- package/types/supabase/overwrites/tables/compositionFavorite/index.ts +2 -0
- package/types/supabase/overwrites/tables/compositionFavorite/model.d.ts +1 -0
- package/types/supabase/overwrites/tables/compositionFavorite/model.js +2 -0
- package/types/supabase/overwrites/tables/compositionFavorite/model.ts +1 -0
- package/types/supabase/overwrites/tables/compositionView/index.d.ts +1 -0
- package/types/supabase/overwrites/tables/compositionView/index.js +2 -0
- package/types/supabase/overwrites/tables/compositionView/index.ts +2 -0
- package/types/supabase/overwrites/tables/compositionView/model.d.ts +1 -0
- package/types/supabase/overwrites/tables/compositionView/model.js +2 -0
- package/types/supabase/overwrites/tables/compositionView/model.ts +1 -0
- package/types/supabase/overwrites/tables/currencyExchangeRate/index.d.ts +16 -0
- package/types/supabase/overwrites/tables/currencyExchangeRate/index.js +2 -0
- package/types/supabase/overwrites/tables/currencyExchangeRate/index.ts +18 -0
- package/types/supabase/overwrites/{event.d.ts → tables/event/index.d.ts} +1 -1
- package/types/supabase/overwrites/tables/event/index.js +2 -0
- package/types/supabase/overwrites/{event.ts → tables/event/index.ts} +1 -1
- package/types/supabase/overwrites/tables/event_history/index.d.ts +7 -0
- package/types/supabase/overwrites/tables/event_history/index.js +2 -0
- package/types/supabase/overwrites/tables/event_history/index.ts +9 -0
- package/types/supabase/overwrites/tables/event_history/model.d.ts +10 -0
- package/types/supabase/overwrites/tables/event_history/model.js +2 -0
- package/types/supabase/overwrites/tables/event_history/model.ts +13 -0
- package/types/supabase/overwrites/{group.d.ts → tables/group/index.d.ts} +2 -5
- package/types/supabase/overwrites/tables/group/index.js +2 -0
- package/types/supabase/overwrites/{group.ts → tables/group/index.ts} +2 -6
- package/types/supabase/overwrites/tables/group_history/index.d.ts +7 -0
- package/types/supabase/overwrites/tables/group_history/index.js +2 -0
- package/types/supabase/overwrites/tables/group_history/index.ts +9 -0
- package/types/supabase/overwrites/tables/group_history/model.d.ts +10 -0
- package/types/supabase/overwrites/tables/group_history/model.js +2 -0
- package/types/supabase/overwrites/tables/group_history/model.ts +13 -0
- package/types/supabase/overwrites/{offer.d.ts → tables/offer/index.d.ts} +6 -2
- package/types/supabase/overwrites/tables/offer/index.js +2 -0
- package/types/supabase/overwrites/{offer.ts → tables/offer/index.ts} +7 -2
- package/types/supabase/overwrites/tables/offer_history/index.d.ts +7 -0
- package/types/supabase/overwrites/tables/offer_history/index.js +2 -0
- package/types/supabase/overwrites/tables/offer_history/index.ts +9 -0
- package/types/supabase/overwrites/tables/offer_history/model.d.ts +10 -0
- package/types/supabase/overwrites/tables/offer_history/model.js +2 -0
- package/types/supabase/overwrites/tables/offer_history/model.ts +13 -0
- package/types/supabase/overwrites/tables/repertoire/model.d.ts +7 -0
- package/types/supabase/overwrites/tables/repertoire/model.js +2 -0
- package/types/supabase/overwrites/tables/repertoire/model.ts +7 -0
- package/types/supabase/overwrites/tables/repertoire_history/index.d.ts +7 -0
- package/types/supabase/overwrites/tables/repertoire_history/index.js +2 -0
- package/types/supabase/overwrites/tables/repertoire_history/index.ts +9 -0
- package/types/supabase/overwrites/tables/repertoire_history/model.d.ts +10 -0
- package/types/supabase/overwrites/tables/repertoire_history/model.js +2 -0
- package/types/supabase/overwrites/tables/repertoire_history/model.ts +13 -0
- package/types/supabase/overwrites/tables/user/index.d.ts +11 -0
- package/types/supabase/overwrites/tables/user/index.js +2 -0
- package/types/supabase/overwrites/tables/user/index.ts +13 -0
- package/helpers/glissandooAdmin.d.ts +0 -3
- package/helpers/glissandooAdmin.js +0 -6
- package/types/supabase/overwrites/comm.d.ts +0 -18
- package/types/supabase/overwrites/comm.ts +0 -18
- package/types/supabase/overwrites/comm_history.d.ts +0 -10
- package/types/supabase/overwrites/comm_history.ts +0 -10
- package/types/supabase/overwrites/event_history.d.ts +0 -10
- package/types/supabase/overwrites/event_history.ts +0 -10
- package/types/supabase/overwrites/group_history.d.ts +0 -9
- package/types/supabase/overwrites/group_history.ts +0 -9
- package/types/supabase/overwrites/offer_history.d.ts +0 -10
- package/types/supabase/overwrites/offer_history.ts +0 -10
- package/types/supabase/overwrites/repertoire.d.ts +0 -12
- package/types/supabase/overwrites/repertoire.ts +0 -12
- package/types/supabase/overwrites/repertoire_history.d.ts +0 -10
- package/types/supabase/overwrites/repertoire_history.ts +0 -10
- /package/{types/supabase/overwrites/comm.js → functions/composer.js} +0 -0
- /package/{types/supabase/overwrites/comm_history.js → functions/composerComposition.js} +0 -0
- /package/{types/supabase/overwrites/event.js → functions/composerNotification.js} +0 -0
- /package/{types/supabase/overwrites/event_history.js → functions/composerPayout.js} +0 -0
- /package/{types/supabase/overwrites/group.js → models/supabase/Comm/types.js} +0 -0
- /package/{types/supabase/overwrites/group_history.js → models/supabase/Composer/Composition/Acquisition/types.js} +0 -0
- /package/{types/supabase/overwrites/offer.js → models/supabase/Composer/Composition/Favorite/types.js} +0 -0
- /package/{types/supabase/overwrites/offer_history.js → models/supabase/Composer/Composition/View/types.js} +0 -0
- /package/{types/supabase/overwrites/repertoire.js → models/supabase/Composer/Payout/status.js} +0 -0
- /package/{types/supabase/overwrites/repertoire_history.js → models/supabase/Composer/Payout/types.js} +0 -0
- /package/{types/supabase/overwrites/utils.js → models/supabase/Composer/PerformanceAttendance/types.js} +0 -0
- /package/types/supabase/overwrites/{utils.d.ts → tables/common/index.d.ts} +0 -0
- /package/types/supabase/overwrites/{utils.ts → tables/common/index.ts} +0 -0
|
@@ -1,10 +1,30 @@
|
|
|
1
1
|
export type Json = string | number | boolean | null | { [key: string]: Json | undefined } | Json[];
|
|
2
2
|
|
|
3
3
|
export type Database = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
graphql_public: {
|
|
5
|
+
Tables: {
|
|
6
|
+
[_ in never]: never;
|
|
7
|
+
};
|
|
8
|
+
Views: {
|
|
9
|
+
[_ in never]: never;
|
|
10
|
+
};
|
|
11
|
+
Functions: {
|
|
12
|
+
graphql: {
|
|
13
|
+
Args: {
|
|
14
|
+
extensions?: Json;
|
|
15
|
+
operationName?: string;
|
|
16
|
+
query?: string;
|
|
17
|
+
variables?: Json;
|
|
18
|
+
};
|
|
19
|
+
Returns: Json;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
Enums: {
|
|
23
|
+
[_ in never]: never;
|
|
24
|
+
};
|
|
25
|
+
CompositeTypes: {
|
|
26
|
+
[_ in never]: never;
|
|
27
|
+
};
|
|
8
28
|
};
|
|
9
29
|
public: {
|
|
10
30
|
Tables: {
|
|
@@ -98,579 +118,3165 @@ export type Database = {
|
|
|
98
118
|
};
|
|
99
119
|
Relationships: [];
|
|
100
120
|
};
|
|
101
|
-
|
|
121
|
+
composer: {
|
|
102
122
|
Row: {
|
|
103
|
-
|
|
104
|
-
|
|
123
|
+
artisticEmail: string | null;
|
|
124
|
+
artisticName: string;
|
|
125
|
+
country: string | null;
|
|
105
126
|
createdAt: string;
|
|
106
|
-
|
|
107
|
-
datetime: string;
|
|
108
|
-
datetimeEnd: string;
|
|
127
|
+
currency: string | null;
|
|
109
128
|
deletedAt: string | null;
|
|
110
|
-
|
|
111
|
-
description: string | null;
|
|
112
|
-
descriptionSlate: Json[];
|
|
113
|
-
displayName: string | null;
|
|
129
|
+
description: Json[] | null;
|
|
114
130
|
id: string;
|
|
115
|
-
|
|
131
|
+
instruments: Json;
|
|
116
132
|
locality: string | null;
|
|
117
|
-
location:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
online: boolean;
|
|
122
|
-
owner: string | null;
|
|
123
|
-
playerIds: string[];
|
|
124
|
-
players: Json;
|
|
125
|
-
promoter: string | null;
|
|
126
|
-
relEvents: string[];
|
|
127
|
-
repeat: Json | null;
|
|
128
|
-
repertory: Json;
|
|
129
|
-
repertoryIds: string[];
|
|
130
|
-
responseDeadline: Json;
|
|
131
|
-
responseDeadlineAt: string;
|
|
132
|
-
rollCalledAt: string | null;
|
|
133
|
-
rollCalledBy: string | null;
|
|
134
|
-
rollCallHistory: Json[];
|
|
135
|
-
rollCallReminderAt: string | null;
|
|
136
|
-
selectionMode: Database['public']['Enums']['event_selection_mode'] | null;
|
|
137
|
-
selectionModeClosedAt: string | null;
|
|
138
|
-
shortDynamicLink: string | null;
|
|
139
|
-
sites: boolean;
|
|
140
|
-
stage: Json | null;
|
|
141
|
-
stageTemplateId: string | null;
|
|
142
|
-
templateId: string | null;
|
|
143
|
-
timezone: string;
|
|
144
|
-
type: Database['public']['Enums']['event_type'];
|
|
133
|
+
location: Database['public']['CompositeTypes']['lonlat'] | null;
|
|
134
|
+
photoURL: string;
|
|
135
|
+
repertoireTags: Json;
|
|
136
|
+
socialNetworks: Json;
|
|
145
137
|
updatedAt: string;
|
|
146
|
-
|
|
138
|
+
userId: string;
|
|
139
|
+
username: string;
|
|
140
|
+
visibility: boolean;
|
|
147
141
|
};
|
|
148
142
|
Insert: {
|
|
149
|
-
|
|
150
|
-
|
|
143
|
+
artisticEmail?: string | null;
|
|
144
|
+
artisticName: string;
|
|
145
|
+
country?: string | null;
|
|
151
146
|
createdAt?: string;
|
|
152
|
-
|
|
153
|
-
datetime: string;
|
|
154
|
-
datetimeEnd: string;
|
|
147
|
+
currency?: string | null;
|
|
155
148
|
deletedAt?: string | null;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
displayName?: string | null;
|
|
160
|
-
id: string;
|
|
161
|
-
invitationLink?: string | null;
|
|
149
|
+
description?: Json[] | null;
|
|
150
|
+
id?: string;
|
|
151
|
+
instruments: Json;
|
|
162
152
|
locality?: string | null;
|
|
163
|
-
location
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
online: boolean;
|
|
168
|
-
owner?: string | null;
|
|
169
|
-
playerIds: string[];
|
|
170
|
-
players: Json;
|
|
171
|
-
promoter?: string | null;
|
|
172
|
-
relEvents: string[];
|
|
173
|
-
repeat?: Json | null;
|
|
174
|
-
repertory: Json;
|
|
175
|
-
repertoryIds: string[];
|
|
176
|
-
responseDeadline: Json;
|
|
177
|
-
responseDeadlineAt: string;
|
|
178
|
-
rollCalledAt?: string | null;
|
|
179
|
-
rollCalledBy?: string | null;
|
|
180
|
-
rollCallHistory: Json[];
|
|
181
|
-
rollCallReminderAt?: string | null;
|
|
182
|
-
selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
|
|
183
|
-
selectionModeClosedAt?: string | null;
|
|
184
|
-
shortDynamicLink?: string | null;
|
|
185
|
-
sites?: boolean;
|
|
186
|
-
stage?: Json | null;
|
|
187
|
-
stageTemplateId?: string | null;
|
|
188
|
-
templateId?: string | null;
|
|
189
|
-
timezone: string;
|
|
190
|
-
type: Database['public']['Enums']['event_type'];
|
|
153
|
+
location?: Database['public']['CompositeTypes']['lonlat'] | null;
|
|
154
|
+
photoURL: string;
|
|
155
|
+
repertoireTags: Json;
|
|
156
|
+
socialNetworks: Json;
|
|
191
157
|
updatedAt?: string;
|
|
192
|
-
|
|
158
|
+
userId: string;
|
|
159
|
+
username: string;
|
|
160
|
+
visibility?: boolean;
|
|
193
161
|
};
|
|
194
162
|
Update: {
|
|
195
|
-
|
|
196
|
-
|
|
163
|
+
artisticEmail?: string | null;
|
|
164
|
+
artisticName?: string;
|
|
165
|
+
country?: string | null;
|
|
197
166
|
createdAt?: string;
|
|
198
|
-
|
|
199
|
-
datetime?: string;
|
|
200
|
-
datetimeEnd?: string;
|
|
167
|
+
currency?: string | null;
|
|
201
168
|
deletedAt?: string | null;
|
|
202
|
-
|
|
203
|
-
description?: string | null;
|
|
204
|
-
descriptionSlate?: Json[];
|
|
205
|
-
displayName?: string | null;
|
|
169
|
+
description?: Json[] | null;
|
|
206
170
|
id?: string;
|
|
207
|
-
|
|
171
|
+
instruments?: Json;
|
|
208
172
|
locality?: string | null;
|
|
209
|
-
location?:
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
online?: boolean;
|
|
214
|
-
owner?: string | null;
|
|
215
|
-
playerIds?: string[];
|
|
216
|
-
players?: Json;
|
|
217
|
-
promoter?: string | null;
|
|
218
|
-
relEvents?: string[];
|
|
219
|
-
repeat?: Json | null;
|
|
220
|
-
repertory?: Json;
|
|
221
|
-
repertoryIds?: string[];
|
|
222
|
-
responseDeadline?: Json;
|
|
223
|
-
responseDeadlineAt?: string;
|
|
224
|
-
rollCalledAt?: string | null;
|
|
225
|
-
rollCalledBy?: string | null;
|
|
226
|
-
rollCallHistory?: Json[];
|
|
227
|
-
rollCallReminderAt?: string | null;
|
|
228
|
-
selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
|
|
229
|
-
selectionModeClosedAt?: string | null;
|
|
230
|
-
shortDynamicLink?: string | null;
|
|
231
|
-
sites?: boolean;
|
|
232
|
-
stage?: Json | null;
|
|
233
|
-
stageTemplateId?: string | null;
|
|
234
|
-
templateId?: string | null;
|
|
235
|
-
timezone?: string;
|
|
236
|
-
type?: Database['public']['Enums']['event_type'];
|
|
173
|
+
location?: Database['public']['CompositeTypes']['lonlat'] | null;
|
|
174
|
+
photoURL?: string;
|
|
175
|
+
repertoireTags?: Json;
|
|
176
|
+
socialNetworks?: Json;
|
|
237
177
|
updatedAt?: string;
|
|
238
|
-
|
|
178
|
+
userId?: string;
|
|
179
|
+
username?: string;
|
|
180
|
+
visibility?: boolean;
|
|
239
181
|
};
|
|
240
|
-
Relationships: [
|
|
241
|
-
{
|
|
242
|
-
foreignKeyName: 'event_promoter_group_id_fkey';
|
|
243
|
-
columns: ['promoter'];
|
|
244
|
-
isOneToOne: false;
|
|
245
|
-
referencedRelation: 'group';
|
|
246
|
-
referencedColumns: ['id'];
|
|
247
|
-
}
|
|
248
|
-
];
|
|
182
|
+
Relationships: [];
|
|
249
183
|
};
|
|
250
|
-
|
|
184
|
+
composerComposition: {
|
|
251
185
|
Row: {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
186
|
+
catalogueNumber: string | null;
|
|
187
|
+
century: number | null;
|
|
188
|
+
cover: Json | null;
|
|
189
|
+
createdAt: string;
|
|
190
|
+
deletedAt: string | null;
|
|
191
|
+
description: Json[];
|
|
192
|
+
difficulty: number | null;
|
|
193
|
+
duration: number | null;
|
|
194
|
+
externalComposerName: string | null;
|
|
195
|
+
files: Json;
|
|
196
|
+
filesPath: Json;
|
|
197
|
+
genresIds: string[];
|
|
198
|
+
highlightedParts: Json;
|
|
199
|
+
id: string;
|
|
200
|
+
instrumentationIds: string[];
|
|
201
|
+
products: Json;
|
|
202
|
+
publisher: string | null;
|
|
203
|
+
samples: Json;
|
|
204
|
+
stylesIds: string[];
|
|
205
|
+
subtitle: string | null;
|
|
206
|
+
title: string;
|
|
207
|
+
updatedAt: string;
|
|
208
|
+
uploaderComposerId: string;
|
|
209
|
+
uploaderComposerRole: Database['public']['Enums']['composerroleincomposition'];
|
|
210
|
+
visibility: boolean;
|
|
211
|
+
year: number | null;
|
|
260
212
|
};
|
|
261
213
|
Insert: {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
214
|
+
catalogueNumber?: string | null;
|
|
215
|
+
century?: number | null;
|
|
216
|
+
cover?: Json | null;
|
|
217
|
+
createdAt?: string;
|
|
218
|
+
deletedAt?: string | null;
|
|
219
|
+
description?: Json[];
|
|
220
|
+
difficulty?: number | null;
|
|
221
|
+
duration?: number | null;
|
|
222
|
+
externalComposerName?: string | null;
|
|
223
|
+
files?: Json;
|
|
224
|
+
filesPath?: Json;
|
|
225
|
+
genresIds?: string[];
|
|
226
|
+
highlightedParts?: Json;
|
|
227
|
+
id?: string;
|
|
228
|
+
instrumentationIds?: string[];
|
|
229
|
+
products?: Json;
|
|
230
|
+
publisher?: string | null;
|
|
231
|
+
samples?: Json;
|
|
232
|
+
stylesIds?: string[];
|
|
233
|
+
subtitle?: string | null;
|
|
234
|
+
title: string;
|
|
235
|
+
updatedAt?: string;
|
|
236
|
+
uploaderComposerId: string;
|
|
237
|
+
uploaderComposerRole: Database['public']['Enums']['composerroleincomposition'];
|
|
238
|
+
visibility?: boolean;
|
|
239
|
+
year?: number | null;
|
|
270
240
|
};
|
|
271
241
|
Update: {
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
242
|
+
catalogueNumber?: string | null;
|
|
243
|
+
century?: number | null;
|
|
244
|
+
cover?: Json | null;
|
|
245
|
+
createdAt?: string;
|
|
246
|
+
deletedAt?: string | null;
|
|
247
|
+
description?: Json[];
|
|
248
|
+
difficulty?: number | null;
|
|
249
|
+
duration?: number | null;
|
|
250
|
+
externalComposerName?: string | null;
|
|
251
|
+
files?: Json;
|
|
252
|
+
filesPath?: Json;
|
|
253
|
+
genresIds?: string[];
|
|
254
|
+
highlightedParts?: Json;
|
|
255
|
+
id?: string;
|
|
256
|
+
instrumentationIds?: string[];
|
|
257
|
+
products?: Json;
|
|
258
|
+
publisher?: string | null;
|
|
259
|
+
samples?: Json;
|
|
260
|
+
stylesIds?: string[];
|
|
261
|
+
subtitle?: string | null;
|
|
262
|
+
title?: string;
|
|
263
|
+
updatedAt?: string;
|
|
264
|
+
uploaderComposerId?: string;
|
|
265
|
+
uploaderComposerRole?: Database['public']['Enums']['composerroleincomposition'];
|
|
266
|
+
visibility?: boolean;
|
|
267
|
+
year?: number | null;
|
|
280
268
|
};
|
|
281
|
-
Relationships: [
|
|
269
|
+
Relationships: [
|
|
270
|
+
{
|
|
271
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
272
|
+
columns: ['uploaderComposerId'];
|
|
273
|
+
isOneToOne: false;
|
|
274
|
+
referencedRelation: 'composer';
|
|
275
|
+
referencedColumns: ['id'];
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
279
|
+
columns: ['uploaderComposerId'];
|
|
280
|
+
isOneToOne: false;
|
|
281
|
+
referencedRelation: 'composerModel';
|
|
282
|
+
referencedColumns: ['id'];
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
286
|
+
columns: ['uploaderComposerId'];
|
|
287
|
+
isOneToOne: false;
|
|
288
|
+
referencedRelation: 'composerPublicModel';
|
|
289
|
+
referencedColumns: ['id'];
|
|
290
|
+
},
|
|
291
|
+
];
|
|
282
292
|
};
|
|
283
|
-
|
|
293
|
+
composerNotification: {
|
|
284
294
|
Row: {
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
configSites: Json;
|
|
290
|
-
country: string;
|
|
295
|
+
actionUrl: string | null;
|
|
296
|
+
archivedAt: string | null;
|
|
297
|
+
bodyKey: string;
|
|
298
|
+
composerId: string;
|
|
291
299
|
createdAt: string;
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
description: string | null;
|
|
297
|
-
displayName: string;
|
|
300
|
+
dedupeKey: string | null;
|
|
301
|
+
emailError: string | null;
|
|
302
|
+
emailSentAt: string | null;
|
|
303
|
+
emailStatus: string;
|
|
298
304
|
id: string;
|
|
299
|
-
instruments: Json;
|
|
300
|
-
intercomId: string | null;
|
|
301
|
-
invitationEmails: string[];
|
|
302
|
-
invitationLink: string | null;
|
|
303
|
-
locality: string;
|
|
304
|
-
location: unknown;
|
|
305
|
-
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
306
305
|
metadata: Json;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
planId: Database['public']['Enums']['group_plan'];
|
|
313
|
-
playerIds: string[];
|
|
314
|
-
players: Json;
|
|
315
|
-
repertoireTags: Json;
|
|
316
|
-
rollcallLink: string | null;
|
|
317
|
-
satisfactionIndex: Json;
|
|
318
|
-
shortDynamicLink: string | null;
|
|
319
|
-
socialNetworks: Json | null;
|
|
320
|
-
status: Database['public']['Enums']['group_status'];
|
|
321
|
-
subscriptionId: string | null;
|
|
322
|
-
templates: Json;
|
|
323
|
-
trialEndAt: string | null;
|
|
324
|
-
updatedAt: string;
|
|
325
|
-
username: string;
|
|
326
|
-
visitedDashboardAt: Json;
|
|
306
|
+
params: Json;
|
|
307
|
+
readAt: string | null;
|
|
308
|
+
titleKey: string;
|
|
309
|
+
type: string;
|
|
310
|
+
userId: string;
|
|
327
311
|
};
|
|
328
312
|
Insert: {
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
configSites?: Json;
|
|
334
|
-
country: string;
|
|
313
|
+
actionUrl?: string | null;
|
|
314
|
+
archivedAt?: string | null;
|
|
315
|
+
bodyKey: string;
|
|
316
|
+
composerId: string;
|
|
335
317
|
createdAt?: string;
|
|
318
|
+
dedupeKey?: string | null;
|
|
319
|
+
emailError?: string | null;
|
|
320
|
+
emailSentAt?: string | null;
|
|
321
|
+
emailStatus?: string;
|
|
322
|
+
id?: string;
|
|
323
|
+
metadata?: Json;
|
|
324
|
+
params?: Json;
|
|
325
|
+
readAt?: string | null;
|
|
326
|
+
titleKey: string;
|
|
327
|
+
type: string;
|
|
328
|
+
userId: string;
|
|
329
|
+
};
|
|
330
|
+
Update: {
|
|
331
|
+
actionUrl?: string | null;
|
|
332
|
+
archivedAt?: string | null;
|
|
333
|
+
bodyKey?: string;
|
|
334
|
+
composerId?: string;
|
|
335
|
+
createdAt?: string;
|
|
336
|
+
dedupeKey?: string | null;
|
|
337
|
+
emailError?: string | null;
|
|
338
|
+
emailSentAt?: string | null;
|
|
339
|
+
emailStatus?: string;
|
|
340
|
+
id?: string;
|
|
341
|
+
metadata?: Json;
|
|
342
|
+
params?: Json;
|
|
343
|
+
readAt?: string | null;
|
|
344
|
+
titleKey?: string;
|
|
345
|
+
type?: string;
|
|
346
|
+
userId?: string;
|
|
347
|
+
};
|
|
348
|
+
Relationships: [
|
|
349
|
+
{
|
|
350
|
+
foreignKeyName: 'composerNotification_composerId_fkey';
|
|
351
|
+
columns: ['composerId'];
|
|
352
|
+
isOneToOne: false;
|
|
353
|
+
referencedRelation: 'composer';
|
|
354
|
+
referencedColumns: ['id'];
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
foreignKeyName: 'composerNotification_composerId_fkey';
|
|
358
|
+
columns: ['composerId'];
|
|
359
|
+
isOneToOne: false;
|
|
360
|
+
referencedRelation: 'composerModel';
|
|
361
|
+
referencedColumns: ['id'];
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
foreignKeyName: 'composerNotification_composerId_fkey';
|
|
365
|
+
columns: ['composerId'];
|
|
366
|
+
isOneToOne: false;
|
|
367
|
+
referencedRelation: 'composerPublicModel';
|
|
368
|
+
referencedColumns: ['id'];
|
|
369
|
+
},
|
|
370
|
+
];
|
|
371
|
+
};
|
|
372
|
+
composerNotificationSetting: {
|
|
373
|
+
Row: {
|
|
374
|
+
composerId: string;
|
|
375
|
+
createdAt: string;
|
|
376
|
+
payoutsDashboard: boolean;
|
|
377
|
+
payoutsEmail: boolean;
|
|
378
|
+
performancesDashboard: boolean;
|
|
379
|
+
performancesEmail: boolean;
|
|
380
|
+
salesDashboard: boolean;
|
|
381
|
+
salesEmail: boolean;
|
|
382
|
+
summariesDashboard: boolean;
|
|
383
|
+
summariesEmail: boolean;
|
|
384
|
+
systemDashboard: boolean;
|
|
385
|
+
systemEmail: boolean;
|
|
386
|
+
updatedAt: string;
|
|
387
|
+
};
|
|
388
|
+
Insert: {
|
|
389
|
+
composerId: string;
|
|
390
|
+
createdAt?: string;
|
|
391
|
+
payoutsDashboard?: boolean;
|
|
392
|
+
payoutsEmail?: boolean;
|
|
393
|
+
performancesDashboard?: boolean;
|
|
394
|
+
performancesEmail?: boolean;
|
|
395
|
+
salesDashboard?: boolean;
|
|
396
|
+
salesEmail?: boolean;
|
|
397
|
+
summariesDashboard?: boolean;
|
|
398
|
+
summariesEmail?: boolean;
|
|
399
|
+
systemDashboard?: boolean;
|
|
400
|
+
systemEmail?: boolean;
|
|
401
|
+
updatedAt?: string;
|
|
402
|
+
};
|
|
403
|
+
Update: {
|
|
404
|
+
composerId?: string;
|
|
405
|
+
createdAt?: string;
|
|
406
|
+
payoutsDashboard?: boolean;
|
|
407
|
+
payoutsEmail?: boolean;
|
|
408
|
+
performancesDashboard?: boolean;
|
|
409
|
+
performancesEmail?: boolean;
|
|
410
|
+
salesDashboard?: boolean;
|
|
411
|
+
salesEmail?: boolean;
|
|
412
|
+
summariesDashboard?: boolean;
|
|
413
|
+
summariesEmail?: boolean;
|
|
414
|
+
systemDashboard?: boolean;
|
|
415
|
+
systemEmail?: boolean;
|
|
416
|
+
updatedAt?: string;
|
|
417
|
+
};
|
|
418
|
+
Relationships: [
|
|
419
|
+
{
|
|
420
|
+
foreignKeyName: 'composerNotificationSetting_composerId_fkey';
|
|
421
|
+
columns: ['composerId'];
|
|
422
|
+
isOneToOne: true;
|
|
423
|
+
referencedRelation: 'composer';
|
|
424
|
+
referencedColumns: ['id'];
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
foreignKeyName: 'composerNotificationSetting_composerId_fkey';
|
|
428
|
+
columns: ['composerId'];
|
|
429
|
+
isOneToOne: true;
|
|
430
|
+
referencedRelation: 'composerModel';
|
|
431
|
+
referencedColumns: ['id'];
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
foreignKeyName: 'composerNotificationSetting_composerId_fkey';
|
|
435
|
+
columns: ['composerId'];
|
|
436
|
+
isOneToOne: true;
|
|
437
|
+
referencedRelation: 'composerPublicModel';
|
|
438
|
+
referencedColumns: ['id'];
|
|
439
|
+
},
|
|
440
|
+
];
|
|
441
|
+
};
|
|
442
|
+
composerPayout: {
|
|
443
|
+
Row: {
|
|
444
|
+
amountCents: number;
|
|
445
|
+
completed_at: string | null;
|
|
446
|
+
composerId: string;
|
|
447
|
+
created_at: string;
|
|
448
|
+
currency: string;
|
|
449
|
+
id: string;
|
|
450
|
+
observations: string | null;
|
|
451
|
+
status: string;
|
|
452
|
+
};
|
|
453
|
+
Insert: {
|
|
454
|
+
amountCents: number;
|
|
455
|
+
completed_at?: string | null;
|
|
456
|
+
composerId: string;
|
|
457
|
+
created_at?: string;
|
|
458
|
+
currency: string;
|
|
459
|
+
id?: string;
|
|
460
|
+
observations?: string | null;
|
|
461
|
+
status?: string;
|
|
462
|
+
};
|
|
463
|
+
Update: {
|
|
464
|
+
amountCents?: number;
|
|
465
|
+
completed_at?: string | null;
|
|
466
|
+
composerId?: string;
|
|
467
|
+
created_at?: string;
|
|
468
|
+
currency?: string;
|
|
469
|
+
id?: string;
|
|
470
|
+
observations?: string | null;
|
|
471
|
+
status?: string;
|
|
472
|
+
};
|
|
473
|
+
Relationships: [
|
|
474
|
+
{
|
|
475
|
+
foreignKeyName: 'composerPayout_composerId_fkey';
|
|
476
|
+
columns: ['composerId'];
|
|
477
|
+
isOneToOne: false;
|
|
478
|
+
referencedRelation: 'composer';
|
|
479
|
+
referencedColumns: ['id'];
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
foreignKeyName: 'composerPayout_composerId_fkey';
|
|
483
|
+
columns: ['composerId'];
|
|
484
|
+
isOneToOne: false;
|
|
485
|
+
referencedRelation: 'composerModel';
|
|
486
|
+
referencedColumns: ['id'];
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
foreignKeyName: 'composerPayout_composerId_fkey';
|
|
490
|
+
columns: ['composerId'];
|
|
491
|
+
isOneToOne: false;
|
|
492
|
+
referencedRelation: 'composerPublicModel';
|
|
493
|
+
referencedColumns: ['id'];
|
|
494
|
+
},
|
|
495
|
+
];
|
|
496
|
+
};
|
|
497
|
+
composerPerformanceAttendance: {
|
|
498
|
+
Row: {
|
|
499
|
+
companions: number;
|
|
500
|
+
composerArtisticName: string;
|
|
501
|
+
composerContactEmail: string | null;
|
|
502
|
+
composerId: string;
|
|
503
|
+
composerPhotoURL: string | null;
|
|
504
|
+
createdAt: string;
|
|
505
|
+
eventId: string;
|
|
506
|
+
groupId: string;
|
|
507
|
+
updatedAt: string;
|
|
508
|
+
};
|
|
509
|
+
Insert: {
|
|
510
|
+
companions?: number;
|
|
511
|
+
composerArtisticName: string;
|
|
512
|
+
composerContactEmail?: string | null;
|
|
513
|
+
composerId: string;
|
|
514
|
+
composerPhotoURL?: string | null;
|
|
515
|
+
createdAt?: string;
|
|
516
|
+
eventId: string;
|
|
517
|
+
groupId: string;
|
|
518
|
+
updatedAt?: string;
|
|
519
|
+
};
|
|
520
|
+
Update: {
|
|
521
|
+
companions?: number;
|
|
522
|
+
composerArtisticName?: string;
|
|
523
|
+
composerContactEmail?: string | null;
|
|
524
|
+
composerId?: string;
|
|
525
|
+
composerPhotoURL?: string | null;
|
|
526
|
+
createdAt?: string;
|
|
527
|
+
eventId?: string;
|
|
528
|
+
groupId?: string;
|
|
529
|
+
updatedAt?: string;
|
|
530
|
+
};
|
|
531
|
+
Relationships: [
|
|
532
|
+
{
|
|
533
|
+
foreignKeyName: 'composerPerformanceAttendance_composerId_fkey';
|
|
534
|
+
columns: ['composerId'];
|
|
535
|
+
isOneToOne: false;
|
|
536
|
+
referencedRelation: 'composer';
|
|
537
|
+
referencedColumns: ['id'];
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
foreignKeyName: 'composerPerformanceAttendance_composerId_fkey';
|
|
541
|
+
columns: ['composerId'];
|
|
542
|
+
isOneToOne: false;
|
|
543
|
+
referencedRelation: 'composerModel';
|
|
544
|
+
referencedColumns: ['id'];
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
foreignKeyName: 'composerPerformanceAttendance_composerId_fkey';
|
|
548
|
+
columns: ['composerId'];
|
|
549
|
+
isOneToOne: false;
|
|
550
|
+
referencedRelation: 'composerPublicModel';
|
|
551
|
+
referencedColumns: ['id'];
|
|
552
|
+
},
|
|
553
|
+
];
|
|
554
|
+
};
|
|
555
|
+
compositionAcquisition: {
|
|
556
|
+
Row: {
|
|
557
|
+
acquiredByGroupCountrySnapshot: string | null;
|
|
558
|
+
acquiredByGroupId: string;
|
|
559
|
+
acquiredByGroupMusicStyleSnapshot: string | null;
|
|
560
|
+
acquiredByGroupNameSnapshot: string | null;
|
|
561
|
+
acquiredByGroupPhotoURLSnapshot: string | null;
|
|
562
|
+
acquiredByUserId: string;
|
|
563
|
+
acquiredProducts: Json;
|
|
564
|
+
baseCurrency: string | null;
|
|
565
|
+
baseNetEarningsCents: number | null;
|
|
566
|
+
basePriceCents: number | null;
|
|
567
|
+
baseVatCents: number | null;
|
|
568
|
+
buyerCurrency: string | null;
|
|
569
|
+
buyerPriceCents: number | null;
|
|
570
|
+
buyerVatCents: number | null;
|
|
571
|
+
compositionId: string;
|
|
572
|
+
created_at: string;
|
|
573
|
+
currency: string | null;
|
|
574
|
+
customerId: string;
|
|
575
|
+
exchangeRate: number | null;
|
|
576
|
+
exchangeRateDate: string | null;
|
|
577
|
+
exchangeRateSource: string | null;
|
|
578
|
+
id: string;
|
|
579
|
+
netEarningsCents: number | null;
|
|
580
|
+
priceCents: number | null;
|
|
581
|
+
refundedAt: string | null;
|
|
582
|
+
refundedCents: number;
|
|
583
|
+
refundStatus: string;
|
|
584
|
+
stripePaymentIntentId: string | null;
|
|
585
|
+
stripeRefundId: string | null;
|
|
586
|
+
stripeSessionId: string | null;
|
|
587
|
+
updated_at: string;
|
|
588
|
+
vatCents: number | null;
|
|
589
|
+
};
|
|
590
|
+
Insert: {
|
|
591
|
+
acquiredByGroupCountrySnapshot?: string | null;
|
|
592
|
+
acquiredByGroupId: string;
|
|
593
|
+
acquiredByGroupMusicStyleSnapshot?: string | null;
|
|
594
|
+
acquiredByGroupNameSnapshot?: string | null;
|
|
595
|
+
acquiredByGroupPhotoURLSnapshot?: string | null;
|
|
596
|
+
acquiredByUserId: string;
|
|
597
|
+
acquiredProducts?: Json;
|
|
598
|
+
baseCurrency?: string | null;
|
|
599
|
+
baseNetEarningsCents?: number | null;
|
|
600
|
+
basePriceCents?: number | null;
|
|
601
|
+
baseVatCents?: number | null;
|
|
602
|
+
buyerCurrency?: string | null;
|
|
603
|
+
buyerPriceCents?: number | null;
|
|
604
|
+
buyerVatCents?: number | null;
|
|
605
|
+
compositionId: string;
|
|
606
|
+
created_at?: string;
|
|
607
|
+
currency?: string | null;
|
|
608
|
+
customerId: string;
|
|
609
|
+
exchangeRate?: number | null;
|
|
610
|
+
exchangeRateDate?: string | null;
|
|
611
|
+
exchangeRateSource?: string | null;
|
|
612
|
+
id?: string;
|
|
613
|
+
netEarningsCents?: number | null;
|
|
614
|
+
priceCents?: number | null;
|
|
615
|
+
refundedAt?: string | null;
|
|
616
|
+
refundedCents?: number;
|
|
617
|
+
refundStatus?: string;
|
|
618
|
+
stripePaymentIntentId?: string | null;
|
|
619
|
+
stripeRefundId?: string | null;
|
|
620
|
+
stripeSessionId?: string | null;
|
|
621
|
+
updated_at?: string;
|
|
622
|
+
vatCents?: number | null;
|
|
623
|
+
};
|
|
624
|
+
Update: {
|
|
625
|
+
acquiredByGroupCountrySnapshot?: string | null;
|
|
626
|
+
acquiredByGroupId?: string;
|
|
627
|
+
acquiredByGroupMusicStyleSnapshot?: string | null;
|
|
628
|
+
acquiredByGroupNameSnapshot?: string | null;
|
|
629
|
+
acquiredByGroupPhotoURLSnapshot?: string | null;
|
|
630
|
+
acquiredByUserId?: string;
|
|
631
|
+
acquiredProducts?: Json;
|
|
632
|
+
baseCurrency?: string | null;
|
|
633
|
+
baseNetEarningsCents?: number | null;
|
|
634
|
+
basePriceCents?: number | null;
|
|
635
|
+
baseVatCents?: number | null;
|
|
636
|
+
buyerCurrency?: string | null;
|
|
637
|
+
buyerPriceCents?: number | null;
|
|
638
|
+
buyerVatCents?: number | null;
|
|
639
|
+
compositionId?: string;
|
|
640
|
+
created_at?: string;
|
|
641
|
+
currency?: string | null;
|
|
642
|
+
customerId?: string;
|
|
643
|
+
exchangeRate?: number | null;
|
|
644
|
+
exchangeRateDate?: string | null;
|
|
645
|
+
exchangeRateSource?: string | null;
|
|
646
|
+
id?: string;
|
|
647
|
+
netEarningsCents?: number | null;
|
|
648
|
+
priceCents?: number | null;
|
|
649
|
+
refundedAt?: string | null;
|
|
650
|
+
refundedCents?: number;
|
|
651
|
+
refundStatus?: string;
|
|
652
|
+
stripePaymentIntentId?: string | null;
|
|
653
|
+
stripeRefundId?: string | null;
|
|
654
|
+
stripeSessionId?: string | null;
|
|
655
|
+
updated_at?: string;
|
|
656
|
+
vatCents?: number | null;
|
|
657
|
+
};
|
|
658
|
+
Relationships: [
|
|
659
|
+
{
|
|
660
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
661
|
+
columns: ['compositionId'];
|
|
662
|
+
isOneToOne: false;
|
|
663
|
+
referencedRelation: 'composerComposition';
|
|
664
|
+
referencedColumns: ['id'];
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
668
|
+
columns: ['compositionId'];
|
|
669
|
+
isOneToOne: false;
|
|
670
|
+
referencedRelation: 'composerCompositionModel';
|
|
671
|
+
referencedColumns: ['id'];
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
675
|
+
columns: ['compositionId'];
|
|
676
|
+
isOneToOne: false;
|
|
677
|
+
referencedRelation: 'composerCompositionPublicModel';
|
|
678
|
+
referencedColumns: ['id'];
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
682
|
+
columns: ['compositionId'];
|
|
683
|
+
isOneToOne: false;
|
|
684
|
+
referencedRelation: 'composerOwnedCompositionMetricsModel';
|
|
685
|
+
referencedColumns: ['compositionId'];
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
689
|
+
columns: ['compositionId'];
|
|
690
|
+
isOneToOne: false;
|
|
691
|
+
referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
|
|
692
|
+
referencedColumns: ['compositionId'];
|
|
693
|
+
},
|
|
694
|
+
];
|
|
695
|
+
};
|
|
696
|
+
compositionFavorite: {
|
|
697
|
+
Row: {
|
|
698
|
+
compositionId: string;
|
|
699
|
+
created_at: string;
|
|
700
|
+
groupId: string;
|
|
701
|
+
id: string;
|
|
702
|
+
userId: string;
|
|
703
|
+
};
|
|
704
|
+
Insert: {
|
|
705
|
+
compositionId: string;
|
|
706
|
+
created_at?: string;
|
|
707
|
+
groupId: string;
|
|
708
|
+
id?: string;
|
|
709
|
+
userId: string;
|
|
710
|
+
};
|
|
711
|
+
Update: {
|
|
712
|
+
compositionId?: string;
|
|
713
|
+
created_at?: string;
|
|
714
|
+
groupId?: string;
|
|
715
|
+
id?: string;
|
|
716
|
+
userId?: string;
|
|
717
|
+
};
|
|
718
|
+
Relationships: [
|
|
719
|
+
{
|
|
720
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
721
|
+
columns: ['compositionId'];
|
|
722
|
+
isOneToOne: false;
|
|
723
|
+
referencedRelation: 'composerComposition';
|
|
724
|
+
referencedColumns: ['id'];
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
728
|
+
columns: ['compositionId'];
|
|
729
|
+
isOneToOne: false;
|
|
730
|
+
referencedRelation: 'composerCompositionModel';
|
|
731
|
+
referencedColumns: ['id'];
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
735
|
+
columns: ['compositionId'];
|
|
736
|
+
isOneToOne: false;
|
|
737
|
+
referencedRelation: 'composerCompositionPublicModel';
|
|
738
|
+
referencedColumns: ['id'];
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
742
|
+
columns: ['compositionId'];
|
|
743
|
+
isOneToOne: false;
|
|
744
|
+
referencedRelation: 'composerOwnedCompositionMetricsModel';
|
|
745
|
+
referencedColumns: ['compositionId'];
|
|
746
|
+
},
|
|
747
|
+
{
|
|
748
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
749
|
+
columns: ['compositionId'];
|
|
750
|
+
isOneToOne: false;
|
|
751
|
+
referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
|
|
752
|
+
referencedColumns: ['compositionId'];
|
|
753
|
+
},
|
|
754
|
+
];
|
|
755
|
+
};
|
|
756
|
+
compositionView: {
|
|
757
|
+
Row: {
|
|
758
|
+
compositionId: string;
|
|
759
|
+
created_at: string;
|
|
760
|
+
groupId: string;
|
|
761
|
+
id: string;
|
|
762
|
+
};
|
|
763
|
+
Insert: {
|
|
764
|
+
compositionId: string;
|
|
765
|
+
created_at?: string;
|
|
766
|
+
groupId: string;
|
|
767
|
+
id?: string;
|
|
768
|
+
};
|
|
769
|
+
Update: {
|
|
770
|
+
compositionId?: string;
|
|
771
|
+
created_at?: string;
|
|
772
|
+
groupId?: string;
|
|
773
|
+
id?: string;
|
|
774
|
+
};
|
|
775
|
+
Relationships: [
|
|
776
|
+
{
|
|
777
|
+
foreignKeyName: 'compositionView_compositionId_fkey';
|
|
778
|
+
columns: ['compositionId'];
|
|
779
|
+
isOneToOne: false;
|
|
780
|
+
referencedRelation: 'composerComposition';
|
|
781
|
+
referencedColumns: ['id'];
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
foreignKeyName: 'compositionView_compositionId_fkey';
|
|
785
|
+
columns: ['compositionId'];
|
|
786
|
+
isOneToOne: false;
|
|
787
|
+
referencedRelation: 'composerCompositionModel';
|
|
788
|
+
referencedColumns: ['id'];
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
foreignKeyName: 'compositionView_compositionId_fkey';
|
|
792
|
+
columns: ['compositionId'];
|
|
793
|
+
isOneToOne: false;
|
|
794
|
+
referencedRelation: 'composerCompositionPublicModel';
|
|
795
|
+
referencedColumns: ['id'];
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
foreignKeyName: 'compositionView_compositionId_fkey';
|
|
799
|
+
columns: ['compositionId'];
|
|
800
|
+
isOneToOne: false;
|
|
801
|
+
referencedRelation: 'composerOwnedCompositionMetricsModel';
|
|
802
|
+
referencedColumns: ['compositionId'];
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
foreignKeyName: 'compositionView_compositionId_fkey';
|
|
806
|
+
columns: ['compositionId'];
|
|
807
|
+
isOneToOne: false;
|
|
808
|
+
referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
|
|
809
|
+
referencedColumns: ['compositionId'];
|
|
810
|
+
},
|
|
811
|
+
];
|
|
812
|
+
};
|
|
813
|
+
compositionViewDaily: {
|
|
814
|
+
Row: {
|
|
815
|
+
compositionId: string;
|
|
816
|
+
count: number;
|
|
817
|
+
date: string;
|
|
818
|
+
groupId: string;
|
|
819
|
+
id: string;
|
|
820
|
+
};
|
|
821
|
+
Insert: {
|
|
822
|
+
compositionId: string;
|
|
823
|
+
count?: number;
|
|
824
|
+
date: string;
|
|
825
|
+
groupId: string;
|
|
826
|
+
id?: string;
|
|
827
|
+
};
|
|
828
|
+
Update: {
|
|
829
|
+
compositionId?: string;
|
|
830
|
+
count?: number;
|
|
831
|
+
date?: string;
|
|
832
|
+
groupId?: string;
|
|
833
|
+
id?: string;
|
|
834
|
+
};
|
|
835
|
+
Relationships: [
|
|
836
|
+
{
|
|
837
|
+
foreignKeyName: 'compositionViewDaily_compositionId_fkey';
|
|
838
|
+
columns: ['compositionId'];
|
|
839
|
+
isOneToOne: false;
|
|
840
|
+
referencedRelation: 'composerComposition';
|
|
841
|
+
referencedColumns: ['id'];
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
foreignKeyName: 'compositionViewDaily_compositionId_fkey';
|
|
845
|
+
columns: ['compositionId'];
|
|
846
|
+
isOneToOne: false;
|
|
847
|
+
referencedRelation: 'composerCompositionModel';
|
|
848
|
+
referencedColumns: ['id'];
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
foreignKeyName: 'compositionViewDaily_compositionId_fkey';
|
|
852
|
+
columns: ['compositionId'];
|
|
853
|
+
isOneToOne: false;
|
|
854
|
+
referencedRelation: 'composerCompositionPublicModel';
|
|
855
|
+
referencedColumns: ['id'];
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
foreignKeyName: 'compositionViewDaily_compositionId_fkey';
|
|
859
|
+
columns: ['compositionId'];
|
|
860
|
+
isOneToOne: false;
|
|
861
|
+
referencedRelation: 'composerOwnedCompositionMetricsModel';
|
|
862
|
+
referencedColumns: ['compositionId'];
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
foreignKeyName: 'compositionViewDaily_compositionId_fkey';
|
|
866
|
+
columns: ['compositionId'];
|
|
867
|
+
isOneToOne: false;
|
|
868
|
+
referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
|
|
869
|
+
referencedColumns: ['compositionId'];
|
|
870
|
+
},
|
|
871
|
+
];
|
|
872
|
+
};
|
|
873
|
+
currencyExchangeRate: {
|
|
874
|
+
Row: {
|
|
875
|
+
baseCurrency: string;
|
|
876
|
+
created_at: string;
|
|
877
|
+
fetchedAt: string;
|
|
878
|
+
id: string;
|
|
879
|
+
provider: string;
|
|
880
|
+
rate: number;
|
|
881
|
+
rateDate: string;
|
|
882
|
+
targetCurrency: string;
|
|
883
|
+
};
|
|
884
|
+
Insert: {
|
|
885
|
+
baseCurrency: string;
|
|
886
|
+
created_at?: string;
|
|
887
|
+
fetchedAt?: string;
|
|
888
|
+
id?: string;
|
|
889
|
+
provider: string;
|
|
890
|
+
rate: number;
|
|
891
|
+
rateDate: string;
|
|
892
|
+
targetCurrency: string;
|
|
893
|
+
};
|
|
894
|
+
Update: {
|
|
895
|
+
baseCurrency?: string;
|
|
896
|
+
created_at?: string;
|
|
897
|
+
fetchedAt?: string;
|
|
898
|
+
id?: string;
|
|
899
|
+
provider?: string;
|
|
900
|
+
rate?: number;
|
|
901
|
+
rateDate?: string;
|
|
902
|
+
targetCurrency?: string;
|
|
903
|
+
};
|
|
904
|
+
Relationships: [];
|
|
905
|
+
};
|
|
906
|
+
event: {
|
|
907
|
+
Row: {
|
|
908
|
+
activeInvitationLink: boolean;
|
|
909
|
+
coverURL: string | null;
|
|
910
|
+
createdAt: string;
|
|
911
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
912
|
+
datetime: string;
|
|
913
|
+
datetimeEnd: string;
|
|
914
|
+
deletedAt: string | null;
|
|
915
|
+
deletedBy: string | null;
|
|
916
|
+
description: string | null;
|
|
917
|
+
descriptionSlate: Json[];
|
|
918
|
+
displayName: string | null;
|
|
919
|
+
id: string;
|
|
920
|
+
invitationLink: string | null;
|
|
921
|
+
locality: string | null;
|
|
922
|
+
location: unknown;
|
|
923
|
+
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
924
|
+
maxAttendance: number | null;
|
|
925
|
+
notifyAt: string;
|
|
926
|
+
online: boolean;
|
|
927
|
+
owner: string | null;
|
|
928
|
+
playerIds: string[];
|
|
929
|
+
players: Json;
|
|
930
|
+
promoter: string | null;
|
|
931
|
+
relEvents: string[];
|
|
932
|
+
repeat: Json | null;
|
|
933
|
+
repertory: Json;
|
|
934
|
+
repertoryIds: string[];
|
|
935
|
+
responseDeadline: Json;
|
|
936
|
+
responseDeadlineAt: string;
|
|
937
|
+
rollCalledAt: string | null;
|
|
938
|
+
rollCalledBy: string | null;
|
|
939
|
+
rollCallHistory: Json[];
|
|
940
|
+
rollCallReminderAt: string | null;
|
|
941
|
+
selectionMode: Database['public']['Enums']['event_selection_mode'] | null;
|
|
942
|
+
selectionModeClosedAt: string | null;
|
|
943
|
+
shortDynamicLink: string | null;
|
|
944
|
+
sites: boolean;
|
|
945
|
+
stage: Json | null;
|
|
946
|
+
stageTemplateId: string | null;
|
|
947
|
+
templateId: string | null;
|
|
948
|
+
timezone: string;
|
|
949
|
+
type: Database['public']['Enums']['event_type'];
|
|
950
|
+
updatedAt: string;
|
|
951
|
+
videoURL: string | null;
|
|
952
|
+
};
|
|
953
|
+
Insert: {
|
|
954
|
+
activeInvitationLink: boolean;
|
|
955
|
+
coverURL?: string | null;
|
|
956
|
+
createdAt?: string;
|
|
957
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
958
|
+
datetime: string;
|
|
959
|
+
datetimeEnd: string;
|
|
960
|
+
deletedAt?: string | null;
|
|
961
|
+
deletedBy?: string | null;
|
|
962
|
+
description?: string | null;
|
|
963
|
+
descriptionSlate: Json[];
|
|
964
|
+
displayName?: string | null;
|
|
965
|
+
id: string;
|
|
966
|
+
invitationLink?: string | null;
|
|
967
|
+
locality?: string | null;
|
|
968
|
+
location: unknown;
|
|
969
|
+
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
970
|
+
maxAttendance?: number | null;
|
|
971
|
+
notifyAt: string;
|
|
972
|
+
online: boolean;
|
|
973
|
+
owner?: string | null;
|
|
974
|
+
playerIds: string[];
|
|
975
|
+
players: Json;
|
|
976
|
+
promoter?: string | null;
|
|
977
|
+
relEvents: string[];
|
|
978
|
+
repeat?: Json | null;
|
|
979
|
+
repertory: Json;
|
|
980
|
+
repertoryIds: string[];
|
|
981
|
+
responseDeadline: Json;
|
|
982
|
+
responseDeadlineAt: string;
|
|
983
|
+
rollCalledAt?: string | null;
|
|
984
|
+
rollCalledBy?: string | null;
|
|
985
|
+
rollCallHistory: Json[];
|
|
986
|
+
rollCallReminderAt?: string | null;
|
|
987
|
+
selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
|
|
988
|
+
selectionModeClosedAt?: string | null;
|
|
989
|
+
shortDynamicLink?: string | null;
|
|
990
|
+
sites?: boolean;
|
|
991
|
+
stage?: Json | null;
|
|
992
|
+
stageTemplateId?: string | null;
|
|
993
|
+
templateId?: string | null;
|
|
994
|
+
timezone: string;
|
|
995
|
+
type: Database['public']['Enums']['event_type'];
|
|
996
|
+
updatedAt?: string;
|
|
997
|
+
videoURL?: string | null;
|
|
998
|
+
};
|
|
999
|
+
Update: {
|
|
1000
|
+
activeInvitationLink?: boolean;
|
|
1001
|
+
coverURL?: string | null;
|
|
1002
|
+
createdAt?: string;
|
|
1003
|
+
createdOn?: Database['public']['Enums']['created_on'];
|
|
1004
|
+
datetime?: string;
|
|
1005
|
+
datetimeEnd?: string;
|
|
1006
|
+
deletedAt?: string | null;
|
|
1007
|
+
deletedBy?: string | null;
|
|
1008
|
+
description?: string | null;
|
|
1009
|
+
descriptionSlate?: Json[];
|
|
1010
|
+
displayName?: string | null;
|
|
1011
|
+
id?: string;
|
|
1012
|
+
invitationLink?: string | null;
|
|
1013
|
+
locality?: string | null;
|
|
1014
|
+
location?: unknown;
|
|
1015
|
+
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
1016
|
+
maxAttendance?: number | null;
|
|
1017
|
+
notifyAt?: string;
|
|
1018
|
+
online?: boolean;
|
|
1019
|
+
owner?: string | null;
|
|
1020
|
+
playerIds?: string[];
|
|
1021
|
+
players?: Json;
|
|
1022
|
+
promoter?: string | null;
|
|
1023
|
+
relEvents?: string[];
|
|
1024
|
+
repeat?: Json | null;
|
|
1025
|
+
repertory?: Json;
|
|
1026
|
+
repertoryIds?: string[];
|
|
1027
|
+
responseDeadline?: Json;
|
|
1028
|
+
responseDeadlineAt?: string;
|
|
1029
|
+
rollCalledAt?: string | null;
|
|
1030
|
+
rollCalledBy?: string | null;
|
|
1031
|
+
rollCallHistory?: Json[];
|
|
1032
|
+
rollCallReminderAt?: string | null;
|
|
1033
|
+
selectionMode?: Database['public']['Enums']['event_selection_mode'] | null;
|
|
1034
|
+
selectionModeClosedAt?: string | null;
|
|
1035
|
+
shortDynamicLink?: string | null;
|
|
1036
|
+
sites?: boolean;
|
|
1037
|
+
stage?: Json | null;
|
|
1038
|
+
stageTemplateId?: string | null;
|
|
1039
|
+
templateId?: string | null;
|
|
1040
|
+
timezone?: string;
|
|
1041
|
+
type?: Database['public']['Enums']['event_type'];
|
|
1042
|
+
updatedAt?: string;
|
|
1043
|
+
videoURL?: string | null;
|
|
1044
|
+
};
|
|
1045
|
+
Relationships: [
|
|
1046
|
+
{
|
|
1047
|
+
foreignKeyName: 'event_promoter_group_id_fkey';
|
|
1048
|
+
columns: ['promoter'];
|
|
1049
|
+
isOneToOne: false;
|
|
1050
|
+
referencedRelation: 'group';
|
|
1051
|
+
referencedColumns: ['id'];
|
|
1052
|
+
},
|
|
1053
|
+
];
|
|
1054
|
+
};
|
|
1055
|
+
event_history: {
|
|
1056
|
+
Row: {
|
|
1057
|
+
action: string;
|
|
1058
|
+
created_at: string;
|
|
1059
|
+
event_id: string;
|
|
1060
|
+
group_id: string;
|
|
1061
|
+
id: number;
|
|
1062
|
+
prev_value: Json | null;
|
|
1063
|
+
user_id: string;
|
|
1064
|
+
value: Json | null;
|
|
1065
|
+
};
|
|
1066
|
+
Insert: {
|
|
1067
|
+
action: string;
|
|
1068
|
+
created_at: string;
|
|
1069
|
+
event_id: string;
|
|
1070
|
+
group_id: string;
|
|
1071
|
+
id?: number;
|
|
1072
|
+
prev_value?: Json | null;
|
|
1073
|
+
user_id: string;
|
|
1074
|
+
value?: Json | null;
|
|
1075
|
+
};
|
|
1076
|
+
Update: {
|
|
1077
|
+
action?: string;
|
|
1078
|
+
created_at?: string;
|
|
1079
|
+
event_id?: string;
|
|
1080
|
+
group_id?: string;
|
|
1081
|
+
id?: number;
|
|
1082
|
+
prev_value?: Json | null;
|
|
1083
|
+
user_id?: string;
|
|
1084
|
+
value?: Json | null;
|
|
1085
|
+
};
|
|
1086
|
+
Relationships: [];
|
|
1087
|
+
};
|
|
1088
|
+
group: {
|
|
1089
|
+
Row: {
|
|
1090
|
+
activeInvitationLink: boolean;
|
|
1091
|
+
addresses: Json[];
|
|
1092
|
+
administrators: string[];
|
|
1093
|
+
config: Json;
|
|
1094
|
+
configSites: Json;
|
|
1095
|
+
country: string;
|
|
1096
|
+
createdAt: string;
|
|
1097
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
1098
|
+
customerDisplayName: string | null;
|
|
1099
|
+
customerId: string | null;
|
|
1100
|
+
deletedAt: string | null;
|
|
1101
|
+
deletedBy: string | null;
|
|
1102
|
+
description: string | null;
|
|
1103
|
+
displayName: string;
|
|
1104
|
+
id: string;
|
|
1105
|
+
instruments: Json;
|
|
1106
|
+
intercomId: string | null;
|
|
1107
|
+
invitationEmails: string[];
|
|
1108
|
+
invitationLink: string | null;
|
|
1109
|
+
locality: string;
|
|
1110
|
+
location: unknown;
|
|
1111
|
+
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
1112
|
+
metadata: Json;
|
|
1113
|
+
musicStyle: string;
|
|
1114
|
+
onboardingMessages: Json[];
|
|
1115
|
+
owner: string | null;
|
|
1116
|
+
partnershipId: string | null;
|
|
1117
|
+
photoURL: string;
|
|
1118
|
+
planId: Database['public']['Enums']['group_plan'];
|
|
1119
|
+
playerIds: string[];
|
|
1120
|
+
players: Json;
|
|
1121
|
+
repertoireTags: Json;
|
|
1122
|
+
rollcallLink: string | null;
|
|
1123
|
+
satisfactionIndex: Json;
|
|
1124
|
+
shortDynamicLink: string | null;
|
|
1125
|
+
socialNetworks: Json | null;
|
|
1126
|
+
status: Database['public']['Enums']['group_status'];
|
|
1127
|
+
subscriptionId: string | null;
|
|
1128
|
+
templates: Json;
|
|
1129
|
+
trialEndAt: string | null;
|
|
1130
|
+
updatedAt: string;
|
|
1131
|
+
username: string;
|
|
1132
|
+
visitedDashboardAt: Json;
|
|
1133
|
+
};
|
|
1134
|
+
Insert: {
|
|
1135
|
+
activeInvitationLink: boolean;
|
|
1136
|
+
addresses: Json[];
|
|
1137
|
+
administrators: string[];
|
|
1138
|
+
config: Json;
|
|
1139
|
+
configSites?: Json;
|
|
1140
|
+
country: string;
|
|
1141
|
+
createdAt?: string;
|
|
1142
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
1143
|
+
customerDisplayName?: string | null;
|
|
1144
|
+
customerId?: string | null;
|
|
1145
|
+
deletedAt?: string | null;
|
|
1146
|
+
deletedBy?: string | null;
|
|
1147
|
+
description?: string | null;
|
|
1148
|
+
displayName: string;
|
|
1149
|
+
id: string;
|
|
1150
|
+
instruments: Json;
|
|
1151
|
+
intercomId?: string | null;
|
|
1152
|
+
invitationEmails: string[];
|
|
1153
|
+
invitationLink?: string | null;
|
|
1154
|
+
locality: string;
|
|
1155
|
+
location: unknown;
|
|
1156
|
+
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
1157
|
+
metadata: Json;
|
|
1158
|
+
musicStyle: string;
|
|
1159
|
+
onboardingMessages: Json[];
|
|
1160
|
+
owner?: string | null;
|
|
1161
|
+
partnershipId?: string | null;
|
|
1162
|
+
photoURL: string;
|
|
1163
|
+
planId: Database['public']['Enums']['group_plan'];
|
|
1164
|
+
playerIds: string[];
|
|
1165
|
+
players: Json;
|
|
1166
|
+
repertoireTags: Json;
|
|
1167
|
+
rollcallLink?: string | null;
|
|
1168
|
+
satisfactionIndex: Json;
|
|
1169
|
+
shortDynamicLink?: string | null;
|
|
1170
|
+
socialNetworks?: Json | null;
|
|
1171
|
+
status: Database['public']['Enums']['group_status'];
|
|
1172
|
+
subscriptionId?: string | null;
|
|
1173
|
+
templates: Json;
|
|
1174
|
+
trialEndAt?: string | null;
|
|
1175
|
+
updatedAt?: string;
|
|
1176
|
+
username: string;
|
|
1177
|
+
visitedDashboardAt: Json;
|
|
1178
|
+
};
|
|
1179
|
+
Update: {
|
|
1180
|
+
activeInvitationLink?: boolean;
|
|
1181
|
+
addresses?: Json[];
|
|
1182
|
+
administrators?: string[];
|
|
1183
|
+
config?: Json;
|
|
1184
|
+
configSites?: Json;
|
|
1185
|
+
country?: string;
|
|
1186
|
+
createdAt?: string;
|
|
1187
|
+
createdOn?: Database['public']['Enums']['created_on'];
|
|
1188
|
+
customerDisplayName?: string | null;
|
|
1189
|
+
customerId?: string | null;
|
|
1190
|
+
deletedAt?: string | null;
|
|
1191
|
+
deletedBy?: string | null;
|
|
1192
|
+
description?: string | null;
|
|
1193
|
+
displayName?: string;
|
|
1194
|
+
id?: string;
|
|
1195
|
+
instruments?: Json;
|
|
1196
|
+
intercomId?: string | null;
|
|
1197
|
+
invitationEmails?: string[];
|
|
1198
|
+
invitationLink?: string | null;
|
|
1199
|
+
locality?: string;
|
|
1200
|
+
location?: unknown;
|
|
1201
|
+
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
1202
|
+
metadata?: Json;
|
|
1203
|
+
musicStyle?: string;
|
|
1204
|
+
onboardingMessages?: Json[];
|
|
1205
|
+
owner?: string | null;
|
|
1206
|
+
partnershipId?: string | null;
|
|
1207
|
+
photoURL?: string;
|
|
1208
|
+
planId?: Database['public']['Enums']['group_plan'];
|
|
1209
|
+
playerIds?: string[];
|
|
1210
|
+
players?: Json;
|
|
1211
|
+
repertoireTags?: Json;
|
|
1212
|
+
rollcallLink?: string | null;
|
|
1213
|
+
satisfactionIndex?: Json;
|
|
1214
|
+
shortDynamicLink?: string | null;
|
|
1215
|
+
socialNetworks?: Json | null;
|
|
1216
|
+
status?: Database['public']['Enums']['group_status'];
|
|
1217
|
+
subscriptionId?: string | null;
|
|
1218
|
+
templates?: Json;
|
|
1219
|
+
trialEndAt?: string | null;
|
|
1220
|
+
updatedAt?: string;
|
|
1221
|
+
username?: string;
|
|
1222
|
+
visitedDashboardAt?: Json;
|
|
1223
|
+
};
|
|
1224
|
+
Relationships: [];
|
|
1225
|
+
};
|
|
1226
|
+
group_history: {
|
|
1227
|
+
Row: {
|
|
1228
|
+
action: string;
|
|
1229
|
+
created_at: string;
|
|
1230
|
+
group_id: string;
|
|
1231
|
+
id: number;
|
|
1232
|
+
prev_value: Json | null;
|
|
1233
|
+
user_id: string;
|
|
1234
|
+
value: Json | null;
|
|
1235
|
+
};
|
|
1236
|
+
Insert: {
|
|
1237
|
+
action: string;
|
|
1238
|
+
created_at: string;
|
|
1239
|
+
group_id: string;
|
|
1240
|
+
id?: number;
|
|
1241
|
+
prev_value?: Json | null;
|
|
1242
|
+
user_id: string;
|
|
1243
|
+
value?: Json | null;
|
|
1244
|
+
};
|
|
1245
|
+
Update: {
|
|
1246
|
+
action?: string;
|
|
1247
|
+
created_at?: string;
|
|
1248
|
+
group_id?: string;
|
|
1249
|
+
id?: number;
|
|
1250
|
+
prev_value?: Json | null;
|
|
1251
|
+
user_id?: string;
|
|
1252
|
+
value?: Json | null;
|
|
1253
|
+
};
|
|
1254
|
+
Relationships: [];
|
|
1255
|
+
};
|
|
1256
|
+
group_payment: {
|
|
1257
|
+
Row: {
|
|
1258
|
+
appliedRules: Json;
|
|
1259
|
+
assignedTo: string;
|
|
1260
|
+
baseAmount: number | null;
|
|
1261
|
+
concept: string;
|
|
1262
|
+
conceptNorm: string | null;
|
|
1263
|
+
createdAt: string;
|
|
1264
|
+
createdBy: string;
|
|
1265
|
+
currency: string;
|
|
1266
|
+
editedBy: string | null;
|
|
1267
|
+
eventId: string | null;
|
|
1268
|
+
groupId: string;
|
|
1269
|
+
id: string;
|
|
1270
|
+
note: string | null;
|
|
1271
|
+
paidAt: string | null;
|
|
1272
|
+
paidBy: string | null;
|
|
1273
|
+
paymentMethod: Database['public']['Enums']['group_payment_method'] | null;
|
|
1274
|
+
playerId: string | null;
|
|
1275
|
+
status: Database['public']['Enums']['group_payment_status'];
|
|
1276
|
+
totalAmount: number | null;
|
|
1277
|
+
type: Database['public']['Enums']['group_payment_type'];
|
|
1278
|
+
updatedAt: string;
|
|
1279
|
+
};
|
|
1280
|
+
Insert: {
|
|
1281
|
+
appliedRules?: Json;
|
|
1282
|
+
assignedTo: string;
|
|
1283
|
+
baseAmount?: number | null;
|
|
1284
|
+
concept: string;
|
|
1285
|
+
conceptNorm?: string | null;
|
|
1286
|
+
createdAt?: string;
|
|
1287
|
+
createdBy: string;
|
|
1288
|
+
currency?: string;
|
|
1289
|
+
editedBy?: string | null;
|
|
1290
|
+
eventId?: string | null;
|
|
1291
|
+
groupId: string;
|
|
1292
|
+
id?: string;
|
|
1293
|
+
note?: string | null;
|
|
1294
|
+
paidAt?: string | null;
|
|
1295
|
+
paidBy?: string | null;
|
|
1296
|
+
paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
|
|
1297
|
+
playerId?: string | null;
|
|
1298
|
+
status: Database['public']['Enums']['group_payment_status'];
|
|
1299
|
+
totalAmount?: number | null;
|
|
1300
|
+
type: Database['public']['Enums']['group_payment_type'];
|
|
1301
|
+
updatedAt?: string;
|
|
1302
|
+
};
|
|
1303
|
+
Update: {
|
|
1304
|
+
appliedRules?: Json;
|
|
1305
|
+
assignedTo?: string;
|
|
1306
|
+
baseAmount?: number | null;
|
|
1307
|
+
concept?: string;
|
|
1308
|
+
conceptNorm?: string | null;
|
|
1309
|
+
createdAt?: string;
|
|
1310
|
+
createdBy?: string;
|
|
1311
|
+
currency?: string;
|
|
1312
|
+
editedBy?: string | null;
|
|
1313
|
+
eventId?: string | null;
|
|
1314
|
+
groupId?: string;
|
|
1315
|
+
id?: string;
|
|
1316
|
+
note?: string | null;
|
|
1317
|
+
paidAt?: string | null;
|
|
1318
|
+
paidBy?: string | null;
|
|
1319
|
+
paymentMethod?: Database['public']['Enums']['group_payment_method'] | null;
|
|
1320
|
+
playerId?: string | null;
|
|
1321
|
+
status?: Database['public']['Enums']['group_payment_status'];
|
|
1322
|
+
totalAmount?: number | null;
|
|
1323
|
+
type?: Database['public']['Enums']['group_payment_type'];
|
|
1324
|
+
updatedAt?: string;
|
|
1325
|
+
};
|
|
1326
|
+
Relationships: [];
|
|
1327
|
+
};
|
|
1328
|
+
group_payment_history: {
|
|
1329
|
+
Row: {
|
|
1330
|
+
action: Database['public']['Enums']['group_payment_history_action'];
|
|
1331
|
+
changed_at: string;
|
|
1332
|
+
changed_by: string;
|
|
1333
|
+
id: string;
|
|
1334
|
+
new_value: string | null;
|
|
1335
|
+
old_value: string | null;
|
|
1336
|
+
payment_id: string;
|
|
1337
|
+
};
|
|
1338
|
+
Insert: {
|
|
1339
|
+
action: Database['public']['Enums']['group_payment_history_action'];
|
|
1340
|
+
changed_at?: string;
|
|
1341
|
+
changed_by: string;
|
|
1342
|
+
id?: string;
|
|
1343
|
+
new_value?: string | null;
|
|
1344
|
+
old_value?: string | null;
|
|
1345
|
+
payment_id: string;
|
|
1346
|
+
};
|
|
1347
|
+
Update: {
|
|
1348
|
+
action?: Database['public']['Enums']['group_payment_history_action'];
|
|
1349
|
+
changed_at?: string;
|
|
1350
|
+
changed_by?: string;
|
|
1351
|
+
id?: string;
|
|
1352
|
+
new_value?: string | null;
|
|
1353
|
+
old_value?: string | null;
|
|
1354
|
+
payment_id?: string;
|
|
1355
|
+
};
|
|
1356
|
+
Relationships: [
|
|
1357
|
+
{
|
|
1358
|
+
foreignKeyName: 'group_payment_history_payment_id_fkey';
|
|
1359
|
+
columns: ['payment_id'];
|
|
1360
|
+
isOneToOne: false;
|
|
1361
|
+
referencedRelation: 'group_payment';
|
|
1362
|
+
referencedColumns: ['id'];
|
|
1363
|
+
},
|
|
1364
|
+
];
|
|
1365
|
+
};
|
|
1366
|
+
offer: {
|
|
1367
|
+
Row: {
|
|
1368
|
+
applicants: Json;
|
|
1369
|
+
applicantsIds: string[];
|
|
1370
|
+
country: string;
|
|
1371
|
+
createdAt: string;
|
|
1372
|
+
createdBy: string;
|
|
336
1373
|
createdOn: Database['public']['Enums']['created_on'];
|
|
337
|
-
|
|
1374
|
+
deadlineAt: string | null;
|
|
1375
|
+
deletedAt: string | null;
|
|
1376
|
+
deletedBy: string | null;
|
|
1377
|
+
description: string;
|
|
1378
|
+
eventId: string | null;
|
|
1379
|
+
groupId: string;
|
|
1380
|
+
groupInfo: Json;
|
|
1381
|
+
id: string;
|
|
1382
|
+
instrument: string;
|
|
1383
|
+
locality: string;
|
|
1384
|
+
location: unknown;
|
|
1385
|
+
location_lonlat: Database['public']['CompositeTypes']['lonlat'];
|
|
1386
|
+
selectionClosedAt: string | null;
|
|
1387
|
+
selectionClosedBy: string | null;
|
|
1388
|
+
timezone: string;
|
|
1389
|
+
title: string;
|
|
1390
|
+
type: Database['public']['Enums']['offer_type'];
|
|
1391
|
+
updatedAt: string;
|
|
1392
|
+
updatedBy: string;
|
|
1393
|
+
};
|
|
1394
|
+
Insert: {
|
|
1395
|
+
applicants: Json;
|
|
1396
|
+
applicantsIds: string[];
|
|
1397
|
+
country: string;
|
|
1398
|
+
createdAt: string;
|
|
1399
|
+
createdBy: string;
|
|
1400
|
+
createdOn: Database['public']['Enums']['created_on'];
|
|
1401
|
+
deadlineAt?: string | null;
|
|
1402
|
+
deletedAt?: string | null;
|
|
1403
|
+
deletedBy?: string | null;
|
|
1404
|
+
description: string;
|
|
1405
|
+
eventId?: string | null;
|
|
1406
|
+
groupId: string;
|
|
1407
|
+
groupInfo?: Json;
|
|
1408
|
+
id: string;
|
|
1409
|
+
instrument: string;
|
|
1410
|
+
locality: string;
|
|
1411
|
+
location: unknown;
|
|
1412
|
+
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
1413
|
+
selectionClosedAt?: string | null;
|
|
1414
|
+
selectionClosedBy?: string | null;
|
|
1415
|
+
timezone: string;
|
|
1416
|
+
title: string;
|
|
1417
|
+
type: Database['public']['Enums']['offer_type'];
|
|
1418
|
+
updatedAt: string;
|
|
1419
|
+
updatedBy: string;
|
|
1420
|
+
};
|
|
1421
|
+
Update: {
|
|
1422
|
+
applicants?: Json;
|
|
1423
|
+
applicantsIds?: string[];
|
|
1424
|
+
country?: string;
|
|
1425
|
+
createdAt?: string;
|
|
1426
|
+
createdBy?: string;
|
|
1427
|
+
createdOn?: Database['public']['Enums']['created_on'];
|
|
1428
|
+
deadlineAt?: string | null;
|
|
1429
|
+
deletedAt?: string | null;
|
|
1430
|
+
deletedBy?: string | null;
|
|
1431
|
+
description?: string;
|
|
1432
|
+
eventId?: string | null;
|
|
1433
|
+
groupId?: string;
|
|
1434
|
+
groupInfo?: Json;
|
|
1435
|
+
id?: string;
|
|
1436
|
+
instrument?: string;
|
|
1437
|
+
locality?: string;
|
|
1438
|
+
location?: unknown;
|
|
1439
|
+
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
1440
|
+
selectionClosedAt?: string | null;
|
|
1441
|
+
selectionClosedBy?: string | null;
|
|
1442
|
+
timezone?: string;
|
|
1443
|
+
title?: string;
|
|
1444
|
+
type?: Database['public']['Enums']['offer_type'];
|
|
1445
|
+
updatedAt?: string;
|
|
1446
|
+
updatedBy?: string;
|
|
1447
|
+
};
|
|
1448
|
+
Relationships: [
|
|
1449
|
+
{
|
|
1450
|
+
foreignKeyName: 'public_offer_eventId_fkey';
|
|
1451
|
+
columns: ['eventId'];
|
|
1452
|
+
isOneToOne: false;
|
|
1453
|
+
referencedRelation: 'event';
|
|
1454
|
+
referencedColumns: ['id'];
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
foreignKeyName: 'public_offer_groupId_fkey';
|
|
1458
|
+
columns: ['groupId'];
|
|
1459
|
+
isOneToOne: false;
|
|
1460
|
+
referencedRelation: 'group';
|
|
1461
|
+
referencedColumns: ['id'];
|
|
1462
|
+
},
|
|
1463
|
+
];
|
|
1464
|
+
};
|
|
1465
|
+
offer_history: {
|
|
1466
|
+
Row: {
|
|
1467
|
+
action: string;
|
|
1468
|
+
created_at: string;
|
|
1469
|
+
group_id: string;
|
|
1470
|
+
id: number;
|
|
1471
|
+
offer_id: string;
|
|
1472
|
+
prev_value: Json | null;
|
|
1473
|
+
user_id: string;
|
|
1474
|
+
value: Json | null;
|
|
1475
|
+
};
|
|
1476
|
+
Insert: {
|
|
1477
|
+
action: string;
|
|
1478
|
+
created_at: string;
|
|
1479
|
+
group_id: string;
|
|
1480
|
+
id?: number;
|
|
1481
|
+
offer_id: string;
|
|
1482
|
+
prev_value?: Json | null;
|
|
1483
|
+
user_id: string;
|
|
1484
|
+
value?: Json | null;
|
|
1485
|
+
};
|
|
1486
|
+
Update: {
|
|
1487
|
+
action?: string;
|
|
1488
|
+
created_at?: string;
|
|
1489
|
+
group_id?: string;
|
|
1490
|
+
id?: number;
|
|
1491
|
+
offer_id?: string;
|
|
1492
|
+
prev_value?: Json | null;
|
|
1493
|
+
user_id?: string;
|
|
1494
|
+
value?: Json | null;
|
|
1495
|
+
};
|
|
1496
|
+
Relationships: [];
|
|
1497
|
+
};
|
|
1498
|
+
repertoire: {
|
|
1499
|
+
Row: {
|
|
1500
|
+
compositor: string | null;
|
|
1501
|
+
created_at: string;
|
|
1502
|
+
events: string[];
|
|
1503
|
+
group_id: string;
|
|
1504
|
+
id: string;
|
|
1505
|
+
last_event_datetime: string | null;
|
|
1506
|
+
owner_id: string;
|
|
1507
|
+
source_composition: Json | null;
|
|
1508
|
+
tags: string[];
|
|
1509
|
+
title: string;
|
|
1510
|
+
visibility: string;
|
|
1511
|
+
};
|
|
1512
|
+
Insert: {
|
|
1513
|
+
compositor?: string | null;
|
|
1514
|
+
created_at?: string;
|
|
1515
|
+
events: string[];
|
|
1516
|
+
group_id: string;
|
|
1517
|
+
id: string;
|
|
1518
|
+
last_event_datetime?: string | null;
|
|
1519
|
+
owner_id: string;
|
|
1520
|
+
source_composition?: Json | null;
|
|
1521
|
+
tags: string[];
|
|
1522
|
+
title: string;
|
|
1523
|
+
visibility: string;
|
|
1524
|
+
};
|
|
1525
|
+
Update: {
|
|
1526
|
+
compositor?: string | null;
|
|
1527
|
+
created_at?: string;
|
|
1528
|
+
events?: string[];
|
|
1529
|
+
group_id?: string;
|
|
1530
|
+
id?: string;
|
|
1531
|
+
last_event_datetime?: string | null;
|
|
1532
|
+
owner_id?: string;
|
|
1533
|
+
source_composition?: Json | null;
|
|
1534
|
+
tags?: string[];
|
|
1535
|
+
title?: string;
|
|
1536
|
+
visibility?: string;
|
|
1537
|
+
};
|
|
1538
|
+
Relationships: [];
|
|
1539
|
+
};
|
|
1540
|
+
repertoire_history: {
|
|
1541
|
+
Row: {
|
|
1542
|
+
action: string;
|
|
1543
|
+
created_at: string;
|
|
1544
|
+
group_id: string;
|
|
1545
|
+
id: number;
|
|
1546
|
+
prev_value: Json | null;
|
|
1547
|
+
theme_id: string;
|
|
1548
|
+
user_id: string;
|
|
1549
|
+
value: Json | null;
|
|
1550
|
+
};
|
|
1551
|
+
Insert: {
|
|
1552
|
+
action: string;
|
|
1553
|
+
created_at: string;
|
|
1554
|
+
group_id: string;
|
|
1555
|
+
id?: number;
|
|
1556
|
+
prev_value?: Json | null;
|
|
1557
|
+
theme_id: string;
|
|
1558
|
+
user_id: string;
|
|
1559
|
+
value?: Json | null;
|
|
1560
|
+
};
|
|
1561
|
+
Update: {
|
|
1562
|
+
action?: string;
|
|
1563
|
+
created_at?: string;
|
|
1564
|
+
group_id?: string;
|
|
1565
|
+
id?: number;
|
|
1566
|
+
prev_value?: Json | null;
|
|
1567
|
+
theme_id?: string;
|
|
1568
|
+
user_id?: string;
|
|
1569
|
+
value?: Json | null;
|
|
1570
|
+
};
|
|
1571
|
+
Relationships: [];
|
|
1572
|
+
};
|
|
1573
|
+
user: {
|
|
1574
|
+
Row: {
|
|
1575
|
+
analyticsEnabled: boolean;
|
|
1576
|
+
appConfig: Json;
|
|
1577
|
+
createdAt: string | null;
|
|
1578
|
+
customerIds: string[];
|
|
1579
|
+
dashboardConfig: Json;
|
|
1580
|
+
deletedAt: string | null;
|
|
1581
|
+
description: string | null;
|
|
1582
|
+
devices: Json;
|
|
1583
|
+
displayName: string | null;
|
|
1584
|
+
email: string | null;
|
|
1585
|
+
emailSettings: Json;
|
|
1586
|
+
fakeUser: boolean;
|
|
1587
|
+
federationId: string | null;
|
|
1588
|
+
groupInvites: string[];
|
|
1589
|
+
groups: string[];
|
|
1590
|
+
groupsAdmin: string[];
|
|
1591
|
+
language: string | null;
|
|
1592
|
+
lastAppLoginAt: string | null;
|
|
1593
|
+
lastBiweeklyEmailAt: string | null;
|
|
1594
|
+
lastname: string | null;
|
|
1595
|
+
lastWebLoginAt: string | null;
|
|
1596
|
+
locality: string | null;
|
|
1597
|
+
name: string | null;
|
|
1598
|
+
notificationSettings: Json;
|
|
1599
|
+
partnershipIds: string[];
|
|
1600
|
+
photoURL: string | null;
|
|
1601
|
+
rawData: Json;
|
|
1602
|
+
role: string | null;
|
|
1603
|
+
updatedAt: string;
|
|
1604
|
+
userId: string;
|
|
1605
|
+
username: string | null;
|
|
1606
|
+
whatsNew: Json;
|
|
1607
|
+
};
|
|
1608
|
+
Insert: {
|
|
1609
|
+
analyticsEnabled?: boolean;
|
|
1610
|
+
appConfig?: Json;
|
|
1611
|
+
createdAt?: string | null;
|
|
1612
|
+
customerIds?: string[];
|
|
1613
|
+
dashboardConfig?: Json;
|
|
1614
|
+
deletedAt?: string | null;
|
|
1615
|
+
description?: string | null;
|
|
1616
|
+
devices?: Json;
|
|
1617
|
+
displayName?: string | null;
|
|
1618
|
+
email?: string | null;
|
|
1619
|
+
emailSettings?: Json;
|
|
1620
|
+
fakeUser?: boolean;
|
|
1621
|
+
federationId?: string | null;
|
|
1622
|
+
groupInvites?: string[];
|
|
1623
|
+
groups?: string[];
|
|
1624
|
+
groupsAdmin?: string[];
|
|
1625
|
+
language?: string | null;
|
|
1626
|
+
lastAppLoginAt?: string | null;
|
|
1627
|
+
lastBiweeklyEmailAt?: string | null;
|
|
1628
|
+
lastname?: string | null;
|
|
1629
|
+
lastWebLoginAt?: string | null;
|
|
1630
|
+
locality?: string | null;
|
|
1631
|
+
name?: string | null;
|
|
1632
|
+
notificationSettings?: Json;
|
|
1633
|
+
partnershipIds?: string[];
|
|
1634
|
+
photoURL?: string | null;
|
|
1635
|
+
rawData?: Json;
|
|
1636
|
+
role?: string | null;
|
|
1637
|
+
updatedAt?: string;
|
|
1638
|
+
userId: string;
|
|
1639
|
+
username?: string | null;
|
|
1640
|
+
whatsNew?: Json;
|
|
1641
|
+
};
|
|
1642
|
+
Update: {
|
|
1643
|
+
analyticsEnabled?: boolean;
|
|
1644
|
+
appConfig?: Json;
|
|
1645
|
+
createdAt?: string | null;
|
|
1646
|
+
customerIds?: string[];
|
|
1647
|
+
dashboardConfig?: Json;
|
|
338
1648
|
deletedAt?: string | null;
|
|
339
|
-
deletedBy?: string | null;
|
|
340
1649
|
description?: string | null;
|
|
341
|
-
|
|
1650
|
+
devices?: Json;
|
|
1651
|
+
displayName?: string | null;
|
|
1652
|
+
email?: string | null;
|
|
1653
|
+
emailSettings?: Json;
|
|
1654
|
+
fakeUser?: boolean;
|
|
1655
|
+
federationId?: string | null;
|
|
1656
|
+
groupInvites?: string[];
|
|
1657
|
+
groups?: string[];
|
|
1658
|
+
groupsAdmin?: string[];
|
|
1659
|
+
language?: string | null;
|
|
1660
|
+
lastAppLoginAt?: string | null;
|
|
1661
|
+
lastBiweeklyEmailAt?: string | null;
|
|
1662
|
+
lastname?: string | null;
|
|
1663
|
+
lastWebLoginAt?: string | null;
|
|
1664
|
+
locality?: string | null;
|
|
1665
|
+
name?: string | null;
|
|
1666
|
+
notificationSettings?: Json;
|
|
1667
|
+
partnershipIds?: string[];
|
|
1668
|
+
photoURL?: string | null;
|
|
1669
|
+
rawData?: Json;
|
|
1670
|
+
role?: string | null;
|
|
1671
|
+
updatedAt?: string;
|
|
1672
|
+
userId?: string;
|
|
1673
|
+
username?: string | null;
|
|
1674
|
+
whatsNew?: Json;
|
|
1675
|
+
};
|
|
1676
|
+
Relationships: [];
|
|
1677
|
+
};
|
|
1678
|
+
userGroup: {
|
|
1679
|
+
Row: {
|
|
1680
|
+
groupId: string;
|
|
1681
|
+
instruments: string[];
|
|
1682
|
+
isAdmin: boolean;
|
|
1683
|
+
joinedAt: string | null;
|
|
1684
|
+
mainInstrument: string | null;
|
|
1685
|
+
permissions: string[];
|
|
1686
|
+
role: string;
|
|
1687
|
+
updatedAt: string;
|
|
1688
|
+
userId: string;
|
|
1689
|
+
};
|
|
1690
|
+
Insert: {
|
|
1691
|
+
groupId: string;
|
|
1692
|
+
instruments?: string[];
|
|
1693
|
+
isAdmin?: boolean;
|
|
1694
|
+
joinedAt?: string | null;
|
|
1695
|
+
mainInstrument?: string | null;
|
|
1696
|
+
permissions?: string[];
|
|
1697
|
+
role: string;
|
|
1698
|
+
updatedAt?: string;
|
|
1699
|
+
userId: string;
|
|
1700
|
+
};
|
|
1701
|
+
Update: {
|
|
1702
|
+
groupId?: string;
|
|
1703
|
+
instruments?: string[];
|
|
1704
|
+
isAdmin?: boolean;
|
|
1705
|
+
joinedAt?: string | null;
|
|
1706
|
+
mainInstrument?: string | null;
|
|
1707
|
+
permissions?: string[];
|
|
1708
|
+
role?: string;
|
|
1709
|
+
updatedAt?: string;
|
|
1710
|
+
userId?: string;
|
|
1711
|
+
};
|
|
1712
|
+
Relationships: [];
|
|
1713
|
+
};
|
|
1714
|
+
};
|
|
1715
|
+
Views: {
|
|
1716
|
+
comm_historyModel: {
|
|
1717
|
+
Row: {
|
|
1718
|
+
action: string | null;
|
|
1719
|
+
comm_id: string | null;
|
|
1720
|
+
created_at: string | null;
|
|
1721
|
+
group_id: string | null;
|
|
1722
|
+
id: number | null;
|
|
1723
|
+
prev_value: Json | null;
|
|
1724
|
+
user_id: string | null;
|
|
1725
|
+
value: Json | null;
|
|
1726
|
+
};
|
|
1727
|
+
Insert: {
|
|
1728
|
+
action?: string | null;
|
|
1729
|
+
comm_id?: string | null;
|
|
1730
|
+
created_at?: string | null;
|
|
1731
|
+
group_id?: string | null;
|
|
1732
|
+
id?: number | null;
|
|
1733
|
+
prev_value?: Json | null;
|
|
1734
|
+
user_id?: string | null;
|
|
1735
|
+
value?: Json | null;
|
|
1736
|
+
};
|
|
1737
|
+
Update: {
|
|
1738
|
+
action?: string | null;
|
|
1739
|
+
comm_id?: string | null;
|
|
1740
|
+
created_at?: string | null;
|
|
1741
|
+
group_id?: string | null;
|
|
1742
|
+
id?: number | null;
|
|
1743
|
+
prev_value?: Json | null;
|
|
1744
|
+
user_id?: string | null;
|
|
1745
|
+
value?: Json | null;
|
|
1746
|
+
};
|
|
1747
|
+
Relationships: [];
|
|
1748
|
+
};
|
|
1749
|
+
commModel: {
|
|
1750
|
+
Row: {
|
|
1751
|
+
block_answers: boolean | null;
|
|
1752
|
+
comments_count: number | null;
|
|
1753
|
+
created_at: string | null;
|
|
1754
|
+
deleted_at: string | null;
|
|
1755
|
+
deleted_by: string | null;
|
|
1756
|
+
edited_at: string | null;
|
|
1757
|
+
edited_by: string | null;
|
|
1758
|
+
group_id: string | null;
|
|
1759
|
+
id: string | null;
|
|
1760
|
+
owner_id: string | null;
|
|
1761
|
+
recipients: string[] | null;
|
|
1762
|
+
server: boolean | null;
|
|
1763
|
+
server_template: string | null;
|
|
1764
|
+
template_id: string | null;
|
|
1765
|
+
title: string | null;
|
|
1766
|
+
type: string | null;
|
|
1767
|
+
};
|
|
1768
|
+
Insert: {
|
|
1769
|
+
block_answers?: boolean | null;
|
|
1770
|
+
comments_count?: number | null;
|
|
1771
|
+
created_at?: string | null;
|
|
1772
|
+
deleted_at?: string | null;
|
|
1773
|
+
deleted_by?: string | null;
|
|
1774
|
+
edited_at?: string | null;
|
|
1775
|
+
edited_by?: string | null;
|
|
1776
|
+
group_id?: string | null;
|
|
1777
|
+
id?: string | null;
|
|
1778
|
+
owner_id?: string | null;
|
|
1779
|
+
recipients?: string[] | null;
|
|
1780
|
+
server?: boolean | null;
|
|
1781
|
+
server_template?: string | null;
|
|
1782
|
+
template_id?: string | null;
|
|
1783
|
+
title?: string | null;
|
|
1784
|
+
type?: string | null;
|
|
1785
|
+
};
|
|
1786
|
+
Update: {
|
|
1787
|
+
block_answers?: boolean | null;
|
|
1788
|
+
comments_count?: number | null;
|
|
1789
|
+
created_at?: string | null;
|
|
1790
|
+
deleted_at?: string | null;
|
|
1791
|
+
deleted_by?: string | null;
|
|
1792
|
+
edited_at?: string | null;
|
|
1793
|
+
edited_by?: string | null;
|
|
1794
|
+
group_id?: string | null;
|
|
1795
|
+
id?: string | null;
|
|
1796
|
+
owner_id?: string | null;
|
|
1797
|
+
recipients?: string[] | null;
|
|
1798
|
+
server?: boolean | null;
|
|
1799
|
+
server_template?: string | null;
|
|
1800
|
+
template_id?: string | null;
|
|
1801
|
+
title?: string | null;
|
|
1802
|
+
type?: string | null;
|
|
1803
|
+
};
|
|
1804
|
+
Relationships: [];
|
|
1805
|
+
};
|
|
1806
|
+
composerCompositionModel: {
|
|
1807
|
+
Row: {
|
|
1808
|
+
arrangerName: string | null;
|
|
1809
|
+
catalogueNumber: string | null;
|
|
1810
|
+
century: number | null;
|
|
1811
|
+
composerName: string | null;
|
|
1812
|
+
cover: Json | null;
|
|
1813
|
+
createdAt: string | null;
|
|
1814
|
+
deletedAt: string | null;
|
|
1815
|
+
description: Json[] | null;
|
|
1816
|
+
difficulty: number | null;
|
|
1817
|
+
duration: number | null;
|
|
1818
|
+
externalComposerName: string | null;
|
|
1819
|
+
files: Json | null;
|
|
1820
|
+
filesPath: Json | null;
|
|
1821
|
+
genresIds: string[] | null;
|
|
1822
|
+
highlightedParts: Json | null;
|
|
1823
|
+
id: string | null;
|
|
1824
|
+
instrumentationIds: string[] | null;
|
|
1825
|
+
products: Json | null;
|
|
1826
|
+
publisher: string | null;
|
|
1827
|
+
samples: Json | null;
|
|
1828
|
+
stylesIds: string[] | null;
|
|
1829
|
+
subtitle: string | null;
|
|
1830
|
+
title: string | null;
|
|
1831
|
+
updatedAt: string | null;
|
|
1832
|
+
uploaderComposerArtisticName: string | null;
|
|
1833
|
+
uploaderComposerId: string | null;
|
|
1834
|
+
uploaderComposerRole:
|
|
1835
|
+
| Database['public']['Enums']['composerroleincomposition']
|
|
1836
|
+
| null;
|
|
1837
|
+
visibility: boolean | null;
|
|
1838
|
+
year: number | null;
|
|
1839
|
+
};
|
|
1840
|
+
Relationships: [
|
|
1841
|
+
{
|
|
1842
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
1843
|
+
columns: ['uploaderComposerId'];
|
|
1844
|
+
isOneToOne: false;
|
|
1845
|
+
referencedRelation: 'composer';
|
|
1846
|
+
referencedColumns: ['id'];
|
|
1847
|
+
},
|
|
1848
|
+
{
|
|
1849
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
1850
|
+
columns: ['uploaderComposerId'];
|
|
1851
|
+
isOneToOne: false;
|
|
1852
|
+
referencedRelation: 'composerModel';
|
|
1853
|
+
referencedColumns: ['id'];
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
1857
|
+
columns: ['uploaderComposerId'];
|
|
1858
|
+
isOneToOne: false;
|
|
1859
|
+
referencedRelation: 'composerPublicModel';
|
|
1860
|
+
referencedColumns: ['id'];
|
|
1861
|
+
},
|
|
1862
|
+
];
|
|
1863
|
+
};
|
|
1864
|
+
composerCompositionPublicModel: {
|
|
1865
|
+
Row: {
|
|
1866
|
+
arrangerName: string | null;
|
|
1867
|
+
catalogueNumber: string | null;
|
|
1868
|
+
century: number | null;
|
|
1869
|
+
composerArtisticName: string | null;
|
|
1870
|
+
composerName: string | null;
|
|
1871
|
+
composerPhotoURL: string | null;
|
|
1872
|
+
compositionDateSortEnd: number | null;
|
|
1873
|
+
compositionDateSortStart: number | null;
|
|
1874
|
+
cover: Json | null;
|
|
1875
|
+
createdAt: string | null;
|
|
1876
|
+
deletedAt: string | null;
|
|
1877
|
+
description: Json[] | null;
|
|
1878
|
+
difficulty: number | null;
|
|
1879
|
+
displayPrice: number | null;
|
|
1880
|
+
duration: number | null;
|
|
1881
|
+
externalComposerName: string | null;
|
|
1882
|
+
files: Json | null;
|
|
1883
|
+
genresIds: string[] | null;
|
|
1884
|
+
highlightedParts: Json | null;
|
|
1885
|
+
id: string | null;
|
|
1886
|
+
instrumentationIds: string[] | null;
|
|
1887
|
+
products: Json | null;
|
|
1888
|
+
publisher: string | null;
|
|
1889
|
+
samples: Json | null;
|
|
1890
|
+
stylesIds: string[] | null;
|
|
1891
|
+
subtitle: string | null;
|
|
1892
|
+
title: string | null;
|
|
1893
|
+
updatedAt: string | null;
|
|
1894
|
+
uploaderComposerArtisticName: string | null;
|
|
1895
|
+
uploaderComposerId: string | null;
|
|
1896
|
+
uploaderComposerRole:
|
|
1897
|
+
| Database['public']['Enums']['composerroleincomposition']
|
|
1898
|
+
| null;
|
|
1899
|
+
visibility: boolean | null;
|
|
1900
|
+
year: number | null;
|
|
1901
|
+
};
|
|
1902
|
+
Relationships: [
|
|
1903
|
+
{
|
|
1904
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
1905
|
+
columns: ['uploaderComposerId'];
|
|
1906
|
+
isOneToOne: false;
|
|
1907
|
+
referencedRelation: 'composer';
|
|
1908
|
+
referencedColumns: ['id'];
|
|
1909
|
+
},
|
|
1910
|
+
{
|
|
1911
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
1912
|
+
columns: ['uploaderComposerId'];
|
|
1913
|
+
isOneToOne: false;
|
|
1914
|
+
referencedRelation: 'composerModel';
|
|
1915
|
+
referencedColumns: ['id'];
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
foreignKeyName: 'composerComposition_uploaderComposerId_fkey';
|
|
1919
|
+
columns: ['uploaderComposerId'];
|
|
1920
|
+
isOneToOne: false;
|
|
1921
|
+
referencedRelation: 'composerPublicModel';
|
|
1922
|
+
referencedColumns: ['id'];
|
|
1923
|
+
},
|
|
1924
|
+
];
|
|
1925
|
+
};
|
|
1926
|
+
composerModel: {
|
|
1927
|
+
Row: {
|
|
1928
|
+
artisticEmail: string | null;
|
|
1929
|
+
artisticName: string | null;
|
|
1930
|
+
country: string | null;
|
|
1931
|
+
createdAt: string | null;
|
|
1932
|
+
currency: string | null;
|
|
1933
|
+
deletedAt: string | null;
|
|
1934
|
+
description: Json[] | null;
|
|
1935
|
+
id: string | null;
|
|
1936
|
+
instruments: Json | null;
|
|
1937
|
+
locality: string | null;
|
|
1938
|
+
location: Database['public']['CompositeTypes']['lonlat'] | null;
|
|
1939
|
+
location_geography: unknown;
|
|
1940
|
+
photoURL: string | null;
|
|
1941
|
+
repertoireTags: Json | null;
|
|
1942
|
+
socialNetworks: Json | null;
|
|
1943
|
+
updatedAt: string | null;
|
|
1944
|
+
userId: string | null;
|
|
1945
|
+
username: string | null;
|
|
1946
|
+
visibility: boolean | null;
|
|
1947
|
+
};
|
|
1948
|
+
Insert: {
|
|
1949
|
+
artisticEmail?: string | null;
|
|
1950
|
+
artisticName?: string | null;
|
|
1951
|
+
country?: string | null;
|
|
1952
|
+
createdAt?: string | null;
|
|
1953
|
+
currency?: string | null;
|
|
1954
|
+
deletedAt?: string | null;
|
|
1955
|
+
description?: Json[] | null;
|
|
1956
|
+
id?: string | null;
|
|
1957
|
+
instruments?: Json | null;
|
|
1958
|
+
locality?: string | null;
|
|
1959
|
+
location?: Database['public']['CompositeTypes']['lonlat'] | null;
|
|
1960
|
+
location_geography?: never;
|
|
1961
|
+
photoURL?: string | null;
|
|
1962
|
+
repertoireTags?: Json | null;
|
|
1963
|
+
socialNetworks?: Json | null;
|
|
1964
|
+
updatedAt?: string | null;
|
|
1965
|
+
userId?: string | null;
|
|
1966
|
+
username?: string | null;
|
|
1967
|
+
visibility?: boolean | null;
|
|
1968
|
+
};
|
|
1969
|
+
Update: {
|
|
1970
|
+
artisticEmail?: string | null;
|
|
1971
|
+
artisticName?: string | null;
|
|
1972
|
+
country?: string | null;
|
|
1973
|
+
createdAt?: string | null;
|
|
1974
|
+
currency?: string | null;
|
|
1975
|
+
deletedAt?: string | null;
|
|
1976
|
+
description?: Json[] | null;
|
|
1977
|
+
id?: string | null;
|
|
1978
|
+
instruments?: Json | null;
|
|
1979
|
+
locality?: string | null;
|
|
1980
|
+
location?: Database['public']['CompositeTypes']['lonlat'] | null;
|
|
1981
|
+
location_geography?: never;
|
|
1982
|
+
photoURL?: string | null;
|
|
1983
|
+
repertoireTags?: Json | null;
|
|
1984
|
+
socialNetworks?: Json | null;
|
|
1985
|
+
updatedAt?: string | null;
|
|
1986
|
+
userId?: string | null;
|
|
1987
|
+
username?: string | null;
|
|
1988
|
+
visibility?: boolean | null;
|
|
1989
|
+
};
|
|
1990
|
+
Relationships: [];
|
|
1991
|
+
};
|
|
1992
|
+
composerOwnedActivityModel: {
|
|
1993
|
+
Row: {
|
|
1994
|
+
activityType: string | null;
|
|
1995
|
+
actorId: string | null;
|
|
1996
|
+
actorName: string | null;
|
|
1997
|
+
actorPhotoURL: string | null;
|
|
1998
|
+
clientName: string | null;
|
|
1999
|
+
compositionId: string | null;
|
|
2000
|
+
compositionTitle: string | null;
|
|
2001
|
+
country: string | null;
|
|
2002
|
+
createdAt: string | null;
|
|
2003
|
+
thumbnailUrl: string | null;
|
|
2004
|
+
};
|
|
2005
|
+
Relationships: [];
|
|
2006
|
+
};
|
|
2007
|
+
composerOwnedAnalyticsTimeSeriesModel: {
|
|
2008
|
+
Row: {
|
|
2009
|
+
acquisitions: number | null;
|
|
2010
|
+
date: string | null;
|
|
2011
|
+
revenue: number | null;
|
|
2012
|
+
views: number | null;
|
|
2013
|
+
};
|
|
2014
|
+
Relationships: [];
|
|
2015
|
+
};
|
|
2016
|
+
composerOwnedBalanceModel: {
|
|
2017
|
+
Row: {
|
|
2018
|
+
availableCents: number | null;
|
|
2019
|
+
composerId: string | null;
|
|
2020
|
+
totalEarnedCents: number | null;
|
|
2021
|
+
totalPaidOutCents: number | null;
|
|
2022
|
+
};
|
|
2023
|
+
Relationships: [];
|
|
2024
|
+
};
|
|
2025
|
+
composerOwnedCompositionMetricsModel: {
|
|
2026
|
+
Row: {
|
|
2027
|
+
acquisitionsCount: number | null;
|
|
2028
|
+
compositionId: string | null;
|
|
2029
|
+
favoritesCount: number | null;
|
|
2030
|
+
groupsTargetedCount: number | null;
|
|
2031
|
+
revenueTotal: number | null;
|
|
2032
|
+
viewsCount: number | null;
|
|
2033
|
+
};
|
|
2034
|
+
Relationships: [];
|
|
2035
|
+
};
|
|
2036
|
+
composerOwnedCompositionProductBreakdownModel: {
|
|
2037
|
+
Row: {
|
|
2038
|
+
acquisitionCount: number | null;
|
|
2039
|
+
compositionId: string | null;
|
|
2040
|
+
productType: string | null;
|
|
2041
|
+
revenue: number | null;
|
|
2042
|
+
};
|
|
2043
|
+
Relationships: [];
|
|
2044
|
+
};
|
|
2045
|
+
composerOwnedGeographyModel: {
|
|
2046
|
+
Row: {
|
|
2047
|
+
acquisitionCount: number | null;
|
|
2048
|
+
country: string | null;
|
|
2049
|
+
revenueTotal: number | null;
|
|
2050
|
+
viewCount: number | null;
|
|
2051
|
+
};
|
|
2052
|
+
Relationships: [];
|
|
2053
|
+
};
|
|
2054
|
+
composerOwnedTransactionModel: {
|
|
2055
|
+
Row: {
|
|
2056
|
+
acquiredByCustomerName: string | null;
|
|
2057
|
+
acquiredByGroupCountry: string | null;
|
|
2058
|
+
acquiredByGroupCountrySnapshot: string | null;
|
|
2059
|
+
acquiredByGroupId: string | null;
|
|
2060
|
+
acquiredByGroupMusicStyle: string | null;
|
|
2061
|
+
acquiredByGroupMusicStyleSnapshot: string | null;
|
|
2062
|
+
acquiredByGroupName: string | null;
|
|
2063
|
+
acquiredByGroupNameSnapshot: string | null;
|
|
2064
|
+
acquiredByGroupPhotoURL: string | null;
|
|
2065
|
+
acquiredByGroupPhotoURLSnapshot: string | null;
|
|
2066
|
+
acquiredByUserId: string | null;
|
|
2067
|
+
acquiredProducts: Json | null;
|
|
2068
|
+
baseCurrency: string | null;
|
|
2069
|
+
baseNetEarningsCents: number | null;
|
|
2070
|
+
basePriceCents: number | null;
|
|
2071
|
+
baseVatCents: number | null;
|
|
2072
|
+
buyerCurrency: string | null;
|
|
2073
|
+
buyerPriceCents: number | null;
|
|
2074
|
+
buyerVatCents: number | null;
|
|
2075
|
+
compositionArrangerName: string | null;
|
|
2076
|
+
compositionComposerName: string | null;
|
|
2077
|
+
compositionCover: Json | null;
|
|
2078
|
+
compositionId: string | null;
|
|
2079
|
+
compositionProducts: Json | null;
|
|
2080
|
+
compositionTitle: string | null;
|
|
2081
|
+
compositionUploaderComposerArtisticName: string | null;
|
|
2082
|
+
created_at: string | null;
|
|
2083
|
+
currency: string | null;
|
|
2084
|
+
customerId: string | null;
|
|
2085
|
+
exchangeRate: number | null;
|
|
2086
|
+
exchangeRateDate: string | null;
|
|
2087
|
+
exchangeRateSource: string | null;
|
|
2088
|
+
id: string | null;
|
|
2089
|
+
netEarningsCents: number | null;
|
|
2090
|
+
priceCents: number | null;
|
|
2091
|
+
refundedAt: string | null;
|
|
2092
|
+
refundedCents: number | null;
|
|
2093
|
+
refundStatus: string | null;
|
|
2094
|
+
stripePaymentIntentId: string | null;
|
|
2095
|
+
stripeRefundId: string | null;
|
|
2096
|
+
stripeSessionId: string | null;
|
|
2097
|
+
updated_at: string | null;
|
|
2098
|
+
vatCents: number | null;
|
|
2099
|
+
};
|
|
2100
|
+
Relationships: [
|
|
2101
|
+
{
|
|
2102
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2103
|
+
columns: ['compositionId'];
|
|
2104
|
+
isOneToOne: false;
|
|
2105
|
+
referencedRelation: 'composerComposition';
|
|
2106
|
+
referencedColumns: ['id'];
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2110
|
+
columns: ['compositionId'];
|
|
2111
|
+
isOneToOne: false;
|
|
2112
|
+
referencedRelation: 'composerCompositionModel';
|
|
2113
|
+
referencedColumns: ['id'];
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2117
|
+
columns: ['compositionId'];
|
|
2118
|
+
isOneToOne: false;
|
|
2119
|
+
referencedRelation: 'composerCompositionPublicModel';
|
|
2120
|
+
referencedColumns: ['id'];
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2124
|
+
columns: ['compositionId'];
|
|
2125
|
+
isOneToOne: false;
|
|
2126
|
+
referencedRelation: 'composerOwnedCompositionMetricsModel';
|
|
2127
|
+
referencedColumns: ['compositionId'];
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2131
|
+
columns: ['compositionId'];
|
|
2132
|
+
isOneToOne: false;
|
|
2133
|
+
referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
|
|
2134
|
+
referencedColumns: ['compositionId'];
|
|
2135
|
+
},
|
|
2136
|
+
];
|
|
2137
|
+
};
|
|
2138
|
+
composerPublicModel: {
|
|
2139
|
+
Row: {
|
|
2140
|
+
artisticName: string | null;
|
|
2141
|
+
country: string | null;
|
|
2142
|
+
createdAt: string | null;
|
|
2143
|
+
description: Json[] | null;
|
|
2144
|
+
id: string | null;
|
|
2145
|
+
instruments: Json | null;
|
|
2146
|
+
locality: string | null;
|
|
2147
|
+
photoURL: string | null;
|
|
2148
|
+
socialNetworks: Json | null;
|
|
2149
|
+
updatedAt: string | null;
|
|
2150
|
+
username: string | null;
|
|
2151
|
+
visibility: boolean | null;
|
|
2152
|
+
};
|
|
2153
|
+
Insert: {
|
|
2154
|
+
artisticName?: string | null;
|
|
2155
|
+
country?: string | null;
|
|
2156
|
+
createdAt?: string | null;
|
|
2157
|
+
description?: Json[] | null;
|
|
2158
|
+
id?: string | null;
|
|
2159
|
+
instruments?: Json | null;
|
|
2160
|
+
locality?: string | null;
|
|
2161
|
+
photoURL?: string | null;
|
|
2162
|
+
socialNetworks?: Json | null;
|
|
2163
|
+
updatedAt?: string | null;
|
|
2164
|
+
username?: string | null;
|
|
2165
|
+
visibility?: boolean | null;
|
|
2166
|
+
};
|
|
2167
|
+
Update: {
|
|
2168
|
+
artisticName?: string | null;
|
|
2169
|
+
country?: string | null;
|
|
2170
|
+
createdAt?: string | null;
|
|
2171
|
+
description?: Json[] | null;
|
|
2172
|
+
id?: string | null;
|
|
2173
|
+
instruments?: Json | null;
|
|
2174
|
+
locality?: string | null;
|
|
2175
|
+
photoURL?: string | null;
|
|
2176
|
+
socialNetworks?: Json | null;
|
|
2177
|
+
updatedAt?: string | null;
|
|
2178
|
+
username?: string | null;
|
|
2179
|
+
visibility?: boolean | null;
|
|
2180
|
+
};
|
|
2181
|
+
Relationships: [];
|
|
2182
|
+
};
|
|
2183
|
+
compositionAcquisitionModel: {
|
|
2184
|
+
Row: {
|
|
2185
|
+
acquiredByCustomerName: string | null;
|
|
2186
|
+
acquiredByGroupCountry: string | null;
|
|
2187
|
+
acquiredByGroupCountrySnapshot: string | null;
|
|
2188
|
+
acquiredByGroupId: string | null;
|
|
2189
|
+
acquiredByGroupMusicStyle: string | null;
|
|
2190
|
+
acquiredByGroupMusicStyleSnapshot: string | null;
|
|
2191
|
+
acquiredByGroupName: string | null;
|
|
2192
|
+
acquiredByGroupNameSnapshot: string | null;
|
|
2193
|
+
acquiredByGroupPhotoURL: string | null;
|
|
2194
|
+
acquiredByGroupPhotoURLSnapshot: string | null;
|
|
2195
|
+
acquiredByUserId: string | null;
|
|
2196
|
+
acquiredProducts: Json | null;
|
|
2197
|
+
baseCurrency: string | null;
|
|
2198
|
+
baseNetEarningsCents: number | null;
|
|
2199
|
+
basePriceCents: number | null;
|
|
2200
|
+
baseVatCents: number | null;
|
|
2201
|
+
buyerCurrency: string | null;
|
|
2202
|
+
buyerPriceCents: number | null;
|
|
2203
|
+
buyerVatCents: number | null;
|
|
2204
|
+
compositionArrangerName: string | null;
|
|
2205
|
+
compositionComposerName: string | null;
|
|
2206
|
+
compositionCover: Json | null;
|
|
2207
|
+
compositionId: string | null;
|
|
2208
|
+
compositionProducts: Json | null;
|
|
2209
|
+
compositionTitle: string | null;
|
|
2210
|
+
compositionUploaderComposerArtisticName: string | null;
|
|
2211
|
+
created_at: string | null;
|
|
2212
|
+
currency: string | null;
|
|
2213
|
+
customerId: string | null;
|
|
2214
|
+
exchangeRate: number | null;
|
|
2215
|
+
exchangeRateDate: string | null;
|
|
2216
|
+
exchangeRateSource: string | null;
|
|
2217
|
+
id: string | null;
|
|
2218
|
+
netEarningsCents: number | null;
|
|
2219
|
+
priceCents: number | null;
|
|
2220
|
+
refundedAt: string | null;
|
|
2221
|
+
refundedCents: number | null;
|
|
2222
|
+
refundStatus: string | null;
|
|
2223
|
+
stripePaymentIntentId: string | null;
|
|
2224
|
+
stripeRefundId: string | null;
|
|
2225
|
+
stripeSessionId: string | null;
|
|
2226
|
+
updated_at: string | null;
|
|
2227
|
+
vatCents: number | null;
|
|
2228
|
+
};
|
|
2229
|
+
Relationships: [
|
|
2230
|
+
{
|
|
2231
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2232
|
+
columns: ['compositionId'];
|
|
2233
|
+
isOneToOne: false;
|
|
2234
|
+
referencedRelation: 'composerComposition';
|
|
2235
|
+
referencedColumns: ['id'];
|
|
2236
|
+
},
|
|
2237
|
+
{
|
|
2238
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2239
|
+
columns: ['compositionId'];
|
|
2240
|
+
isOneToOne: false;
|
|
2241
|
+
referencedRelation: 'composerCompositionModel';
|
|
2242
|
+
referencedColumns: ['id'];
|
|
2243
|
+
},
|
|
2244
|
+
{
|
|
2245
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2246
|
+
columns: ['compositionId'];
|
|
2247
|
+
isOneToOne: false;
|
|
2248
|
+
referencedRelation: 'composerCompositionPublicModel';
|
|
2249
|
+
referencedColumns: ['id'];
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2253
|
+
columns: ['compositionId'];
|
|
2254
|
+
isOneToOne: false;
|
|
2255
|
+
referencedRelation: 'composerOwnedCompositionMetricsModel';
|
|
2256
|
+
referencedColumns: ['compositionId'];
|
|
2257
|
+
},
|
|
2258
|
+
{
|
|
2259
|
+
foreignKeyName: 'compositionAcquisition_compositionId_fkey';
|
|
2260
|
+
columns: ['compositionId'];
|
|
2261
|
+
isOneToOne: false;
|
|
2262
|
+
referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
|
|
2263
|
+
referencedColumns: ['compositionId'];
|
|
2264
|
+
},
|
|
2265
|
+
];
|
|
2266
|
+
};
|
|
2267
|
+
compositionFavoriteModel: {
|
|
2268
|
+
Row: {
|
|
2269
|
+
compositionId: string | null;
|
|
2270
|
+
created_at: string | null;
|
|
2271
|
+
groupId: string | null;
|
|
2272
|
+
id: string | null;
|
|
2273
|
+
userId: string | null;
|
|
2274
|
+
};
|
|
2275
|
+
Insert: {
|
|
2276
|
+
compositionId?: string | null;
|
|
2277
|
+
created_at?: string | null;
|
|
2278
|
+
groupId?: string | null;
|
|
2279
|
+
id?: string | null;
|
|
2280
|
+
userId?: string | null;
|
|
2281
|
+
};
|
|
2282
|
+
Update: {
|
|
2283
|
+
compositionId?: string | null;
|
|
2284
|
+
created_at?: string | null;
|
|
2285
|
+
groupId?: string | null;
|
|
2286
|
+
id?: string | null;
|
|
2287
|
+
userId?: string | null;
|
|
2288
|
+
};
|
|
2289
|
+
Relationships: [
|
|
2290
|
+
{
|
|
2291
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
2292
|
+
columns: ['compositionId'];
|
|
2293
|
+
isOneToOne: false;
|
|
2294
|
+
referencedRelation: 'composerComposition';
|
|
2295
|
+
referencedColumns: ['id'];
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
2299
|
+
columns: ['compositionId'];
|
|
2300
|
+
isOneToOne: false;
|
|
2301
|
+
referencedRelation: 'composerCompositionModel';
|
|
2302
|
+
referencedColumns: ['id'];
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
2306
|
+
columns: ['compositionId'];
|
|
2307
|
+
isOneToOne: false;
|
|
2308
|
+
referencedRelation: 'composerCompositionPublicModel';
|
|
2309
|
+
referencedColumns: ['id'];
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
2313
|
+
columns: ['compositionId'];
|
|
2314
|
+
isOneToOne: false;
|
|
2315
|
+
referencedRelation: 'composerOwnedCompositionMetricsModel';
|
|
2316
|
+
referencedColumns: ['compositionId'];
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
foreignKeyName: 'compositionFavorite_compositionId_fkey';
|
|
2320
|
+
columns: ['compositionId'];
|
|
2321
|
+
isOneToOne: false;
|
|
2322
|
+
referencedRelation: 'composerOwnedCompositionProductBreakdownModel';
|
|
2323
|
+
referencedColumns: ['compositionId'];
|
|
2324
|
+
},
|
|
2325
|
+
];
|
|
2326
|
+
};
|
|
2327
|
+
compositionViewModel: {
|
|
2328
|
+
Row: {
|
|
2329
|
+
compositionId: string | null;
|
|
2330
|
+
created_at: string | null;
|
|
2331
|
+
groupId: string | null;
|
|
2332
|
+
id: string | null;
|
|
2333
|
+
};
|
|
2334
|
+
Relationships: [];
|
|
2335
|
+
};
|
|
2336
|
+
event_historyModel: {
|
|
2337
|
+
Row: {
|
|
2338
|
+
action: string | null;
|
|
2339
|
+
created_at: string | null;
|
|
2340
|
+
event_id: string | null;
|
|
2341
|
+
group_id: string | null;
|
|
2342
|
+
id: number | null;
|
|
2343
|
+
prev_value: Json | null;
|
|
2344
|
+
user_id: string | null;
|
|
2345
|
+
value: Json | null;
|
|
2346
|
+
};
|
|
2347
|
+
Insert: {
|
|
2348
|
+
action?: string | null;
|
|
2349
|
+
created_at?: string | null;
|
|
2350
|
+
event_id?: string | null;
|
|
2351
|
+
group_id?: string | null;
|
|
2352
|
+
id?: number | null;
|
|
2353
|
+
prev_value?: Json | null;
|
|
2354
|
+
user_id?: string | null;
|
|
2355
|
+
value?: Json | null;
|
|
2356
|
+
};
|
|
2357
|
+
Update: {
|
|
2358
|
+
action?: string | null;
|
|
2359
|
+
created_at?: string | null;
|
|
2360
|
+
event_id?: string | null;
|
|
2361
|
+
group_id?: string | null;
|
|
2362
|
+
id?: number | null;
|
|
2363
|
+
prev_value?: Json | null;
|
|
2364
|
+
user_id?: string | null;
|
|
2365
|
+
value?: Json | null;
|
|
2366
|
+
};
|
|
2367
|
+
Relationships: [];
|
|
2368
|
+
};
|
|
2369
|
+
group_historyModel: {
|
|
2370
|
+
Row: {
|
|
2371
|
+
action: string | null;
|
|
2372
|
+
created_at: string | null;
|
|
2373
|
+
group_id: string | null;
|
|
2374
|
+
id: number | null;
|
|
2375
|
+
prev_value: Json | null;
|
|
2376
|
+
user_id: string | null;
|
|
2377
|
+
value: Json | null;
|
|
2378
|
+
};
|
|
2379
|
+
Insert: {
|
|
2380
|
+
action?: string | null;
|
|
2381
|
+
created_at?: string | null;
|
|
2382
|
+
group_id?: string | null;
|
|
2383
|
+
id?: number | null;
|
|
2384
|
+
prev_value?: Json | null;
|
|
2385
|
+
user_id?: string | null;
|
|
2386
|
+
value?: Json | null;
|
|
2387
|
+
};
|
|
2388
|
+
Update: {
|
|
2389
|
+
action?: string | null;
|
|
2390
|
+
created_at?: string | null;
|
|
2391
|
+
group_id?: string | null;
|
|
2392
|
+
id?: number | null;
|
|
2393
|
+
prev_value?: Json | null;
|
|
2394
|
+
user_id?: string | null;
|
|
2395
|
+
value?: Json | null;
|
|
2396
|
+
};
|
|
2397
|
+
Relationships: [];
|
|
2398
|
+
};
|
|
2399
|
+
offer_historyModel: {
|
|
2400
|
+
Row: {
|
|
2401
|
+
action: string | null;
|
|
2402
|
+
created_at: string | null;
|
|
2403
|
+
group_id: string | null;
|
|
2404
|
+
id: number | null;
|
|
2405
|
+
offer_id: string | null;
|
|
2406
|
+
prev_value: Json | null;
|
|
2407
|
+
user_id: string | null;
|
|
2408
|
+
value: Json | null;
|
|
2409
|
+
};
|
|
2410
|
+
Insert: {
|
|
2411
|
+
action?: string | null;
|
|
2412
|
+
created_at?: string | null;
|
|
2413
|
+
group_id?: string | null;
|
|
2414
|
+
id?: number | null;
|
|
2415
|
+
offer_id?: string | null;
|
|
2416
|
+
prev_value?: Json | null;
|
|
2417
|
+
user_id?: string | null;
|
|
2418
|
+
value?: Json | null;
|
|
2419
|
+
};
|
|
2420
|
+
Update: {
|
|
2421
|
+
action?: string | null;
|
|
2422
|
+
created_at?: string | null;
|
|
2423
|
+
group_id?: string | null;
|
|
2424
|
+
id?: number | null;
|
|
2425
|
+
offer_id?: string | null;
|
|
2426
|
+
prev_value?: Json | null;
|
|
2427
|
+
user_id?: string | null;
|
|
2428
|
+
value?: Json | null;
|
|
2429
|
+
};
|
|
2430
|
+
Relationships: [];
|
|
2431
|
+
};
|
|
2432
|
+
repertoire_historyModel: {
|
|
2433
|
+
Row: {
|
|
2434
|
+
action: string | null;
|
|
2435
|
+
created_at: string | null;
|
|
2436
|
+
group_id: string | null;
|
|
2437
|
+
id: number | null;
|
|
2438
|
+
prev_value: Json | null;
|
|
2439
|
+
theme_id: string | null;
|
|
2440
|
+
user_id: string | null;
|
|
2441
|
+
value: Json | null;
|
|
2442
|
+
};
|
|
2443
|
+
Insert: {
|
|
2444
|
+
action?: string | null;
|
|
2445
|
+
created_at?: string | null;
|
|
2446
|
+
group_id?: string | null;
|
|
2447
|
+
id?: number | null;
|
|
2448
|
+
prev_value?: Json | null;
|
|
2449
|
+
theme_id?: string | null;
|
|
2450
|
+
user_id?: string | null;
|
|
2451
|
+
value?: Json | null;
|
|
2452
|
+
};
|
|
2453
|
+
Update: {
|
|
2454
|
+
action?: string | null;
|
|
2455
|
+
created_at?: string | null;
|
|
2456
|
+
group_id?: string | null;
|
|
2457
|
+
id?: number | null;
|
|
2458
|
+
prev_value?: Json | null;
|
|
2459
|
+
theme_id?: string | null;
|
|
2460
|
+
user_id?: string | null;
|
|
2461
|
+
value?: Json | null;
|
|
2462
|
+
};
|
|
2463
|
+
Relationships: [];
|
|
2464
|
+
};
|
|
2465
|
+
repertoireModel: {
|
|
2466
|
+
Row: {
|
|
2467
|
+
compositor: string | null;
|
|
2468
|
+
created_at: string | null;
|
|
2469
|
+
events: string[] | null;
|
|
2470
|
+
group_id: string | null;
|
|
2471
|
+
id: string | null;
|
|
2472
|
+
last_event_datetime: string | null;
|
|
2473
|
+
owner_id: string | null;
|
|
2474
|
+
source_composition: Json | null;
|
|
2475
|
+
tags: string[] | null;
|
|
2476
|
+
title: string | null;
|
|
2477
|
+
visibility: string | null;
|
|
2478
|
+
};
|
|
2479
|
+
Insert: {
|
|
2480
|
+
compositor?: string | null;
|
|
2481
|
+
created_at?: string | null;
|
|
2482
|
+
events?: string[] | null;
|
|
2483
|
+
group_id?: string | null;
|
|
2484
|
+
id?: string | null;
|
|
2485
|
+
last_event_datetime?: string | null;
|
|
2486
|
+
owner_id?: string | null;
|
|
2487
|
+
source_composition?: Json | null;
|
|
2488
|
+
tags?: string[] | null;
|
|
2489
|
+
title?: string | null;
|
|
2490
|
+
visibility?: string | null;
|
|
2491
|
+
};
|
|
2492
|
+
Update: {
|
|
2493
|
+
compositor?: string | null;
|
|
2494
|
+
created_at?: string | null;
|
|
2495
|
+
events?: string[] | null;
|
|
2496
|
+
group_id?: string | null;
|
|
2497
|
+
id?: string | null;
|
|
2498
|
+
last_event_datetime?: string | null;
|
|
2499
|
+
owner_id?: string | null;
|
|
2500
|
+
source_composition?: Json | null;
|
|
2501
|
+
tags?: string[] | null;
|
|
2502
|
+
title?: string | null;
|
|
2503
|
+
visibility?: string | null;
|
|
2504
|
+
};
|
|
2505
|
+
Relationships: [];
|
|
2506
|
+
};
|
|
2507
|
+
};
|
|
2508
|
+
Functions: {
|
|
2509
|
+
catalogComposerLocationMatches: {
|
|
2510
|
+
Args: {
|
|
2511
|
+
composerId: string;
|
|
2512
|
+
composerLocationCountries?: string[];
|
|
2513
|
+
composerLocationLatitude?: number;
|
|
2514
|
+
composerLocationLongitude?: number;
|
|
2515
|
+
composerLocationRadiusKm?: number;
|
|
2516
|
+
};
|
|
2517
|
+
Returns: boolean;
|
|
2518
|
+
};
|
|
2519
|
+
catalogCompositionBrowse: {
|
|
2520
|
+
Args: {
|
|
2521
|
+
buyerCurrency?: string;
|
|
2522
|
+
composerId?: string;
|
|
2523
|
+
composerLocationCountries?: string[];
|
|
2524
|
+
composerLocationLatitude?: number;
|
|
2525
|
+
composerLocationLongitude?: number;
|
|
2526
|
+
composerLocationRadiusKm?: number;
|
|
2527
|
+
composerNames?: string[];
|
|
2528
|
+
compositionIds?: string[];
|
|
2529
|
+
difficultyMax?: number;
|
|
2530
|
+
difficultyMin?: number;
|
|
2531
|
+
durationMax?: number;
|
|
2532
|
+
durationMin?: number;
|
|
2533
|
+
genresIds?: string[];
|
|
2534
|
+
instrumentationIds?: string[];
|
|
2535
|
+
limitCount?: number;
|
|
2536
|
+
offsetCount?: number;
|
|
2537
|
+
priceMax?: number;
|
|
2538
|
+
priceMin?: number;
|
|
2539
|
+
searchText?: string;
|
|
2540
|
+
soloistExclude?: Json;
|
|
2541
|
+
soloistInclude?: Json;
|
|
2542
|
+
soloistMode?: string;
|
|
2543
|
+
sortBy?: string;
|
|
2544
|
+
sortDir?: string;
|
|
2545
|
+
stylesIds?: string[];
|
|
2546
|
+
};
|
|
2547
|
+
Returns: {
|
|
2548
|
+
arrangerName: string;
|
|
2549
|
+
catalogueNumber: string;
|
|
2550
|
+
century: number;
|
|
2551
|
+
composerArtisticName: string;
|
|
2552
|
+
composerName: string;
|
|
2553
|
+
composerPhotoURL: string;
|
|
2554
|
+
compositionDateSortEnd: number;
|
|
2555
|
+
compositionDateSortStart: number;
|
|
2556
|
+
cover: Json;
|
|
2557
|
+
createdAt: string;
|
|
2558
|
+
deletedAt: string;
|
|
2559
|
+
description: Json[];
|
|
2560
|
+
difficulty: number;
|
|
2561
|
+
displayPrice: number;
|
|
2562
|
+
duration: number;
|
|
2563
|
+
files: Json;
|
|
2564
|
+
genresIds: string[];
|
|
2565
|
+
highlightedParts: Json;
|
|
342
2566
|
id: string;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
2567
|
+
instrumentationIds: string[];
|
|
2568
|
+
products: Json;
|
|
2569
|
+
publisher: string;
|
|
2570
|
+
samples: Json;
|
|
2571
|
+
stylesIds: string[];
|
|
2572
|
+
subtitle: string;
|
|
2573
|
+
title: string;
|
|
2574
|
+
totalCount: number;
|
|
2575
|
+
uploaderComposerArtisticName: string;
|
|
2576
|
+
uploaderComposerId: string;
|
|
2577
|
+
visibility: boolean;
|
|
2578
|
+
year: number;
|
|
2579
|
+
}[];
|
|
2580
|
+
};
|
|
2581
|
+
catalogCompositionFacets:
|
|
2582
|
+
| {
|
|
2583
|
+
Args: never;
|
|
2584
|
+
Returns: {
|
|
2585
|
+
composers: string[];
|
|
2586
|
+
genresIds: string[];
|
|
2587
|
+
highlightedParts: Json;
|
|
2588
|
+
instrumentationIds: string[];
|
|
2589
|
+
maxDuration: number;
|
|
2590
|
+
maxPrice: number;
|
|
2591
|
+
stylesIds: string[];
|
|
2592
|
+
}[];
|
|
2593
|
+
}
|
|
2594
|
+
| {
|
|
2595
|
+
Args: {
|
|
2596
|
+
buyerCurrency?: string;
|
|
2597
|
+
composerLocationCountries?: string[];
|
|
2598
|
+
composerLocationLatitude?: number;
|
|
2599
|
+
composerLocationLongitude?: number;
|
|
2600
|
+
composerLocationRadiusKm?: number;
|
|
2601
|
+
};
|
|
2602
|
+
Returns: {
|
|
2603
|
+
composers: string[];
|
|
2604
|
+
genresIds: string[];
|
|
2605
|
+
highlightedParts: Json;
|
|
2606
|
+
instrumentationIds: string[];
|
|
2607
|
+
maxDuration: number;
|
|
2608
|
+
maxPrice: number;
|
|
2609
|
+
stylesIds: string[];
|
|
2610
|
+
}[];
|
|
2611
|
+
};
|
|
2612
|
+
catalogConvertCurrencyCents: {
|
|
2613
|
+
Args: {
|
|
2614
|
+
amount_cents: number;
|
|
2615
|
+
base_currency: string;
|
|
2616
|
+
target_currency: string;
|
|
2617
|
+
};
|
|
2618
|
+
Returns: number;
|
|
2619
|
+
};
|
|
2620
|
+
catalogConvertProducts: {
|
|
2621
|
+
Args: { products: Json; target_currency: string };
|
|
2622
|
+
Returns: Json;
|
|
2623
|
+
};
|
|
2624
|
+
catalogDisplayPriceForCurrency: {
|
|
2625
|
+
Args: { products: Json; target_currency: string };
|
|
2626
|
+
Returns: number;
|
|
2627
|
+
};
|
|
2628
|
+
catalogRoundCurrencyCents: {
|
|
2629
|
+
Args: { amount_cents: number; currency: string };
|
|
2630
|
+
Returns: number;
|
|
2631
|
+
};
|
|
2632
|
+
clear_composer_performance_attendance: {
|
|
2633
|
+
Args: { p_composer_id: string; p_event_id: string };
|
|
2634
|
+
Returns: undefined;
|
|
2635
|
+
};
|
|
2636
|
+
composerCompositionTimeSeries: {
|
|
2637
|
+
Args: { compositionId: string; endDate?: string; startDate?: string };
|
|
2638
|
+
Returns: {
|
|
2639
|
+
acquisitions: number;
|
|
2640
|
+
date: string;
|
|
2641
|
+
revenue: number;
|
|
2642
|
+
views: number;
|
|
2643
|
+
}[];
|
|
2644
|
+
};
|
|
2645
|
+
compositionAcquisitionActiveProductCount: {
|
|
2646
|
+
Args: { acquiredProducts: Json; refundStatus: string };
|
|
2647
|
+
Returns: number;
|
|
2648
|
+
};
|
|
2649
|
+
compositionAcquisitionEffectiveNetEarningsCents: {
|
|
2650
|
+
Args: {
|
|
2651
|
+
acquiredProducts: Json;
|
|
2652
|
+
netEarningsCents: number;
|
|
2653
|
+
priceCents: number;
|
|
2654
|
+
refundedCents: number;
|
|
2655
|
+
refundStatus: string;
|
|
2656
|
+
};
|
|
2657
|
+
Returns: number;
|
|
2658
|
+
};
|
|
2659
|
+
compositionAcquisitionHasProductRefunds: {
|
|
2660
|
+
Args: { acquiredProducts: Json };
|
|
2661
|
+
Returns: boolean;
|
|
2662
|
+
};
|
|
2663
|
+
current_composer_id: { Args: never; Returns: string };
|
|
2664
|
+
current_firebase_uid: { Args: never; Returns: string };
|
|
2665
|
+
get_composer_analytics: {
|
|
2666
|
+
Args: { composer_id: string; end_date?: string; start_date?: string };
|
|
2667
|
+
Returns: Json;
|
|
2668
|
+
};
|
|
2669
|
+
get_composer_balance: { Args: { composer_id: string }; Returns: Json };
|
|
2670
|
+
get_composer_explore_metrics: {
|
|
2671
|
+
Args: { composer_id: string };
|
|
2672
|
+
Returns: Json;
|
|
2673
|
+
};
|
|
2674
|
+
get_composer_performances: {
|
|
2675
|
+
Args: { composer_id: string };
|
|
2676
|
+
Returns: {
|
|
2677
|
+
attendance: Json;
|
|
2678
|
+
composer_composition_ids: string[];
|
|
2679
|
+
event_datetime: string;
|
|
2680
|
+
event_datetime_end: string;
|
|
2681
|
+
event_id: string;
|
|
2682
|
+
event_locality: string;
|
|
2683
|
+
event_timezone: string;
|
|
2684
|
+
event_title: string;
|
|
2685
|
+
event_type: string;
|
|
2686
|
+
group_customer_name: string;
|
|
2687
|
+
group_display_name: string;
|
|
2688
|
+
group_id: string;
|
|
2689
|
+
group_photo_url: string;
|
|
2690
|
+
group_username: string;
|
|
2691
|
+
repertoire_themes: Json;
|
|
2692
|
+
}[];
|
|
2693
|
+
};
|
|
2694
|
+
immutable_unaccent: { Args: { '': string }; Returns: string };
|
|
2695
|
+
set_composer_performance_attendance: {
|
|
2696
|
+
Args: {
|
|
2697
|
+
p_companions: number;
|
|
2698
|
+
p_composer_artistic_name: string;
|
|
2699
|
+
p_composer_contact_email: string;
|
|
2700
|
+
p_composer_id: string;
|
|
2701
|
+
p_composer_photo_url: string;
|
|
2702
|
+
p_event_id: string;
|
|
2703
|
+
p_group_id: string;
|
|
2704
|
+
};
|
|
2705
|
+
Returns: undefined;
|
|
2706
|
+
};
|
|
2707
|
+
set_current_composer_repertoire_tag: {
|
|
2708
|
+
Args: { tag: Json; tag_id: string };
|
|
2709
|
+
Returns: Json;
|
|
2710
|
+
};
|
|
2711
|
+
show_limit: { Args: never; Returns: number };
|
|
2712
|
+
show_trgm: { Args: { '': string }; Returns: string[] };
|
|
2713
|
+
unaccent: { Args: { '': string }; Returns: string };
|
|
2714
|
+
};
|
|
2715
|
+
Enums: {
|
|
2716
|
+
composerroleincomposition: 'COMPOSER' | 'ARRANGER';
|
|
2717
|
+
created_on: 'app' | 'dashboard' | 'auth' | 'web';
|
|
2718
|
+
event_selection_mode: 'open' | 'closed';
|
|
2719
|
+
event_type: 'practice' | 'performance' | 'other';
|
|
2720
|
+
group_payment_history_action: 'status' | 'amount' | 'concept' | 'method';
|
|
2721
|
+
group_payment_method: 'cash' | 'transfer';
|
|
2722
|
+
group_payment_status: 'pending' | 'paid' | 'cancelled';
|
|
2723
|
+
group_payment_type: 'income' | 'expense';
|
|
2724
|
+
group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
|
|
2725
|
+
group_plan_period: 'yearly' | 'monthly';
|
|
2726
|
+
group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
|
|
2727
|
+
offer_type: 'group' | 'event';
|
|
2728
|
+
social_network: 'facebook' | 'twitter' | 'instagram' | 'youtube';
|
|
2729
|
+
};
|
|
2730
|
+
CompositeTypes: {
|
|
2731
|
+
lonlat: {
|
|
2732
|
+
longitude: number | null;
|
|
2733
|
+
latitude: number | null;
|
|
2734
|
+
};
|
|
2735
|
+
};
|
|
2736
|
+
};
|
|
2737
|
+
storage: {
|
|
2738
|
+
Tables: {
|
|
2739
|
+
buckets: {
|
|
2740
|
+
Row: {
|
|
2741
|
+
allowed_mime_types: string[] | null;
|
|
2742
|
+
avif_autodetection: boolean | null;
|
|
2743
|
+
created_at: string | null;
|
|
2744
|
+
file_size_limit: number | null;
|
|
2745
|
+
id: string;
|
|
2746
|
+
name: string;
|
|
2747
|
+
owner: string | null;
|
|
2748
|
+
owner_id: string | null;
|
|
2749
|
+
public: boolean | null;
|
|
2750
|
+
type: Database['storage']['Enums']['buckettype'];
|
|
2751
|
+
updated_at: string | null;
|
|
2752
|
+
};
|
|
2753
|
+
Insert: {
|
|
2754
|
+
allowed_mime_types?: string[] | null;
|
|
2755
|
+
avif_autodetection?: boolean | null;
|
|
2756
|
+
created_at?: string | null;
|
|
2757
|
+
file_size_limit?: number | null;
|
|
2758
|
+
id: string;
|
|
2759
|
+
name: string;
|
|
353
2760
|
owner?: string | null;
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
players: Json;
|
|
359
|
-
repertoireTags: Json;
|
|
360
|
-
rollcallLink?: string | null;
|
|
361
|
-
satisfactionIndex: Json;
|
|
362
|
-
shortDynamicLink?: string | null;
|
|
363
|
-
socialNetworks?: Json | null;
|
|
364
|
-
status: Database['public']['Enums']['group_status'];
|
|
365
|
-
subscriptionId?: string | null;
|
|
366
|
-
templates: Json;
|
|
367
|
-
trialEndAt?: string | null;
|
|
368
|
-
updatedAt?: string;
|
|
369
|
-
username: string;
|
|
370
|
-
visitedDashboardAt: Json;
|
|
2761
|
+
owner_id?: string | null;
|
|
2762
|
+
public?: boolean | null;
|
|
2763
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
2764
|
+
updated_at?: string | null;
|
|
371
2765
|
};
|
|
372
2766
|
Update: {
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
configSites?: Json;
|
|
378
|
-
country?: string;
|
|
379
|
-
createdAt?: string;
|
|
380
|
-
createdOn?: Database['public']['Enums']['created_on'];
|
|
381
|
-
customerId?: string | null;
|
|
382
|
-
deletedAt?: string | null;
|
|
383
|
-
deletedBy?: string | null;
|
|
384
|
-
description?: string | null;
|
|
385
|
-
displayName?: string;
|
|
2767
|
+
allowed_mime_types?: string[] | null;
|
|
2768
|
+
avif_autodetection?: boolean | null;
|
|
2769
|
+
created_at?: string | null;
|
|
2770
|
+
file_size_limit?: number | null;
|
|
386
2771
|
id?: string;
|
|
387
|
-
|
|
388
|
-
intercomId?: string | null;
|
|
389
|
-
invitationEmails?: string[];
|
|
390
|
-
invitationLink?: string | null;
|
|
391
|
-
locality?: string;
|
|
392
|
-
location?: unknown;
|
|
393
|
-
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
394
|
-
metadata?: Json;
|
|
395
|
-
musicStyle?: string;
|
|
396
|
-
onboardingMessages?: Json[];
|
|
2772
|
+
name?: string;
|
|
397
2773
|
owner?: string | null;
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
players?: Json;
|
|
403
|
-
repertoireTags?: Json;
|
|
404
|
-
rollcallLink?: string | null;
|
|
405
|
-
satisfactionIndex?: Json;
|
|
406
|
-
shortDynamicLink?: string | null;
|
|
407
|
-
socialNetworks?: Json | null;
|
|
408
|
-
status?: Database['public']['Enums']['group_status'];
|
|
409
|
-
subscriptionId?: string | null;
|
|
410
|
-
templates?: Json;
|
|
411
|
-
trialEndAt?: string | null;
|
|
412
|
-
updatedAt?: string;
|
|
413
|
-
username?: string;
|
|
414
|
-
visitedDashboardAt?: Json;
|
|
2774
|
+
owner_id?: string | null;
|
|
2775
|
+
public?: boolean | null;
|
|
2776
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
2777
|
+
updated_at?: string | null;
|
|
415
2778
|
};
|
|
416
2779
|
Relationships: [];
|
|
417
2780
|
};
|
|
418
|
-
|
|
2781
|
+
buckets_analytics: {
|
|
419
2782
|
Row: {
|
|
420
|
-
action: string;
|
|
421
2783
|
created_at: string;
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
2784
|
+
deleted_at: string | null;
|
|
2785
|
+
format: string;
|
|
2786
|
+
id: string;
|
|
2787
|
+
name: string;
|
|
2788
|
+
type: Database['storage']['Enums']['buckettype'];
|
|
2789
|
+
updated_at: string;
|
|
427
2790
|
};
|
|
428
2791
|
Insert: {
|
|
429
|
-
|
|
2792
|
+
created_at?: string;
|
|
2793
|
+
deleted_at?: string | null;
|
|
2794
|
+
format?: string;
|
|
2795
|
+
id?: string;
|
|
2796
|
+
name: string;
|
|
2797
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
2798
|
+
updated_at?: string;
|
|
2799
|
+
};
|
|
2800
|
+
Update: {
|
|
2801
|
+
created_at?: string;
|
|
2802
|
+
deleted_at?: string | null;
|
|
2803
|
+
format?: string;
|
|
2804
|
+
id?: string;
|
|
2805
|
+
name?: string;
|
|
2806
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
2807
|
+
updated_at?: string;
|
|
2808
|
+
};
|
|
2809
|
+
Relationships: [];
|
|
2810
|
+
};
|
|
2811
|
+
buckets_vectors: {
|
|
2812
|
+
Row: {
|
|
430
2813
|
created_at: string;
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
2814
|
+
id: string;
|
|
2815
|
+
type: Database['storage']['Enums']['buckettype'];
|
|
2816
|
+
updated_at: string;
|
|
2817
|
+
};
|
|
2818
|
+
Insert: {
|
|
2819
|
+
created_at?: string;
|
|
2820
|
+
id: string;
|
|
2821
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
2822
|
+
updated_at?: string;
|
|
2823
|
+
};
|
|
2824
|
+
Update: {
|
|
2825
|
+
created_at?: string;
|
|
2826
|
+
id?: string;
|
|
2827
|
+
type?: Database['storage']['Enums']['buckettype'];
|
|
2828
|
+
updated_at?: string;
|
|
2829
|
+
};
|
|
2830
|
+
Relationships: [];
|
|
2831
|
+
};
|
|
2832
|
+
iceberg_namespaces: {
|
|
2833
|
+
Row: {
|
|
2834
|
+
bucket_name: string;
|
|
2835
|
+
catalog_id: string;
|
|
2836
|
+
created_at: string;
|
|
2837
|
+
id: string;
|
|
2838
|
+
metadata: Json;
|
|
2839
|
+
name: string;
|
|
2840
|
+
updated_at: string;
|
|
2841
|
+
};
|
|
2842
|
+
Insert: {
|
|
2843
|
+
bucket_name: string;
|
|
2844
|
+
catalog_id: string;
|
|
2845
|
+
created_at?: string;
|
|
2846
|
+
id?: string;
|
|
2847
|
+
metadata?: Json;
|
|
2848
|
+
name: string;
|
|
2849
|
+
updated_at?: string;
|
|
2850
|
+
};
|
|
2851
|
+
Update: {
|
|
2852
|
+
bucket_name?: string;
|
|
2853
|
+
catalog_id?: string;
|
|
2854
|
+
created_at?: string;
|
|
2855
|
+
id?: string;
|
|
2856
|
+
metadata?: Json;
|
|
2857
|
+
name?: string;
|
|
2858
|
+
updated_at?: string;
|
|
2859
|
+
};
|
|
2860
|
+
Relationships: [
|
|
2861
|
+
{
|
|
2862
|
+
foreignKeyName: 'iceberg_namespaces_catalog_id_fkey';
|
|
2863
|
+
columns: ['catalog_id'];
|
|
2864
|
+
isOneToOne: false;
|
|
2865
|
+
referencedRelation: 'buckets_analytics';
|
|
2866
|
+
referencedColumns: ['id'];
|
|
2867
|
+
},
|
|
2868
|
+
];
|
|
2869
|
+
};
|
|
2870
|
+
iceberg_tables: {
|
|
2871
|
+
Row: {
|
|
2872
|
+
bucket_name: string;
|
|
2873
|
+
catalog_id: string;
|
|
2874
|
+
created_at: string;
|
|
2875
|
+
id: string;
|
|
2876
|
+
location: string;
|
|
2877
|
+
name: string;
|
|
2878
|
+
namespace_id: string;
|
|
2879
|
+
remote_table_id: string | null;
|
|
2880
|
+
shard_id: string | null;
|
|
2881
|
+
shard_key: string | null;
|
|
2882
|
+
updated_at: string;
|
|
2883
|
+
};
|
|
2884
|
+
Insert: {
|
|
2885
|
+
bucket_name: string;
|
|
2886
|
+
catalog_id: string;
|
|
2887
|
+
created_at?: string;
|
|
2888
|
+
id?: string;
|
|
2889
|
+
location: string;
|
|
2890
|
+
name: string;
|
|
2891
|
+
namespace_id: string;
|
|
2892
|
+
remote_table_id?: string | null;
|
|
2893
|
+
shard_id?: string | null;
|
|
2894
|
+
shard_key?: string | null;
|
|
2895
|
+
updated_at?: string;
|
|
2896
|
+
};
|
|
2897
|
+
Update: {
|
|
2898
|
+
bucket_name?: string;
|
|
2899
|
+
catalog_id?: string;
|
|
2900
|
+
created_at?: string;
|
|
2901
|
+
id?: string;
|
|
2902
|
+
location?: string;
|
|
2903
|
+
name?: string;
|
|
2904
|
+
namespace_id?: string;
|
|
2905
|
+
remote_table_id?: string | null;
|
|
2906
|
+
shard_id?: string | null;
|
|
2907
|
+
shard_key?: string | null;
|
|
2908
|
+
updated_at?: string;
|
|
2909
|
+
};
|
|
2910
|
+
Relationships: [
|
|
2911
|
+
{
|
|
2912
|
+
foreignKeyName: 'iceberg_tables_catalog_id_fkey';
|
|
2913
|
+
columns: ['catalog_id'];
|
|
2914
|
+
isOneToOne: false;
|
|
2915
|
+
referencedRelation: 'buckets_analytics';
|
|
2916
|
+
referencedColumns: ['id'];
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
foreignKeyName: 'iceberg_tables_namespace_id_fkey';
|
|
2920
|
+
columns: ['namespace_id'];
|
|
2921
|
+
isOneToOne: false;
|
|
2922
|
+
referencedRelation: 'iceberg_namespaces';
|
|
2923
|
+
referencedColumns: ['id'];
|
|
2924
|
+
},
|
|
2925
|
+
];
|
|
2926
|
+
};
|
|
2927
|
+
migrations: {
|
|
2928
|
+
Row: {
|
|
2929
|
+
executed_at: string | null;
|
|
2930
|
+
hash: string;
|
|
2931
|
+
id: number;
|
|
2932
|
+
name: string;
|
|
2933
|
+
};
|
|
2934
|
+
Insert: {
|
|
2935
|
+
executed_at?: string | null;
|
|
2936
|
+
hash: string;
|
|
2937
|
+
id: number;
|
|
2938
|
+
name: string;
|
|
436
2939
|
};
|
|
437
2940
|
Update: {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
group_id?: string;
|
|
2941
|
+
executed_at?: string | null;
|
|
2942
|
+
hash?: string;
|
|
441
2943
|
id?: number;
|
|
442
|
-
|
|
443
|
-
user_id?: string;
|
|
444
|
-
value?: Json | null;
|
|
2944
|
+
name?: string;
|
|
445
2945
|
};
|
|
446
2946
|
Relationships: [];
|
|
447
2947
|
};
|
|
448
|
-
|
|
2948
|
+
objects: {
|
|
449
2949
|
Row: {
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
country: string;
|
|
453
|
-
createdAt: string;
|
|
454
|
-
createdBy: string;
|
|
455
|
-
createdOn: Database['public']['Enums']['created_on'];
|
|
456
|
-
deadlineAt: string | null;
|
|
457
|
-
deletedAt: string | null;
|
|
458
|
-
deletedBy: string | null;
|
|
459
|
-
description: string;
|
|
460
|
-
eventId: string | null;
|
|
461
|
-
groupId: string;
|
|
462
|
-
groupInfo: Json;
|
|
2950
|
+
bucket_id: string | null;
|
|
2951
|
+
created_at: string | null;
|
|
463
2952
|
id: string;
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
updatedAt: string;
|
|
474
|
-
updatedBy: string;
|
|
2953
|
+
last_accessed_at: string | null;
|
|
2954
|
+
metadata: Json | null;
|
|
2955
|
+
name: string | null;
|
|
2956
|
+
owner: string | null;
|
|
2957
|
+
owner_id: string | null;
|
|
2958
|
+
path_tokens: string[] | null;
|
|
2959
|
+
updated_at: string | null;
|
|
2960
|
+
user_metadata: Json | null;
|
|
2961
|
+
version: string | null;
|
|
475
2962
|
};
|
|
476
2963
|
Insert: {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
groupInfo?: Json;
|
|
490
|
-
id: string;
|
|
491
|
-
instrument: string;
|
|
492
|
-
locality: string;
|
|
493
|
-
location: unknown;
|
|
494
|
-
location_lonlat?: Database['public']['CompositeTypes']['lonlat'];
|
|
495
|
-
selectionClosedAt?: string | null;
|
|
496
|
-
selectionClosedBy?: string | null;
|
|
497
|
-
timezone: string;
|
|
498
|
-
title: string;
|
|
499
|
-
type: Database['public']['Enums']['offer_type'];
|
|
500
|
-
updatedAt: string;
|
|
501
|
-
updatedBy: string;
|
|
2964
|
+
bucket_id?: string | null;
|
|
2965
|
+
created_at?: string | null;
|
|
2966
|
+
id?: string;
|
|
2967
|
+
last_accessed_at?: string | null;
|
|
2968
|
+
metadata?: Json | null;
|
|
2969
|
+
name?: string | null;
|
|
2970
|
+
owner?: string | null;
|
|
2971
|
+
owner_id?: string | null;
|
|
2972
|
+
path_tokens?: string[] | null;
|
|
2973
|
+
updated_at?: string | null;
|
|
2974
|
+
user_metadata?: Json | null;
|
|
2975
|
+
version?: string | null;
|
|
502
2976
|
};
|
|
503
2977
|
Update: {
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
country?: string;
|
|
507
|
-
createdAt?: string;
|
|
508
|
-
createdBy?: string;
|
|
509
|
-
createdOn?: Database['public']['Enums']['created_on'];
|
|
510
|
-
deadlineAt?: string | null;
|
|
511
|
-
deletedAt?: string | null;
|
|
512
|
-
deletedBy?: string | null;
|
|
513
|
-
description?: string;
|
|
514
|
-
eventId?: string | null;
|
|
515
|
-
groupId?: string;
|
|
516
|
-
groupInfo?: Json;
|
|
2978
|
+
bucket_id?: string | null;
|
|
2979
|
+
created_at?: string | null;
|
|
517
2980
|
id?: string;
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
updatedAt?: string;
|
|
528
|
-
updatedBy?: string;
|
|
2981
|
+
last_accessed_at?: string | null;
|
|
2982
|
+
metadata?: Json | null;
|
|
2983
|
+
name?: string | null;
|
|
2984
|
+
owner?: string | null;
|
|
2985
|
+
owner_id?: string | null;
|
|
2986
|
+
path_tokens?: string[] | null;
|
|
2987
|
+
updated_at?: string | null;
|
|
2988
|
+
user_metadata?: Json | null;
|
|
2989
|
+
version?: string | null;
|
|
529
2990
|
};
|
|
530
2991
|
Relationships: [
|
|
531
2992
|
{
|
|
532
|
-
foreignKeyName: '
|
|
533
|
-
columns: ['
|
|
2993
|
+
foreignKeyName: 'objects_bucketId_fkey';
|
|
2994
|
+
columns: ['bucket_id'];
|
|
534
2995
|
isOneToOne: false;
|
|
535
|
-
referencedRelation: '
|
|
2996
|
+
referencedRelation: 'buckets';
|
|
536
2997
|
referencedColumns: ['id'];
|
|
537
2998
|
},
|
|
538
|
-
{
|
|
539
|
-
foreignKeyName: 'public_offer_groupId_fkey';
|
|
540
|
-
columns: ['groupId'];
|
|
541
|
-
isOneToOne: false;
|
|
542
|
-
referencedRelation: 'group';
|
|
543
|
-
referencedColumns: ['id'];
|
|
544
|
-
}
|
|
545
2999
|
];
|
|
546
3000
|
};
|
|
547
|
-
|
|
3001
|
+
s3_multipart_uploads: {
|
|
548
3002
|
Row: {
|
|
549
|
-
|
|
3003
|
+
bucket_id: string;
|
|
550
3004
|
created_at: string;
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
3005
|
+
id: string;
|
|
3006
|
+
in_progress_size: number;
|
|
3007
|
+
key: string;
|
|
3008
|
+
metadata: Json | null;
|
|
3009
|
+
owner_id: string | null;
|
|
3010
|
+
upload_signature: string;
|
|
3011
|
+
user_metadata: Json | null;
|
|
3012
|
+
version: string;
|
|
557
3013
|
};
|
|
558
3014
|
Insert: {
|
|
559
|
-
|
|
560
|
-
created_at
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
3015
|
+
bucket_id: string;
|
|
3016
|
+
created_at?: string;
|
|
3017
|
+
id: string;
|
|
3018
|
+
in_progress_size?: number;
|
|
3019
|
+
key: string;
|
|
3020
|
+
metadata?: Json | null;
|
|
3021
|
+
owner_id?: string | null;
|
|
3022
|
+
upload_signature: string;
|
|
3023
|
+
user_metadata?: Json | null;
|
|
3024
|
+
version: string;
|
|
567
3025
|
};
|
|
568
3026
|
Update: {
|
|
569
|
-
|
|
3027
|
+
bucket_id?: string;
|
|
570
3028
|
created_at?: string;
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
3029
|
+
id?: string;
|
|
3030
|
+
in_progress_size?: number;
|
|
3031
|
+
key?: string;
|
|
3032
|
+
metadata?: Json | null;
|
|
3033
|
+
owner_id?: string | null;
|
|
3034
|
+
upload_signature?: string;
|
|
3035
|
+
user_metadata?: Json | null;
|
|
3036
|
+
version?: string;
|
|
577
3037
|
};
|
|
578
|
-
Relationships: [
|
|
3038
|
+
Relationships: [
|
|
3039
|
+
{
|
|
3040
|
+
foreignKeyName: 's3_multipart_uploads_bucket_id_fkey';
|
|
3041
|
+
columns: ['bucket_id'];
|
|
3042
|
+
isOneToOne: false;
|
|
3043
|
+
referencedRelation: 'buckets';
|
|
3044
|
+
referencedColumns: ['id'];
|
|
3045
|
+
},
|
|
3046
|
+
];
|
|
579
3047
|
};
|
|
580
|
-
|
|
3048
|
+
s3_multipart_uploads_parts: {
|
|
581
3049
|
Row: {
|
|
582
|
-
|
|
3050
|
+
bucket_id: string;
|
|
583
3051
|
created_at: string;
|
|
584
|
-
|
|
585
|
-
group_id: string;
|
|
3052
|
+
etag: string;
|
|
586
3053
|
id: string;
|
|
587
|
-
|
|
588
|
-
owner_id: string;
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
3054
|
+
key: string;
|
|
3055
|
+
owner_id: string | null;
|
|
3056
|
+
part_number: number;
|
|
3057
|
+
size: number;
|
|
3058
|
+
upload_id: string;
|
|
3059
|
+
version: string;
|
|
592
3060
|
};
|
|
593
3061
|
Insert: {
|
|
594
|
-
|
|
3062
|
+
bucket_id: string;
|
|
595
3063
|
created_at?: string;
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
3064
|
+
etag: string;
|
|
3065
|
+
id?: string;
|
|
3066
|
+
key: string;
|
|
3067
|
+
owner_id?: string | null;
|
|
3068
|
+
part_number: number;
|
|
3069
|
+
size?: number;
|
|
3070
|
+
upload_id: string;
|
|
3071
|
+
version: string;
|
|
604
3072
|
};
|
|
605
3073
|
Update: {
|
|
606
|
-
|
|
3074
|
+
bucket_id?: string;
|
|
607
3075
|
created_at?: string;
|
|
608
|
-
|
|
609
|
-
group_id?: string;
|
|
3076
|
+
etag?: string;
|
|
610
3077
|
id?: string;
|
|
611
|
-
|
|
612
|
-
owner_id?: string;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
3078
|
+
key?: string;
|
|
3079
|
+
owner_id?: string | null;
|
|
3080
|
+
part_number?: number;
|
|
3081
|
+
size?: number;
|
|
3082
|
+
upload_id?: string;
|
|
3083
|
+
version?: string;
|
|
616
3084
|
};
|
|
617
|
-
Relationships: [
|
|
3085
|
+
Relationships: [
|
|
3086
|
+
{
|
|
3087
|
+
foreignKeyName: 's3_multipart_uploads_parts_bucket_id_fkey';
|
|
3088
|
+
columns: ['bucket_id'];
|
|
3089
|
+
isOneToOne: false;
|
|
3090
|
+
referencedRelation: 'buckets';
|
|
3091
|
+
referencedColumns: ['id'];
|
|
3092
|
+
},
|
|
3093
|
+
{
|
|
3094
|
+
foreignKeyName: 's3_multipart_uploads_parts_upload_id_fkey';
|
|
3095
|
+
columns: ['upload_id'];
|
|
3096
|
+
isOneToOne: false;
|
|
3097
|
+
referencedRelation: 's3_multipart_uploads';
|
|
3098
|
+
referencedColumns: ['id'];
|
|
3099
|
+
},
|
|
3100
|
+
];
|
|
618
3101
|
};
|
|
619
|
-
|
|
3102
|
+
vector_indexes: {
|
|
620
3103
|
Row: {
|
|
621
|
-
|
|
3104
|
+
bucket_id: string;
|
|
622
3105
|
created_at: string;
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
3106
|
+
data_type: string;
|
|
3107
|
+
dimension: number;
|
|
3108
|
+
distance_metric: string;
|
|
3109
|
+
id: string;
|
|
3110
|
+
metadata_configuration: Json | null;
|
|
3111
|
+
name: string;
|
|
3112
|
+
updated_at: string;
|
|
629
3113
|
};
|
|
630
3114
|
Insert: {
|
|
631
|
-
|
|
632
|
-
created_at
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
3115
|
+
bucket_id: string;
|
|
3116
|
+
created_at?: string;
|
|
3117
|
+
data_type: string;
|
|
3118
|
+
dimension: number;
|
|
3119
|
+
distance_metric: string;
|
|
3120
|
+
id?: string;
|
|
3121
|
+
metadata_configuration?: Json | null;
|
|
3122
|
+
name: string;
|
|
3123
|
+
updated_at?: string;
|
|
639
3124
|
};
|
|
640
3125
|
Update: {
|
|
641
|
-
|
|
3126
|
+
bucket_id?: string;
|
|
642
3127
|
created_at?: string;
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
3128
|
+
data_type?: string;
|
|
3129
|
+
dimension?: number;
|
|
3130
|
+
distance_metric?: string;
|
|
3131
|
+
id?: string;
|
|
3132
|
+
metadata_configuration?: Json | null;
|
|
3133
|
+
name?: string;
|
|
3134
|
+
updated_at?: string;
|
|
649
3135
|
};
|
|
650
|
-
Relationships: [
|
|
3136
|
+
Relationships: [
|
|
3137
|
+
{
|
|
3138
|
+
foreignKeyName: 'vector_indexes_bucket_id_fkey';
|
|
3139
|
+
columns: ['bucket_id'];
|
|
3140
|
+
isOneToOne: false;
|
|
3141
|
+
referencedRelation: 'buckets_vectors';
|
|
3142
|
+
referencedColumns: ['id'];
|
|
3143
|
+
},
|
|
3144
|
+
];
|
|
651
3145
|
};
|
|
652
3146
|
};
|
|
653
3147
|
Views: {
|
|
654
3148
|
[_ in never]: never;
|
|
655
3149
|
};
|
|
656
3150
|
Functions: {
|
|
657
|
-
|
|
3151
|
+
allow_any_operation: {
|
|
3152
|
+
Args: { expected_operations: string[] };
|
|
3153
|
+
Returns: boolean;
|
|
3154
|
+
};
|
|
3155
|
+
allow_only_operation: {
|
|
3156
|
+
Args: { expected_operation: string };
|
|
3157
|
+
Returns: boolean;
|
|
3158
|
+
};
|
|
3159
|
+
can_insert_object: {
|
|
3160
|
+
Args: { bucketid: string; metadata: Json; name: string; owner: string };
|
|
3161
|
+
Returns: undefined;
|
|
3162
|
+
};
|
|
3163
|
+
extension: { Args: { name: string }; Returns: string };
|
|
3164
|
+
filename: { Args: { name: string }; Returns: string };
|
|
3165
|
+
foldername: { Args: { name: string }; Returns: string[] };
|
|
3166
|
+
get_common_prefix: {
|
|
3167
|
+
Args: { p_delimiter: string; p_key: string; p_prefix: string };
|
|
3168
|
+
Returns: string;
|
|
3169
|
+
};
|
|
3170
|
+
get_size_by_bucket: {
|
|
3171
|
+
Args: never;
|
|
3172
|
+
Returns: {
|
|
3173
|
+
bucket_id: string;
|
|
3174
|
+
size: number;
|
|
3175
|
+
}[];
|
|
3176
|
+
};
|
|
3177
|
+
list_multipart_uploads_with_delimiter: {
|
|
3178
|
+
Args: {
|
|
3179
|
+
bucket_id: string;
|
|
3180
|
+
delimiter_param: string;
|
|
3181
|
+
max_keys?: number;
|
|
3182
|
+
next_key_token?: string;
|
|
3183
|
+
next_upload_token?: string;
|
|
3184
|
+
prefix_param: string;
|
|
3185
|
+
};
|
|
3186
|
+
Returns: {
|
|
3187
|
+
created_at: string;
|
|
3188
|
+
id: string;
|
|
3189
|
+
key: string;
|
|
3190
|
+
}[];
|
|
3191
|
+
};
|
|
3192
|
+
list_objects_with_delimiter: {
|
|
3193
|
+
Args: {
|
|
3194
|
+
_bucket_id: string;
|
|
3195
|
+
delimiter_param: string;
|
|
3196
|
+
max_keys?: number;
|
|
3197
|
+
next_token?: string;
|
|
3198
|
+
prefix_param: string;
|
|
3199
|
+
sort_order?: string;
|
|
3200
|
+
start_after?: string;
|
|
3201
|
+
};
|
|
3202
|
+
Returns: {
|
|
3203
|
+
created_at: string;
|
|
3204
|
+
id: string;
|
|
3205
|
+
last_accessed_at: string;
|
|
3206
|
+
metadata: Json;
|
|
3207
|
+
name: string;
|
|
3208
|
+
updated_at: string;
|
|
3209
|
+
}[];
|
|
3210
|
+
};
|
|
3211
|
+
operation: { Args: never; Returns: string };
|
|
3212
|
+
search: {
|
|
3213
|
+
Args: {
|
|
3214
|
+
bucketname: string;
|
|
3215
|
+
levels?: number;
|
|
3216
|
+
limits?: number;
|
|
3217
|
+
offsets?: number;
|
|
3218
|
+
prefix: string;
|
|
3219
|
+
search?: string;
|
|
3220
|
+
sortcolumn?: string;
|
|
3221
|
+
sortorder?: string;
|
|
3222
|
+
};
|
|
3223
|
+
Returns: {
|
|
3224
|
+
created_at: string;
|
|
3225
|
+
id: string;
|
|
3226
|
+
last_accessed_at: string;
|
|
3227
|
+
metadata: Json;
|
|
3228
|
+
name: string;
|
|
3229
|
+
updated_at: string;
|
|
3230
|
+
}[];
|
|
3231
|
+
};
|
|
3232
|
+
search_by_timestamp: {
|
|
3233
|
+
Args: {
|
|
3234
|
+
p_bucket_id: string;
|
|
3235
|
+
p_level: number;
|
|
3236
|
+
p_limit: number;
|
|
3237
|
+
p_prefix: string;
|
|
3238
|
+
p_sort_column: string;
|
|
3239
|
+
p_sort_column_after: string;
|
|
3240
|
+
p_sort_order: string;
|
|
3241
|
+
p_start_after: string;
|
|
3242
|
+
};
|
|
3243
|
+
Returns: {
|
|
3244
|
+
created_at: string;
|
|
3245
|
+
id: string;
|
|
3246
|
+
key: string;
|
|
3247
|
+
last_accessed_at: string;
|
|
3248
|
+
metadata: Json;
|
|
3249
|
+
name: string;
|
|
3250
|
+
updated_at: string;
|
|
3251
|
+
}[];
|
|
3252
|
+
};
|
|
3253
|
+
search_v2: {
|
|
3254
|
+
Args: {
|
|
3255
|
+
bucket_name: string;
|
|
3256
|
+
levels?: number;
|
|
3257
|
+
limits?: number;
|
|
3258
|
+
prefix: string;
|
|
3259
|
+
sort_column?: string;
|
|
3260
|
+
sort_column_after?: string;
|
|
3261
|
+
sort_order?: string;
|
|
3262
|
+
start_after?: string;
|
|
3263
|
+
};
|
|
3264
|
+
Returns: {
|
|
3265
|
+
created_at: string;
|
|
3266
|
+
id: string;
|
|
3267
|
+
key: string;
|
|
3268
|
+
last_accessed_at: string;
|
|
3269
|
+
metadata: Json;
|
|
3270
|
+
name: string;
|
|
3271
|
+
updated_at: string;
|
|
3272
|
+
}[];
|
|
3273
|
+
};
|
|
658
3274
|
};
|
|
659
3275
|
Enums: {
|
|
660
|
-
|
|
661
|
-
event_selection_mode: 'open' | 'closed';
|
|
662
|
-
event_type: 'practice' | 'performance' | 'other';
|
|
663
|
-
group_plan: 'piano' | 'mezzopiano' | 'mezzoforte' | 'forte' | 'fortissimo' | 'tutti';
|
|
664
|
-
group_plan_period: 'yearly' | 'monthly';
|
|
665
|
-
group_status: 'premium' | 'trial' | 'inactive' | 'deleted';
|
|
666
|
-
offer_type: 'group' | 'event';
|
|
667
|
-
social_network: 'facebook' | 'twitter' | 'instagram' | 'youtube';
|
|
3276
|
+
buckettype: 'STANDARD' | 'ANALYTICS' | 'VECTOR';
|
|
668
3277
|
};
|
|
669
3278
|
CompositeTypes: {
|
|
670
|
-
|
|
671
|
-
longitude: number | null;
|
|
672
|
-
latitude: number | null;
|
|
673
|
-
};
|
|
3279
|
+
[_ in never]: never;
|
|
674
3280
|
};
|
|
675
3281
|
};
|
|
676
3282
|
};
|
|
@@ -688,24 +3294,25 @@ export type Tables<
|
|
|
688
3294
|
}
|
|
689
3295
|
? keyof (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] &
|
|
690
3296
|
DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])
|
|
691
|
-
: never = never
|
|
3297
|
+
: never = never,
|
|
692
3298
|
> = DefaultSchemaTableNameOrOptions extends {
|
|
693
3299
|
schema: keyof DatabaseWithoutInternals;
|
|
694
3300
|
}
|
|
695
3301
|
? (DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'] &
|
|
696
3302
|
DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Views'])[TableName] extends {
|
|
697
3303
|
Row: infer R;
|
|
698
|
-
|
|
3304
|
+
}
|
|
699
3305
|
? R
|
|
700
3306
|
: never
|
|
701
3307
|
: DefaultSchemaTableNameOrOptions extends keyof (DefaultSchema['Tables'] &
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
3308
|
+
DefaultSchema['Views'])
|
|
3309
|
+
? (DefaultSchema['Tables'] &
|
|
3310
|
+
DefaultSchema['Views'])[DefaultSchemaTableNameOrOptions] extends {
|
|
3311
|
+
Row: infer R;
|
|
3312
|
+
}
|
|
3313
|
+
? R
|
|
3314
|
+
: never
|
|
3315
|
+
: never;
|
|
709
3316
|
|
|
710
3317
|
export type TablesInsert<
|
|
711
3318
|
DefaultSchemaTableNameOrOptions extends
|
|
@@ -715,22 +3322,22 @@ export type TablesInsert<
|
|
|
715
3322
|
schema: keyof DatabaseWithoutInternals;
|
|
716
3323
|
}
|
|
717
3324
|
? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables']
|
|
718
|
-
: never = never
|
|
3325
|
+
: never = never,
|
|
719
3326
|
> = DefaultSchemaTableNameOrOptions extends {
|
|
720
3327
|
schema: keyof DatabaseWithoutInternals;
|
|
721
3328
|
}
|
|
722
3329
|
? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
|
|
723
3330
|
Insert: infer I;
|
|
724
|
-
|
|
3331
|
+
}
|
|
725
3332
|
? I
|
|
726
3333
|
: never
|
|
727
3334
|
: DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables']
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
3335
|
+
? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
|
|
3336
|
+
Insert: infer I;
|
|
3337
|
+
}
|
|
3338
|
+
? I
|
|
3339
|
+
: never
|
|
3340
|
+
: never;
|
|
734
3341
|
|
|
735
3342
|
export type TablesUpdate<
|
|
736
3343
|
DefaultSchemaTableNameOrOptions extends
|
|
@@ -740,22 +3347,22 @@ export type TablesUpdate<
|
|
|
740
3347
|
schema: keyof DatabaseWithoutInternals;
|
|
741
3348
|
}
|
|
742
3349
|
? keyof DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables']
|
|
743
|
-
: never = never
|
|
3350
|
+
: never = never,
|
|
744
3351
|
> = DefaultSchemaTableNameOrOptions extends {
|
|
745
3352
|
schema: keyof DatabaseWithoutInternals;
|
|
746
3353
|
}
|
|
747
3354
|
? DatabaseWithoutInternals[DefaultSchemaTableNameOrOptions['schema']]['Tables'][TableName] extends {
|
|
748
3355
|
Update: infer U;
|
|
749
|
-
|
|
3356
|
+
}
|
|
750
3357
|
? U
|
|
751
3358
|
: never
|
|
752
3359
|
: DefaultSchemaTableNameOrOptions extends keyof DefaultSchema['Tables']
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
3360
|
+
? DefaultSchema['Tables'][DefaultSchemaTableNameOrOptions] extends {
|
|
3361
|
+
Update: infer U;
|
|
3362
|
+
}
|
|
3363
|
+
? U
|
|
3364
|
+
: never
|
|
3365
|
+
: never;
|
|
759
3366
|
|
|
760
3367
|
export type Enums<
|
|
761
3368
|
DefaultSchemaEnumNameOrOptions extends
|
|
@@ -765,14 +3372,14 @@ export type Enums<
|
|
|
765
3372
|
schema: keyof DatabaseWithoutInternals;
|
|
766
3373
|
}
|
|
767
3374
|
? keyof DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums']
|
|
768
|
-
: never = never
|
|
3375
|
+
: never = never,
|
|
769
3376
|
> = DefaultSchemaEnumNameOrOptions extends {
|
|
770
3377
|
schema: keyof DatabaseWithoutInternals;
|
|
771
3378
|
}
|
|
772
3379
|
? DatabaseWithoutInternals[DefaultSchemaEnumNameOrOptions['schema']]['Enums'][EnumName]
|
|
773
3380
|
: DefaultSchemaEnumNameOrOptions extends keyof DefaultSchema['Enums']
|
|
774
|
-
|
|
775
|
-
|
|
3381
|
+
? DefaultSchema['Enums'][DefaultSchemaEnumNameOrOptions]
|
|
3382
|
+
: never;
|
|
776
3383
|
|
|
777
3384
|
export type CompositeTypes<
|
|
778
3385
|
PublicCompositeTypeNameOrOptions extends
|
|
@@ -782,21 +3389,29 @@ export type CompositeTypes<
|
|
|
782
3389
|
schema: keyof DatabaseWithoutInternals;
|
|
783
3390
|
}
|
|
784
3391
|
? keyof DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes']
|
|
785
|
-
: never = never
|
|
3392
|
+
: never = never,
|
|
786
3393
|
> = PublicCompositeTypeNameOrOptions extends {
|
|
787
3394
|
schema: keyof DatabaseWithoutInternals;
|
|
788
3395
|
}
|
|
789
3396
|
? DatabaseWithoutInternals[PublicCompositeTypeNameOrOptions['schema']]['CompositeTypes'][CompositeTypeName]
|
|
790
3397
|
: PublicCompositeTypeNameOrOptions extends keyof DefaultSchema['CompositeTypes']
|
|
791
|
-
|
|
792
|
-
|
|
3398
|
+
? DefaultSchema['CompositeTypes'][PublicCompositeTypeNameOrOptions]
|
|
3399
|
+
: never;
|
|
793
3400
|
|
|
794
3401
|
export const Constants = {
|
|
3402
|
+
graphql_public: {
|
|
3403
|
+
Enums: {},
|
|
3404
|
+
},
|
|
795
3405
|
public: {
|
|
796
3406
|
Enums: {
|
|
3407
|
+
composerroleincomposition: ['COMPOSER', 'ARRANGER'],
|
|
797
3408
|
created_on: ['app', 'dashboard', 'auth', 'web'],
|
|
798
3409
|
event_selection_mode: ['open', 'closed'],
|
|
799
3410
|
event_type: ['practice', 'performance', 'other'],
|
|
3411
|
+
group_payment_history_action: ['status', 'amount', 'concept', 'method'],
|
|
3412
|
+
group_payment_method: ['cash', 'transfer'],
|
|
3413
|
+
group_payment_status: ['pending', 'paid', 'cancelled'],
|
|
3414
|
+
group_payment_type: ['income', 'expense'],
|
|
800
3415
|
group_plan: ['piano', 'mezzopiano', 'mezzoforte', 'forte', 'fortissimo', 'tutti'],
|
|
801
3416
|
group_plan_period: ['yearly', 'monthly'],
|
|
802
3417
|
group_status: ['premium', 'trial', 'inactive', 'deleted'],
|
|
@@ -804,4 +3419,9 @@ export const Constants = {
|
|
|
804
3419
|
social_network: ['facebook', 'twitter', 'instagram', 'youtube'],
|
|
805
3420
|
},
|
|
806
3421
|
},
|
|
3422
|
+
storage: {
|
|
3423
|
+
Enums: {
|
|
3424
|
+
buckettype: ['STANDARD', 'ANALYTICS', 'VECTOR'],
|
|
3425
|
+
},
|
|
3426
|
+
},
|
|
807
3427
|
} as const;
|