@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.
Files changed (348) hide show
  1. package/functions/auth.d.ts +3 -1
  2. package/functions/composer.d.ts +13 -0
  3. package/functions/composerComposition.d.ts +102 -0
  4. package/functions/composerNotification.d.ts +38 -0
  5. package/functions/composerPayout.d.ts +20 -0
  6. package/functions/customer.d.ts +4 -0
  7. package/functions/event.js +1 -1
  8. package/functions/eventPlayer.js +1 -1
  9. package/functions/eventRepertory.d.ts +2 -0
  10. package/functions/eventRepertory.js +1 -1
  11. package/functions/groupRepertory.d.ts +110 -0
  12. package/functions/index.d.ts +30 -0
  13. package/functions/index.js +31 -1
  14. package/functions/misc.d.ts +6 -0
  15. package/functions/regions.js +31 -1
  16. package/helpers/appScenes.js +1 -1
  17. package/helpers/auth.d.ts +2 -9
  18. package/helpers/auth.js +33 -14
  19. package/helpers/badges.js +1 -1
  20. package/helpers/catalogBridge.d.ts +121 -0
  21. package/helpers/catalogBridge.js +95 -0
  22. package/helpers/collections.js +2 -2
  23. package/helpers/communicationTemplate/index.d.ts +3 -2
  24. package/helpers/communicationTemplate/index.js +5 -5
  25. package/helpers/compositionCategories/genres.d.ts +922 -0
  26. package/helpers/compositionCategories/genres.js +940 -0
  27. package/helpers/compositionCategories/index.d.ts +2 -0
  28. package/helpers/compositionCategories/index.js +18 -0
  29. package/helpers/compositionCategories/styles.d.ts +181 -0
  30. package/helpers/compositionCategories/styles.js +197 -0
  31. package/helpers/compositionSoloistOffstageParts/index.d.ts +34 -0
  32. package/helpers/compositionSoloistOffstageParts/index.js +117 -0
  33. package/helpers/currency.d.ts +19 -0
  34. package/helpers/currency.js +85 -0
  35. package/helpers/currencyConversion.d.ts +45 -0
  36. package/helpers/currencyConversion.js +119 -0
  37. package/helpers/dataStructures/trees/index.d.ts +12 -0
  38. package/helpers/dataStructures/trees/index.js +71 -0
  39. package/helpers/dataStructures/trees/types.d.ts +14 -0
  40. package/helpers/dataStructures/trees/types.js +5 -0
  41. package/helpers/dlinks.js +1 -1
  42. package/helpers/errors.d.ts +1 -0
  43. package/helpers/errors.js +2 -1
  44. package/helpers/externalUrls.d.ts +12 -0
  45. package/helpers/externalUrls.js +40 -0
  46. package/helpers/instruments/index.d.ts +17 -0
  47. package/helpers/instruments/index.js +5 -1
  48. package/helpers/instruments/lists.d.ts +3 -3
  49. package/helpers/instruments/lists.js +5 -5
  50. package/helpers/musicStyles/index.d.ts +22 -4
  51. package/helpers/musicStyles/index.js +114 -35
  52. package/helpers/notifications/index.js +1 -1
  53. package/helpers/objects.d.ts +5 -1
  54. package/helpers/objects.js +7 -6
  55. package/helpers/plans.js +2 -2
  56. package/helpers/rates.d.ts +1 -1
  57. package/helpers/slate.d.ts +64 -5
  58. package/helpers/slate.js +7 -1
  59. package/helpers/ts-extras/array-includes.js +1 -2
  60. package/helpers/ts-extras/as-mutable.js +1 -2
  61. package/helpers/ts-extras/assert-error.js +1 -2
  62. package/helpers/ts-extras/index.js +1 -1
  63. package/helpers/ts-extras/is-defined.js +1 -2
  64. package/helpers/ts-extras/is-empty.js +1 -2
  65. package/helpers/ts-extras/is-infinite.js +1 -2
  66. package/helpers/ts-extras/is-present.js +1 -2
  67. package/helpers/ts-extras/object-entries.d.ts +1 -1
  68. package/helpers/ts-extras/object-from-entries.d.ts +1 -1
  69. package/helpers/ts-extras/object-has-own.js +1 -2
  70. package/helpers/ts-extras/object-keys.d.ts +1 -1
  71. package/helpers/ts-extras/object-keys.js +0 -1
  72. package/helpers/ts-extras/set-has.js +1 -2
  73. package/helpers/types.d.ts +26 -0
  74. package/helpers/types.js +25 -5
  75. package/lang/ca.json +325 -91
  76. package/lang/de.json +325 -91
  77. package/lang/en.json +325 -91
  78. package/lang/es.json +325 -91
  79. package/lang/eu.json +325 -91
  80. package/lang/fr.json +325 -91
  81. package/lang/gl.json +325 -91
  82. package/lang/index.js +3 -2
  83. package/lang/it.json +325 -91
  84. package/lang/nl.json +325 -91
  85. package/lang/pt.json +325 -91
  86. package/models/Communication/types.d.ts +0 -16
  87. package/models/Communication/types.js +3 -9
  88. package/models/CompositionGenre/index.d.ts +9 -0
  89. package/models/CompositionGenre/index.js +16 -0
  90. package/models/CompositionStyle/index.d.ts +9 -0
  91. package/models/CompositionStyle/index.js +16 -0
  92. package/models/Counters/Group/Analytics/types.js +1 -1
  93. package/models/Customer/index.d.ts +1 -1
  94. package/models/Customer/index.js +3 -3
  95. package/models/Customer/types.js +1 -1
  96. package/models/Evento/Player/types.js +3 -3
  97. package/models/Evento/Repertory/types.d.ts +2 -1
  98. package/models/Evento/index.d.ts +3 -2
  99. package/models/Evento/index.js +5 -4
  100. package/models/Evento/types.d.ts +2 -31
  101. package/models/Evento/types.js +8 -39
  102. package/models/Federation/index.d.ts +1 -1
  103. package/models/Federation/index.js +3 -3
  104. package/models/Group/Analytics/types.js +1 -1
  105. package/models/Group/Player/types.js +1 -1
  106. package/models/Group/Repertory/File/Section/index.d.ts +3 -3
  107. package/models/Group/Repertory/File/Section/index.js +3 -2
  108. package/models/Group/Repertory/File/Section/types.d.ts +7 -0
  109. package/models/Group/Repertory/File/Section/types.js +1 -1
  110. package/models/Group/Repertory/File/index.d.ts +4 -2
  111. package/models/Group/Repertory/File/index.js +4 -4
  112. package/models/Group/Repertory/FilePath/index.d.ts +3 -4
  113. package/models/Group/Repertory/index.d.ts +12 -4
  114. package/models/Group/Repertory/index.js +9 -0
  115. package/models/Group/Repertory/types.d.ts +21 -32
  116. package/models/Group/Repertory/types.js +8 -18
  117. package/models/Group/index.d.ts +15 -13
  118. package/models/Group/index.js +16 -15
  119. package/models/Group/types.d.ts +6 -66
  120. package/models/Group/types.js +8 -50
  121. package/models/Instrument/{group.d.ts → fromRecord.d.ts} +4 -5
  122. package/models/Instrument/{group.js → fromRecord.js} +10 -10
  123. package/models/Instrument/index.d.ts +2 -0
  124. package/models/Instrument/index.js +38 -1
  125. package/models/Inventory/Item/types.js +2 -2
  126. package/models/Inventory/types.js +1 -1
  127. package/models/Notification/types.js +2 -2
  128. package/models/Offer/types.d.ts +0 -12
  129. package/models/Offer/types.js +2 -15
  130. package/models/Partnership/Partner/types.js +1 -1
  131. package/models/Partnership/Payment/types.js +2 -2
  132. package/models/Partnership/index.d.ts +1 -1
  133. package/models/Partnership/index.js +3 -3
  134. package/models/Partnership/types.js +1 -1
  135. package/models/Repertory/types.d.ts +12 -0
  136. package/models/Repertory/types.js +2 -2
  137. package/models/User/Group/index.js +1 -2
  138. package/models/User/index.d.ts +1 -1
  139. package/models/User/index.js +3 -3
  140. package/models/User/types.d.ts +2 -1
  141. package/models/User/types.js +7 -7
  142. package/models/WebhookEvent/types.js +1 -1
  143. package/models/supabase/Comm/index.d.ts +24 -0
  144. package/models/supabase/Comm/index.js +68 -0
  145. package/models/supabase/Comm/types.d.ts +6 -0
  146. package/models/supabase/CommHistory/index.d.ts +22 -0
  147. package/models/supabase/CommHistory/index.js +37 -0
  148. package/models/supabase/CommHistory/types.d.ts +11 -0
  149. package/models/supabase/CommHistory/types.js +9 -0
  150. package/models/supabase/Composer/Composition/Acquisition/index.d.ts +4 -0
  151. package/models/supabase/Composer/Composition/Acquisition/index.js +9 -0
  152. package/models/supabase/Composer/Composition/Acquisition/types.d.ts +36 -0
  153. package/models/supabase/Composer/Composition/Favorite/index.d.ts +4 -0
  154. package/models/supabase/Composer/Composition/Favorite/index.js +9 -0
  155. package/models/supabase/Composer/Composition/Favorite/types.d.ts +6 -0
  156. package/models/supabase/Composer/Composition/View/index.d.ts +4 -0
  157. package/models/supabase/Composer/Composition/View/index.js +9 -0
  158. package/models/supabase/Composer/Composition/View/types.d.ts +6 -0
  159. package/models/supabase/Composer/Composition/index.d.ts +5284 -0
  160. package/models/supabase/Composer/Composition/index.js +166 -0
  161. package/models/supabase/Composer/Composition/types.d.ts +96 -0
  162. package/models/supabase/Composer/Composition/types.js +32 -0
  163. package/models/supabase/Composer/Notification/index.d.ts +4 -0
  164. package/models/supabase/Composer/Notification/index.js +9 -0
  165. package/models/supabase/Composer/Notification/types.d.ts +39 -0
  166. package/models/supabase/Composer/Notification/types.js +27 -0
  167. package/models/supabase/Composer/Payout/index.d.ts +4 -0
  168. package/models/supabase/Composer/Payout/index.js +9 -0
  169. package/models/supabase/Composer/Payout/status.d.ts +1 -0
  170. package/models/supabase/Composer/Payout/types.d.ts +5 -0
  171. package/models/supabase/Composer/PerformanceAttendance/types.d.ts +4 -0
  172. package/models/supabase/Composer/index.d.ts +78 -0
  173. package/models/supabase/Composer/index.js +105 -0
  174. package/models/supabase/Composer/types.d.ts +6 -0
  175. package/models/supabase/Composer/types.js +2 -0
  176. package/models/supabase/EventHistory/index.d.ts +22 -0
  177. package/models/supabase/EventHistory/index.js +37 -0
  178. package/models/supabase/EventHistory/types.d.ts +36 -0
  179. package/models/supabase/EventHistory/types.js +34 -0
  180. package/models/supabase/GroupHistory/index.d.ts +21 -0
  181. package/models/supabase/GroupHistory/index.js +34 -0
  182. package/models/supabase/GroupHistory/types.d.ts +27 -0
  183. package/models/supabase/GroupHistory/types.js +25 -0
  184. package/models/supabase/Model/index.d.ts +10 -0
  185. package/models/supabase/Model/index.js +21 -0
  186. package/models/supabase/OfferHistory/index.d.ts +22 -0
  187. package/models/supabase/OfferHistory/index.js +37 -0
  188. package/models/supabase/OfferHistory/types.d.ts +18 -0
  189. package/models/supabase/OfferHistory/types.js +16 -0
  190. package/models/supabase/Repertoire/index.d.ts +16 -0
  191. package/models/supabase/Repertoire/index.js +43 -0
  192. package/models/supabase/Repertoire/types.d.ts +6 -0
  193. package/models/supabase/Repertoire/types.js +2 -0
  194. package/models/supabase/RepertoireHistory/index.d.ts +22 -0
  195. package/models/supabase/RepertoireHistory/index.js +37 -0
  196. package/models/supabase/RepertoireHistory/types.d.ts +21 -0
  197. package/models/supabase/RepertoireHistory/types.js +19 -0
  198. package/models/supabase/User/Group/index.d.ts +11 -0
  199. package/models/supabase/User/Group/index.js +30 -0
  200. package/models/supabase/User/Group/types.d.ts +6 -0
  201. package/models/supabase/User/Group/types.js +2 -0
  202. package/models/supabase/User/index.d.ts +13 -0
  203. package/models/supabase/User/index.js +37 -0
  204. package/models/supabase/User/types.d.ts +6 -0
  205. package/models/supabase/User/types.js +2 -0
  206. package/package.json +28 -20
  207. package/types/firestore.d.ts +0 -1
  208. package/types/firestore.js +1 -1
  209. package/types/supabase/catalog.d.ts +46 -0
  210. package/types/supabase/catalog.js +2 -0
  211. package/types/supabase/catalog.ts +67 -0
  212. package/types/supabase/composerMetrics.d.ts +27 -0
  213. package/types/supabase/composerMetrics.js +2 -0
  214. package/types/supabase/composerMetrics.ts +26 -0
  215. package/types/supabase/generated.d.ts +3158 -451
  216. package/types/supabase/generated.js +13 -0
  217. package/types/supabase/generated.ts +3116 -496
  218. package/types/supabase/index.d.ts +155 -19
  219. package/types/supabase/index.js +15 -0
  220. package/types/supabase/index.ts +288 -21
  221. package/types/supabase/overwrites/index.d.ts +1 -1
  222. package/types/supabase/overwrites/index.ts +1 -1
  223. package/types/supabase/overwrites/tables/comm/model.d.ts +4 -0
  224. package/types/supabase/overwrites/tables/comm/model.js +2 -0
  225. package/types/supabase/overwrites/tables/comm/model.ts +4 -0
  226. package/types/supabase/overwrites/tables/comm_history/index.d.ts +7 -0
  227. package/types/supabase/overwrites/tables/comm_history/index.js +2 -0
  228. package/types/supabase/overwrites/tables/comm_history/index.ts +9 -0
  229. package/types/supabase/overwrites/tables/comm_history/model.d.ts +10 -0
  230. package/types/supabase/overwrites/tables/comm_history/model.js +2 -0
  231. package/types/supabase/overwrites/tables/comm_history/model.ts +13 -0
  232. package/types/supabase/overwrites/tables/common/index.js +2 -0
  233. package/types/supabase/overwrites/tables/composer/index.d.ts +9 -0
  234. package/types/supabase/overwrites/tables/composer/index.js +2 -0
  235. package/types/supabase/overwrites/tables/composer/index.ts +10 -0
  236. package/types/supabase/overwrites/tables/composer/model.d.ts +12 -0
  237. package/types/supabase/overwrites/tables/composer/model.js +2 -0
  238. package/types/supabase/overwrites/tables/composer/model.ts +15 -0
  239. package/types/supabase/overwrites/tables/composer/publicModel.d.ts +11 -0
  240. package/types/supabase/overwrites/tables/composer/publicModel.js +2 -0
  241. package/types/supabase/overwrites/tables/composer/publicModel.ts +15 -0
  242. package/types/supabase/overwrites/tables/composerComposition/index.d.ts +18 -0
  243. package/types/supabase/overwrites/tables/composerComposition/index.js +2 -0
  244. package/types/supabase/overwrites/tables/composerComposition/index.ts +24 -0
  245. package/types/supabase/overwrites/tables/composerComposition/model.d.ts +9 -0
  246. package/types/supabase/overwrites/tables/composerComposition/model.js +2 -0
  247. package/types/supabase/overwrites/tables/composerComposition/model.ts +26 -0
  248. package/types/supabase/overwrites/tables/composerComposition/publicModel.d.ts +9 -0
  249. package/types/supabase/overwrites/tables/composerComposition/publicModel.js +2 -0
  250. package/types/supabase/overwrites/tables/composerComposition/publicModel.ts +37 -0
  251. package/types/supabase/overwrites/tables/composerNotification/index.d.ts +19 -0
  252. package/types/supabase/overwrites/tables/composerNotification/index.js +2 -0
  253. package/types/supabase/overwrites/tables/composerNotification/index.ts +25 -0
  254. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.d.ts +2 -0
  255. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.js +2 -0
  256. package/types/supabase/overwrites/tables/composerOwnedTransaction/model.ts +3 -0
  257. package/types/supabase/overwrites/tables/composerPayout/index.d.ts +7 -0
  258. package/types/supabase/overwrites/tables/composerPayout/index.js +2 -0
  259. package/types/supabase/overwrites/tables/composerPayout/index.ts +8 -0
  260. package/types/supabase/overwrites/tables/compositionAcquisition/index.d.ts +4 -0
  261. package/types/supabase/overwrites/tables/compositionAcquisition/index.js +2 -0
  262. package/types/supabase/overwrites/tables/compositionAcquisition/index.ts +8 -0
  263. package/types/supabase/overwrites/tables/compositionAcquisition/model.d.ts +6 -0
  264. package/types/supabase/overwrites/tables/compositionAcquisition/model.js +2 -0
  265. package/types/supabase/overwrites/tables/compositionAcquisition/model.ts +11 -0
  266. package/types/supabase/overwrites/tables/compositionFavorite/index.d.ts +1 -0
  267. package/types/supabase/overwrites/tables/compositionFavorite/index.js +2 -0
  268. package/types/supabase/overwrites/tables/compositionFavorite/index.ts +2 -0
  269. package/types/supabase/overwrites/tables/compositionFavorite/model.d.ts +1 -0
  270. package/types/supabase/overwrites/tables/compositionFavorite/model.js +2 -0
  271. package/types/supabase/overwrites/tables/compositionFavorite/model.ts +1 -0
  272. package/types/supabase/overwrites/tables/compositionView/index.d.ts +1 -0
  273. package/types/supabase/overwrites/tables/compositionView/index.js +2 -0
  274. package/types/supabase/overwrites/tables/compositionView/index.ts +2 -0
  275. package/types/supabase/overwrites/tables/compositionView/model.d.ts +1 -0
  276. package/types/supabase/overwrites/tables/compositionView/model.js +2 -0
  277. package/types/supabase/overwrites/tables/compositionView/model.ts +1 -0
  278. package/types/supabase/overwrites/tables/currencyExchangeRate/index.d.ts +16 -0
  279. package/types/supabase/overwrites/tables/currencyExchangeRate/index.js +2 -0
  280. package/types/supabase/overwrites/tables/currencyExchangeRate/index.ts +18 -0
  281. package/types/supabase/overwrites/{event.d.ts → tables/event/index.d.ts} +1 -1
  282. package/types/supabase/overwrites/tables/event/index.js +2 -0
  283. package/types/supabase/overwrites/{event.ts → tables/event/index.ts} +1 -1
  284. package/types/supabase/overwrites/tables/event_history/index.d.ts +7 -0
  285. package/types/supabase/overwrites/tables/event_history/index.js +2 -0
  286. package/types/supabase/overwrites/tables/event_history/index.ts +9 -0
  287. package/types/supabase/overwrites/tables/event_history/model.d.ts +10 -0
  288. package/types/supabase/overwrites/tables/event_history/model.js +2 -0
  289. package/types/supabase/overwrites/tables/event_history/model.ts +13 -0
  290. package/types/supabase/overwrites/{group.d.ts → tables/group/index.d.ts} +2 -5
  291. package/types/supabase/overwrites/tables/group/index.js +2 -0
  292. package/types/supabase/overwrites/{group.ts → tables/group/index.ts} +2 -6
  293. package/types/supabase/overwrites/tables/group_history/index.d.ts +7 -0
  294. package/types/supabase/overwrites/tables/group_history/index.js +2 -0
  295. package/types/supabase/overwrites/tables/group_history/index.ts +9 -0
  296. package/types/supabase/overwrites/tables/group_history/model.d.ts +10 -0
  297. package/types/supabase/overwrites/tables/group_history/model.js +2 -0
  298. package/types/supabase/overwrites/tables/group_history/model.ts +13 -0
  299. package/types/supabase/overwrites/{offer.d.ts → tables/offer/index.d.ts} +6 -2
  300. package/types/supabase/overwrites/tables/offer/index.js +2 -0
  301. package/types/supabase/overwrites/{offer.ts → tables/offer/index.ts} +7 -2
  302. package/types/supabase/overwrites/tables/offer_history/index.d.ts +7 -0
  303. package/types/supabase/overwrites/tables/offer_history/index.js +2 -0
  304. package/types/supabase/overwrites/tables/offer_history/index.ts +9 -0
  305. package/types/supabase/overwrites/tables/offer_history/model.d.ts +10 -0
  306. package/types/supabase/overwrites/tables/offer_history/model.js +2 -0
  307. package/types/supabase/overwrites/tables/offer_history/model.ts +13 -0
  308. package/types/supabase/overwrites/tables/repertoire/model.d.ts +7 -0
  309. package/types/supabase/overwrites/tables/repertoire/model.js +2 -0
  310. package/types/supabase/overwrites/tables/repertoire/model.ts +7 -0
  311. package/types/supabase/overwrites/tables/repertoire_history/index.d.ts +7 -0
  312. package/types/supabase/overwrites/tables/repertoire_history/index.js +2 -0
  313. package/types/supabase/overwrites/tables/repertoire_history/index.ts +9 -0
  314. package/types/supabase/overwrites/tables/repertoire_history/model.d.ts +10 -0
  315. package/types/supabase/overwrites/tables/repertoire_history/model.js +2 -0
  316. package/types/supabase/overwrites/tables/repertoire_history/model.ts +13 -0
  317. package/types/supabase/overwrites/tables/user/index.d.ts +11 -0
  318. package/types/supabase/overwrites/tables/user/index.js +2 -0
  319. package/types/supabase/overwrites/tables/user/index.ts +13 -0
  320. package/helpers/glissandooAdmin.d.ts +0 -3
  321. package/helpers/glissandooAdmin.js +0 -6
  322. package/types/supabase/overwrites/comm.d.ts +0 -18
  323. package/types/supabase/overwrites/comm.ts +0 -18
  324. package/types/supabase/overwrites/comm_history.d.ts +0 -10
  325. package/types/supabase/overwrites/comm_history.ts +0 -10
  326. package/types/supabase/overwrites/event_history.d.ts +0 -10
  327. package/types/supabase/overwrites/event_history.ts +0 -10
  328. package/types/supabase/overwrites/group_history.d.ts +0 -9
  329. package/types/supabase/overwrites/group_history.ts +0 -9
  330. package/types/supabase/overwrites/offer_history.d.ts +0 -10
  331. package/types/supabase/overwrites/offer_history.ts +0 -10
  332. package/types/supabase/overwrites/repertoire.d.ts +0 -12
  333. package/types/supabase/overwrites/repertoire.ts +0 -12
  334. package/types/supabase/overwrites/repertoire_history.d.ts +0 -10
  335. package/types/supabase/overwrites/repertoire_history.ts +0 -10
  336. /package/{types/supabase/overwrites/comm.js → functions/composer.js} +0 -0
  337. /package/{types/supabase/overwrites/comm_history.js → functions/composerComposition.js} +0 -0
  338. /package/{types/supabase/overwrites/event.js → functions/composerNotification.js} +0 -0
  339. /package/{types/supabase/overwrites/event_history.js → functions/composerPayout.js} +0 -0
  340. /package/{types/supabase/overwrites/group.js → models/supabase/Comm/types.js} +0 -0
  341. /package/{types/supabase/overwrites/group_history.js → models/supabase/Composer/Composition/Acquisition/types.js} +0 -0
  342. /package/{types/supabase/overwrites/offer.js → models/supabase/Composer/Composition/Favorite/types.js} +0 -0
  343. /package/{types/supabase/overwrites/offer_history.js → models/supabase/Composer/Composition/View/types.js} +0 -0
  344. /package/{types/supabase/overwrites/repertoire.js → models/supabase/Composer/Payout/status.js} +0 -0
  345. /package/{types/supabase/overwrites/repertoire_history.js → models/supabase/Composer/Payout/types.js} +0 -0
  346. /package/{types/supabase/overwrites/utils.js → models/supabase/Composer/PerformanceAttendance/types.js} +0 -0
  347. /package/types/supabase/overwrites/{utils.d.ts → tables/common/index.d.ts} +0 -0
  348. /package/types/supabase/overwrites/{utils.ts → tables/common/index.ts} +0 -0
