@misonetwork/sdk 0.6.0 → 0.8.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 (296) hide show
  1. package/README.md +181 -124
  2. package/dist/client.d.ts +1229 -15
  3. package/dist/client.d.ts.map +1 -1
  4. package/dist/client.js +43 -21
  5. package/dist/client.js.map +1 -1
  6. package/dist/contracts/composition_credits/composition_credits.d.ts +181 -0
  7. package/dist/contracts/composition_credits/composition_credits.d.ts.map +1 -0
  8. package/dist/contracts/composition_credits/composition_credits.js +109 -0
  9. package/dist/contracts/composition_credits/composition_credits.js.map +1 -0
  10. package/dist/contracts/composition_credits/composition_party_role.d.ts +119 -0
  11. package/dist/contracts/composition_credits/composition_party_role.d.ts.map +1 -0
  12. package/dist/contracts/composition_credits/composition_party_role.js +139 -0
  13. package/dist/contracts/composition_credits/composition_party_role.js.map +1 -0
  14. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts +24 -0
  15. package/dist/contracts/composition_credits/deps/miso_credit/credit.d.ts.map +1 -0
  16. package/dist/contracts/composition_credits/deps/miso_credit/credit.js +23 -0
  17. package/dist/contracts/composition_credits/deps/miso_credit/credit.js.map +1 -0
  18. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts +37 -0
  19. package/dist/contracts/composition_credits/deps/sui/vec_map.d.ts.map +1 -0
  20. package/dist/contracts/composition_credits/deps/sui/vec_map.js +28 -0
  21. package/dist/contracts/composition_credits/deps/sui/vec_map.js.map +1 -0
  22. package/dist/contracts/miso/composition.d.ts +17 -39
  23. package/dist/contracts/miso/composition.d.ts.map +1 -1
  24. package/dist/contracts/miso/composition.js +18 -39
  25. package/dist/contracts/miso/composition.js.map +1 -1
  26. package/dist/contracts/miso/deps/bps/bps.d.ts +1 -1
  27. package/dist/contracts/miso/deps/bps/bps.js +1 -1
  28. package/dist/contracts/miso/recording.d.ts +44 -19
  29. package/dist/contracts/miso/recording.d.ts.map +1 -1
  30. package/dist/contracts/miso/recording.js +46 -20
  31. package/dist/contracts/miso/recording.js.map +1 -1
  32. package/dist/contracts/miso/release.d.ts +63 -37
  33. package/dist/contracts/miso/release.d.ts.map +1 -1
  34. package/dist/contracts/miso/release.js +65 -38
  35. package/dist/contracts/miso/release.js.map +1 -1
  36. package/dist/contracts/miso/track.d.ts +41 -10
  37. package/dist/contracts/miso/track.d.ts.map +1 -1
  38. package/dist/contracts/miso/track.js +44 -10
  39. package/dist/contracts/miso/track.js.map +1 -1
  40. package/dist/contracts/recording_advisory/recording_advisory.d.ts +194 -0
  41. package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -0
  42. package/dist/contracts/recording_advisory/recording_advisory.js +204 -0
  43. package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -0
  44. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts +24 -0
  45. package/dist/contracts/recording_credits/deps/miso_credit/credit.d.ts.map +1 -0
  46. package/dist/contracts/recording_credits/deps/miso_credit/credit.js +23 -0
  47. package/dist/contracts/recording_credits/deps/miso_credit/credit.js.map +1 -0
  48. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts +37 -0
  49. package/dist/contracts/recording_credits/deps/sui/vec_map.d.ts.map +1 -0
  50. package/dist/contracts/recording_credits/deps/sui/vec_map.js +28 -0
  51. package/dist/contracts/recording_credits/deps/sui/vec_map.js.map +1 -0
  52. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts +21 -0
  53. package/dist/contracts/recording_credits/deps/sui/vec_set.d.ts.map +1 -0
  54. package/dist/contracts/recording_credits/deps/sui/vec_set.js +20 -0
  55. package/dist/contracts/recording_credits/deps/sui/vec_set.js.map +1 -0
  56. package/dist/contracts/recording_credits/recording_credits.d.ts +2313 -0
  57. package/dist/contracts/recording_credits/recording_credits.d.ts.map +1 -0
  58. package/dist/contracts/recording_credits/recording_credits.js +270 -0
  59. package/dist/contracts/recording_credits/recording_credits.js.map +1 -0
  60. package/dist/contracts/recording_credits/recording_party_role.d.ts +1174 -0
  61. package/dist/contracts/recording_credits/recording_party_role.d.ts.map +1 -0
  62. package/dist/contracts/recording_credits/recording_party_role.js +692 -0
  63. package/dist/contracts/recording_credits/recording_party_role.js.map +1 -0
  64. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +6 -0
  65. package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +1 -0
  66. package/dist/contracts/recording_language/deps/language_code/language_code.js +8 -0
  67. package/dist/contracts/recording_language/deps/language_code/language_code.js.map +1 -0
  68. package/dist/contracts/recording_language/recording_language.d.ts +152 -0
  69. package/dist/contracts/recording_language/recording_language.d.ts.map +1 -0
  70. package/dist/contracts/recording_language/recording_language.js +149 -0
  71. package/dist/contracts/recording_language/recording_language.js.map +1 -0
  72. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts +52 -0
  73. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts.map +1 -0
  74. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js +37 -0
  75. package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js.map +1 -0
  76. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +131 -0
  77. package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -0
  78. package/dist/contracts/recording_master_reference/recording_master_reference.js +121 -0
  79. package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -0
  80. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts +52 -0
  81. package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts.map +1 -0
  82. package/dist/contracts/recording_preview/deps/ori/walrus_data.js +37 -0
  83. package/dist/contracts/recording_preview/deps/ori/walrus_data.js.map +1 -0
  84. package/dist/contracts/recording_preview/recording_preview.d.ts +104 -0
  85. package/dist/contracts/recording_preview/recording_preview.d.ts.map +1 -0
  86. package/dist/contracts/recording_preview/recording_preview.js +94 -0
  87. package/dist/contracts/recording_preview/recording_preview.js.map +1 -0
  88. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts +52 -0
  89. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.d.ts.map +1 -0
  90. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js +37 -0
  91. package/dist/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.js.map +1 -0
  92. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts +46 -0
  93. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.d.ts.map +1 -0
  94. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js +21 -0
  95. package/dist/contracts/release_cover_art/deps/cover_art/cover_art.js.map +1 -0
  96. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts +33 -0
  97. package/dist/contracts/release_cover_art/deps/per_track/per_track.d.ts.map +1 -0
  98. package/dist/contracts/release_cover_art/deps/per_track/per_track.js +32 -0
  99. package/dist/contracts/release_cover_art/deps/per_track/per_track.js.map +1 -0
  100. package/dist/contracts/release_cover_art/release_cover_art.d.ts +300 -0
  101. package/dist/contracts/release_cover_art/release_cover_art.d.ts.map +1 -0
  102. package/dist/contracts/release_cover_art/release_cover_art.js +168 -0
  103. package/dist/contracts/release_cover_art/release_cover_art.js.map +1 -0
  104. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts +24 -0
  105. package/dist/contracts/release_credits/deps/miso_credit/credit.d.ts.map +1 -0
  106. package/dist/contracts/release_credits/deps/miso_credit/credit.js +23 -0
  107. package/dist/contracts/release_credits/deps/miso_credit/credit.js.map +1 -0
  108. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts +37 -0
  109. package/dist/contracts/release_credits/deps/sui/vec_map.d.ts.map +1 -0
  110. package/dist/contracts/release_credits/deps/sui/vec_map.js +28 -0
  111. package/dist/contracts/release_credits/deps/sui/vec_map.js.map +1 -0
  112. package/dist/contracts/release_credits/release_credits.d.ts +142 -0
  113. package/dist/contracts/release_credits/release_credits.d.ts.map +1 -0
  114. package/dist/contracts/release_credits/release_credits.js +108 -0
  115. package/dist/contracts/release_credits/release_credits.js.map +1 -0
  116. package/dist/contracts/release_credits/release_party_role.d.ts +58 -0
  117. package/dist/contracts/release_credits/release_party_role.d.ts.map +1 -0
  118. package/dist/contracts/release_credits/release_party_role.js +66 -0
  119. package/dist/contracts/release_credits/release_party_role.js.map +1 -0
  120. package/dist/contracts/release_description/release_description.d.ts +112 -0
  121. package/dist/contracts/release_description/release_description.d.ts.map +1 -0
  122. package/dist/contracts/release_description/release_description.js +123 -0
  123. package/dist/contracts/release_description/release_description.js.map +1 -0
  124. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +644 -0
  125. package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -0
  126. package/dist/contracts/release_dsp_link/release_dsp_link.js +556 -0
  127. package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -0
  128. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts +33 -0
  129. package/dist/contracts/release_genre/deps/per_track/per_track.d.ts.map +1 -0
  130. package/dist/contracts/release_genre/deps/per_track/per_track.js +32 -0
  131. package/dist/contracts/release_genre/deps/per_track/per_track.js.map +1 -0
  132. package/dist/contracts/release_genre/release_genre.d.ts +193 -0
  133. package/dist/contracts/release_genre/release_genre.d.ts.map +1 -0
  134. package/dist/contracts/release_genre/release_genre.js +207 -0
  135. package/dist/contracts/release_genre/release_genre.js.map +1 -0
  136. package/dist/contracts/release_kind/release_kind.d.ts +98 -0
  137. package/dist/contracts/release_kind/release_kind.d.ts.map +1 -0
  138. package/dist/contracts/release_kind/release_kind.js +109 -0
  139. package/dist/contracts/release_kind/release_kind.js.map +1 -0
  140. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts +52 -0
  141. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts.map +1 -0
  142. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js +37 -0
  143. package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js.map +1 -0
  144. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts +91 -0
  145. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts.map +1 -0
  146. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js +91 -0
  147. package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js.map +1 -0
  148. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts +54 -0
  149. package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts.map +1 -0
  150. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js +37 -0
  151. package/dist/contracts/routed_stake/deps/royalty_pool/stake.js.map +1 -0
  152. package/dist/contracts/routed_stake/deps/std/type_name.d.ts +18 -0
  153. package/dist/contracts/routed_stake/deps/std/type_name.d.ts.map +1 -0
  154. package/dist/contracts/routed_stake/deps/std/type_name.js +20 -0
  155. package/dist/contracts/routed_stake/deps/std/type_name.js.map +1 -0
  156. package/dist/contracts/routed_stake/deps/sui/balance.d.ts +13 -0
  157. package/dist/contracts/routed_stake/deps/sui/balance.d.ts.map +1 -0
  158. package/dist/contracts/routed_stake/deps/sui/balance.js +15 -0
  159. package/dist/contracts/routed_stake/deps/sui/balance.js.map +1 -0
  160. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts +37 -0
  161. package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts.map +1 -0
  162. package/dist/contracts/routed_stake/deps/sui/vec_map.js +28 -0
  163. package/dist/contracts/routed_stake/deps/sui/vec_map.js.map +1 -0
  164. package/dist/contracts/routed_stake/routed_stake.d.ts +356 -0
  165. package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -0
  166. package/dist/contracts/routed_stake/routed_stake.js +311 -0
  167. package/dist/contracts/routed_stake/routed_stake.js.map +1 -0
  168. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts +18 -0
  169. package/dist/contracts/royalty_pool/deps/std/type_name.d.ts.map +1 -0
  170. package/dist/contracts/royalty_pool/deps/std/type_name.js +20 -0
  171. package/dist/contracts/royalty_pool/deps/std/type_name.js.map +1 -0
  172. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts +13 -0
  173. package/dist/contracts/royalty_pool/deps/sui/balance.d.ts.map +1 -0
  174. package/dist/contracts/royalty_pool/deps/sui/balance.js +15 -0
  175. package/dist/contracts/royalty_pool/deps/sui/balance.js.map +1 -0
  176. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts +37 -0
  177. package/dist/contracts/royalty_pool/deps/sui/vec_map.d.ts.map +1 -0
  178. package/dist/contracts/royalty_pool/deps/sui/vec_map.js +28 -0
  179. package/dist/contracts/royalty_pool/deps/sui/vec_map.js.map +1 -0
  180. package/dist/contracts/royalty_pool/pool.d.ts +394 -0
  181. package/dist/contracts/royalty_pool/pool.d.ts.map +1 -0
  182. package/dist/contracts/royalty_pool/pool.js +387 -0
  183. package/dist/contracts/royalty_pool/pool.js.map +1 -0
  184. package/dist/contracts/royalty_pool/stake.d.ts +202 -0
  185. package/dist/contracts/royalty_pool/stake.d.ts.map +1 -0
  186. package/dist/contracts/royalty_pool/stake.js +197 -0
  187. package/dist/contracts/royalty_pool/stake.js.map +1 -0
  188. package/dist/contracts.d.ts +37 -3
  189. package/dist/contracts.d.ts.map +1 -1
  190. package/dist/contracts.js +42 -8
  191. package/dist/contracts.js.map +1 -1
  192. package/dist/deployments.d.ts +46 -12
  193. package/dist/deployments.d.ts.map +1 -1
  194. package/dist/deployments.js +119 -11
  195. package/dist/deployments.js.map +1 -1
  196. package/dist/events.d.ts +1081 -0
  197. package/dist/events.d.ts.map +1 -0
  198. package/dist/events.js +124 -0
  199. package/dist/events.js.map +1 -0
  200. package/dist/execute.d.ts.map +1 -1
  201. package/dist/execute.js +0 -4
  202. package/dist/execute.js.map +1 -1
  203. package/dist/index.d.ts +3 -0
  204. package/dist/index.d.ts.map +1 -1
  205. package/dist/index.js +6 -3
  206. package/dist/index.js.map +1 -1
  207. package/dist/internal.d.ts.map +1 -1
  208. package/dist/internal.js +2 -0
  209. package/dist/internal.js.map +1 -1
  210. package/dist/numeric.d.ts +5 -0
  211. package/dist/numeric.d.ts.map +1 -0
  212. package/dist/numeric.js +21 -0
  213. package/dist/numeric.js.map +1 -0
  214. package/dist/packages.d.ts +159 -0
  215. package/dist/packages.d.ts.map +1 -0
  216. package/dist/packages.js +179 -0
  217. package/dist/packages.js.map +1 -0
  218. package/dist/parsers.d.ts +5 -2
  219. package/dist/parsers.d.ts.map +1 -1
  220. package/dist/parsers.js +19 -7
  221. package/dist/parsers.js.map +1 -1
  222. package/dist/queries.d.ts +92 -0
  223. package/dist/queries.d.ts.map +1 -1
  224. package/dist/queries.js +132 -23
  225. package/dist/queries.js.map +1 -1
  226. package/dist/transactions.d.ts +96 -12
  227. package/dist/transactions.d.ts.map +1 -1
  228. package/dist/transactions.js +124 -14
  229. package/dist/transactions.js.map +1 -1
  230. package/dist/types.d.ts +35 -8
  231. package/dist/types.d.ts.map +1 -1
  232. package/dist/view.d.ts +6 -5
  233. package/dist/view.d.ts.map +1 -1
  234. package/dist/view.js +8 -2
  235. package/dist/view.js.map +1 -1
  236. package/package.json +14 -4
  237. package/src/client.ts +57 -25
  238. package/src/contracts/composition_credits/composition_credits.ts +169 -0
  239. package/src/contracts/composition_credits/composition_party_role.ts +189 -0
  240. package/src/contracts/composition_credits/deps/miso_credit/credit.ts +27 -0
  241. package/src/contracts/composition_credits/deps/sui/vec_map.ts +33 -0
  242. package/src/contracts/miso/composition.ts +24 -61
  243. package/src/contracts/miso/deps/bps/bps.ts +3 -3
  244. package/src/contracts/miso/recording.ts +69 -32
  245. package/src/contracts/miso/release.ts +103 -67
  246. package/src/contracts/miso/track.ts +56 -13
  247. package/src/contracts/recording_advisory/recording_advisory.ts +315 -0
  248. package/src/contracts/recording_credits/deps/miso_credit/credit.ts +27 -0
  249. package/src/contracts/recording_credits/deps/sui/vec_map.ts +33 -0
  250. package/src/contracts/recording_credits/deps/sui/vec_set.ts +21 -0
  251. package/src/contracts/recording_credits/recording_credits.ts +458 -0
  252. package/src/contracts/recording_credits/recording_party_role.ts +1041 -0
  253. package/src/contracts/recording_language/deps/language_code/language_code.ts +7 -0
  254. package/src/contracts/recording_language/recording_language.ts +237 -0
  255. package/src/contracts/recording_master_reference/deps/ori/walrus_data.ts +36 -0
  256. package/src/contracts/recording_master_reference/recording_master_reference.ts +181 -0
  257. package/src/contracts/recording_preview/deps/ori/walrus_data.ts +36 -0
  258. package/src/contracts/recording_preview/recording_preview.ts +154 -0
  259. package/src/contracts/release_cover_art/deps/0x340057f2174fb59e4626742dd2b46c662237837b6187450cb59e4976ce7eac78/walrus_data.ts +36 -0
  260. package/src/contracts/release_cover_art/deps/cover_art/cover_art.ts +23 -0
  261. package/src/contracts/release_cover_art/deps/per_track/per_track.ts +36 -0
  262. package/src/contracts/release_cover_art/release_cover_art.ts +251 -0
  263. package/src/contracts/release_credits/deps/miso_credit/credit.ts +27 -0
  264. package/src/contracts/release_credits/deps/sui/vec_map.ts +33 -0
  265. package/src/contracts/release_credits/release_credits.ts +156 -0
  266. package/src/contracts/release_credits/release_party_role.ts +87 -0
  267. package/src/contracts/release_description/release_description.ts +167 -0
  268. package/src/contracts/release_dsp_link/release_dsp_link.ts +813 -0
  269. package/src/contracts/release_genre/deps/per_track/per_track.ts +36 -0
  270. package/src/contracts/release_genre/release_genre.ts +314 -0
  271. package/src/contracts/release_kind/release_kind.ts +153 -0
  272. package/src/contracts/release_snapshot_bundle/deps/ori/walrus_data.ts +36 -0
  273. package/src/contracts/release_snapshot_bundle/release_snapshot_bundle.ts +124 -0
  274. package/src/contracts/routed_stake/deps/royalty_pool/stake.ts +39 -0
  275. package/src/contracts/routed_stake/deps/std/type_name.ts +22 -0
  276. package/src/contracts/routed_stake/deps/sui/balance.ts +17 -0
  277. package/src/contracts/routed_stake/deps/sui/vec_map.ts +33 -0
  278. package/src/contracts/routed_stake/routed_stake.ts +508 -0
  279. package/src/contracts/royalty_pool/deps/std/type_name.ts +22 -0
  280. package/src/contracts/royalty_pool/deps/sui/balance.ts +17 -0
  281. package/src/contracts/royalty_pool/deps/sui/vec_map.ts +33 -0
  282. package/src/contracts/royalty_pool/pool.ts +613 -0
  283. package/src/contracts/royalty_pool/stake.ts +317 -0
  284. package/src/contracts.ts +59 -6
  285. package/src/deployments.ts +160 -22
  286. package/src/events.ts +129 -0
  287. package/src/execute.ts +0 -4
  288. package/src/index.ts +6 -3
  289. package/src/internal.ts +2 -4
  290. package/src/numeric.ts +25 -0
  291. package/src/packages.ts +251 -0
  292. package/src/parsers.ts +32 -11
  293. package/src/queries.ts +227 -25
  294. package/src/transactions.ts +255 -23
  295. package/src/types.ts +37 -9
  296. package/src/view.ts +12 -6
