@glissandoo/lib 1.123.2 → 1.124.0-dev.219.1
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 +22 -0
- 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 +102 -0
- package/functions/event.js +29 -0
- package/functions/eventPlayer.js +13 -0
- package/functions/eventRepertory.d.ts +42 -0
- package/functions/eventRepertory.js +16 -0
- package/functions/groupRepertory.d.ts +250 -0
- package/functions/index.d.ts +256 -0
- package/functions/index.js +261 -0
- package/functions/misc.d.ts +24 -0
- package/functions/regions.js +270 -0
- package/helpers/appScenes.js +109 -0
- package/helpers/auth.d.ts +21 -0
- package/helpers/auth.js +43 -0
- package/helpers/badges.js +162 -0
- package/helpers/catalogBridge.d.ts +121 -0
- package/helpers/catalogBridge.js +95 -0
- package/helpers/collections.js +49 -0
- package/helpers/communicationTemplate/index.d.ts +33 -0
- package/helpers/communicationTemplate/index.js +47 -0
- 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 +23 -0
- package/helpers/currency.js +346 -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 +12 -0
- package/helpers/errors.d.ts +93 -0
- package/helpers/errors.js +85 -0
- package/helpers/externalUrls.d.ts +12 -0
- package/helpers/externalUrls.js +40 -0
- package/helpers/instruments/index.d.ts +164 -0
- package/helpers/instruments/index.js +344 -0
- package/helpers/instruments/lists.d.ts +6 -0
- package/helpers/instruments/lists.js +21 -0
- package/helpers/musicStyles/index.d.ts +40 -0
- package/helpers/musicStyles/index.js +227 -0
- package/helpers/notifications/index.js +231 -0
- package/helpers/objects.d.ts +15 -0
- package/helpers/objects.js +40 -0
- package/helpers/paymentForecast.js +57 -0
- package/helpers/payoutRules.js +165 -0
- package/helpers/plans.js +99 -0
- package/helpers/rates.d.ts +13 -0
- package/helpers/slate.d.ts +75 -0
- package/helpers/slate.js +26 -0
- package/helpers/ts-extras/array-includes.js +26 -0
- package/helpers/ts-extras/as-mutable.js +20 -0
- package/helpers/ts-extras/assert-error.js +37 -0
- package/helpers/ts-extras/index.js +33 -0
- package/helpers/ts-extras/is-defined.js +21 -0
- package/helpers/ts-extras/is-empty.js +6 -0
- package/helpers/ts-extras/is-infinite.js +11 -0
- package/helpers/ts-extras/is-present.js +21 -0
- package/helpers/ts-extras/object-entries.d.ts +23 -0
- package/helpers/ts-extras/object-from-entries.d.ts +26 -0
- package/helpers/ts-extras/object-has-own.js +25 -0
- package/helpers/ts-extras/object-keys.d.ts +21 -0
- package/helpers/ts-extras/object-keys.js +23 -0
- package/helpers/ts-extras/set-has.js +27 -0
- package/helpers/types.d.ts +69 -0
- package/helpers/types.js +65 -0
- package/lang/ca.json +704 -0
- package/lang/de.json +704 -0
- package/lang/en.json +704 -0
- package/lang/es.json +704 -0
- package/lang/eu.json +704 -0
- package/lang/fr.json +704 -0
- package/lang/gl.json +704 -0
- package/lang/index.js +203 -0
- package/lang/it.json +704 -0
- package/lang/nl.json +704 -0
- package/lang/pt.json +704 -0
- package/models/Communication/types.d.ts +63 -0
- package/models/Communication/types.js +26 -0
- 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 +17 -0
- package/models/Customer/index.d.ts +30 -0
- package/models/Customer/index.js +79 -0
- package/models/Customer/types.js +7 -0
- package/models/Evento/Player/types.js +22 -0
- package/models/Evento/Repertory/types.d.ts +8 -0
- package/models/Evento/index.d.ts +94 -0
- package/models/Evento/index.js +256 -0
- package/models/Evento/types.d.ts +177 -0
- package/models/Evento/types.js +55 -0
- package/models/Federation/index.d.ts +28 -0
- package/models/Federation/index.js +85 -0
- package/models/Group/Analytics/types.js +13 -0
- package/models/Group/Payment/supabase.js +46 -0
- package/models/Group/Payment/types.js +38 -0
- package/models/Group/Player/types.js +9 -0
- package/models/Group/Repertory/File/Section/index.d.ts +12 -0
- package/models/Group/Repertory/File/Section/index.js +26 -0
- package/models/Group/Repertory/File/Section/types.d.ts +12 -0
- package/models/Group/Repertory/File/Section/types.js +7 -0
- package/models/Group/Repertory/File/index.d.ts +31 -0
- package/models/Group/Repertory/File/index.js +81 -0
- package/models/Group/Repertory/FilePath/index.d.ts +22 -0
- package/models/Group/Repertory/index.d.ts +64 -0
- package/models/Group/Repertory/index.js +160 -0
- package/models/Group/Repertory/types.d.ts +80 -0
- package/models/Group/Repertory/types.js +14 -0
- package/models/Group/index.d.ts +145 -0
- package/models/Group/index.js +340 -0
- package/models/Group/types.d.ts +272 -0
- package/models/Group/types.js +90 -0
- package/models/Instrument/fromRecord.d.ts +11 -0
- package/models/Instrument/fromRecord.js +33 -0
- package/models/Instrument/index.d.ts +11 -0
- package/models/Instrument/index.js +55 -0
- package/models/Inventory/Item/types.js +15 -0
- package/models/Inventory/types.js +15 -0
- package/models/Notification/types.js +279 -0
- package/models/Offer/types.d.ts +57 -0
- package/models/Offer/types.js +8 -0
- package/models/Partnership/Communication/supabase.js +25 -0
- package/models/Partnership/Group/index.d.ts +29 -0
- package/models/Partnership/Group/index.js +73 -0
- package/models/Partnership/Group/supabase.js +25 -0
- package/models/Partnership/Partner/supabase.js +38 -0
- package/models/Partnership/Partner/types.js +9 -0
- package/models/Partnership/Payment/supabase.js +40 -0
- package/models/Partnership/Payment/types.js +17 -0
- package/models/Partnership/Plan/supabase.js +22 -0
- package/models/Partnership/SepaPaymentGroup/supabase.js +18 -0
- package/models/Partnership/Subscription/supabase.js +23 -0
- package/models/Partnership/index.d.ts +35 -0
- package/models/Partnership/index.js +118 -0
- package/models/Partnership/types.js +8 -0
- package/models/Repertory/types.d.ts +44 -0
- package/models/Repertory/types.js +16 -0
- package/models/User/Group/index.js +45 -0
- package/models/User/index.d.ts +103 -0
- package/models/User/index.js +198 -0
- package/models/User/types.d.ts +142 -0
- package/models/User/types.js +58 -0
- package/models/WebhookEvent/types.js +9 -0
- 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/EventHistory/index.d.ts +22 -0
- package/models/supabase/EventHistory/index.js +37 -0
- package/models/supabase/EventHistory/types.d.ts +39 -0
- package/models/supabase/EventHistory/types.js +37 -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/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/index.d.ts +13 -0
- package/models/supabase/User/index.js +37 -0
- package/models/supabase/User/types.d.ts +6 -0
- package/package.json +15 -13
- package/types/firestore.d.ts +1746 -0
- package/types/firestore.js +57 -0
- package/types/firestore.ts +1998 -0
- package/types/messagebirdChatWidget.js +2 -0
- package/types/messagebirdChatWidget.ts +20 -0
- package/types/minVersion.js +2 -0
- package/types/minVersion.ts +4 -0
- package/types/payoutRule.js +34 -0
- package/types/payoutRule.ts +132 -0
- 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 +4092 -0
- package/types/supabase/generated.js +34 -0
- package/types/supabase/generated.ts +4076 -0
- package/types/supabase/index.d.ts +169 -0
- package/types/supabase/index.js +17 -0
- package/types/supabase/index.ts +307 -0
- package/types/supabase/overwrites/index.d.ts +6 -0
- package/types/supabase/overwrites/index.js +2 -0
- package/types/supabase/overwrites/index.ts +7 -0
- 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/common/index.ts +4 -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/tables/event/index.d.ts +23 -0
- package/types/supabase/overwrites/tables/event/index.js +2 -0
- package/types/supabase/overwrites/tables/event/index.ts +28 -0
- 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/tables/group/index.d.ts +38 -0
- package/types/supabase/overwrites/tables/group/index.js +2 -0
- package/types/supabase/overwrites/tables/group/index.ts +45 -0
- 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/tables/offer/index.d.ts +17 -0
- package/types/supabase/overwrites/tables/offer/index.js +2 -0
- package/types/supabase/overwrites/tables/offer/index.ts +20 -0
- 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/.firebaserc +0 -7
- package/.husky/pre-commit +0 -4
- package/README.md +0 -70
- package/lib/functions/auth.d.ts +0 -20
- package/lib/functions/customer.d.ts +0 -98
- package/lib/functions/event.js +0 -29
- package/lib/functions/eventPlayer.js +0 -13
- package/lib/functions/eventRepertory.d.ts +0 -40
- package/lib/functions/eventRepertory.js +0 -16
- package/lib/functions/groupRepertory.d.ts +0 -140
- package/lib/functions/index.d.ts +0 -226
- package/lib/functions/index.js +0 -231
- package/lib/functions/misc.d.ts +0 -18
- package/lib/functions/regions.js +0 -240
- package/lib/helpers/appScenes.js +0 -109
- package/lib/helpers/auth.d.ts +0 -28
- package/lib/helpers/auth.js +0 -24
- package/lib/helpers/badges.js +0 -162
- package/lib/helpers/collections.js +0 -49
- package/lib/helpers/communicationTemplate/index.d.ts +0 -32
- package/lib/helpers/communicationTemplate/index.js +0 -47
- package/lib/helpers/currency.d.ts +0 -4
- package/lib/helpers/currency.js +0 -277
- package/lib/helpers/dlinks.js +0 -12
- package/lib/helpers/errors.d.ts +0 -92
- package/lib/helpers/errors.js +0 -84
- package/lib/helpers/instruments/index.d.ts +0 -147
- package/lib/helpers/instruments/index.js +0 -340
- package/lib/helpers/instruments/lists.d.ts +0 -6
- package/lib/helpers/instruments/lists.js +0 -21
- package/lib/helpers/musicStyles/index.d.ts +0 -22
- package/lib/helpers/musicStyles/index.js +0 -148
- package/lib/helpers/notifications/index.js +0 -231
- package/lib/helpers/objects.d.ts +0 -11
- package/lib/helpers/objects.js +0 -39
- package/lib/helpers/paymentForecast.js +0 -58
- package/lib/helpers/payoutRules.js +0 -166
- package/lib/helpers/plans.js +0 -99
- package/lib/helpers/rates.d.ts +0 -13
- package/lib/helpers/slate.d.ts +0 -16
- package/lib/helpers/slate.js +0 -20
- package/lib/helpers/ts-extras/array-includes.js +0 -27
- package/lib/helpers/ts-extras/as-mutable.js +0 -21
- package/lib/helpers/ts-extras/assert-error.js +0 -38
- package/lib/helpers/ts-extras/index.js +0 -33
- package/lib/helpers/ts-extras/is-defined.js +0 -22
- package/lib/helpers/ts-extras/is-empty.js +0 -7
- package/lib/helpers/ts-extras/is-infinite.js +0 -12
- package/lib/helpers/ts-extras/is-present.js +0 -22
- package/lib/helpers/ts-extras/object-entries.d.ts +0 -23
- package/lib/helpers/ts-extras/object-from-entries.d.ts +0 -26
- package/lib/helpers/ts-extras/object-has-own.js +0 -26
- package/lib/helpers/ts-extras/object-keys.d.ts +0 -21
- package/lib/helpers/ts-extras/object-keys.js +0 -24
- package/lib/helpers/ts-extras/set-has.js +0 -28
- package/lib/helpers/types.d.ts +0 -43
- package/lib/helpers/types.js +0 -45
- package/lib/lang/ca.json +0 -470
- package/lib/lang/de.json +0 -470
- package/lib/lang/en.json +0 -470
- package/lib/lang/es.json +0 -470
- package/lib/lang/eu.json +0 -470
- package/lib/lang/fr.json +0 -470
- package/lib/lang/gl.json +0 -470
- package/lib/lang/index.js +0 -202
- package/lib/lang/it.json +0 -470
- package/lib/lang/nl.json +0 -470
- package/lib/lang/pt.json +0 -470
- package/lib/models/Communication/types.d.ts +0 -79
- package/lib/models/Communication/types.js +0 -32
- package/lib/models/Counters/Group/Analytics/types.js +0 -17
- package/lib/models/Customer/index.d.ts +0 -30
- package/lib/models/Customer/index.js +0 -79
- package/lib/models/Customer/types.js +0 -7
- package/lib/models/Evento/Player/types.js +0 -22
- package/lib/models/Evento/Repertory/types.d.ts +0 -7
- package/lib/models/Evento/index.d.ts +0 -93
- package/lib/models/Evento/index.js +0 -255
- package/lib/models/Evento/types.d.ts +0 -208
- package/lib/models/Evento/types.js +0 -87
- package/lib/models/Federation/index.d.ts +0 -28
- package/lib/models/Federation/index.js +0 -85
- package/lib/models/Group/Analytics/types.js +0 -13
- package/lib/models/Group/Payment/supabase.js +0 -46
- package/lib/models/Group/Payment/types.js +0 -38
- package/lib/models/Group/Player/types.js +0 -9
- package/lib/models/Group/Repertory/File/Section/index.d.ts +0 -12
- package/lib/models/Group/Repertory/File/Section/index.js +0 -25
- package/lib/models/Group/Repertory/File/Section/types.d.ts +0 -5
- package/lib/models/Group/Repertory/File/Section/types.js +0 -7
- package/lib/models/Group/Repertory/File/index.d.ts +0 -29
- package/lib/models/Group/Repertory/File/index.js +0 -81
- package/lib/models/Group/Repertory/FilePath/index.d.ts +0 -23
- package/lib/models/Group/Repertory/index.d.ts +0 -56
- package/lib/models/Group/Repertory/index.js +0 -151
- package/lib/models/Group/Repertory/types.d.ts +0 -91
- package/lib/models/Group/Repertory/types.js +0 -24
- package/lib/models/Group/index.d.ts +0 -140
- package/lib/models/Group/index.js +0 -326
- package/lib/models/Group/types.d.ts +0 -291
- package/lib/models/Group/types.js +0 -109
- package/lib/models/Instrument/index.d.ts +0 -9
- package/lib/models/Instrument/index.js +0 -18
- package/lib/models/Inventory/Item/types.js +0 -15
- package/lib/models/Inventory/types.js +0 -15
- package/lib/models/Notification/types.js +0 -279
- package/lib/models/Offer/types.d.ts +0 -69
- package/lib/models/Offer/types.js +0 -21
- package/lib/models/Partnership/Communication/supabase.js +0 -25
- package/lib/models/Partnership/Group/index.d.ts +0 -28
- package/lib/models/Partnership/Group/index.js +0 -61
- package/lib/models/Partnership/Group/supabase.js +0 -25
- package/lib/models/Partnership/Partner/supabase.js +0 -38
- package/lib/models/Partnership/Partner/types.js +0 -9
- package/lib/models/Partnership/Payment/supabase.js +0 -40
- package/lib/models/Partnership/Payment/types.js +0 -17
- package/lib/models/Partnership/Plan/supabase.js +0 -22
- package/lib/models/Partnership/SepaPaymentGroup/supabase.js +0 -18
- package/lib/models/Partnership/Subscription/supabase.js +0 -23
- package/lib/models/Partnership/index.d.ts +0 -34
- package/lib/models/Partnership/index.js +0 -114
- package/lib/models/Partnership/types.js +0 -8
- package/lib/models/Repertory/types.d.ts +0 -32
- package/lib/models/Repertory/types.js +0 -16
- package/lib/models/User/Group/index.js +0 -46
- package/lib/models/User/index.d.ts +0 -103
- package/lib/models/User/index.js +0 -198
- package/lib/models/User/types.d.ts +0 -141
- package/lib/models/User/types.js +0 -58
- package/lib/models/WebhookEvent/types.js +0 -9
- package/lib/types/firestore.d.ts +0 -1747
- package/lib/types/firestore.js +0 -57
- package/lib/types/payoutRule.js +0 -34
- package/lib/types/supabase/generated.d.ts +0 -1629
- package/lib/types/supabase/generated.js +0 -25
- package/lib/types/supabase/index.d.ts +0 -29
- package/lib/types/supabase/overwrites/comm.d.ts +0 -18
- package/lib/types/supabase/overwrites/comm_history.d.ts +0 -10
- package/lib/types/supabase/overwrites/event.d.ts +0 -23
- package/lib/types/supabase/overwrites/event_history.d.ts +0 -10
- package/lib/types/supabase/overwrites/group.d.ts +0 -41
- package/lib/types/supabase/overwrites/group_history.d.ts +0 -9
- package/lib/types/supabase/overwrites/index.d.ts +0 -6
- package/lib/types/supabase/overwrites/offer.d.ts +0 -13
- package/lib/types/supabase/overwrites/offer_history.d.ts +0 -10
- package/lib/types/supabase/overwrites/repertoire.d.ts +0 -12
- package/lib/types/supabase/overwrites/repertoire_history.d.ts +0 -10
- package/scripts/setHusky.js +0 -11
- package/supabase/.dev.env +0 -1
- package/supabase/.prod.env +0 -1
- package/supabase/.sample.env +0 -2
- package/supabase/README.md +0 -126
- package/supabase/config.toml +0 -68
- package/supabase/migrations/20231117044943_remote_schema.sql +0 -228
- package/supabase/migrations/20231117124947_event_selection_mode_closed_at_nullable.sql +0 -1
- package/supabase/migrations/20231121002132_remote_schema.sql +0 -31
- package/supabase/migrations/20231121004031_references_nullable.sql +0 -3
- package/supabase/migrations/20231121014339_updated_at_trigger.sql +0 -13
- package/supabase/migrations/20231122111241_remote_schema.sql +0 -25
- package/supabase/migrations/20231124151424_snake_case_to_camel_case.sql +0 -105
- package/supabase/migrations/20231129133721_add_columns_for_sites.sql +0 -11
- package/supabase/migrations/20231129142806_promoter_can_be_null.sql +0 -3
- package/supabase/migrations/20231130125327_group_location_latlon.sql +0 -3
- package/supabase/migrations/20231130150154_error_solvings.sql +0 -9
- package/supabase/migrations/20240405115914_new_columns.sql +0 -9
- package/supabase/migrations/20240405121956_init_offer.sql +0 -81
- package/supabase/migrations/20240503032440_add_columns_to_offer.sql +0 -11
- package/supabase/migrations/20240503101641_add_column_createdOn.sql +0 -19
- package/supabase/migrations/20240506035104_add_groupInfo_to_offer.sql +0 -10
- package/supabase/migrations/20240510110328_add_relationships_to_offer.sql +0 -9
- package/supabase/migrations/20240514100316_offers_public.sql +0 -9
- package/supabase/migrations/20260506013030_add_user_mirror.sql +0 -50
- package/supabase/migrations/20260506013031_add_user_group_mirror.sql +0 -31
- package/supabase/migrations/20260529000000_init_group_payment.sql +0 -79
- package/supabase/migrations/20260529120000_group_payment_realtime.sql +0 -19
- package/supabase/migrations/20260529130000_group_payment_anon_read.sql +0 -16
- package/supabase/migrations/20260601000000_group_payment_concept_norm.sql +0 -20
- package/supabase/migrations/20260605000000_init_partnership_domain.sql +0 -333
- package/supabase/migrations/20260605000100_partnership_recurring_rpc.sql +0 -62
- package/supabase/migrations/20260606000000_partnership_payer.sql +0 -83
- package/supabase/migrations/20260607000000_partnership_partner_number_not_unique.sql +0 -10
- package/supabase/migrations/20260608000000_partnership_payment_method_bizum.sql +0 -2
- package/supabase/migrations/20260609000000_partnership_payment_sepa_end_to_end.sql +0 -13
- package/supabase/migrations/20260617000000_partnership_portal_query_indexes.sql +0 -23
- package/supabase/migrations/20260618000000_partnership_communication_attachments.sql +0 -5
- package/supabase/migrations/20260701000000_partnership_recurring_rpc_drop_ambiguous.sql +0 -29
- package/supabase/migrations/20260713191700_add_personal_calendar_feed.sql +0 -506
- package/supabase/migrations/20260714193734_add_pending_calendar_invitations.sql +0 -403
- package/supabase/migrations/20260714205623_add_event_datetime_end_backfill.sql +0 -64
- package/supabase/migrations/20260729161126_remove_calendar_event_history_dependency.sql +0 -19
- package/supabase/migrations/20260729161202_reconcile_production_remote_schema.sql +0 -135
- package/supabase/migrations/20260804120000_add_calendar_feed_token_cipher.sql +0 -9
- package/supabase/migrations/20260805120000_replace_usergroup_with_group_playerids.sql +0 -363
- package/supabase/seed.sql +0 -2973
- /package/{lib/functions → functions}/auth.js +0 -0
- /package/{lib/functions → functions}/calendarFeed.d.ts +0 -0
- /package/{lib/functions → functions}/calendarFeed.js +0 -0
- /package/{lib/functions → functions}/communication.d.ts +0 -0
- /package/{lib/functions → functions}/communication.js +0 -0
- /package/{lib/functions → functions}/communicationComment.d.ts +0 -0
- /package/{lib/functions → functions}/communicationComment.js +0 -0
- /package/{lib/functions/customer.js → functions/composer.js} +0 -0
- /package/{lib/functions/customerGroup.js → functions/composerComposition.js} +0 -0
- /package/{lib/functions/eventoPayout.js → functions/composerNotification.js} +0 -0
- /package/{lib/functions/federation.js → functions/composerPayout.js} +0 -0
- /package/{lib/functions/federationPartnership.js → functions/customer.js} +0 -0
- /package/{lib/functions → functions}/customerGroup.d.ts +0 -0
- /package/{lib/functions/group.js → functions/customerGroup.js} +0 -0
- /package/{lib/functions → functions}/event.d.ts +0 -0
- /package/{lib/functions → functions}/eventPlayer.d.ts +0 -0
- /package/{lib/functions → functions}/eventoPayout.d.ts +0 -0
- /package/{lib/functions/groupEventStage.js → functions/eventoPayout.js} +0 -0
- /package/{lib/functions → functions}/federation.d.ts +0 -0
- /package/{lib/functions/groupModule.js → functions/federation.js} +0 -0
- /package/{lib/functions → functions}/federationPartnership.d.ts +0 -0
- /package/{lib/functions/groupPayment.js → functions/federationPartnership.js} +0 -0
- /package/{lib/functions → functions}/group.d.ts +0 -0
- /package/{lib/types/supabase/overwrites → functions}/group.js +0 -0
- /package/{lib/functions → functions}/groupEventStage.d.ts +0 -0
- /package/{lib/functions/groupPayoutRule.js → functions/groupEventStage.js} +0 -0
- /package/{lib/functions → functions}/groupModule.d.ts +0 -0
- /package/{lib/functions/groupPlayer.js → functions/groupModule.js} +0 -0
- /package/{lib/functions → functions}/groupPayment.d.ts +0 -0
- /package/{lib/functions/groupRepertory.js → functions/groupPayment.js} +0 -0
- /package/{lib/functions → functions}/groupPayoutRule.d.ts +0 -0
- /package/{lib/functions/inventory.js → functions/groupPayoutRule.js} +0 -0
- /package/{lib/functions → functions}/groupPlayer.d.ts +0 -0
- /package/{lib/functions/inventoryItem.js → functions/groupPlayer.js} +0 -0
- /package/{lib/functions/jwt.js → functions/groupRepertory.js} +0 -0
- /package/{lib/functions → functions}/inventory.d.ts +0 -0
- /package/{lib/functions/misc.js → functions/inventory.js} +0 -0
- /package/{lib/functions → functions}/inventoryItem.d.ts +0 -0
- /package/{lib/functions/notification.js → functions/inventoryItem.js} +0 -0
- /package/{lib/functions → functions}/jwt.d.ts +0 -0
- /package/{lib/functions/offer.js → functions/jwt.js} +0 -0
- /package/{lib/functions/offerApplicant.js → functions/misc.js} +0 -0
- /package/{lib/functions → functions}/notification.d.ts +0 -0
- /package/{lib/functions/partnership.js → functions/notification.js} +0 -0
- /package/{lib/functions → functions}/offer.d.ts +0 -0
- /package/{lib/types/supabase/overwrites → functions}/offer.js +0 -0
- /package/{lib/functions → functions}/offerApplicant.d.ts +0 -0
- /package/{lib/functions/partnershipCommunication.js → functions/offerApplicant.js} +0 -0
- /package/{lib/functions → functions}/partnership.d.ts +0 -0
- /package/{lib/functions/partnershipGroup.js → functions/partnership.js} +0 -0
- /package/{lib/functions → functions}/partnershipCommunication.d.ts +0 -0
- /package/{lib/functions/partnershipPartner.js → functions/partnershipCommunication.js} +0 -0
- /package/{lib/functions → functions}/partnershipGroup.d.ts +0 -0
- /package/{lib/functions/partnershipPayment.js → functions/partnershipGroup.js} +0 -0
- /package/{lib/functions → functions}/partnershipPartner.d.ts +0 -0
- /package/{lib/functions/partnershipPlan.js → functions/partnershipPartner.js} +0 -0
- /package/{lib/functions → functions}/partnershipPayment.d.ts +0 -0
- /package/{lib/functions/partnershipSepaPaymentGroup.js → functions/partnershipPayment.js} +0 -0
- /package/{lib/functions → functions}/partnershipPlan.d.ts +0 -0
- /package/{lib/functions/partnershipSubscription.js → functions/partnershipPlan.js} +0 -0
- /package/{lib/functions → functions}/partnershipSepaPaymentGroup.d.ts +0 -0
- /package/{lib/functions/subscription.js → functions/partnershipSepaPaymentGroup.js} +0 -0
- /package/{lib/functions → functions}/partnershipSubscription.d.ts +0 -0
- /package/{lib/functions/user.js → functions/partnershipSubscription.js} +0 -0
- /package/{lib/functions → functions}/regions.d.ts +0 -0
- /package/{lib/functions → functions}/subscription.d.ts +0 -0
- /package/{lib/functions/userNotification.js → functions/subscription.js} +0 -0
- /package/{lib/functions → functions}/user.d.ts +0 -0
- /package/{lib/models/Communication/Comment/types.js → functions/user.js} +0 -0
- /package/{lib/functions → functions}/userNotification.d.ts +0 -0
- /package/{lib/models/Counters/Group/types.js → functions/userNotification.js} +0 -0
- /package/{lib/helpers → helpers}/appScenes.d.ts +0 -0
- /package/{lib/helpers → helpers}/audios.d.ts +0 -0
- /package/{lib/helpers → helpers}/audios.js +0 -0
- /package/{lib/helpers → helpers}/badges.d.ts +0 -0
- /package/{lib/helpers → helpers}/collections.d.ts +0 -0
- /package/{lib/helpers → helpers}/communicationTemplate/newGroup.d.ts +0 -0
- /package/{lib/helpers → helpers}/communicationTemplate/newGroup.js +0 -0
- /package/{lib/helpers → helpers}/communicationTemplate/newMember.d.ts +0 -0
- /package/{lib/helpers → helpers}/communicationTemplate/newMember.js +0 -0
- /package/{lib/helpers → helpers}/countries.d.ts +0 -0
- /package/{lib/helpers → helpers}/countries.js +0 -0
- /package/{lib/helpers → helpers}/dlinks.d.ts +0 -0
- /package/{lib/helpers → helpers}/fileSections/index.d.ts +0 -0
- /package/{lib/helpers → helpers}/fileSections/index.js +0 -0
- /package/{lib/helpers → helpers}/fileSections/orders.d.ts +0 -0
- /package/{lib/helpers → helpers}/fileSections/orders.js +0 -0
- /package/{lib/helpers → helpers}/glissandooAdmin.d.ts +0 -0
- /package/{lib/helpers → helpers}/glissandooAdmin.js +0 -0
- /package/{lib/helpers → helpers}/instruments/orders.d.ts +0 -0
- /package/{lib/helpers → helpers}/instruments/orders.js +0 -0
- /package/{lib/helpers → helpers}/musicStyles/orders.d.ts +0 -0
- /package/{lib/helpers → helpers}/musicStyles/orders.js +0 -0
- /package/{lib/helpers → helpers}/notifications/index.d.ts +0 -0
- /package/{lib/helpers → helpers}/notifications/placeholders.d.ts +0 -0
- /package/{lib/helpers → helpers}/notifications/placeholders.js +0 -0
- /package/{lib/helpers → helpers}/paymentForecast.d.ts +0 -0
- /package/{lib/helpers → helpers}/payoutRules.d.ts +0 -0
- /package/{lib/helpers → helpers}/plans.d.ts +0 -0
- /package/{lib/helpers → helpers}/rates.js +0 -0
- /package/{lib/helpers → helpers}/reasons.d.ts +0 -0
- /package/{lib/helpers → helpers}/reasons.js +0 -0
- /package/{lib/helpers → helpers}/styles.d.ts +0 -0
- /package/{lib/helpers → helpers}/styles.js +0 -0
- /package/{lib/helpers → helpers}/ts-extras/array-includes.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/as-mutable.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/assert-error.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/index.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-defined.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-empty.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-finite.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-finite.js +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-infinite.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-integer.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-integer.js +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-present.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/is-safe-integer.js +0 -0
- /package/{lib/helpers → helpers}/ts-extras/object-entries.js +0 -0
- /package/{lib/helpers → helpers}/ts-extras/object-from-entries.js +0 -0
- /package/{lib/helpers → helpers}/ts-extras/object-has-own.d.ts +0 -0
- /package/{lib/helpers → helpers}/ts-extras/set-has.d.ts +0 -0
- /package/{lib/helpers → helpers}/utils.d.ts +0 -0
- /package/{lib/helpers → helpers}/utils.js +0 -0
- /package/{lib/index.d.ts → index.d.ts} +0 -0
- /package/{lib/index.js → index.js} +0 -0
- /package/{lib/lang → lang}/index.d.ts +0 -0
- /package/{lib/models → models}/Communication/Comment/index.d.ts +0 -0
- /package/{lib/models → models}/Communication/Comment/index.js +0 -0
- /package/{lib/models → models}/Communication/Comment/types.d.ts +0 -0
- /package/{lib/models/Counters → models/Communication/Comment}/types.js +0 -0
- /package/{lib/models → models}/Communication/index.d.ts +0 -0
- /package/{lib/models → models}/Communication/index.js +0 -0
- /package/{lib/models → models}/Counters/Group/Analytics/index.d.ts +0 -0
- /package/{lib/models → models}/Counters/Group/Analytics/index.js +0 -0
- /package/{lib/models → models}/Counters/Group/Analytics/types.d.ts +0 -0
- /package/{lib/models → models}/Counters/Group/index.d.ts +0 -0
- /package/{lib/models → models}/Counters/Group/index.js +0 -0
- /package/{lib/models → models}/Counters/Group/types.d.ts +0 -0
- /package/{lib/models/Customer → models/Counters}/Group/types.js +0 -0
- /package/{lib/models → models}/Counters/event.d.ts +0 -0
- /package/{lib/models → models}/Counters/event.js +0 -0
- /package/{lib/models → models}/Counters/index.d.ts +0 -0
- /package/{lib/models → models}/Counters/index.js +0 -0
- /package/{lib/models → models}/Counters/types.d.ts +0 -0
- /package/{lib/models/Evento/Repertory → models/Counters}/types.js +0 -0
- /package/{lib/models → models}/Customer/Group/index.d.ts +0 -0
- /package/{lib/models → models}/Customer/Group/index.js +0 -0
- /package/{lib/models → models}/Customer/Group/types.d.ts +0 -0
- /package/{lib/models/Federation/Partnership → models/Customer/Group}/types.js +0 -0
- /package/{lib/models → models}/Customer/basic.d.ts +0 -0
- /package/{lib/models → models}/Customer/basic.js +0 -0
- /package/{lib/models → models}/Customer/types.d.ts +0 -0
- /package/{lib/models → models}/Evento/Player/basic.d.ts +0 -0
- /package/{lib/models → models}/Evento/Player/basic.js +0 -0
- /package/{lib/models → models}/Evento/Player/index.d.ts +0 -0
- /package/{lib/models → models}/Evento/Player/index.js +0 -0
- /package/{lib/models → models}/Evento/Player/types.d.ts +0 -0
- /package/{lib/models → models}/Evento/Repertory/index.d.ts +0 -0
- /package/{lib/models → models}/Evento/Repertory/index.js +0 -0
- /package/{lib/models/Federation → models/Evento/Repertory}/types.js +0 -0
- /package/{lib/models → models}/Evento/basic.d.ts +0 -0
- /package/{lib/models → models}/Evento/basic.js +0 -0
- /package/{lib/models → models}/Evento/promoter.d.ts +0 -0
- /package/{lib/models → models}/Evento/promoter.js +0 -0
- /package/{lib/models → models}/Evento/tiny.d.ts +0 -0
- /package/{lib/models → models}/Evento/tiny.js +0 -0
- /package/{lib/models → models}/Federation/Partnership/index.d.ts +0 -0
- /package/{lib/models → models}/Federation/Partnership/index.js +0 -0
- /package/{lib/models → models}/Federation/Partnership/types.d.ts +0 -0
- /package/{lib/models/Group/Event → models/Federation/Partnership}/types.js +0 -0
- /package/{lib/models → models}/Federation/types.d.ts +0 -0
- /package/{lib/models/Group/Player/Event → models/Federation}/types.js +0 -0
- /package/{lib/models → models}/Group/Analytics/index.d.ts +0 -0
- /package/{lib/models → models}/Group/Analytics/index.js +0 -0
- /package/{lib/models → models}/Group/Analytics/types.d.ts +0 -0
- /package/{lib/models → models}/Group/Event/index.d.ts +0 -0
- /package/{lib/models → models}/Group/Event/index.js +0 -0
- /package/{lib/models → models}/Group/Event/types.d.ts +0 -0
- /package/{lib/models/Group/Player/Log → models/Group/Event}/types.js +0 -0
- /package/{lib/models → models}/Group/Payment/index.d.ts +0 -0
- /package/{lib/models → models}/Group/Payment/index.js +0 -0
- /package/{lib/models → models}/Group/Payment/supabase.d.ts +0 -0
- /package/{lib/models → models}/Group/Payment/types.d.ts +0 -0
- /package/{lib/models → models}/Group/Player/Event/index.d.ts +0 -0
- /package/{lib/models → models}/Group/Player/Event/index.js +0 -0
- /package/{lib/models → models}/Group/Player/Event/types.d.ts +0 -0
- /package/{lib/models/Group/Repertory/File → models/Group/Player/Event}/types.js +0 -0
- /package/{lib/models → models}/Group/Player/Log/index.d.ts +0 -0
- /package/{lib/models → models}/Group/Player/Log/index.js +0 -0
- /package/{lib/models → models}/Group/Player/Log/types.d.ts +0 -0
- /package/{lib/models/Group/StageTemplate → models/Group/Player/Log}/types.js +0 -0
- /package/{lib/models → models}/Group/Player/index.d.ts +0 -0
- /package/{lib/models → models}/Group/Player/index.js +0 -0
- /package/{lib/models → models}/Group/Player/types.d.ts +0 -0
- /package/{lib/models → models}/Group/Repertory/File/types.d.ts +0 -0
- /package/{lib/models/Metrics → models/Group/Repertory/File}/types.js +0 -0
- /package/{lib/models → models}/Group/Repertory/FilePath/index.js +0 -0
- /package/{lib/models → models}/Group/StageTemplate/index.d.ts +0 -0
- /package/{lib/models → models}/Group/StageTemplate/index.js +0 -0
- /package/{lib/models → models}/Group/StageTemplate/types.d.ts +0 -0
- /package/{lib/models/Offer/Applicant → models/Group/StageTemplate}/types.js +0 -0
- /package/{lib/models → models}/Group/basic.d.ts +0 -0
- /package/{lib/models → models}/Group/basic.js +0 -0
- /package/{lib/models → models}/Instrument/group.d.ts +0 -0
- /package/{lib/models → models}/Instrument/group.js +0 -0
- /package/{lib/models → models}/Inventory/Item/index.d.ts +0 -0
- /package/{lib/models → models}/Inventory/Item/index.js +0 -0
- /package/{lib/models → models}/Inventory/Item/types.d.ts +0 -0
- /package/{lib/models → models}/Inventory/index.d.ts +0 -0
- /package/{lib/models → models}/Inventory/index.js +0 -0
- /package/{lib/models → models}/Inventory/types.d.ts +0 -0
- /package/{lib/models → models}/Metrics/index.d.ts +0 -0
- /package/{lib/models → models}/Metrics/index.js +0 -0
- /package/{lib/models → models}/Metrics/types.d.ts +0 -0
- /package/{lib/models/Partnership/Communication → models/Metrics}/types.js +0 -0
- /package/{lib/models → models}/Model/index.d.ts +0 -0
- /package/{lib/models → models}/Model/index.js +0 -0
- /package/{lib/models → models}/Model/lang.d.ts +0 -0
- /package/{lib/models → models}/Model/lang.js +0 -0
- /package/{lib/models → models}/MusicStyle/index.d.ts +0 -0
- /package/{lib/models → models}/MusicStyle/index.js +0 -0
- /package/{lib/models → models}/Notification/index.d.ts +0 -0
- /package/{lib/models → models}/Notification/index.js +0 -0
- /package/{lib/models → models}/Notification/types.d.ts +0 -0
- /package/{lib/models → models}/Offer/Applicant/index.d.ts +0 -0
- /package/{lib/models → models}/Offer/Applicant/index.js +0 -0
- /package/{lib/models → models}/Offer/Applicant/types.d.ts +0 -0
- /package/{lib/models/Partnership/Group → models/Offer/Applicant}/types.js +0 -0
- /package/{lib/models → models}/Offer/index.d.ts +0 -0
- /package/{lib/models → models}/Offer/index.js +0 -0
- /package/{lib/models → models}/Partnership/Communication/index.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Communication/index.js +0 -0
- /package/{lib/models → models}/Partnership/Communication/supabase.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Communication/types.d.ts +0 -0
- /package/{lib/models/Partnership/Plan → models/Partnership/Communication}/types.js +0 -0
- /package/{lib/models → models}/Partnership/Group/supabase.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Group/types.d.ts +0 -0
- /package/{lib/models/Partnership/SepaPaymentGroup → models/Partnership/Group}/types.js +0 -0
- /package/{lib/models → models}/Partnership/Partner/index.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Partner/index.js +0 -0
- /package/{lib/models → models}/Partnership/Partner/supabase.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Partner/types.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Payment/index.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Payment/index.js +0 -0
- /package/{lib/models → models}/Partnership/Payment/supabase.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Payment/types.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Plan/index.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Plan/index.js +0 -0
- /package/{lib/models → models}/Partnership/Plan/supabase.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Plan/types.d.ts +0 -0
- /package/{lib/models/Partnership/Subscription → models/Partnership/Plan}/types.js +0 -0
- /package/{lib/models → models}/Partnership/SepaPaymentGroup/index.d.ts +0 -0
- /package/{lib/models → models}/Partnership/SepaPaymentGroup/index.js +0 -0
- /package/{lib/models → models}/Partnership/SepaPaymentGroup/supabase.d.ts +0 -0
- /package/{lib/models → models}/Partnership/SepaPaymentGroup/types.d.ts +0 -0
- /package/{lib/models/Player → models/Partnership/SepaPaymentGroup}/types.js +0 -0
- /package/{lib/models → models}/Partnership/Subscription/index.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Subscription/index.js +0 -0
- /package/{lib/models → models}/Partnership/Subscription/supabase.d.ts +0 -0
- /package/{lib/models → models}/Partnership/Subscription/types.d.ts +0 -0
- /package/{lib/models/User/Group → models/Partnership/Subscription}/types.js +0 -0
- /package/{lib/models → models}/Partnership/basic.d.ts +0 -0
- /package/{lib/models → models}/Partnership/basic.js +0 -0
- /package/{lib/models → models}/Partnership/types.d.ts +0 -0
- /package/{lib/models → models}/Player/basic.d.ts +0 -0
- /package/{lib/models → models}/Player/basic.js +0 -0
- /package/{lib/models → models}/Player/types.d.ts +0 -0
- /package/{lib/models/User/Notification → models/Player}/types.js +0 -0
- /package/{lib/models → models}/Repertory/basic.d.ts +0 -0
- /package/{lib/models → models}/Repertory/basic.js +0 -0
- /package/{lib/models → models}/User/Group/index.d.ts +0 -0
- /package/{lib/models → models}/User/Group/types.d.ts +0 -0
- /package/{lib/models/User/OfferAlarm → models/User/Group}/types.js +0 -0
- /package/{lib/models → models}/User/Notification/index.d.ts +0 -0
- /package/{lib/models → models}/User/Notification/index.js +0 -0
- /package/{lib/models → models}/User/Notification/types.d.ts +0 -0
- /package/{lib/models/User/Partnership → models/User/Notification}/types.js +0 -0
- /package/{lib/models → models}/User/OfferAlarm/index.d.ts +0 -0
- /package/{lib/models → models}/User/OfferAlarm/index.js +0 -0
- /package/{lib/models → models}/User/OfferAlarm/types.d.ts +0 -0
- /package/{lib/types/messagebirdChatWidget.js → models/User/OfferAlarm/types.js} +0 -0
- /package/{lib/models → models}/User/Partnership/index.d.ts +0 -0
- /package/{lib/models → models}/User/Partnership/index.js +0 -0
- /package/{lib/models → models}/User/Partnership/types.d.ts +0 -0
- /package/{lib/types/minVersion.js → models/User/Partnership/types.js} +0 -0
- /package/{lib/models → models}/User/basic.d.ts +0 -0
- /package/{lib/models → models}/User/basic.js +0 -0
- /package/{lib/models → models}/User/extended.d.ts +0 -0
- /package/{lib/models → models}/User/extended.js +0 -0
- /package/{lib/models → models}/WebhookEvent/index.d.ts +0 -0
- /package/{lib/models → models}/WebhookEvent/index.js +0 -0
- /package/{lib/models → models}/WebhookEvent/types.d.ts +0 -0
- /package/{lib/types/supabase/index.js → models/supabase/Comm/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/comm.js → models/supabase/Composer/Composition/Acquisition/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/comm_history.js → models/supabase/Composer/Composition/Favorite/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/event.js → models/supabase/Composer/Composition/View/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/event_history.js → models/supabase/Composer/Payout/status.js} +0 -0
- /package/{lib/types/supabase/overwrites/group_history.js → models/supabase/Composer/Payout/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/index.js → models/supabase/Composer/PerformanceAttendance/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/offer_history.js → models/supabase/Composer/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/repertoire.js → models/supabase/Repertoire/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/repertoire_history.js → models/supabase/User/Group/types.js} +0 -0
- /package/{lib/types/supabase/overwrites/utils.js → models/supabase/User/types.js} +0 -0
- /package/{lib/types → types}/messagebirdChatWidget.d.ts +0 -0
- /package/{lib/types → types}/minVersion.d.ts +0 -0
- /package/{lib/types → types}/payoutRule.d.ts +0 -0
- /package/{lib/types/supabase/overwrites/utils.d.ts → types/supabase/overwrites/tables/common/index.d.ts} +0 -0
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GroupRepertoireTagDefault = exports.GroupRepertoireTagReserved = exports.SocialNetwork = exports.GroupModulePlan = exports.GroupModuleId = exports.GroupStatus = exports.GroupConfigShowAttendanceToMembers = exports.GroupConfigSitesKey = exports.GroupConfigKey = exports.AdminPermissions = exports.GroupCustomFieldType = exports.GroupHistoryAction = void 0;
|
|
4
|
-
var GroupHistoryAction;
|
|
5
|
-
(function (GroupHistoryAction) {
|
|
6
|
-
GroupHistoryAction["Created"] = "created";
|
|
7
|
-
GroupHistoryAction["Deleted"] = "deleted";
|
|
8
|
-
GroupHistoryAction["MemberAdd"] = "member_add";
|
|
9
|
-
GroupHistoryAction["MemberJoin"] = "member_join";
|
|
10
|
-
GroupHistoryAction["MemberLeave"] = "member_leave";
|
|
11
|
-
GroupHistoryAction["MemberRemove"] = "member_remove";
|
|
12
|
-
GroupHistoryAction["MemberInstrumentChange"] = "member_instrument_change";
|
|
13
|
-
GroupHistoryAction["MemberPermissionsChange"] = "member_permissions_change";
|
|
14
|
-
GroupHistoryAction["TemplateCreated"] = "template_created";
|
|
15
|
-
GroupHistoryAction["TemplateDeleted"] = "template_deleted";
|
|
16
|
-
GroupHistoryAction["TemplateEdited"] = "template_edited";
|
|
17
|
-
GroupHistoryAction["EditInstruments"] = "edit_instruments";
|
|
18
|
-
GroupHistoryAction["EditName"] = "edit_name";
|
|
19
|
-
GroupHistoryAction["EditLocation"] = "edit_location";
|
|
20
|
-
GroupHistoryAction["EditMusicStyle"] = "edit_music_style";
|
|
21
|
-
GroupHistoryAction["EditUsername"] = "edit_username";
|
|
22
|
-
GroupHistoryAction["EditPhoto"] = "edit_photo";
|
|
23
|
-
GroupHistoryAction["LinkFakeAccount"] = "link_fake_account";
|
|
24
|
-
GroupHistoryAction["EditFakeAccountInfo"] = "edit_fake_account_info";
|
|
25
|
-
})(GroupHistoryAction = exports.GroupHistoryAction || (exports.GroupHistoryAction = {}));
|
|
26
|
-
// types/CustomFields.ts
|
|
27
|
-
var GroupCustomFieldType;
|
|
28
|
-
(function (GroupCustomFieldType) {
|
|
29
|
-
GroupCustomFieldType["TEXT"] = "text";
|
|
30
|
-
GroupCustomFieldType["NUMBER"] = "number";
|
|
31
|
-
GroupCustomFieldType["DATE"] = "date";
|
|
32
|
-
GroupCustomFieldType["SELECT"] = "select";
|
|
33
|
-
GroupCustomFieldType["EMAIL"] = "email";
|
|
34
|
-
GroupCustomFieldType["PHONE"] = "phone";
|
|
35
|
-
GroupCustomFieldType["LINK"] = "link";
|
|
36
|
-
GroupCustomFieldType["PARAGRAPH"] = "paragraph";
|
|
37
|
-
})(GroupCustomFieldType = exports.GroupCustomFieldType || (exports.GroupCustomFieldType = {}));
|
|
38
|
-
var AdminPermissions;
|
|
39
|
-
(function (AdminPermissions) {
|
|
40
|
-
AdminPermissions["Owner"] = "owner";
|
|
41
|
-
AdminPermissions["Events"] = "events";
|
|
42
|
-
AdminPermissions["Rollcall"] = "rollcall";
|
|
43
|
-
AdminPermissions["Members"] = "members";
|
|
44
|
-
AdminPermissions["Repertoire"] = "repertoire";
|
|
45
|
-
AdminPermissions["Communications"] = "communications";
|
|
46
|
-
AdminPermissions["Offers"] = "offers";
|
|
47
|
-
AdminPermissions["Billing"] = "billing";
|
|
48
|
-
AdminPermissions["Inventory"] = "inventory";
|
|
49
|
-
})(AdminPermissions = exports.AdminPermissions || (exports.AdminPermissions = {}));
|
|
50
|
-
var GroupConfigKey;
|
|
51
|
-
(function (GroupConfigKey) {
|
|
52
|
-
GroupConfigKey["IncludesMembersToEventsWhenJoined"] = "includesMembersToEventsWhenJoined";
|
|
53
|
-
GroupConfigKey["AllowEditInstruments"] = "allowEditInstruments";
|
|
54
|
-
GroupConfigKey["ShowAttendanceToMembers"] = "showAttendanceToMembers";
|
|
55
|
-
GroupConfigKey["AllowVerifyGeoLoc"] = "allowVerifyGeoLoc";
|
|
56
|
-
})(GroupConfigKey = exports.GroupConfigKey || (exports.GroupConfigKey = {}));
|
|
57
|
-
var GroupConfigSitesKey;
|
|
58
|
-
(function (GroupConfigSitesKey) {
|
|
59
|
-
GroupConfigSitesKey["Active"] = "active";
|
|
60
|
-
GroupConfigSitesKey["ShowMembers"] = "showMembers";
|
|
61
|
-
GroupConfigSitesKey["ShowEvents"] = "showEvents";
|
|
62
|
-
})(GroupConfigSitesKey = exports.GroupConfigSitesKey || (exports.GroupConfigSitesKey = {}));
|
|
63
|
-
var GroupConfigShowAttendanceToMembers;
|
|
64
|
-
(function (GroupConfigShowAttendanceToMembers) {
|
|
65
|
-
GroupConfigShowAttendanceToMembers["None"] = "none";
|
|
66
|
-
GroupConfigShowAttendanceToMembers["OnlyConfirmed"] = "onlyConfirmed";
|
|
67
|
-
GroupConfigShowAttendanceToMembers["OnlyToSection"] = "onlyToSection";
|
|
68
|
-
GroupConfigShowAttendanceToMembers["All"] = "all";
|
|
69
|
-
})(GroupConfigShowAttendanceToMembers = exports.GroupConfigShowAttendanceToMembers || (exports.GroupConfigShowAttendanceToMembers = {}));
|
|
70
|
-
var GroupStatus;
|
|
71
|
-
(function (GroupStatus) {
|
|
72
|
-
GroupStatus["Premium"] = "premium";
|
|
73
|
-
GroupStatus["Trial"] = "trial";
|
|
74
|
-
GroupStatus["Inactive"] = "inactive";
|
|
75
|
-
GroupStatus["Deleted"] = "deleted";
|
|
76
|
-
})(GroupStatus = exports.GroupStatus || (exports.GroupStatus = {}));
|
|
77
|
-
var GroupModuleId;
|
|
78
|
-
(function (GroupModuleId) {
|
|
79
|
-
GroupModuleId["Payout"] = "payout";
|
|
80
|
-
GroupModuleId["Inventory"] = "inventory";
|
|
81
|
-
GroupModuleId["Vacancies"] = "vacancies";
|
|
82
|
-
GroupModuleId["Partnership"] = "partnership";
|
|
83
|
-
GroupModuleId["MusicSchool"] = "musicSchool";
|
|
84
|
-
})(GroupModuleId = exports.GroupModuleId || (exports.GroupModuleId = {}));
|
|
85
|
-
var GroupModulePlan;
|
|
86
|
-
(function (GroupModulePlan) {
|
|
87
|
-
GroupModulePlan["Free"] = "free";
|
|
88
|
-
GroupModulePlan["Paid"] = "paid";
|
|
89
|
-
})(GroupModulePlan = exports.GroupModulePlan || (exports.GroupModulePlan = {}));
|
|
90
|
-
var SocialNetwork;
|
|
91
|
-
(function (SocialNetwork) {
|
|
92
|
-
SocialNetwork["Facebook"] = "facebook";
|
|
93
|
-
SocialNetwork["Twitter"] = "twitter";
|
|
94
|
-
SocialNetwork["Instagram"] = "instagram";
|
|
95
|
-
SocialNetwork["YouTube"] = "youtube";
|
|
96
|
-
SocialNetwork["Web"] = "web";
|
|
97
|
-
})(SocialNetwork = exports.SocialNetwork || (exports.SocialNetwork = {}));
|
|
98
|
-
var GroupRepertoireTagReserved;
|
|
99
|
-
(function (GroupRepertoireTagReserved) {
|
|
100
|
-
GroupRepertoireTagReserved["NoTag"] = "$noTag";
|
|
101
|
-
})(GroupRepertoireTagReserved = exports.GroupRepertoireTagReserved || (exports.GroupRepertoireTagReserved = {}));
|
|
102
|
-
var GroupRepertoireTagDefault;
|
|
103
|
-
(function (GroupRepertoireTagDefault) {
|
|
104
|
-
GroupRepertoireTagDefault["First"] = "repertoireTags.1";
|
|
105
|
-
GroupRepertoireTagDefault["Second"] = "repertoireTags.2";
|
|
106
|
-
GroupRepertoireTagDefault["Third"] = "repertoireTags.3";
|
|
107
|
-
GroupRepertoireTagDefault["Fourth"] = "repertoireTags.4";
|
|
108
|
-
GroupRepertoireTagDefault["Principal"] = "repertoireTags.principal";
|
|
109
|
-
})(GroupRepertoireTagDefault = exports.GroupRepertoireTagDefault || (exports.GroupRepertoireTagDefault = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { InstrumentId } from '../../helpers/instruments';
|
|
2
|
-
import { LanguagesTypes } from '../../lang';
|
|
3
|
-
export default class Instrument {
|
|
4
|
-
id: InstrumentId;
|
|
5
|
-
protected lang: LanguagesTypes;
|
|
6
|
-
constructor(id: InstrumentId, lang?: LanguagesTypes);
|
|
7
|
-
get name(): string;
|
|
8
|
-
get icon(): string;
|
|
9
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const instruments_1 = require("../../helpers/instruments");
|
|
4
|
-
const lang_1 = require("../../lang");
|
|
5
|
-
class Instrument {
|
|
6
|
-
constructor(id, lang = lang_1.defaultLocale) {
|
|
7
|
-
this.id = id;
|
|
8
|
-
this.lang = lang;
|
|
9
|
-
}
|
|
10
|
-
get name() {
|
|
11
|
-
const translation = (0, lang_1.getTranslation)(`instruments.${this.id}`, this.lang);
|
|
12
|
-
return translation || this.id;
|
|
13
|
-
}
|
|
14
|
-
get icon() {
|
|
15
|
-
return instruments_1.InstrumentIcons[this.id] || 'warning';
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.default = Instrument;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InventoryItemAssignmentKind = exports.InventoryItemStatus = void 0;
|
|
4
|
-
var InventoryItemStatus;
|
|
5
|
-
(function (InventoryItemStatus) {
|
|
6
|
-
InventoryItemStatus["Available"] = "available";
|
|
7
|
-
InventoryItemStatus["Assigned"] = "assigned";
|
|
8
|
-
InventoryItemStatus["OnHold"] = "onHold";
|
|
9
|
-
InventoryItemStatus["Retired"] = "retired";
|
|
10
|
-
})(InventoryItemStatus = exports.InventoryItemStatus || (exports.InventoryItemStatus = {}));
|
|
11
|
-
var InventoryItemAssignmentKind;
|
|
12
|
-
(function (InventoryItemAssignmentKind) {
|
|
13
|
-
InventoryItemAssignmentKind["Member"] = "member";
|
|
14
|
-
InventoryItemAssignmentKind["Other"] = "other";
|
|
15
|
-
})(InventoryItemAssignmentKind = exports.InventoryItemAssignmentKind || (exports.InventoryItemAssignmentKind = {}));
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InventoryTypeCustomFieldType = void 0;
|
|
4
|
-
var InventoryTypeCustomFieldType;
|
|
5
|
-
(function (InventoryTypeCustomFieldType) {
|
|
6
|
-
InventoryTypeCustomFieldType["TEXT"] = "text";
|
|
7
|
-
InventoryTypeCustomFieldType["NUMBER"] = "number";
|
|
8
|
-
InventoryTypeCustomFieldType["DATE"] = "date";
|
|
9
|
-
InventoryTypeCustomFieldType["SELECT"] = "select";
|
|
10
|
-
InventoryTypeCustomFieldType["LINK"] = "link";
|
|
11
|
-
InventoryTypeCustomFieldType["PARAGRAPH"] = "paragraph";
|
|
12
|
-
InventoryTypeCustomFieldType["ASSIGNABLE"] = "assignable";
|
|
13
|
-
InventoryTypeCustomFieldType["IMAGES"] = "images";
|
|
14
|
-
InventoryTypeCustomFieldType["DOCUMENT"] = "document";
|
|
15
|
-
})(InventoryTypeCustomFieldType = exports.InventoryTypeCustomFieldType || (exports.InventoryTypeCustomFieldType = {}));
|
|
@@ -1,279 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.notificationByFilter = exports.NotificationActionsFilter = exports.NotificationActions = void 0;
|
|
4
|
-
var NotificationActions;
|
|
5
|
-
(function (NotificationActions) {
|
|
6
|
-
NotificationActions["BadgeAccPerformancesFirstLevel"] = "badgeAccPerformances.firstLevel";
|
|
7
|
-
NotificationActions["BadgeAccPerformancesUpLevel"] = "badgeAccPerformances.upLevel";
|
|
8
|
-
NotificationActions["BadgeAccPracticesFirstLevel"] = "badgeAccPractices.firstLevel";
|
|
9
|
-
NotificationActions["BadgeAccPracticesUpLevel"] = "badgeAccPractices.upLevel";
|
|
10
|
-
NotificationActions["BadgeAnswerEventsFirstLevel"] = "badgeAnswerEvents.firstLevel";
|
|
11
|
-
NotificationActions["BadgeAnswerEventsUpLevel"] = "badgeAnswerEvents.upLevel";
|
|
12
|
-
NotificationActions["BadgeStrikePracticesFirstLevel"] = "badgeStrikePractices.firstLevel";
|
|
13
|
-
NotificationActions["BadgeStrikePracticesUpLevel"] = "badgeStrikePractices.upLevel";
|
|
14
|
-
NotificationActions["CommunicationCreate"] = "communication.create";
|
|
15
|
-
NotificationActions["CommunicationNewComment"] = "communication.newComment";
|
|
16
|
-
NotificationActions["GroupDelete"] = "group.delete";
|
|
17
|
-
NotificationActions["GroupPlayersAdd"] = "group.players.add";
|
|
18
|
-
NotificationActions["GroupPlayersJoin"] = "group.players.join";
|
|
19
|
-
NotificationActions["GroupPlayersJoinPlayers"] = "group.players.join2";
|
|
20
|
-
NotificationActions["GroupPlayersLeave"] = "group.players.leave";
|
|
21
|
-
NotificationActions["GroupPlayersRemove"] = "group.players.remove";
|
|
22
|
-
NotificationActions["GroupPlayerSwitchInstrumentsByAdmin"] = "group.players.switchInstruments.byAdmin";
|
|
23
|
-
NotificationActions["GroupPlayerAddPermissions"] = "group.players.addPermissions";
|
|
24
|
-
NotificationActions["GroupPlayerRemovePermissions"] = "group.players.removePermissions";
|
|
25
|
-
NotificationActions["GroupPlayerEditPermissions"] = "group.players.editPermissions";
|
|
26
|
-
NotificationActions["OtherAssistanceConfirm"] = "other.assistance.confirm";
|
|
27
|
-
NotificationActions["OtherAssistanceDecline"] = "other.assistance.decline";
|
|
28
|
-
NotificationActions["OtherAssistanceConfirmByAdmin"] = "other.assistance.confirm.byAdmin";
|
|
29
|
-
NotificationActions["OtherAssistanceDeclineByAdmin"] = "other.assistance.decline.byAdmin";
|
|
30
|
-
NotificationActions["OtherInterestConfirm"] = "other.interest.confirm";
|
|
31
|
-
NotificationActions["OtherInterestLose"] = "other.interest.lose";
|
|
32
|
-
NotificationActions["OtherInterestConfirmByAdmin"] = "other.interest.confirm.byAdmin";
|
|
33
|
-
NotificationActions["OtherInterestLoseByAdmin"] = "other.interest.lose.byAdmin";
|
|
34
|
-
NotificationActions["OtherSelectionSelect"] = "other.selection.select";
|
|
35
|
-
NotificationActions["OtherSelectionDeselect"] = "other.selection.deselect";
|
|
36
|
-
NotificationActions["OtherCancel"] = "other.cancel";
|
|
37
|
-
NotificationActions["OtherCreate"] = "other.create";
|
|
38
|
-
NotificationActions["OtherEditAttendance"] = "other.edit.attendance";
|
|
39
|
-
NotificationActions["OtherEditComments"] = "other.edit.comments";
|
|
40
|
-
NotificationActions["OtherEditDatetime"] = "other.edit.datetime";
|
|
41
|
-
NotificationActions["OtherEditLocality"] = "other.edit.locality";
|
|
42
|
-
NotificationActions["OtherEditRepertory"] = "other.edit.repertory";
|
|
43
|
-
NotificationActions["OtherEditTitle"] = "other.edit.title";
|
|
44
|
-
NotificationActions["OtherEditStage"] = "other.edit.stage";
|
|
45
|
-
NotificationActions["OtherEditResponseDeadline"] = "other.edit.responseDeadline";
|
|
46
|
-
NotificationActions["OtherEditImages"] = "other.edit.images";
|
|
47
|
-
NotificationActions["OtherEditAttachments"] = "other.edit.attachments";
|
|
48
|
-
NotificationActions["OtherEditQuestions"] = "other.edit.questions";
|
|
49
|
-
NotificationActions["OtherEditReminders"] = "other.edit.reminders";
|
|
50
|
-
NotificationActions["OtherReminderDatetimeToConfirmed"] = "other.reminderDatetime.confirmed";
|
|
51
|
-
NotificationActions["OtherReminderDeadlineSoonToPending"] = "other.reminderDeadlineSoon.pending";
|
|
52
|
-
NotificationActions["OtherReminderDeadlineEndedInSelectionModeOpen"] = "other.reminderDeadlineEnded.selectionModeOpen";
|
|
53
|
-
NotificationActions["OtherReminderDeadlineEndedInSelectionModeClosedOrNotActive"] = "other.reminderDeadlineEnded.selectionModeClosedOrNotActive";
|
|
54
|
-
NotificationActions["OtherPlayersAdd"] = "other.players.add";
|
|
55
|
-
NotificationActions["OtherPlayersRemove"] = "other.players.remove";
|
|
56
|
-
NotificationActions["OtherReminder"] = "other.reminder";
|
|
57
|
-
NotificationActions["OtherRollCallReminder"] = "other.rollCallReminder";
|
|
58
|
-
NotificationActions["PerformanceAssistanceConfirm"] = "performance.assistance.confirm";
|
|
59
|
-
NotificationActions["PerformanceAssistanceDecline"] = "performance.assistance.decline";
|
|
60
|
-
NotificationActions["PerformanceAssistanceConfirmByAdmin"] = "performance.assistance.confirm.byAdmin";
|
|
61
|
-
NotificationActions["PerformanceAssistanceDeclineByAdmin"] = "performance.assistance.decline.byAdmin";
|
|
62
|
-
NotificationActions["PerformanceInterestConfirm"] = "performance.interest.confirm";
|
|
63
|
-
NotificationActions["PerformanceInterestLose"] = "performance.interest.lose";
|
|
64
|
-
NotificationActions["PerformanceInterestConfirmByAdmin"] = "performance.interest.confirm.byAdmin";
|
|
65
|
-
NotificationActions["PerformanceInterestLoseByAdmin"] = "performance.interest.lose.byAdmin";
|
|
66
|
-
NotificationActions["PerformanceSelectionSelect"] = "performance.selection.select";
|
|
67
|
-
NotificationActions["PerformanceSelectionDeselect"] = "performance.selection.deselect";
|
|
68
|
-
NotificationActions["PerformanceCancel"] = "performance.cancel";
|
|
69
|
-
NotificationActions["PerformanceCreate"] = "performance.create";
|
|
70
|
-
NotificationActions["PerformanceEditAttendance"] = "performance.edit.attendance";
|
|
71
|
-
NotificationActions["PerformanceEditComments"] = "performance.edit.comments";
|
|
72
|
-
NotificationActions["PerformanceEditDatetime"] = "performance.edit.datetime";
|
|
73
|
-
NotificationActions["PerformanceEditLocality"] = "performance.edit.locality";
|
|
74
|
-
NotificationActions["PerformanceEditRepertory"] = "performance.edit.repertory";
|
|
75
|
-
NotificationActions["PerformanceEditTitle"] = "performance.edit.title";
|
|
76
|
-
NotificationActions["PerformanceEditStage"] = "performance.edit.stage";
|
|
77
|
-
NotificationActions["PerformanceEditResponseDeadline"] = "performance.edit.responseDeadline";
|
|
78
|
-
NotificationActions["PerformanceEditImages"] = "performance.edit.images";
|
|
79
|
-
NotificationActions["PerformanceEditAttachments"] = "performance.edit.attachments";
|
|
80
|
-
NotificationActions["PerformanceEditQuestions"] = "performance.edit.questions";
|
|
81
|
-
NotificationActions["PerformanceEditReminders"] = "performance.edit.reminders";
|
|
82
|
-
NotificationActions["PerformanceReminderDatetimeToConfirmed"] = "performance.reminderDatetime.confirmed";
|
|
83
|
-
NotificationActions["PerformanceReminderDeadlineSoonToPending"] = "performance.reminderDeadlineSoon.pending";
|
|
84
|
-
NotificationActions["PerformanceReminderDeadlineEndedInSelectionModeOpen"] = "performance.reminderDeadlineEnded.selectionModeOpen";
|
|
85
|
-
NotificationActions["PerformanceReminderDeadlineEndedInSelectionModeClosedOrNotActive"] = "performance.reminderDeadlineEnded.selectionModeClosedOrNotActive";
|
|
86
|
-
NotificationActions["PerformancePlayersAdd"] = "performance.players.add";
|
|
87
|
-
NotificationActions["PerformancePlayersRemove"] = "performance.players.remove";
|
|
88
|
-
NotificationActions["PerformanceReminder"] = "performance.reminder";
|
|
89
|
-
NotificationActions["PerformanceRollCallReminder"] = "performance.rollCallReminder";
|
|
90
|
-
NotificationActions["PracticeAssistanceConfirm"] = "practice.assistance.confirm";
|
|
91
|
-
NotificationActions["PracticeAssistanceDecline"] = "practice.assistance.decline";
|
|
92
|
-
NotificationActions["PracticeAssistanceConfirmByAdmin"] = "practice.assistance.confirm.byAdmin";
|
|
93
|
-
NotificationActions["PracticeAssistanceDeclineByAdmin"] = "practice.assistance.decline.byAdmin";
|
|
94
|
-
NotificationActions["PracticeInterestConfirm"] = "practice.interest.confirm";
|
|
95
|
-
NotificationActions["PracticeInterestLose"] = "practice.interest.lose";
|
|
96
|
-
NotificationActions["PracticeInterestConfirmByAdmin"] = "practice.interest.confirm.byAdmin";
|
|
97
|
-
NotificationActions["PracticeInterestLoseByAdmin"] = "practice.interest.lose.byAdmin";
|
|
98
|
-
NotificationActions["PracticeSelectionSelect"] = "practice.selection.select";
|
|
99
|
-
NotificationActions["PracticeSelectionDeselect"] = "practice.selection.deselect";
|
|
100
|
-
NotificationActions["PracticeCancel"] = "practice.cancel";
|
|
101
|
-
NotificationActions["PracticeCreate"] = "practice.create";
|
|
102
|
-
NotificationActions["PracticeEditAttendance"] = "practice.edit.attendance";
|
|
103
|
-
NotificationActions["PracticeEditComments"] = "practice.edit.comments";
|
|
104
|
-
NotificationActions["PracticeEditDatetime"] = "practice.edit.datetime";
|
|
105
|
-
NotificationActions["PracticeEditLocality"] = "practice.edit.locality";
|
|
106
|
-
NotificationActions["PracticeEditRepertory"] = "practice.edit.repertory";
|
|
107
|
-
NotificationActions["PracticeEditTitle"] = "practice.edit.title";
|
|
108
|
-
NotificationActions["PracticeEditStage"] = "practice.edit.stage";
|
|
109
|
-
NotificationActions["PracticeEditResponseDeadline"] = "practice.edit.responseDeadline";
|
|
110
|
-
NotificationActions["PracticeEditImages"] = "practice.edit.images";
|
|
111
|
-
NotificationActions["PracticeEditAttachments"] = "practice.edit.attachments";
|
|
112
|
-
NotificationActions["PracticeEditQuestions"] = "practice.edit.questions";
|
|
113
|
-
NotificationActions["PracticeEditReminders"] = "practice.edit.reminders";
|
|
114
|
-
NotificationActions["PracticeReminderDatetimeToConfirmed"] = "practice.reminderDatetime.confirmed";
|
|
115
|
-
NotificationActions["PracticeReminderDeadlineSoonToPending"] = "practice.reminderDeadlineSoon.pending";
|
|
116
|
-
NotificationActions["PracticeReminderDeadlineEndedInSelectionModeOpen"] = "practice.reminderDeadlineEnded.selectionModeOpen";
|
|
117
|
-
NotificationActions["PracticeReminderDeadlineEndedInSelectionModeClosedOrNotActive"] = "practice.reminderDeadlineEnded.selectionModeClosedOrNotActive";
|
|
118
|
-
NotificationActions["PracticePlayersAdd"] = "practice.players.add";
|
|
119
|
-
NotificationActions["PracticePlayersRemove"] = "practice.players.remove";
|
|
120
|
-
NotificationActions["PracticeReminder"] = "practice.reminder";
|
|
121
|
-
NotificationActions["PracticeRollCallReminder"] = "practice.rollCallReminder";
|
|
122
|
-
NotificationActions["PracticesCancel"] = "practices.cancel";
|
|
123
|
-
NotificationActions["PracticesCreate"] = "practices.create";
|
|
124
|
-
NotificationActions["PracticesEditAttendance"] = "practices.edit.attendance";
|
|
125
|
-
NotificationActions["PracticesEditComments"] = "practices.edit.comments";
|
|
126
|
-
NotificationActions["PracticesEditDatetime"] = "practices.edit.datetime";
|
|
127
|
-
NotificationActions["PracticesEditLocality"] = "practices.edit.locality";
|
|
128
|
-
NotificationActions["PracticesEditRepertory"] = "practices.edit.repertory";
|
|
129
|
-
NotificationActions["PracticesEditTitle"] = "practices.edit.title";
|
|
130
|
-
NotificationActions["PracticesEditStage"] = "practices.edit.stage";
|
|
131
|
-
NotificationActions["PracticesEditResponseDeadline"] = "practices.edit.responseDeadline";
|
|
132
|
-
NotificationActions["PracticesEditImages"] = "practices.edit.images";
|
|
133
|
-
NotificationActions["PracticesEditAttachments"] = "practices.edit.attachments";
|
|
134
|
-
NotificationActions["PracticesEditQuestions"] = "practices.edit.questions";
|
|
135
|
-
NotificationActions["PracticesEditReminders"] = "practices.edit.reminders";
|
|
136
|
-
NotificationActions["PracticesPlayersAdd"] = "practices.players.add";
|
|
137
|
-
NotificationActions["PracticesPlayersRemove"] = "practices.players.remove";
|
|
138
|
-
NotificationActions["ThemeClaimNew"] = "theme.claim.new";
|
|
139
|
-
NotificationActions["ThemeClaimUpdate"] = "theme.claim.update";
|
|
140
|
-
NotificationActions["GroupOnboardingPremium"] = "group.onboarding.premium";
|
|
141
|
-
NotificationActions["GroupOnboardingAttendance"] = "group.onboarding.attendance";
|
|
142
|
-
NotificationActions["GroupOnboardingInvite"] = "group.onboarding.invite";
|
|
143
|
-
NotificationActions["GroupOnboardingDashboard"] = "group.onboarding.dashboard";
|
|
144
|
-
NotificationActions["GroupOnboardingEngagement"] = "group.onboarding.engagement";
|
|
145
|
-
NotificationActions["GroupOnboardingEvent"] = "group.onboarding.event";
|
|
146
|
-
NotificationActions["OfferApplicantAdd"] = "offer.applicant.add";
|
|
147
|
-
NotificationActions["OfferSelectApplicant"] = "offer.select.applicant";
|
|
148
|
-
NotificationActions["OfferAlarm"] = "offer.alarm";
|
|
149
|
-
NotificationActions["GroupPaymentPaid"] = "groupPayment.paid";
|
|
150
|
-
NotificationActions["GroupPaymentCancelled"] = "groupPayment.cancelled";
|
|
151
|
-
NotificationActions["GroupPaymentAmountChanged"] = "groupPayment.amountChanged";
|
|
152
|
-
})(NotificationActions = exports.NotificationActions || (exports.NotificationActions = {}));
|
|
153
|
-
var NotificationActionsFilter;
|
|
154
|
-
(function (NotificationActionsFilter) {
|
|
155
|
-
NotificationActionsFilter["EventCreated"] = "eventCreated";
|
|
156
|
-
NotificationActionsFilter["PracticeEdited"] = "practiceEdited";
|
|
157
|
-
NotificationActionsFilter["PerformanceEdited"] = "performanceEdited";
|
|
158
|
-
NotificationActionsFilter["EventCanceled"] = "eventCanceled";
|
|
159
|
-
NotificationActionsFilter["EventReminder"] = "eventReminder";
|
|
160
|
-
NotificationActionsFilter["EventAttendanceConfirmed"] = "eventAttendanceConfirmed";
|
|
161
|
-
NotificationActionsFilter["EventAttendanceDeclined"] = "eventAttendanceDeclined";
|
|
162
|
-
NotificationActionsFilter["CommunicationCreated"] = "communicationCreated";
|
|
163
|
-
NotificationActionsFilter["CommunicationComment"] = "communicationComment";
|
|
164
|
-
NotificationActionsFilter["BadgeNew"] = "badgeNew";
|
|
165
|
-
NotificationActionsFilter["MemberJoined"] = "memberJoined";
|
|
166
|
-
NotificationActionsFilter["MemberLeft"] = "memberLeft";
|
|
167
|
-
NotificationActionsFilter["MemberEdit"] = "memberEdit";
|
|
168
|
-
NotificationActionsFilter["Offers"] = "offers";
|
|
169
|
-
NotificationActionsFilter["ThemeClaims"] = "themeClaims";
|
|
170
|
-
NotificationActionsFilter["Permissions"] = "permissions";
|
|
171
|
-
})(NotificationActionsFilter = exports.NotificationActionsFilter || (exports.NotificationActionsFilter = {}));
|
|
172
|
-
exports.notificationByFilter = {
|
|
173
|
-
[NotificationActionsFilter.EventCreated]: [
|
|
174
|
-
NotificationActions.PerformanceCreate,
|
|
175
|
-
NotificationActions.PracticeCreate,
|
|
176
|
-
NotificationActions.PracticesCreate,
|
|
177
|
-
],
|
|
178
|
-
[NotificationActionsFilter.PerformanceEdited]: [
|
|
179
|
-
NotificationActions.PerformanceEditAttendance,
|
|
180
|
-
NotificationActions.PerformanceEditComments,
|
|
181
|
-
NotificationActions.PerformanceEditDatetime,
|
|
182
|
-
NotificationActions.PerformanceEditLocality,
|
|
183
|
-
NotificationActions.PerformanceEditRepertory,
|
|
184
|
-
NotificationActions.PerformanceEditTitle,
|
|
185
|
-
NotificationActions.PerformanceEditStage,
|
|
186
|
-
NotificationActions.PerformanceEditResponseDeadline,
|
|
187
|
-
NotificationActions.PerformanceEditImages,
|
|
188
|
-
NotificationActions.PerformanceEditAttachments,
|
|
189
|
-
NotificationActions.PerformanceEditQuestions,
|
|
190
|
-
NotificationActions.PerformancePlayersAdd,
|
|
191
|
-
],
|
|
192
|
-
[NotificationActionsFilter.PracticeEdited]: [
|
|
193
|
-
NotificationActions.PracticePlayersAdd,
|
|
194
|
-
NotificationActions.PracticeEditAttendance,
|
|
195
|
-
NotificationActions.PracticeEditComments,
|
|
196
|
-
NotificationActions.PracticeEditDatetime,
|
|
197
|
-
NotificationActions.PracticeEditLocality,
|
|
198
|
-
NotificationActions.PracticeEditRepertory,
|
|
199
|
-
NotificationActions.PracticeEditTitle,
|
|
200
|
-
NotificationActions.PracticeEditStage,
|
|
201
|
-
NotificationActions.PracticeEditResponseDeadline,
|
|
202
|
-
NotificationActions.PracticeEditImages,
|
|
203
|
-
NotificationActions.PracticeEditAttachments,
|
|
204
|
-
NotificationActions.PracticeEditQuestions,
|
|
205
|
-
NotificationActions.PracticesEditAttendance,
|
|
206
|
-
NotificationActions.PracticesEditComments,
|
|
207
|
-
NotificationActions.PracticesEditDatetime,
|
|
208
|
-
NotificationActions.PracticesEditLocality,
|
|
209
|
-
NotificationActions.PracticesEditRepertory,
|
|
210
|
-
NotificationActions.PracticesEditTitle,
|
|
211
|
-
NotificationActions.PracticesEditStage,
|
|
212
|
-
NotificationActions.PracticesEditResponseDeadline,
|
|
213
|
-
NotificationActions.PracticesEditImages,
|
|
214
|
-
NotificationActions.PracticesEditAttachments,
|
|
215
|
-
NotificationActions.PracticesEditQuestions,
|
|
216
|
-
NotificationActions.PracticesPlayersAdd,
|
|
217
|
-
],
|
|
218
|
-
[NotificationActionsFilter.EventCanceled]: [
|
|
219
|
-
NotificationActions.PerformanceCancel,
|
|
220
|
-
NotificationActions.PracticeCancel,
|
|
221
|
-
NotificationActions.PracticesCancel,
|
|
222
|
-
],
|
|
223
|
-
[NotificationActionsFilter.EventReminder]: [
|
|
224
|
-
NotificationActions.PerformanceReminder,
|
|
225
|
-
NotificationActions.PerformanceRollCallReminder,
|
|
226
|
-
NotificationActions.PracticeReminder,
|
|
227
|
-
NotificationActions.PracticeRollCallReminder,
|
|
228
|
-
],
|
|
229
|
-
[NotificationActionsFilter.EventAttendanceConfirmed]: [
|
|
230
|
-
NotificationActions.PerformanceAssistanceConfirm,
|
|
231
|
-
NotificationActions.PerformanceAssistanceConfirmByAdmin,
|
|
232
|
-
NotificationActions.PracticeAssistanceConfirm,
|
|
233
|
-
NotificationActions.PracticeAssistanceConfirmByAdmin,
|
|
234
|
-
],
|
|
235
|
-
[NotificationActionsFilter.EventAttendanceDeclined]: [
|
|
236
|
-
NotificationActions.PerformanceAssistanceDecline,
|
|
237
|
-
NotificationActions.PerformanceAssistanceDeclineByAdmin,
|
|
238
|
-
NotificationActions.PracticeAssistanceDecline,
|
|
239
|
-
NotificationActions.PracticeAssistanceDeclineByAdmin,
|
|
240
|
-
],
|
|
241
|
-
[NotificationActionsFilter.CommunicationCreated]: [NotificationActions.CommunicationCreate],
|
|
242
|
-
[NotificationActionsFilter.CommunicationComment]: [NotificationActions.CommunicationNewComment],
|
|
243
|
-
[NotificationActionsFilter.BadgeNew]: [
|
|
244
|
-
NotificationActions.BadgeAccPerformancesFirstLevel,
|
|
245
|
-
NotificationActions.BadgeAccPerformancesUpLevel,
|
|
246
|
-
NotificationActions.BadgeAccPracticesFirstLevel,
|
|
247
|
-
NotificationActions.BadgeAccPracticesUpLevel,
|
|
248
|
-
NotificationActions.BadgeAnswerEventsFirstLevel,
|
|
249
|
-
NotificationActions.BadgeAnswerEventsUpLevel,
|
|
250
|
-
NotificationActions.BadgeStrikePracticesFirstLevel,
|
|
251
|
-
NotificationActions.BadgeStrikePracticesUpLevel,
|
|
252
|
-
],
|
|
253
|
-
[NotificationActionsFilter.MemberJoined]: [
|
|
254
|
-
NotificationActions.GroupPlayersAdd,
|
|
255
|
-
NotificationActions.GroupPlayersJoin,
|
|
256
|
-
NotificationActions.GroupPlayersJoinPlayers,
|
|
257
|
-
],
|
|
258
|
-
[NotificationActionsFilter.MemberLeft]: [
|
|
259
|
-
NotificationActions.GroupPlayersLeave,
|
|
260
|
-
NotificationActions.GroupPlayersRemove,
|
|
261
|
-
],
|
|
262
|
-
[NotificationActionsFilter.MemberEdit]: [
|
|
263
|
-
NotificationActions.GroupPlayerSwitchInstrumentsByAdmin,
|
|
264
|
-
],
|
|
265
|
-
[NotificationActionsFilter.Offers]: [
|
|
266
|
-
NotificationActions.OfferApplicantAdd,
|
|
267
|
-
NotificationActions.OfferSelectApplicant,
|
|
268
|
-
NotificationActions.OfferAlarm,
|
|
269
|
-
],
|
|
270
|
-
[NotificationActionsFilter.ThemeClaims]: [
|
|
271
|
-
NotificationActions.ThemeClaimNew,
|
|
272
|
-
NotificationActions.ThemeClaimUpdate,
|
|
273
|
-
],
|
|
274
|
-
[NotificationActionsFilter.Permissions]: [
|
|
275
|
-
NotificationActions.GroupPlayerAddPermissions,
|
|
276
|
-
NotificationActions.GroupPlayerRemovePermissions,
|
|
277
|
-
NotificationActions.GroupPlayerEditPermissions,
|
|
278
|
-
],
|
|
279
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { GeoPoint, Timestamp } from '@google-cloud/firestore';
|
|
2
|
-
import { DefaultInstrumentId } from '../../helpers/instruments';
|
|
3
|
-
import { Descendant } from '../../helpers/slate';
|
|
4
|
-
import { CreatedOn } from '../../helpers/types';
|
|
5
|
-
import { GroupBasicData } from '../Group/types';
|
|
6
|
-
import { UserBasicData } from '../User/types';
|
|
7
|
-
export declare enum OfferHistoryAction {
|
|
8
|
-
Created = "created",
|
|
9
|
-
Remove = "remove",
|
|
10
|
-
EditLocality = "edit_locality",
|
|
11
|
-
EditDescription = "edit_description",
|
|
12
|
-
EditDeadline = "edit_deadline",
|
|
13
|
-
SelectApplicant = "select_applicant",
|
|
14
|
-
CloseSelection = "close_selection",
|
|
15
|
-
ReopenSelection = "reopen_selection",
|
|
16
|
-
NewApplicant = "new_applicant",
|
|
17
|
-
RemoveApplicant = "remove_applicant"
|
|
18
|
-
}
|
|
19
|
-
export declare enum OfferType {
|
|
20
|
-
Group = "group",
|
|
21
|
-
Event = "event"
|
|
22
|
-
}
|
|
23
|
-
export interface OfferAlgoliaData extends Pick<OfferData, 'country' | 'locality' | 'title' | 'timezone' | 'type' | 'groupId' | 'eventId' | 'applicantsIds' | 'instrument'> {
|
|
24
|
-
objectID: string;
|
|
25
|
-
_geoloc: {
|
|
26
|
-
lat: number;
|
|
27
|
-
lng: number;
|
|
28
|
-
};
|
|
29
|
-
deadlineAt: number | null;
|
|
30
|
-
createdAt: number;
|
|
31
|
-
isClosed: boolean;
|
|
32
|
-
groupInfo: Omit<GroupBasicData, 'location'>;
|
|
33
|
-
}
|
|
34
|
-
export interface OfferApplicantBasicData extends UserBasicData {
|
|
35
|
-
appliedAt: Timestamp;
|
|
36
|
-
viewedAt: Timestamp | null;
|
|
37
|
-
selectedAt: Timestamp | null;
|
|
38
|
-
discardedAt: Timestamp | null;
|
|
39
|
-
message: string | null;
|
|
40
|
-
}
|
|
41
|
-
export interface AOfferApplicantBasicData extends OfferApplicantBasicData {
|
|
42
|
-
id: string;
|
|
43
|
-
}
|
|
44
|
-
export interface OfferData {
|
|
45
|
-
title: string;
|
|
46
|
-
description: Descendant[];
|
|
47
|
-
instrument: DefaultInstrumentId;
|
|
48
|
-
locality: string;
|
|
49
|
-
location: GeoPoint;
|
|
50
|
-
country: string;
|
|
51
|
-
type: OfferType;
|
|
52
|
-
groupId: string;
|
|
53
|
-
groupInfo: GroupBasicData;
|
|
54
|
-
eventId: string | null;
|
|
55
|
-
applicantsIds: string[];
|
|
56
|
-
applicants: Record<string, OfferApplicantBasicData>;
|
|
57
|
-
deadlineAt: Timestamp | null;
|
|
58
|
-
timezone: string;
|
|
59
|
-
selectionClosedAt: Timestamp | null;
|
|
60
|
-
selectionClosedBy: string | null;
|
|
61
|
-
updatedAt: Timestamp;
|
|
62
|
-
updatedBy: string;
|
|
63
|
-
deletedAt: Timestamp | null;
|
|
64
|
-
deletedBy: string | null;
|
|
65
|
-
views: number;
|
|
66
|
-
readonly createdAt: Timestamp;
|
|
67
|
-
readonly createdBy: string;
|
|
68
|
-
readonly createdOn: CreatedOn;
|
|
69
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OfferType = exports.OfferHistoryAction = void 0;
|
|
4
|
-
var OfferHistoryAction;
|
|
5
|
-
(function (OfferHistoryAction) {
|
|
6
|
-
OfferHistoryAction["Created"] = "created";
|
|
7
|
-
OfferHistoryAction["Remove"] = "remove";
|
|
8
|
-
OfferHistoryAction["EditLocality"] = "edit_locality";
|
|
9
|
-
OfferHistoryAction["EditDescription"] = "edit_description";
|
|
10
|
-
OfferHistoryAction["EditDeadline"] = "edit_deadline";
|
|
11
|
-
OfferHistoryAction["SelectApplicant"] = "select_applicant";
|
|
12
|
-
OfferHistoryAction["CloseSelection"] = "close_selection";
|
|
13
|
-
OfferHistoryAction["ReopenSelection"] = "reopen_selection";
|
|
14
|
-
OfferHistoryAction["NewApplicant"] = "new_applicant";
|
|
15
|
-
OfferHistoryAction["RemoveApplicant"] = "remove_applicant";
|
|
16
|
-
})(OfferHistoryAction = exports.OfferHistoryAction || (exports.OfferHistoryAction = {}));
|
|
17
|
-
var OfferType;
|
|
18
|
-
(function (OfferType) {
|
|
19
|
-
OfferType["Group"] = "group";
|
|
20
|
-
OfferType["Event"] = "event";
|
|
21
|
-
})(OfferType = exports.OfferType || (exports.OfferType = {}));
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.rowToPartnershipCommunicationData = exports.PARTNERSHIP_COMMUNICATION_TABLE = void 0;
|
|
4
|
-
exports.PARTNERSHIP_COMMUNICATION_TABLE = 'partnership_communication';
|
|
5
|
-
function rowToPartnershipCommunicationData(row) {
|
|
6
|
-
return {
|
|
7
|
-
id: row.id,
|
|
8
|
-
partnershipId: row.partnershipId,
|
|
9
|
-
title: row.title,
|
|
10
|
-
message: row.message ?? [],
|
|
11
|
-
messageHtml: row.messageHtml,
|
|
12
|
-
imageURL: row.imageURL,
|
|
13
|
-
ownerName: row.ownerName,
|
|
14
|
-
ownerId: row.ownerId,
|
|
15
|
-
attachments: row.attachments ?? [],
|
|
16
|
-
recipients: row.recipients ?? [],
|
|
17
|
-
recipientsCount: row.recipientsCount,
|
|
18
|
-
imagesPath: row.imagesPath ?? [],
|
|
19
|
-
status: row.status,
|
|
20
|
-
scheduledAt: row.scheduledAt,
|
|
21
|
-
createdAt: row.createdAt,
|
|
22
|
-
deletedAt: row.deletedAt,
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
exports.rowToPartnershipCommunicationData = rowToPartnershipCommunicationData;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { GroupBasicData } from '../../Group/types';
|
|
2
|
-
import { PartnershipGroupData } from './types';
|
|
3
|
-
/**
|
|
4
|
-
* Modelo plain-object para un enlace partnership↔group. Los datos básicos del
|
|
5
|
-
* grupo provienen del JOIN a `group` (ver `./supabase.ts`); este modelo solo
|
|
6
|
-
* añade los metadatos del enlace (`linkedAt`/`linkedBy`).
|
|
7
|
-
*/
|
|
8
|
-
export default class PartnershipGroup {
|
|
9
|
-
id: string;
|
|
10
|
-
exists: boolean;
|
|
11
|
-
private _data;
|
|
12
|
-
constructor(data: PartnershipGroupData);
|
|
13
|
-
get data(): PartnershipGroupData;
|
|
14
|
-
get partnershipId(): string;
|
|
15
|
-
get linkedAt(): string;
|
|
16
|
-
get linkedBy(): string | null;
|
|
17
|
-
get displayName(): string;
|
|
18
|
-
get photoURL(): string;
|
|
19
|
-
get username(): string;
|
|
20
|
-
get locality(): string;
|
|
21
|
-
get location(): FirebaseFirestore.GeoPoint;
|
|
22
|
-
get musicStyle(): string;
|
|
23
|
-
get tinyInfo(): {
|
|
24
|
-
displayName: string;
|
|
25
|
-
photoURL: string;
|
|
26
|
-
};
|
|
27
|
-
get basicInfo(): GroupBasicData;
|
|
28
|
-
}
|