@@ -1,5 +1,9 @@
1
- import { DefaultInstrumentId } from '../../../helpers/instruments';
2
- import { GroupBasic } from './group';
1
+ import { DefaultInstrumentId } from '../../../../../helpers/instruments';
2
+ import { GroupBasicData } from '../../../../../models/Group/types';
3
+ import { Location } from '../common';
4
+ export type GroupBasic = Omit<GroupBasicData, 'location'> & {
5
+ location: Location;
6
+ };
3
7
  export interface OfferApplicantBasicData {
4
8
  appliedAt: string;
5
9
  selectedAt: string | null;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,10 @@
1
- import { DefaultInstrumentId } from '../../../helpers/instruments';
2
- import { GroupBasic } from './group';
1
+ import { DefaultInstrumentId } from '../../../../../helpers/instruments';
2
+ import { GroupBasicData } from '../../../../../models/Group/types';
3
+ import { Location } from '../common';
4
+
5
+ export type GroupBasic = Omit<GroupBasicData, 'location'> & {
6
+ location: Location;
7
+ };
3
8
 
4
9
  export interface OfferApplicantBasicData {
5
10
  appliedAt: string;
@@ -0,0 +1,7 @@
1
+ import { OfferHistoryAction } from '../../../../../models/supabase/OfferHistory/types';
2
+ export type OfferHistoryValue = Record<string, unknown>;
3
+ export interface OfferHistoryOverwrite {
4
+ action: OfferHistoryAction;
5
+ value: OfferHistoryValue | null;
6
+ prev_value: OfferHistoryValue | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { OfferHistoryAction } from '../../../../../models/supabase/OfferHistory/types';
2
+
3
+ export type OfferHistoryValue = Record<string, unknown>;
4
+
5
+ export interface OfferHistoryOverwrite {
6
+ action: OfferHistoryAction;
7
+ value: OfferHistoryValue | null;
8
+ prev_value: OfferHistoryValue | null;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { OfferHistoryValue } from '.';
2
+ import { OfferHistoryAction } from '../../../../../models/supabase/OfferHistory/types';
3
+ import { Database } from '../../../generated';
4
+ type OfferHistoryRow = Omit<Database['public']['Tables']['offer_history']['Row'], 'value' | 'prev_value'>;
5
+ export interface OfferHistoryModelOverwrite extends OfferHistoryRow {
6
+ action: OfferHistoryAction;
7
+ value: OfferHistoryValue | null;
8
+ prev_value: OfferHistoryValue | null;
9
+ }
10
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import { OfferHistoryValue } from '.';
2
+ import { OfferHistoryAction } from '../../../../../models/supabase/OfferHistory/types';
3
+ import { Database } from '../../../generated';
4
+
5
+ type OfferHistoryRow = Omit<
6
+ Database['public']['Tables']['offer_history']['Row'],
7
+ 'value' | 'prev_value'
8
+ >;
9
+ export interface OfferHistoryModelOverwrite extends OfferHistoryRow {
10
+ action: OfferHistoryAction;
11
+ value: OfferHistoryValue | null;
12
+ prev_value: OfferHistoryValue | null;
13
+ }
@@ -0,0 +1,7 @@
1
+ import { SourceComposition } from '../../../../../models/Group/Repertory/types';
2
+ import { Database } from '../../../generated';
3
+ type RepertoireRow = Database['public']['Tables']['repertoire']['Row'];
4
+ export type RepertoireModelOverwrite = Omit<RepertoireRow, 'source_composition'> & {
5
+ source_composition: SourceComposition | null;
6
+ };
7
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import { SourceComposition } from '../../../../../models/Group/Repertory/types';
2
+ import { Database } from '../../../generated';
3
+
4
+ type RepertoireRow = Database['public']['Tables']['repertoire']['Row'];
5
+ export type RepertoireModelOverwrite = Omit<RepertoireRow, 'source_composition'> & {
6
+ source_composition: SourceComposition | null;
7
+ };
@@ -0,0 +1,7 @@
1
+ import { RepertoireHistoryAction } from '../../../../../models/supabase/RepertoireHistory/types';
2
+ export type RepertoireHistoryValue = Record<string, unknown>;
3
+ export interface RepertoireHistoryOverwrite {
4
+ action: RepertoireHistoryAction;
5
+ value: RepertoireHistoryValue | null;
6
+ prev_value: RepertoireHistoryValue | null;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import { RepertoireHistoryAction } from '../../../../../models/supabase/RepertoireHistory/types';
2
+
3
+ export type RepertoireHistoryValue = Record<string, unknown>;
4
+
5
+ export interface RepertoireHistoryOverwrite {
6
+ action: RepertoireHistoryAction;
7
+ value: RepertoireHistoryValue | null;
8
+ prev_value: RepertoireHistoryValue | null;
9
+ }
@@ -0,0 +1,10 @@
1
+ import { RepertoireHistoryValue } from '.';
2
+ import { RepertoireHistoryAction } from '../../../../../models/supabase/RepertoireHistory/types';
3
+ import { Database } from '../../../generated';
4
+ type RepertoireHistoryRow = Omit<Database['public']['Tables']['repertoire_history']['Row'], 'value' | 'prev_value'>;
5
+ export interface RepertoireHistoryModelOverwrite extends RepertoireHistoryRow {
6
+ action: RepertoireHistoryAction;
7
+ value: RepertoireHistoryValue | null;
8
+ prev_value: RepertoireHistoryValue | null;
9
+ }
10
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import { RepertoireHistoryValue } from '.';
2
+ import { RepertoireHistoryAction } from '../../../../../models/supabase/RepertoireHistory/types';
3
+ import { Database } from '../../../generated';
4
+
5
+ type RepertoireHistoryRow = Omit<
6
+ Database['public']['Tables']['repertoire_history']['Row'],
7
+ 'value' | 'prev_value'
8
+ >;
9
+ export interface RepertoireHistoryModelOverwrite extends RepertoireHistoryRow {
10
+ action: RepertoireHistoryAction;
11
+ value: RepertoireHistoryValue | null;
12
+ prev_value: RepertoireHistoryValue | null;
13
+ }
@@ -0,0 +1,11 @@
1
+ import { UserData } from '../../../../../models/User/types';
2
+ export type UserRawData = Record<string, unknown>;
3
+ export interface UserOverwrite {
4
+ notificationSettings: UserData['notificationSettings'];
5
+ emailSettings: UserData['emailSettings'];
6
+ dashboardConfig: UserData['dashboardConfig'];
7
+ appConfig: UserData['appConfig'];
8
+ devices: UserData['devices'];
9
+ whatsNew: UserData['whatsNew'];
10
+ rawData: UserRawData;
11
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import { UserData } from '../../../../../models/User/types';
2
+
3
+ export type UserRawData = Record<string, unknown>;
4
+
5
+ export interface UserOverwrite {
6
+ notificationSettings: UserData['notificationSettings'];
7
+ emailSettings: UserData['emailSettings'];
8
+ dashboardConfig: UserData['dashboardConfig'];
9
+ appConfig: UserData['appConfig'];
10
+ devices: UserData['devices'];
11
+ whatsNew: UserData['whatsNew'];
12
+ rawData: UserRawData;
13
+ }
@@ -1,3 +0,0 @@
1
- import { CollectionNames } from './collections';
2
- export declare const GLISSANDOO_ADMIN_URL = "https://admin.glissandoo.com/";
3
- export declare const getGlissandooAdminEntityURL: (entity: CollectionNames, id: string) => string;
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getGlissandooAdminEntityURL = exports.GLISSANDOO_ADMIN_URL = void 0;
4
- exports.GLISSANDOO_ADMIN_URL = 'https://admin.glissandoo.com/';
5
- const getGlissandooAdminEntityURL = (entity, id) => new URL(`/${entity}s/${id}`, exports.GLISSANDOO_ADMIN_URL).href;
6
- exports.getGlissandooAdminEntityURL = getGlissandooAdminEntityURL;
@@ -1,18 +0,0 @@
1
- export interface CommOverwrite {
2
- id: string;
3
- group_id: string;
4
- owner_id: string;
5
- title: string;
6
- type: string;
7
- comments_count: number;
8
- block_answers: boolean;
9
- template_id: string | null;
10
- server_template: string | null;
11
- server: boolean;
12
- recipients: string[];
13
- deleted_at: string | null;
14
- deleted_by: string | null;
15
- edited_at: string | null;
16
- edited_by: string | null;
17
- created_at: string;
18
- }
@@ -1,18 +0,0 @@
1
- export interface CommOverwrite {
2
- id: string;
3
- group_id: string;
4
- owner_id: string;
5
- title: string;
6
- type: string;
7
- comments_count: number;
8
- block_answers: boolean;
9
- template_id: string | null;
10
- server_template: string | null;
11
- server: boolean;
12
- recipients: string[];
13
- deleted_at: string | null;
14
- deleted_by: string | null;
15
- edited_at: string | null;
16
- edited_by: string | null;
17
- created_at: string;
18
- }
@@ -1,10 +0,0 @@
1
- export interface CommHistory {
2
- id: string;
3
- comm_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }
@@ -1,10 +0,0 @@
1
- export interface CommHistory {
2
- id: string;
3
- comm_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }
@@ -1,10 +0,0 @@
1
- export interface EventHistory {
2
- id: string;
3
- event_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }
@@ -1,10 +0,0 @@
1
- export interface EventHistory {
2
- id: string;
3
- event_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }
@@ -1,9 +0,0 @@
1
- export interface GroupHistory {
2
- id: string;
3
- user_id: string;
4
- group_id: string;
5
- action: string;
6
- created_at: string;
7
- value: Record<string, unknown> | null;
8
- prev_value: Record<string, unknown> | null;
9
- }
@@ -1,9 +0,0 @@
1
- export interface GroupHistory {
2
- id: string;
3
- user_id: string;
4
- group_id: string;
5
- action: string;
6
- created_at: string;
7
- value: Record<string, unknown> | null;
8
- prev_value: Record<string, unknown> | null;
9
- }
@@ -1,10 +0,0 @@
1
- export interface OfferHistory {
2
- id: string;
3
- offer_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }
@@ -1,10 +0,0 @@
1
- export interface OfferHistory {
2
- id: string;
3
- offer_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }
@@ -1,12 +0,0 @@
1
- export interface RepertoireOverwrite {
2
- id: string;
3
- group_id: string;
4
- title: string;
5
- compositor: string | null;
6
- tags: string[];
7
- events: string[];
8
- owner_id: string;
9
- created_at: string;
10
- visibility: string;
11
- last_event_datetime: string | null;
12
- }
@@ -1,12 +0,0 @@
1
- export interface RepertoireOverwrite {
2
- id: string;
3
- group_id: string;
4
- title: string;
5
- compositor: string | null;
6
- tags: string[];
7
- events: string[];
8
- owner_id: string;
9
- created_at: string;
10
- visibility: string;
11
- last_event_datetime: string | null;
12
- }
@@ -1,10 +0,0 @@
1
- export interface RepertoireHistory {
2
- id: string;
3
- theme_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }
@@ -1,10 +0,0 @@
1
- export interface RepertoireHistory {
2
- id: string;
3
- theme_id: string;
4
- user_id: string;
5
- group_id: string;
6
- action: string;
7
- created_at: string;
8
- value: Record<string, unknown> | null;
9
- prev_value: Record<string, unknown> | null;
10
- }