@@ -0,0 +1,37 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { type BcsType } from '@mysten/sui/bcs';
5
+ import { MoveStruct } from '../../../utils/index.ts';
6
+ /** An entry in the map */
7
+ export declare function Entry<K extends BcsType<any>, V extends BcsType<any>>(...typeParameters: [
8
+ K,
9
+ V
10
+ ]): MoveStruct<{
11
+ key: K;
12
+ value: V;
13
+ }, `0x2::vec_map::Entry<${K["name"]}, ${V["name"]}>`>;
14
+ /**
15
+ * A map data structure backed by a vector. The map is guaranteed not to contain
16
+ * duplicate keys, but entries are _not_ sorted by key--entries are included in
17
+ * insertion order. All operations are O(N) in the size of the map--the intention
18
+ * of this data structure is only to provide the convenience of programming against
19
+ * a map API. Large maps should use handwritten parent/child relationships instead.
20
+ * Maps that need sorted iteration rather than insertion order iteration should
21
+ * also be handwritten.
22
+ */
23
+ export declare function VecMap<K extends BcsType<any>, V extends BcsType<any>>(...typeParameters: [
24
+ K,
25
+ V
26
+ ]): MoveStruct<{
27
+ contents: BcsType<{
28
+ key: K extends BcsType<infer U, any, string> ? U : never;
29
+ value: V extends BcsType<infer U, any, string> ? U : never;
30
+ }[], Iterable<{
31
+ key: K extends BcsType<any, infer U_1, string> ? U_1 : never;
32
+ value: V extends BcsType<any, infer U_1, string> ? U_1 : never;
33
+ }> & {
34
+ length: number;
35
+ }, string>;
36
+ }, `0x2::vec_map::VecMap<${K["name"]}, ${V["name"]}>`>;
37
+ //# sourceMappingURL=vec_map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vec_map.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/release_credits/deps/sui/vec_map.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAE,KAAK,OAAO,EAAO,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,0BAA0B;AAC1B,wBAAgB,KAAK,CAAC,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACrF,CAAC;IACD,CAAC;CACJ;;;sDAKA;AACD;;;;;;;;GAQG;AACH,wBAAgB,MAAM,CAAC,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,SAAS,OAAO,CAAC,GAAG,CAAC,EAAE,GAAG,cAAc,EAAE;IACtF,CAAC;IACD,CAAC;CACJ;;;;;;;;;;uDAIA"}
@@ -0,0 +1,28 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ import { bcs } from '@mysten/sui/bcs';
5
+ import { MoveStruct } from "../../../utils/index.js";
6
+ const $moduleName = '0x2::vec_map';
7
+ /** An entry in the map */
8
+ export function Entry(...typeParameters) {
9
+ return new MoveStruct({ name: `${$moduleName}::Entry<${typeParameters[0].name}, ${typeParameters[1].name}>`, fields: {
10
+ key: typeParameters[0],
11
+ value: typeParameters[1]
12
+ } });
13
+ }
14
+ /**
15
+ * A map data structure backed by a vector. The map is guaranteed not to contain
16
+ * duplicate keys, but entries are _not_ sorted by key--entries are included in
17
+ * insertion order. All operations are O(N) in the size of the map--the intention
18
+ * of this data structure is only to provide the convenience of programming against
19
+ * a map API. Large maps should use handwritten parent/child relationships instead.
20
+ * Maps that need sorted iteration rather than insertion order iteration should
21
+ * also be handwritten.
22
+ */
23
+ export function VecMap(...typeParameters) {
24
+ return new MoveStruct({ name: `${$moduleName}::VecMap<${typeParameters[0].name}, ${typeParameters[1].name}>`, fields: {
25
+ contents: bcs.vector(Entry(typeParameters[0], typeParameters[1]))
26
+ } });
27
+ }
28
+ //# sourceMappingURL=vec_map.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vec_map.js","sourceRoot":"","sources":["../../../../../src/contracts/release_credits/deps/sui/vec_map.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAChE,OAAO,EAAgB,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,MAAM,WAAW,GAAG,cAAc,CAAC;AACnC,0BAA0B;AAC1B,MAAM,UAAU,KAAK,CAAiD,GAAG,cAGxE;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,WAAW,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,GAAG,EAAE,MAAM,EAAE;YACvI,GAAG,EAAE,cAAc,CAAC,CAAC,CAAC;YACtB,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC;SAC3B,EAAE,CAAC,CAAC;AACb,CAAC;AACD;;;;;;;;GAQG;AACH,MAAM,UAAU,MAAM,CAAiD,GAAG,cAGzE;IACG,OAAO,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,YAAY,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,IAAiB,GAAG,EAAE,MAAM,EAAE;YACxI,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;SACpE,EAAE,CAAC,CAAC;AACb,CAAC"}
@@ -0,0 +1,142 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * First-party credits extension for releases.
6
+ *
7
+ * Attribution (top-line billing) is display-oriented and varies across platforms,
8
+ * so it lives here as a dynamic field on the release rather than in immutable
9
+ * core. The data is attached under `ExtensionKey()` via the release's cap-gated
10
+ * `uid_mut`, so every mutation is authorized by the release's admin and credits
11
+ * survive into any lifecycle state (they may be attached before or after the
12
+ * release is published).
13
+ *
14
+ * This is Miso's canonical credits standard; because it is an extension, other
15
+ * parties may publish their own release-credits standard against the same
16
+ * `Release`. Credits are NOT read by the economics — they are attribution.
17
+ *
18
+ * A release credit carries exactly one role: a party is billed as either a
19
+ * `Primary` or a `Featured` artist on the release.
20
+ */
21
+ import { MoveTuple, MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
22
+ import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
23
+ export declare const ExtensionKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/release_credits::release_credits::ExtensionKey">;
24
+ export declare const ReleaseCredits: MoveStruct<{
25
+ /** Map of party IDs to their credit (display name + role). */
26
+ credits: MoveStruct<{
27
+ contents: import("@mysten/sui/bcs").BcsType<{
28
+ key: string;
29
+ value: {
30
+ display_name: string;
31
+ roles: import("@mysten/bcs").EnumOutputShapeWithKeys<{
32
+ Primary: true;
33
+ Featured: true;
34
+ }, "Featured" | "Primary">[];
35
+ };
36
+ }[], Iterable<{
37
+ key: string | Uint8Array<ArrayBufferLike>;
38
+ value: {
39
+ display_name: string;
40
+ roles: Iterable<import("@mysten/bcs").EnumInputShape<{
41
+ Primary: boolean | object | null;
42
+ Featured: boolean | object | null;
43
+ }>> & {
44
+ length: number;
45
+ };
46
+ };
47
+ }> & {
48
+ length: number;
49
+ }, string>;
50
+ }, "0x2::vec_map::VecMap<bytes[32], miso_credit::credit::Credit<@local-pkg/release_credits::release_party_role::ReleasePartyRole>>">;
51
+ }, "@local-pkg/release_credits::release_credits::ReleaseCredits">;
52
+ export declare const CreditAddedEvent: MoveStruct<{
53
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
54
+ party_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
55
+ credit: MoveStruct<{
56
+ display_name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
57
+ roles: import("@mysten/sui/bcs").BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
58
+ Primary: true;
59
+ Featured: true;
60
+ }, "Featured" | "Primary">[], Iterable<import("@mysten/bcs").EnumInputShape<{
61
+ Primary: boolean | object | null;
62
+ Featured: boolean | object | null;
63
+ }>> & {
64
+ length: number;
65
+ }, string>;
66
+ }, "miso_credit::credit::Credit<@local-pkg/release_credits::release_party_role::ReleasePartyRole>">;
67
+ }, "@local-pkg/release_credits::release_credits::CreditAddedEvent">;
68
+ export declare const CreditRemovedEvent: MoveStruct<{
69
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
70
+ party_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
71
+ credit: MoveStruct<{
72
+ display_name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
73
+ roles: import("@mysten/sui/bcs").BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
74
+ Primary: true;
75
+ Featured: true;
76
+ }, "Featured" | "Primary">[], Iterable<import("@mysten/bcs").EnumInputShape<{
77
+ Primary: boolean | object | null;
78
+ Featured: boolean | object | null;
79
+ }>> & {
80
+ length: number;
81
+ }, string>;
82
+ }, "miso_credit::credit::Credit<@local-pkg/release_credits::release_party_role::ReleasePartyRole>">;
83
+ }, "@local-pkg/release_credits::release_credits::CreditRemovedEvent">;
84
+ export interface AddCreditArguments {
85
+ self: RawTransactionArgument<string>;
86
+ cap: RawTransactionArgument<string>;
87
+ party: RawTransactionArgument<string>;
88
+ credit: TransactionArgument;
89
+ }
90
+ export interface AddCreditOptions {
91
+ package?: string;
92
+ arguments: AddCreditArguments | [
93
+ self: RawTransactionArgument<string>,
94
+ cap: RawTransactionArgument<string>,
95
+ party: RawTransactionArgument<string>,
96
+ credit: TransactionArgument
97
+ ];
98
+ }
99
+ /**
100
+ * Adds a credit for a party on the release, lazily creating the credits record on
101
+ * first use. Each credit must carry exactly one role (Primary or Featured), and a
102
+ * party may hold at most one credit. Requires the release's admin capability.
103
+ */
104
+ export declare function addCredit(options: AddCreditOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
105
+ export interface RemoveCreditArguments {
106
+ self: RawTransactionArgument<string>;
107
+ cap: RawTransactionArgument<string>;
108
+ partyId: RawTransactionArgument<string>;
109
+ }
110
+ export interface RemoveCreditOptions {
111
+ package?: string;
112
+ arguments: RemoveCreditArguments | [
113
+ self: RawTransactionArgument<string>,
114
+ cap: RawTransactionArgument<string>,
115
+ partyId: RawTransactionArgument<string>
116
+ ];
117
+ }
118
+ /** Removes a party's credit. Requires the release's admin capability. */
119
+ export declare function removeCredit(options: RemoveCreditOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
120
+ export interface HasCreditsArguments {
121
+ self: RawTransactionArgument<string>;
122
+ }
123
+ export interface HasCreditsOptions {
124
+ package?: string;
125
+ arguments: HasCreditsArguments | [
126
+ self: RawTransactionArgument<string>
127
+ ];
128
+ }
129
+ /** Returns whether a credits record has been attached to this release yet. */
130
+ export declare function hasCredits(options: HasCreditsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
131
+ export interface CreditsArguments {
132
+ self: RawTransactionArgument<string>;
133
+ }
134
+ export interface CreditsOptions {
135
+ package?: string;
136
+ arguments: CreditsArguments | [
137
+ self: RawTransactionArgument<string>
138
+ ];
139
+ }
140
+ /** Returns the party-to-credit map. Aborts if no credits are attached. */
141
+ export declare function credits(options: CreditsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
142
+ //# sourceMappingURL=release_credits.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release_credits.d.ts","sourceRoot":"","sources":["../../../src/contracts/release_credits/release_credits.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAA0B,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE/G,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAKtF,eAAO,MAAM,YAAY,gJAAgF,CAAC;AAC1G,eAAO,MAAM,cAAc;IACnB,8DAA8D;;;;;;;;;;;;;;;;;;;;;;;;;;iEAE9D,CAAC;AACT,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;mEAIrB,CAAC;AACT,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;qEAIvB,CAAC;AACT,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACrC,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACpC,KAAK,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACtC,MAAM,EAAE,mBAAmB,CAAC;CAC/B;AACD,MAAM,WAAW,gBAAgB;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,kBAAkB,GAAG;QAC5B,IAAI,EAAE,sBAAsB,CAAC,MA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,EAAE,gBAAgB,GAAG;QAC1B,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;KACvC,CAAC;CACL;AACD,0EAA0E;AAC1E,wBAAgB,OAAO,CAAC,OAAO,EAAE,cAAc,IAMnC,IAAI,WAAW,0DAM1B"}
@@ -0,0 +1,108 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * First-party credits extension for releases.
6
+ *
7
+ * Attribution (top-line billing) is display-oriented and varies across platforms,
8
+ * so it lives here as a dynamic field on the release rather than in immutable
9
+ * core. The data is attached under `ExtensionKey()` via the release's cap-gated
10
+ * `uid_mut`, so every mutation is authorized by the release's admin and credits
11
+ * survive into any lifecycle state (they may be attached before or after the
12
+ * release is published).
13
+ *
14
+ * This is Miso's canonical credits standard; because it is an extension, other
15
+ * parties may publish their own release-credits standard against the same
16
+ * `Release`. Credits are NOT read by the economics — they are attribution.
17
+ *
18
+ * A release credit carries exactly one role: a party is billed as either a
19
+ * `Primary` or a `Featured` artist on the release.
20
+ */
21
+ import { MoveTuple, MoveStruct, normalizeMoveArguments } from "../utils/index.js";
22
+ import { bcs } from '@mysten/sui/bcs';
23
+ import {} from '@mysten/sui/transactions';
24
+ import * as vec_map from "./deps/sui/vec_map.js";
25
+ import * as credit from "./deps/miso_credit/credit.js";
26
+ import * as release_party_role from "./release_party_role.js";
27
+ const $moduleName = '@local-pkg/release_credits::release_credits';
28
+ export const ExtensionKey = new MoveTuple({ name: `${$moduleName}::ExtensionKey`, fields: [bcs.bool()] });
29
+ export const ReleaseCredits = new MoveStruct({ name: `${$moduleName}::ReleaseCredits`, fields: {
30
+ /** Map of party IDs to their credit (display name + role). */
31
+ credits: vec_map.VecMap(bcs.Address, credit.Credit(release_party_role.ReleasePartyRole))
32
+ } });
33
+ export const CreditAddedEvent = new MoveStruct({ name: `${$moduleName}::CreditAddedEvent`, fields: {
34
+ release_id: bcs.Address,
35
+ party_id: bcs.Address,
36
+ credit: credit.Credit(release_party_role.ReleasePartyRole)
37
+ } });
38
+ export const CreditRemovedEvent = new MoveStruct({ name: `${$moduleName}::CreditRemovedEvent`, fields: {
39
+ release_id: bcs.Address,
40
+ party_id: bcs.Address,
41
+ credit: credit.Credit(release_party_role.ReleasePartyRole)
42
+ } });
43
+ /**
44
+ * Adds a credit for a party on the release, lazily creating the credits record on
45
+ * first use. Each credit must carry exactly one role (Primary or Featured), and a
46
+ * party may hold at most one credit. Requires the release's admin capability.
47
+ */
48
+ export function addCredit(options) {
49
+ const packageAddress = options.package ?? '@local-pkg/release_credits';
50
+ const argumentsTypes = [
51
+ null,
52
+ null,
53
+ null,
54
+ null
55
+ ];
56
+ const parameterNames = ["self", "cap", "party", "credit"];
57
+ return (tx) => tx.moveCall({
58
+ package: packageAddress,
59
+ module: 'release_credits',
60
+ function: 'add_credit',
61
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
62
+ });
63
+ }
64
+ /** Removes a party's credit. Requires the release's admin capability. */
65
+ export function removeCredit(options) {
66
+ const packageAddress = options.package ?? '@local-pkg/release_credits';
67
+ const argumentsTypes = [
68
+ null,
69
+ null,
70
+ '0x2::object::ID'
71
+ ];
72
+ const parameterNames = ["self", "cap", "partyId"];
73
+ return (tx) => tx.moveCall({
74
+ package: packageAddress,
75
+ module: 'release_credits',
76
+ function: 'remove_credit',
77
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
78
+ });
79
+ }
80
+ /** Returns whether a credits record has been attached to this release yet. */
81
+ export function hasCredits(options) {
82
+ const packageAddress = options.package ?? '@local-pkg/release_credits';
83
+ const argumentsTypes = [
84
+ null
85
+ ];
86
+ const parameterNames = ["self"];
87
+ return (tx) => tx.moveCall({
88
+ package: packageAddress,
89
+ module: 'release_credits',
90
+ function: 'has_credits',
91
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
92
+ });
93
+ }
94
+ /** Returns the party-to-credit map. Aborts if no credits are attached. */
95
+ export function credits(options) {
96
+ const packageAddress = options.package ?? '@local-pkg/release_credits';
97
+ const argumentsTypes = [
98
+ null
99
+ ];
100
+ const parameterNames = ["self"];
101
+ return (tx) => tx.moveCall({
102
+ package: packageAddress,
103
+ module: 'release_credits',
104
+ function: 'credits',
105
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
106
+ });
107
+ }
108
+ //# sourceMappingURL=release_credits.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release_credits.js","sourceRoot":"","sources":["../../../src/contracts/release_credits/release_credits.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,sBAAsB,EAA+B,MAAM,mBAAmB,CAAC;AAC/G,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAA8C,MAAM,0BAA0B,CAAC;AACtF,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,KAAK,MAAM,MAAM,8BAA8B,CAAC;AACvD,OAAO,KAAK,kBAAkB,MAAM,yBAAyB,CAAC;AAC9D,MAAM,WAAW,GAAG,6CAA6C,CAAC;AAClE,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,SAAS,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,gBAAgB,EAAE,MAAM,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAC1G,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,kBAAkB,EAAE,MAAM,EAAE;QACvF,8DAA8D;QAC9D,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;KAC3F,EAAE,CAAC,CAAC;AACT,MAAM,CA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OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,58 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * Defines the roles that parties can hold on a release. Releases are the
6
+ * commercial packaging of recordings (an album, single, EP), and a release credit
7
+ * captures top-line billing: a party is either a primary artist or a featured
8
+ * artist on the release.
9
+ *
10
+ * ### Design
11
+ *
12
+ * `ReleasePartyRole` is a closed enum: variants can only be constructed and
13
+ * matched inside this module, so the `new_*_role` constructors are the external
14
+ * write-API and `name()` is the external read-API.
15
+ *
16
+ * - **No level axis and no `Custom` escape hatch.** Release billing is a small,
17
+ * fixed vocabulary: `Primary` or `Featured`.
18
+ * - **`name()` is the canonical identifier**, returned as a stable PascalCase
19
+ * token (`"Primary"` / `"Featured"`).
20
+ *
21
+ * These identifiers are Miso's own canonical vocabulary; any overlap with an
22
+ * external standard (e.g. DDEX) is coincidental, not a reproduction of it.
23
+ */
24
+ import { MoveEnum } from '../utils/index.ts';
25
+ import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
26
+ /** Represents a party's billing on a release. */
27
+ export declare const ReleasePartyRole: MoveEnum<{
28
+ /** A primary (headline) artist on the release. */
29
+ Primary: null;
30
+ /** A featured (guest) artist on the release. */
31
+ Featured: null;
32
+ }, "@local-pkg/release_credits::release_party_role::ReleasePartyRole">;
33
+ export interface NewPrimaryRoleOptions {
34
+ package?: string;
35
+ arguments?: [
36
+ ];
37
+ }
38
+ /** Creates a new Primary role. */
39
+ export declare function newPrimaryRole(options?: NewPrimaryRoleOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
40
+ export interface NewFeaturedRoleOptions {
41
+ package?: string;
42
+ arguments?: [
43
+ ];
44
+ }
45
+ /** Creates a new Featured role. */
46
+ export declare function newFeaturedRole(options?: NewFeaturedRoleOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
47
+ export interface NameArguments {
48
+ self: TransactionArgument;
49
+ }
50
+ export interface NameOptions {
51
+ package?: string;
52
+ arguments: NameArguments | [
53
+ self: TransactionArgument
54
+ ];
55
+ }
56
+ /** Returns the canonical identifier of the role as a stable PascalCase token. */
57
+ export declare function name(options: NameOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
58
+ //# sourceMappingURL=release_party_role.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release_party_role.d.ts","sourceRoot":"","sources":["../../../src/contracts/release_credits/release_party_role.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,QAAQ,EAA0B,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEtF,iDAAiD;AACjD,eAAO,MAAM,gBAAgB;IACrB,kDAAkD;;IAElD,gDAAgD;;sEAEhD,CAAC;AACT,MAAM,WAAW,qBAAqB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE;KACX,CAAC;CACL;AACD,kCAAkC;AAClC,wBAAgB,cAAc,CAAC,OAAO,GAAE,qBAA0B,IAEtD,IAAI,WAAW,0DAK1B;AACD,MAAM,WAAW,sBAAsB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE;KACX,CAAC;CACL;AACD,mCAAmC;AACnC,wBAAgB,eAAe,CAAC,OAAO,GAAE,sBAA2B,IAExD,IAAI,WAAW,0DAK1B;AACD,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,mBAAmB,CAAC;CAC7B;AACD,MAAM,WAAW,WAAW;IACxB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,aAAa,GAAG;QACvB,IAAI,EAAE,mBAAmB;KAC5B,CAAC;CACL;AACD,iFAAiF;AACjF,wBAAgB,IAAI,CAAC,OAAO,EAAE,WAAW,IAM7B,IAAI,WAAW,0DAM1B"}
@@ -0,0 +1,66 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * Defines the roles that parties can hold on a release. Releases are the
6
+ * commercial packaging of recordings (an album, single, EP), and a release credit
7
+ * captures top-line billing: a party is either a primary artist or a featured
8
+ * artist on the release.
9
+ *
10
+ * ### Design
11
+ *
12
+ * `ReleasePartyRole` is a closed enum: variants can only be constructed and
13
+ * matched inside this module, so the `new_*_role` constructors are the external
14
+ * write-API and `name()` is the external read-API.
15
+ *
16
+ * - **No level axis and no `Custom` escape hatch.** Release billing is a small,
17
+ * fixed vocabulary: `Primary` or `Featured`.
18
+ * - **`name()` is the canonical identifier**, returned as a stable PascalCase
19
+ * token (`"Primary"` / `"Featured"`).
20
+ *
21
+ * These identifiers are Miso's own canonical vocabulary; any overlap with an
22
+ * external standard (e.g. DDEX) is coincidental, not a reproduction of it.
23
+ */
24
+ import { MoveEnum, normalizeMoveArguments } from "../utils/index.js";
25
+ import {} from '@mysten/sui/transactions';
26
+ const $moduleName = '@local-pkg/release_credits::release_party_role';
27
+ /** Represents a party's billing on a release. */
28
+ export const ReleasePartyRole = new MoveEnum({ name: `${$moduleName}::ReleasePartyRole`, fields: {
29
+ /** A primary (headline) artist on the release. */
30
+ Primary: null,
31
+ /** A featured (guest) artist on the release. */
32
+ Featured: null
33
+ } });
34
+ /** Creates a new Primary role. */
35
+ export function newPrimaryRole(options = {}) {
36
+ const packageAddress = options.package ?? '@local-pkg/release_credits';
37
+ return (tx) => tx.moveCall({
38
+ package: packageAddress,
39
+ module: 'release_party_role',
40
+ function: 'new_primary_role',
41
+ });
42
+ }
43
+ /** Creates a new Featured role. */
44
+ export function newFeaturedRole(options = {}) {
45
+ const packageAddress = options.package ?? '@local-pkg/release_credits';
46
+ return (tx) => tx.moveCall({
47
+ package: packageAddress,
48
+ module: 'release_party_role',
49
+ function: 'new_featured_role',
50
+ });
51
+ }
52
+ /** Returns the canonical identifier of the role as a stable PascalCase token. */
53
+ export function name(options) {
54
+ const packageAddress = options.package ?? '@local-pkg/release_credits';
55
+ const argumentsTypes = [
56
+ null
57
+ ];
58
+ const parameterNames = ["self"];
59
+ return (tx) => tx.moveCall({
60
+ package: packageAddress,
61
+ module: 'release_party_role',
62
+ function: 'name',
63
+ arguments: normalizeMoveArguments(options.arguments, argumentsTypes, parameterNames),
64
+ });
65
+ }
66
+ //# sourceMappingURL=release_party_role.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release_party_role.js","sourceRoot":"","sources":["../../../src/contracts/release_credits/release_party_role.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,QAAQ,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAA8C,MAAM,0BAA0B,CAAC;AACtF,MAAM,WAAW,GAAG,gDAAgD,CAAC;AACrE,iDAAiD;AACjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,QAAQ,CAAC,EAAE,IAAI,EAAE,GAAG,WAAW,oBAAoB,EAAE,MAAM,EAAE;QACzF,kDAAkD;QAClD,OAAO,EAAE,IAAI;QACb,gDAAgD;QAChD,QAAQ,EAAE,IAAI;KACjB,EAAE,CAAC,CAAC;AAMT,kCAAkC;AAClC,MAAM,UAAU,cAAc,CAAC,UAAiC,EAAE;IAC9D,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,4BAA4B,CAAC;IACvE,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,oBAAoB;QAC5B,QAAQ,EAAE,kBAAkB;KAC/B,CAAC,CAAC;AACP,CAAC;AAMD,mCAAmC;AACnC,MAAM,UAAU,eAAe,CAAC,UAAkC,EAAE;IAChE,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,4BAA4B,CAAC;IACvE,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,oBAAoB;QAC5B,QAAQ,EAAE,mBAAmB;KAChC,CAAC,CAAC;AACP,CAAC;AAUD,iFAAiF;AACjF,MAAM,UAAU,IAAI,CAAC,OAAoB;IACrC,MAAM,cAAc,GAAG,OAAO,CAAC,OAAO,IAAI,4BAA4B,CAAC;IACvE,MAAM,cAAc,GAAG;QACnB,IAAI;KACqB,CAAC;IAC9B,MAAM,cAAc,GAAG,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CAAC;QACpC,OAAO,EAAE,cAAc;QACvB,MAAM,EAAE,oBAAoB;QAC5B,QAAQ,EAAE,MAAM;QAChB,SAAS,EAAE,sBAAsB,CAAC,OAAO,CAAC,SAAS,EAAE,cAAc,EAAE,cAAc,CAAC;KACvF,CAAC,CAAC;AACP,CAAC"}
@@ -0,0 +1,112 @@
1
+ /**************************************************************
2
+ * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
3
+ **************************************************************/
4
+ /**
5
+ * What a release says about itself — the paragraph that runs under the title,
6
+ * written by whoever holds the release's admin cap, and believed.
7
+ *
8
+ * A free string, deliberately. Nothing on-chain reads it and nothing derives from
9
+ * it: this is editorial prose, not a fact the protocol can check. The facts a
10
+ * release carries that _are_ checkable — its tracklist, its splits, its state —
11
+ * live on the core object, and the claims two releases have to agree about to be
12
+ * comparable (genre, credits, languages) each get their own typed extension so
13
+ * they can be queried rather than read. What is left over is what a person wants
14
+ * to say, and the only useful thing to do with it is store it and attribute it to
15
+ * the cap holder.
16
+ *
17
+ * One slot, not a set. A release has one thing to say about itself; per-track
18
+ * notes and per-language translations are different concerns and would be
19
+ * different extensions. Folding either in here would turn a paragraph into a
20
+ * schema, and a schema is exactly what prose is not.
21
+ *
22
+ * The 8 KB ceiling is storage hygiene, not an editorial opinion — a backstop
23
+ * against pathological bloat in a shared object, deliberately set well above any
24
+ * description anyone is expected to write. It is the most generous free-text bound
25
+ * in the stack, and that is the intended asymmetry: this package publishes
26
+ * immutable, so a ceiling that turns out to be too low can never be raised, while
27
+ * one that is too high costs only the gas of the writer who fills it. A
28
+ * description is also edited rarely, so the cost of rewriting the field in full
29
+ * lands on almost nobody.
30
+ *
31
+ * Genuinely long-form writing — an essay, a full set of liner notes — still
32
+ * belongs where the artwork goes, in a Walrus blob referenced by an extension.
33
+ * Nothing here stops someone using the whole 8 KB; the bound is a limit, not a
34
+ * recommendation.
35
+ *
36
+ * Attaching nothing and attaching a description are distinct states: absence means
37
+ * nobody has written one, which is why an empty string is rejected rather than
38
+ * stored. There is no such thing as an empty description.
39
+ */
40
+ import { MoveTuple, MoveStruct, type RawTransactionArgument } from '../utils/index.ts';
41
+ import { type Transaction } from '@mysten/sui/transactions';
42
+ export declare const ExtensionKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">], "@local-pkg/release_description::release_description::ExtensionKey">;
43
+ export declare const DescriptionSetEvent: MoveStruct<{
44
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
45
+ description: import("@mysten/sui/bcs").BcsType<string, string, "string">;
46
+ }, "@local-pkg/release_description::release_description::DescriptionSetEvent">;
47
+ export declare const DescriptionClearedEvent: MoveStruct<{
48
+ release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
49
+ }, "@local-pkg/release_description::release_description::DescriptionClearedEvent">;
50
+ export interface SetDescriptionArguments {
51
+ self: RawTransactionArgument<string>;
52
+ cap: RawTransactionArgument<string>;
53
+ description: RawTransactionArgument<string>;
54
+ }
55
+ export interface SetDescriptionOptions {
56
+ package?: string;
57
+ arguments: SetDescriptionArguments | [
58
+ self: RawTransactionArgument<string>,
59
+ cap: RawTransactionArgument<string>,
60
+ description: RawTransactionArgument<string>
61
+ ];
62
+ }
63
+ /**
64
+ * Sets (or replaces) what the release says about itself.
65
+ *
66
+ * Stored exactly as given — whitespace, line breaks and case included. It is the
67
+ * release's own words, and normalising them here would be the protocol editing
68
+ * prose it has already declined to interpret.
69
+ */
70
+ export declare function setDescription(options: SetDescriptionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
71
+ export interface ClearDescriptionArguments {
72
+ self: RawTransactionArgument<string>;
73
+ cap: RawTransactionArgument<string>;
74
+ }
75
+ export interface ClearDescriptionOptions {
76
+ package?: string;
77
+ arguments: ClearDescriptionArguments | [
78
+ self: RawTransactionArgument<string>,
79
+ cap: RawTransactionArgument<string>
80
+ ];
81
+ }
82
+ /**
83
+ * Removes the description, if any. Idempotent. Leaves the release having said
84
+ * nothing about itself, which is where every release starts.
85
+ */
86
+ export declare function clearDescription(options: ClearDescriptionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
87
+ export interface HasDescriptionArguments {
88
+ self: RawTransactionArgument<string>;
89
+ }
90
+ export interface HasDescriptionOptions {
91
+ package?: string;
92
+ arguments: HasDescriptionArguments | [
93
+ self: RawTransactionArgument<string>
94
+ ];
95
+ }
96
+ /** Whether a description is attached to this release. */
97
+ export declare function hasDescription(options: HasDescriptionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
98
+ export interface DescriptionArguments {
99
+ self: RawTransactionArgument<string>;
100
+ }
101
+ export interface DescriptionOptions {
102
+ package?: string;
103
+ arguments: DescriptionArguments | [
104
+ self: RawTransactionArgument<string>
105
+ ];
106
+ }
107
+ /**
108
+ * What the release says about itself. Aborts if nothing is attached — absence is a
109
+ * distinct state and must not collapse into an empty string.
110
+ */
111
+ export declare function description(options: DescriptionOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
112
+ //# sourceMappingURL=release_description.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"release_description.d.ts","sourceRoot":"","sources":["../../../src/contracts/release_description/release_description.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AAEH,OAAO,EAAE,SAAS,EAAE,UAAU,EAA0B,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAE/G,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,eAAO,MAAM,YAAY,wJAAgF,CAAC;AAC1G,eAAO,MAAM,mBAAmB;;;8EAGxB,CAAC;AACT,eAAO,MAAM,uBAAuB;;kFAE5B,CAAC;AACT,MAAM,WAAW,uBAAuB;IACpC,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACrC,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACpC,WAAW,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;CAC/C;AACD,MAAM,WAAW,qBAAqB;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,uBAAuB,GAAG;QACjC,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC;QACpC,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC;QACnC,WAAW,EAAE,sBAAsB,CAAC,MAAM,CAAC;KAC9C,CAAC;CACL;AACD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,IAQjD,IAAI,WAAW,0DAM1B;AACD,MAAM,WAAW,yBAAyB;IACtC,IAAI,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;IACrC,GAAG,EAAE,sBAAsB,CAAC,MAAM,CAAC,CAAC;CACvC;AACD,MAAM,WAAW,uBAAuB;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,yBAAyB,GAAG;QACnC,IAAI,EA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