@misofm/sdk 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +88 -56
- package/dist/client.d.ts +126 -18
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +210 -44
- package/dist/client.js.map +1 -1
- package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts +205 -0
- package/dist/contracts/composition_routed_stake/composition_routed_stake.d.ts.map +1 -0
- package/dist/contracts/composition_routed_stake/composition_routed_stake.js +184 -0
- package/dist/contracts/composition_routed_stake/composition_routed_stake.js.map +1 -0
- package/dist/contracts/composition_routed_stake/witness.d.ts +7 -0
- package/dist/contracts/composition_routed_stake/witness.d.ts.map +1 -0
- package/dist/contracts/composition_routed_stake/witness.js +9 -0
- package/dist/contracts/composition_routed_stake/witness.js.map +1 -0
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts +89 -28
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.d.ts.map +1 -1
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js +84 -23
- package/dist/contracts/composition_royalty_pool/composition_royalty_pool.js.map +1 -1
- package/dist/contracts/composition_royalty_pool/witness.d.ts +6 -0
- package/dist/contracts/composition_royalty_pool/witness.d.ts.map +1 -0
- package/dist/contracts/composition_royalty_pool/witness.js +8 -0
- package/dist/contracts/composition_royalty_pool/witness.js.map +1 -0
- package/dist/contracts/genre/genre.d.ts +96 -0
- package/dist/contracts/genre/genre.d.ts.map +1 -0
- package/dist/contracts/genre/genre.js +107 -0
- package/dist/contracts/genre/genre.js.map +1 -0
- package/dist/contracts/recording_advisory/recording_advisory.d.ts +194 -0
- package/dist/contracts/recording_advisory/recording_advisory.d.ts.map +1 -0
- package/dist/contracts/recording_advisory/recording_advisory.js +204 -0
- package/dist/contracts/recording_advisory/recording_advisory.js.map +1 -0
- package/dist/contracts/recording_language/deps/language_code/language_code.d.ts +6 -0
- package/dist/contracts/recording_language/deps/language_code/language_code.d.ts.map +1 -0
- package/dist/contracts/recording_language/deps/language_code/language_code.js +8 -0
- package/dist/contracts/recording_language/deps/language_code/language_code.js.map +1 -0
- package/dist/contracts/recording_language/recording_language.d.ts +152 -0
- package/dist/contracts/recording_language/recording_language.d.ts.map +1 -0
- package/dist/contracts/recording_language/recording_language.js +149 -0
- package/dist/contracts/recording_language/recording_language.js.map +1 -0
- package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts +52 -0
- package/dist/contracts/recording_master_reference/deps/ori/walrus_data.d.ts.map +1 -0
- package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js +37 -0
- package/dist/contracts/recording_master_reference/deps/ori/walrus_data.js.map +1 -0
- package/dist/contracts/recording_master_reference/recording_master_reference.d.ts +131 -0
- package/dist/contracts/recording_master_reference/recording_master_reference.d.ts.map +1 -0
- package/dist/contracts/recording_master_reference/recording_master_reference.js +121 -0
- package/dist/contracts/recording_master_reference/recording_master_reference.js.map +1 -0
- package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts +52 -0
- package/dist/contracts/recording_preview/deps/ori/walrus_data.d.ts.map +1 -0
- package/dist/contracts/recording_preview/deps/ori/walrus_data.js +37 -0
- package/dist/contracts/recording_preview/deps/ori/walrus_data.js.map +1 -0
- package/dist/contracts/recording_preview/recording_preview.d.ts +104 -0
- package/dist/contracts/recording_preview/recording_preview.d.ts.map +1 -0
- package/dist/contracts/recording_preview/recording_preview.js +94 -0
- package/dist/contracts/recording_preview/recording_preview.js.map +1 -0
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts +90 -28
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.d.ts.map +1 -1
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js +84 -23
- package/dist/contracts/recording_royalty_pool/recording_royalty_pool.js.map +1 -1
- package/dist/contracts/recording_royalty_pool/witness.d.ts +6 -0
- package/dist/contracts/recording_royalty_pool/witness.d.ts.map +1 -0
- package/dist/contracts/recording_royalty_pool/witness.js +8 -0
- package/dist/contracts/recording_royalty_pool/witness.js.map +1 -0
- package/dist/contracts/release_description/release_description.d.ts +112 -0
- package/dist/contracts/release_description/release_description.d.ts.map +1 -0
- package/dist/contracts/release_description/release_description.js +123 -0
- package/dist/contracts/release_description/release_description.js.map +1 -0
- package/dist/contracts/release_dsp_link/release_dsp_link.d.ts +644 -0
- package/dist/contracts/release_dsp_link/release_dsp_link.d.ts.map +1 -0
- package/dist/contracts/release_dsp_link/release_dsp_link.js +556 -0
- package/dist/contracts/release_dsp_link/release_dsp_link.js.map +1 -0
- package/dist/contracts/release_genre/deps/per_track/per_track.d.ts +33 -0
- package/dist/contracts/release_genre/deps/per_track/per_track.d.ts.map +1 -0
- package/dist/contracts/release_genre/deps/per_track/per_track.js +32 -0
- package/dist/contracts/release_genre/deps/per_track/per_track.js.map +1 -0
- package/dist/contracts/release_genre/release_genre.d.ts +193 -0
- package/dist/contracts/release_genre/release_genre.d.ts.map +1 -0
- package/dist/contracts/release_genre/release_genre.js +207 -0
- package/dist/contracts/release_genre/release_genre.js.map +1 -0
- package/dist/contracts/release_kind/release_kind.d.ts +98 -0
- package/dist/contracts/release_kind/release_kind.d.ts.map +1 -0
- package/dist/contracts/release_kind/release_kind.js +109 -0
- package/dist/contracts/release_kind/release_kind.js.map +1 -0
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts +106 -0
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.d.ts.map +1 -0
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js +113 -0
- package/dist/contracts/release_revenue_distributor/release_revenue_distributor.js.map +1 -0
- package/dist/contracts/release_revenue_distributor/witness.d.ts +7 -0
- package/dist/contracts/release_revenue_distributor/witness.d.ts.map +1 -0
- package/dist/contracts/release_revenue_distributor/witness.js +9 -0
- package/dist/contracts/release_revenue_distributor/witness.js.map +1 -0
- package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts +52 -0
- package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.d.ts.map +1 -0
- package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js +37 -0
- package/dist/contracts/release_snapshot_bundle/deps/ori/walrus_data.js.map +1 -0
- package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts +91 -0
- package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.d.ts.map +1 -0
- package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js +91 -0
- package/dist/contracts/release_snapshot_bundle/release_snapshot_bundle.js.map +1 -0
- package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts +54 -0
- package/dist/contracts/routed_stake/deps/royalty_pool/stake.d.ts.map +1 -0
- package/dist/contracts/routed_stake/deps/royalty_pool/stake.js +37 -0
- package/dist/contracts/routed_stake/deps/royalty_pool/stake.js.map +1 -0
- package/dist/contracts/routed_stake/deps/std/type_name.d.ts +18 -0
- package/dist/contracts/routed_stake/deps/std/type_name.d.ts.map +1 -0
- package/dist/contracts/routed_stake/deps/std/type_name.js +20 -0
- package/dist/contracts/routed_stake/deps/std/type_name.js.map +1 -0
- package/dist/contracts/routed_stake/deps/sui/balance.d.ts +13 -0
- package/dist/contracts/routed_stake/deps/sui/balance.d.ts.map +1 -0
- package/dist/contracts/routed_stake/deps/sui/balance.js +15 -0
- package/dist/contracts/routed_stake/deps/sui/balance.js.map +1 -0
- package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts +37 -0
- package/dist/contracts/routed_stake/deps/sui/vec_map.d.ts.map +1 -0
- package/dist/contracts/routed_stake/deps/sui/vec_map.js +28 -0
- package/dist/contracts/routed_stake/deps/sui/vec_map.js.map +1 -0
- package/dist/contracts/routed_stake/routed_stake.d.ts +356 -0
- package/dist/contracts/routed_stake/routed_stake.d.ts.map +1 -0
- package/dist/contracts/routed_stake/routed_stake.js +311 -0
- package/dist/contracts/routed_stake/routed_stake.js.map +1 -0
- package/dist/contracts/royalty_pool/pool.d.ts +27 -17
- package/dist/contracts/royalty_pool/pool.d.ts.map +1 -1
- package/dist/contracts/royalty_pool/pool.js +26 -17
- package/dist/contracts/royalty_pool/pool.js.map +1 -1
- package/dist/contracts/vault/deps/sui/bag.d.ts +35 -0
- package/dist/contracts/vault/deps/sui/bag.d.ts.map +1 -0
- package/dist/contracts/vault/deps/sui/bag.js +37 -0
- package/dist/contracts/vault/deps/sui/bag.js.map +1 -0
- package/dist/contracts/vault/deps/sui/borrow.d.ts +20 -0
- package/dist/contracts/vault/deps/sui/borrow.d.ts.map +1 -0
- package/dist/contracts/vault/deps/sui/borrow.js +21 -0
- package/dist/contracts/vault/deps/sui/borrow.js.map +1 -0
- package/dist/contracts/vault/vault.d.ts +276 -0
- package/dist/contracts/vault/vault.d.ts.map +1 -0
- package/dist/contracts/vault/vault.js +274 -0
- package/dist/contracts/vault/vault.js.map +1 -0
- package/dist/contracts.d.ts +14 -2
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +16 -7
- package/dist/contracts.js.map +1 -1
- package/dist/cover.d.ts +17 -3
- package/dist/cover.d.ts.map +1 -1
- package/dist/cover.js +43 -20
- package/dist/cover.js.map +1 -1
- package/dist/credits.d.ts +31 -12
- package/dist/credits.d.ts.map +1 -1
- package/dist/credits.js +41 -25
- package/dist/credits.js.map +1 -1
- package/dist/deployments.d.ts +31 -57
- package/dist/deployments.d.ts.map +1 -1
- package/dist/deployments.js +5 -53
- package/dist/deployments.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -5
- package/dist/index.js.map +1 -1
- package/dist/pressing.d.ts +8 -7
- package/dist/pressing.d.ts.map +1 -1
- package/dist/pressing.js +91 -32
- package/dist/pressing.js.map +1 -1
- package/dist/read/artist.js +3 -3
- package/dist/read/artist.js.map +1 -1
- package/dist/read/catalog.d.ts +14 -9
- package/dist/read/catalog.d.ts.map +1 -1
- package/dist/read/catalog.js +71 -37
- package/dist/read/catalog.js.map +1 -1
- package/dist/read/client.d.ts +4 -2
- package/dist/read/client.d.ts.map +1 -1
- package/dist/read/client.js +15 -4
- package/dist/read/client.js.map +1 -1
- package/dist/read/config.d.ts +14 -11
- package/dist/read/config.d.ts.map +1 -1
- package/dist/read/config.js +10 -37
- package/dist/read/config.js.map +1 -1
- package/dist/read/index.d.ts +2 -2
- package/dist/read/index.d.ts.map +1 -1
- package/dist/read/index.js +1 -1
- package/dist/read/index.js.map +1 -1
- package/dist/read/receipts.d.ts +24 -7
- package/dist/read/receipts.d.ts.map +1 -1
- package/dist/read/receipts.js +78 -25
- package/dist/read/receipts.js.map +1 -1
- package/dist/read/types.d.ts +43 -25
- package/dist/read/types.d.ts.map +1 -1
- package/dist/read/types.js +2 -2
- package/dist/read/types.js.map +1 -1
- package/dist/recording-extensions.d.ts +37 -0
- package/dist/recording-extensions.d.ts.map +1 -0
- package/dist/recording-extensions.js +61 -0
- package/dist/recording-extensions.js.map +1 -0
- package/dist/release-extensions.d.ts +92 -0
- package/dist/release-extensions.d.ts.map +1 -0
- package/dist/release-extensions.js +175 -0
- package/dist/release-extensions.js.map +1 -0
- package/dist/release-graph.d.ts +17 -26
- package/dist/release-graph.d.ts.map +1 -1
- package/dist/release-graph.js +55 -49
- package/dist/release-graph.js.map +1 -1
- package/dist/transactions.d.ts +43 -24
- package/dist/transactions.d.ts.map +1 -1
- package/dist/transactions.js +48 -27
- package/dist/transactions.js.map +1 -1
- package/dist/vault.d.ts +268 -0
- package/dist/vault.d.ts.map +1 -0
- package/dist/vault.js +389 -0
- package/dist/vault.js.map +1 -0
- package/package.json +17 -11
- package/src/client.ts +428 -61
- package/src/contracts/composition_routed_stake/composition_routed_stake.ts +346 -0
- package/src/contracts/composition_routed_stake/witness.ts +11 -0
- package/src/contracts/composition_royalty_pool/composition_royalty_pool.ts +151 -35
- package/src/contracts/composition_royalty_pool/witness.ts +7 -0
- package/src/contracts/genre/genre.ts +151 -0
- package/src/contracts/recording_advisory/recording_advisory.ts +315 -0
- package/src/contracts/recording_language/deps/language_code/language_code.ts +7 -0
- package/src/contracts/recording_language/recording_language.ts +237 -0
- package/src/contracts/recording_master_reference/deps/ori/walrus_data.ts +36 -0
- package/src/contracts/recording_master_reference/recording_master_reference.ts +181 -0
- package/src/contracts/recording_preview/deps/ori/walrus_data.ts +36 -0
- package/src/contracts/recording_preview/recording_preview.ts +154 -0
- package/src/contracts/recording_royalty_pool/recording_royalty_pool.ts +152 -35
- package/src/contracts/recording_royalty_pool/witness.ts +7 -0
- package/src/contracts/release_description/release_description.ts +167 -0
- package/src/contracts/release_dsp_link/release_dsp_link.ts +813 -0
- package/src/contracts/release_genre/deps/per_track/per_track.ts +36 -0
- package/src/contracts/release_genre/release_genre.ts +314 -0
- package/src/contracts/release_kind/release_kind.ts +153 -0
- package/src/contracts/release_revenue_distributor/release_revenue_distributor.ts +178 -0
- package/src/contracts/release_revenue_distributor/witness.ts +11 -0
- package/src/contracts/release_snapshot_bundle/deps/ori/walrus_data.ts +36 -0
- package/src/contracts/release_snapshot_bundle/release_snapshot_bundle.ts +124 -0
- package/src/contracts/routed_stake/deps/royalty_pool/stake.ts +39 -0
- package/src/contracts/routed_stake/deps/std/type_name.ts +22 -0
- package/src/contracts/routed_stake/deps/sui/balance.ts +17 -0
- package/src/contracts/routed_stake/deps/sui/vec_map.ts +33 -0
- package/src/contracts/routed_stake/routed_stake.ts +508 -0
- package/src/contracts/royalty_pool/pool.ts +34 -24
- package/src/contracts/vault/deps/sui/bag.ts +39 -0
- package/src/contracts/vault/deps/sui/borrow.ts +25 -0
- package/src/contracts/vault/vault.ts +454 -0
- package/src/contracts.ts +17 -9
- package/src/cover.ts +62 -37
- package/src/credits.ts +64 -51
- package/src/deployments.ts +36 -97
- package/src/index.ts +11 -5
- package/src/pressing.ts +135 -39
- package/src/read/artist.ts +3 -3
- package/src/read/catalog.ts +99 -44
- package/src/read/client.ts +20 -4
- package/src/read/config.ts +23 -49
- package/src/read/index.ts +3 -1
- package/src/read/receipts.ts +103 -26
- package/src/read/types.ts +44 -27
- package/src/recording-extensions.ts +102 -0
- package/src/release-extensions.ts +286 -0
- package/src/release-graph.ts +68 -81
- package/src/transactions.ts +79 -53
- package/src/vault.ts +777 -0
- package/dist/contracts/miso_drop/drop.d.ts +0 -550
- package/dist/contracts/miso_drop/drop.d.ts.map +0 -1
- package/dist/contracts/miso_drop/drop.js +0 -523
- package/dist/contracts/miso_drop/drop.js.map +0 -1
- package/dist/contracts/release_registry/release_registry.d.ts +0 -114
- package/dist/contracts/release_registry/release_registry.d.ts.map +0 -1
- package/dist/contracts/release_registry/release_registry.js +0 -119
- package/dist/contracts/release_registry/release_registry.js.map +0 -1
- package/dist/drop.d.ts +0 -127
- package/dist/drop.d.ts.map +0 -1
- package/dist/drop.js +0 -202
- package/dist/drop.js.map +0 -1
- package/dist/extensions/royalty-pool.d.ts +0 -32
- package/dist/extensions/royalty-pool.d.ts.map +0 -1
- package/dist/extensions/royalty-pool.js +0 -33
- package/dist/extensions/royalty-pool.js.map +0 -1
- package/src/contracts/miso_drop/drop.ts +0 -798
- package/src/contracts/release_registry/release_registry.ts +0 -160
- package/src/drop.ts +0 -376
- package/src/extensions/royalty-pool.ts +0 -90
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
/**************************************************************
|
|
2
|
+
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
+
**************************************************************/
|
|
4
|
+
/**
|
|
5
|
+
* Streaming deep links for a Miso release, one Digital Service Provider (DSP) at a
|
|
6
|
+
* time. Attaches `DspLinkData` records to a `miso::release::Release`: an
|
|
7
|
+
* album-level link per DSP, plus an optional per-track link per DSP.
|
|
8
|
+
*
|
|
9
|
+
* `DspLinkData` is a single built-in enum with one variant per DSP, holding that
|
|
10
|
+
* DSP's native identifier(s) — e.g. a Spotify album id, or Apple Music's
|
|
11
|
+
* `(storefront, album_id, track_id)`. URLs are never stored: a client rebuilds the
|
|
12
|
+
* public URL from the variant it reads back, so a DSP reshaping its URLs needs no
|
|
13
|
+
* on-chain change. Storage is keyed by the variant's platform code (a `u8`
|
|
14
|
+
* discriminant matching declaration order, via `platform()`), so each DSP occupies
|
|
15
|
+
* its own independent dynamic field on the release's `UID` — adding or clearing
|
|
16
|
+
* one DSP's link never touches another's.
|
|
17
|
+
*
|
|
18
|
+
* Two levels per DSP: the album-level link is the single `DspLinkData` stored
|
|
19
|
+
* under `ReleaseLinkKey(platform)`; the per-track links are a
|
|
20
|
+
* `PerTrack<Option<DspLinkData>>` stored under `TrackLinksKey(platform)` (one slot
|
|
21
|
+
* per track, aligned to the tracklist by construction). A track whose slot is
|
|
22
|
+
* `none` inherits the album-level link at the frontend.
|
|
23
|
+
*
|
|
24
|
+
* Streaming presence is presentation, not protocol-verifiable state, so it lives
|
|
25
|
+
* on the release (the consumer object), not the recording. All writes are gated by
|
|
26
|
+
* the `ReleaseAdminCap` via `uid_mut`; views are permissionless.
|
|
27
|
+
*/
|
|
28
|
+
import { MoveTuple, MoveEnum, MoveStruct, type RawTransactionArgument } from '../utils/index.js';
|
|
29
|
+
import { type Transaction, type TransactionArgument } from '@mysten/sui/transactions';
|
|
30
|
+
export declare const ReleaseLinkKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<number, number, "u8">], "@local-pkg/release_dsp_link::release_dsp_link::ReleaseLinkKey">;
|
|
31
|
+
export declare const TrackLinksKey: MoveTuple<readonly [import("@mysten/sui/bcs").BcsType<number, number, "u8">], "@local-pkg/release_dsp_link::release_dsp_link::TrackLinksKey">;
|
|
32
|
+
/**
|
|
33
|
+
* A link to a release (or one of its tracks) on a single DSP, one variant per
|
|
34
|
+
* platform. Which slot a value is stored in — the album-level slot or a per-track
|
|
35
|
+
* slot — decides whether it addresses the release or one track; most DSPs use the
|
|
36
|
+
* same identifier shape for both, which is why a variant doesn't carry an explicit
|
|
37
|
+
* album/track flag.
|
|
38
|
+
*
|
|
39
|
+
* **Variant order is frozen.** Storage keys off `platform()`, a `u8` discriminant
|
|
40
|
+
* matching declaration order (`Spotify = 0` … `YouTubeMusic = 7`). Sui's
|
|
41
|
+
* compatible-upgrade policy allows appending new enum variants but not reordering
|
|
42
|
+
* or removing existing ones, so a new platform is always appended at the end in a
|
|
43
|
+
* package upgrade — existing BCS variant indices, and therefore existing
|
|
44
|
+
* dynamic-field keys, stay stable.
|
|
45
|
+
*/
|
|
46
|
+
export declare const DspLinkData: MoveEnum<{
|
|
47
|
+
/**
|
|
48
|
+
* Spotify addresses both albums and tracks by a single 22-char base62 id
|
|
49
|
+
* (`open.spotify.com/album/{id}` or `/track/{id}`); album-vs-track is chosen by
|
|
50
|
+
* where the link is stored, so one `id` field serves both.
|
|
51
|
+
*/
|
|
52
|
+
Spotify: MoveStruct<{
|
|
53
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
54
|
+
}, "DspLinkData.Spotify">;
|
|
55
|
+
/**
|
|
56
|
+
* Apple Music: an album is `music.apple.com/{storefront}/album/{album_id}`; a
|
|
57
|
+
* track within it adds the `?i={track_id}` selector. `storefront` is the
|
|
58
|
+
* two-letter region (e.g. `us`), and because a track link still needs the album
|
|
59
|
+
* id, the album id is always present. The optional `track_id` distinguishes the
|
|
60
|
+
* two forms — clients emit the track URL when it is set, the album URL otherwise.
|
|
61
|
+
* The canonical web URL carries a cosmetic name slug (`/album/{slug}/{album_id}`);
|
|
62
|
+
* only the trailing numeric `album_id` is stored, and Apple resolves the slug-less
|
|
63
|
+
* form.
|
|
64
|
+
*/
|
|
65
|
+
AppleMusic: MoveStruct<{
|
|
66
|
+
storefront: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
67
|
+
album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
68
|
+
track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
|
|
69
|
+
}, "DspLinkData.AppleMusic">;
|
|
70
|
+
/**
|
|
71
|
+
* Amazon Music: an album is `music.amazon.com/albums/{album_id}`; a track within
|
|
72
|
+
* it adds the `?trackAsin={track_id}` selector. Ids are ASINs (e.g. `B0064UPU4G`).
|
|
73
|
+
* The optional `track_id` distinguishes the two forms — clients emit the track URL
|
|
74
|
+
* when it is set, the album URL otherwise.
|
|
75
|
+
*/
|
|
76
|
+
AmazonMusic: MoveStruct<{
|
|
77
|
+
album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
78
|
+
track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
|
|
79
|
+
}, "DspLinkData.AmazonMusic">;
|
|
80
|
+
/**
|
|
81
|
+
* Bandcamp addresses by artist subdomain + slug: an album is
|
|
82
|
+
* `{subdomain}.bandcamp.com/album/{slug}` and a track is
|
|
83
|
+
* `{subdomain}.bandcamp.com/track/{slug}`. Album-vs-track is chosen by where the
|
|
84
|
+
* link is stored, so one `(subdomain, slug)` pair serves both.
|
|
85
|
+
*/
|
|
86
|
+
Bandcamp: MoveStruct<{
|
|
87
|
+
subdomain: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
88
|
+
slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
89
|
+
}, "DspLinkData.Bandcamp">;
|
|
90
|
+
/**
|
|
91
|
+
* Deezer addresses albums and tracks by a numeric id (`www.deezer.com/album/{id}`
|
|
92
|
+
* / `www.deezer.com/track/{id}`; a `/{locale}/` segment may appear but is
|
|
93
|
+
* optional). Album-vs-track is chosen by where the link is stored, so one `id`
|
|
94
|
+
* field serves both.
|
|
95
|
+
*/
|
|
96
|
+
Deezer: MoveStruct<{
|
|
97
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
98
|
+
}, "DspLinkData.Deezer">;
|
|
99
|
+
/**
|
|
100
|
+
* SoundCloud is slug-addressed, not numeric: an album/playlist is
|
|
101
|
+
* `soundcloud.com/{user}/sets/{slug}` and a track is
|
|
102
|
+
* `soundcloud.com/{user}/{slug}`. Album-vs-track is chosen by where the link is
|
|
103
|
+
* stored, so one `(user, slug)` pair serves both.
|
|
104
|
+
*/
|
|
105
|
+
SoundCloud: MoveStruct<{
|
|
106
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
107
|
+
slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
108
|
+
}, "DspLinkData.SoundCloud">;
|
|
109
|
+
/**
|
|
110
|
+
* Tidal addresses albums and tracks by a numeric id (`tidal.com/album/{id}` /
|
|
111
|
+
* `tidal.com/track/{id}`; the older `tidal.com/browse/album/{id}` form also
|
|
112
|
+
* resolves). Album-vs-track is chosen by where the link is stored, so one `id`
|
|
113
|
+
* field serves both.
|
|
114
|
+
*/
|
|
115
|
+
Tidal: MoveStruct<{
|
|
116
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
117
|
+
}, "DspLinkData.Tidal">;
|
|
118
|
+
/**
|
|
119
|
+
* YouTube Music: an album is a playlist (`music.youtube.com/playlist?list={id}`)
|
|
120
|
+
* and a track is a video (`music.youtube.com/watch?v={id}`). The `id` holds the
|
|
121
|
+
* playlist id at the release level and the video id per track; album-vs-track is
|
|
122
|
+
* chosen by where the link is stored, so one `id` field serves both.
|
|
123
|
+
*/
|
|
124
|
+
YouTubeMusic: MoveStruct<{
|
|
125
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
126
|
+
}, "DspLinkData.YouTubeMusic">;
|
|
127
|
+
}, "@local-pkg/release_dsp_link::release_dsp_link::DspLinkData">;
|
|
128
|
+
export declare const ReleaseLinkSetEvent: MoveStruct<{
|
|
129
|
+
release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
130
|
+
link: MoveEnum<{
|
|
131
|
+
/**
|
|
132
|
+
* Spotify addresses both albums and tracks by a single 22-char base62 id
|
|
133
|
+
* (`open.spotify.com/album/{id}` or `/track/{id}`); album-vs-track is chosen by
|
|
134
|
+
* where the link is stored, so one `id` field serves both.
|
|
135
|
+
*/
|
|
136
|
+
Spotify: MoveStruct<{
|
|
137
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
138
|
+
}, "DspLinkData.Spotify">;
|
|
139
|
+
/**
|
|
140
|
+
* Apple Music: an album is `music.apple.com/{storefront}/album/{album_id}`; a
|
|
141
|
+
* track within it adds the `?i={track_id}` selector. `storefront` is the
|
|
142
|
+
* two-letter region (e.g. `us`), and because a track link still needs the album
|
|
143
|
+
* id, the album id is always present. The optional `track_id` distinguishes the
|
|
144
|
+
* two forms — clients emit the track URL when it is set, the album URL otherwise.
|
|
145
|
+
* The canonical web URL carries a cosmetic name slug (`/album/{slug}/{album_id}`);
|
|
146
|
+
* only the trailing numeric `album_id` is stored, and Apple resolves the slug-less
|
|
147
|
+
* form.
|
|
148
|
+
*/
|
|
149
|
+
AppleMusic: MoveStruct<{
|
|
150
|
+
storefront: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
151
|
+
album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
152
|
+
track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
|
|
153
|
+
}, "DspLinkData.AppleMusic">;
|
|
154
|
+
/**
|
|
155
|
+
* Amazon Music: an album is `music.amazon.com/albums/{album_id}`; a track within
|
|
156
|
+
* it adds the `?trackAsin={track_id}` selector. Ids are ASINs (e.g. `B0064UPU4G`).
|
|
157
|
+
* The optional `track_id` distinguishes the two forms — clients emit the track URL
|
|
158
|
+
* when it is set, the album URL otherwise.
|
|
159
|
+
*/
|
|
160
|
+
AmazonMusic: MoveStruct<{
|
|
161
|
+
album_id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
162
|
+
track_id: import("@mysten/sui/bcs").BcsType<string | null, string | null | undefined, "Option<string>">;
|
|
163
|
+
}, "DspLinkData.AmazonMusic">;
|
|
164
|
+
/**
|
|
165
|
+
* Bandcamp addresses by artist subdomain + slug: an album is
|
|
166
|
+
* `{subdomain}.bandcamp.com/album/{slug}` and a track is
|
|
167
|
+
* `{subdomain}.bandcamp.com/track/{slug}`. Album-vs-track is chosen by where the
|
|
168
|
+
* link is stored, so one `(subdomain, slug)` pair serves both.
|
|
169
|
+
*/
|
|
170
|
+
Bandcamp: MoveStruct<{
|
|
171
|
+
subdomain: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
172
|
+
slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
173
|
+
}, "DspLinkData.Bandcamp">;
|
|
174
|
+
/**
|
|
175
|
+
* Deezer addresses albums and tracks by a numeric id (`www.deezer.com/album/{id}`
|
|
176
|
+
* / `www.deezer.com/track/{id}`; a `/{locale}/` segment may appear but is
|
|
177
|
+
* optional). Album-vs-track is chosen by where the link is stored, so one `id`
|
|
178
|
+
* field serves both.
|
|
179
|
+
*/
|
|
180
|
+
Deezer: MoveStruct<{
|
|
181
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
182
|
+
}, "DspLinkData.Deezer">;
|
|
183
|
+
/**
|
|
184
|
+
* SoundCloud is slug-addressed, not numeric: an album/playlist is
|
|
185
|
+
* `soundcloud.com/{user}/sets/{slug}` and a track is
|
|
186
|
+
* `soundcloud.com/{user}/{slug}`. Album-vs-track is chosen by where the link is
|
|
187
|
+
* stored, so one `(user, slug)` pair serves both.
|
|
188
|
+
*/
|
|
189
|
+
SoundCloud: MoveStruct<{
|
|
190
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
191
|
+
slug: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
192
|
+
}, "DspLinkData.SoundCloud">;
|
|
193
|
+
/**
|
|
194
|
+
* Tidal addresses albums and tracks by a numeric id (`tidal.com/album/{id}` /
|
|
195
|
+
* `tidal.com/track/{id}`; the older `tidal.com/browse/album/{id}` form also
|
|
196
|
+
* resolves). Album-vs-track is chosen by where the link is stored, so one `id`
|
|
197
|
+
* field serves both.
|
|
198
|
+
*/
|
|
199
|
+
Tidal: MoveStruct<{
|
|
200
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
201
|
+
}, "DspLinkData.Tidal">;
|
|
202
|
+
/**
|
|
203
|
+
* YouTube Music: an album is a playlist (`music.youtube.com/playlist?list={id}`)
|
|
204
|
+
* and a track is a video (`music.youtube.com/watch?v={id}`). The `id` holds the
|
|
205
|
+
* playlist id at the release level and the video id per track; album-vs-track is
|
|
206
|
+
* chosen by where the link is stored, so one `id` field serves both.
|
|
207
|
+
*/
|
|
208
|
+
YouTubeMusic: MoveStruct<{
|
|
209
|
+
id: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
210
|
+
}, "DspLinkData.YouTubeMusic">;
|
|
211
|
+
}, "@local-pkg/release_dsp_link::release_dsp_link::DspLinkData">;
|
|
212
|
+
}, "@local-pkg/release_dsp_link::release_dsp_link::ReleaseLinkSetEvent">;
|
|
213
|
+
export declare const ReleaseLinkClearedEvent: MoveStruct<{
|
|
214
|
+
release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
215
|
+
platform: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
|
|
216
|
+
}, "@local-pkg/release_dsp_link::release_dsp_link::ReleaseLinkClearedEvent">;
|
|
217
|
+
export declare const TrackLinkSetEvent: MoveStruct<{
|
|
218
|
+
release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
219
|
+
platform: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
|
|
220
|
+
track_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
221
|
+
link: import("@mysten/sui/bcs").BcsType<import("@mysten/bcs").EnumOutputShapeWithKeys<{
|
|
222
|
+
Spotify: {
|
|
223
|
+
id: string;
|
|
224
|
+
};
|
|
225
|
+
AppleMusic: {
|
|
226
|
+
storefront: string;
|
|
227
|
+
album_id: string;
|
|
228
|
+
track_id: string | null;
|
|
229
|
+
};
|
|
230
|
+
AmazonMusic: {
|
|
231
|
+
album_id: string;
|
|
232
|
+
track_id: string | null;
|
|
233
|
+
};
|
|
234
|
+
Bandcamp: {
|
|
235
|
+
subdomain: string;
|
|
236
|
+
slug: string;
|
|
237
|
+
};
|
|
238
|
+
Deezer: {
|
|
239
|
+
id: string;
|
|
240
|
+
};
|
|
241
|
+
SoundCloud: {
|
|
242
|
+
user: string;
|
|
243
|
+
slug: string;
|
|
244
|
+
};
|
|
245
|
+
Tidal: {
|
|
246
|
+
id: string;
|
|
247
|
+
};
|
|
248
|
+
YouTubeMusic: {
|
|
249
|
+
id: string;
|
|
250
|
+
};
|
|
251
|
+
}, "Spotify" | "AppleMusic" | "AmazonMusic" | "Bandcamp" | "Deezer" | "SoundCloud" | "Tidal" | "YouTubeMusic"> | null, import("@mysten/bcs").EnumInputShape<{
|
|
252
|
+
Spotify: {
|
|
253
|
+
id: string;
|
|
254
|
+
};
|
|
255
|
+
AppleMusic: {
|
|
256
|
+
storefront: string;
|
|
257
|
+
album_id: string;
|
|
258
|
+
track_id: string | null | undefined;
|
|
259
|
+
};
|
|
260
|
+
AmazonMusic: {
|
|
261
|
+
album_id: string;
|
|
262
|
+
track_id: string | null | undefined;
|
|
263
|
+
};
|
|
264
|
+
Bandcamp: {
|
|
265
|
+
subdomain: string;
|
|
266
|
+
slug: string;
|
|
267
|
+
};
|
|
268
|
+
Deezer: {
|
|
269
|
+
id: string;
|
|
270
|
+
};
|
|
271
|
+
SoundCloud: {
|
|
272
|
+
user: string;
|
|
273
|
+
slug: string;
|
|
274
|
+
};
|
|
275
|
+
Tidal: {
|
|
276
|
+
id: string;
|
|
277
|
+
};
|
|
278
|
+
YouTubeMusic: {
|
|
279
|
+
id: string;
|
|
280
|
+
};
|
|
281
|
+
}> | null | undefined, "Option<@local-pkg/release_dsp_link::release_dsp_link::DspLinkData>">;
|
|
282
|
+
}, "@local-pkg/release_dsp_link::release_dsp_link::TrackLinkSetEvent">;
|
|
283
|
+
export declare const TrackLinksClearedEvent: MoveStruct<{
|
|
284
|
+
release_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
285
|
+
platform: import("@mysten/sui/bcs").BcsType<number, number, "u8">;
|
|
286
|
+
}, "@local-pkg/release_dsp_link::release_dsp_link::TrackLinksClearedEvent">;
|
|
287
|
+
export interface PlatformArguments {
|
|
288
|
+
self: TransactionArgument;
|
|
289
|
+
}
|
|
290
|
+
export interface PlatformOptions {
|
|
291
|
+
package?: string;
|
|
292
|
+
arguments: PlatformArguments | [
|
|
293
|
+
self: TransactionArgument
|
|
294
|
+
];
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* The link's platform code — the `u8` discriminant clients pass to
|
|
298
|
+
* `clear_release_link`, `clear_track_link`, `clear_track_links`, and the view
|
|
299
|
+
* functions below.
|
|
300
|
+
*/
|
|
301
|
+
export declare function platform(options: PlatformOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
302
|
+
export interface PlatformSpotifyOptions {
|
|
303
|
+
package?: string;
|
|
304
|
+
arguments?: [
|
|
305
|
+
];
|
|
306
|
+
}
|
|
307
|
+
/** Platform code for `Spotify`. */
|
|
308
|
+
export declare function platformSpotify(options?: PlatformSpotifyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
309
|
+
export interface PlatformAppleMusicOptions {
|
|
310
|
+
package?: string;
|
|
311
|
+
arguments?: [
|
|
312
|
+
];
|
|
313
|
+
}
|
|
314
|
+
/** Platform code for `AppleMusic`. */
|
|
315
|
+
export declare function platformAppleMusic(options?: PlatformAppleMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
316
|
+
export interface PlatformAmazonMusicOptions {
|
|
317
|
+
package?: string;
|
|
318
|
+
arguments?: [
|
|
319
|
+
];
|
|
320
|
+
}
|
|
321
|
+
/** Platform code for `AmazonMusic`. */
|
|
322
|
+
export declare function platformAmazonMusic(options?: PlatformAmazonMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
323
|
+
export interface PlatformBandcampOptions {
|
|
324
|
+
package?: string;
|
|
325
|
+
arguments?: [
|
|
326
|
+
];
|
|
327
|
+
}
|
|
328
|
+
/** Platform code for `Bandcamp`. */
|
|
329
|
+
export declare function platformBandcamp(options?: PlatformBandcampOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
330
|
+
export interface PlatformDeezerOptions {
|
|
331
|
+
package?: string;
|
|
332
|
+
arguments?: [
|
|
333
|
+
];
|
|
334
|
+
}
|
|
335
|
+
/** Platform code for `Deezer`. */
|
|
336
|
+
export declare function platformDeezer(options?: PlatformDeezerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
337
|
+
export interface PlatformSoundcloudOptions {
|
|
338
|
+
package?: string;
|
|
339
|
+
arguments?: [
|
|
340
|
+
];
|
|
341
|
+
}
|
|
342
|
+
/** Platform code for `SoundCloud`. */
|
|
343
|
+
export declare function platformSoundcloud(options?: PlatformSoundcloudOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
344
|
+
export interface PlatformTidalOptions {
|
|
345
|
+
package?: string;
|
|
346
|
+
arguments?: [
|
|
347
|
+
];
|
|
348
|
+
}
|
|
349
|
+
/** Platform code for `Tidal`. */
|
|
350
|
+
export declare function platformTidal(options?: PlatformTidalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
351
|
+
export interface PlatformYoutubeMusicOptions {
|
|
352
|
+
package?: string;
|
|
353
|
+
arguments?: [
|
|
354
|
+
];
|
|
355
|
+
}
|
|
356
|
+
/** Platform code for `YouTubeMusic`. */
|
|
357
|
+
export declare function platformYoutubeMusic(options?: PlatformYoutubeMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
358
|
+
export interface NewSpotifyArguments {
|
|
359
|
+
id: RawTransactionArgument<string>;
|
|
360
|
+
}
|
|
361
|
+
export interface NewSpotifyOptions {
|
|
362
|
+
package?: string;
|
|
363
|
+
arguments: NewSpotifyArguments | [
|
|
364
|
+
id: RawTransactionArgument<string>
|
|
365
|
+
];
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* Builds a Spotify link from its id. Aborts if `id` is empty or exceeds
|
|
369
|
+
* `MAX_SPOTIFY_ID_LENGTH`.
|
|
370
|
+
*/
|
|
371
|
+
export declare function newSpotify(options: NewSpotifyOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
372
|
+
export interface NewAppleMusicAlbumArguments {
|
|
373
|
+
storefront: RawTransactionArgument<string>;
|
|
374
|
+
albumId: RawTransactionArgument<string>;
|
|
375
|
+
}
|
|
376
|
+
export interface NewAppleMusicAlbumOptions {
|
|
377
|
+
package?: string;
|
|
378
|
+
arguments: NewAppleMusicAlbumArguments | [
|
|
379
|
+
storefront: RawTransactionArgument<string>,
|
|
380
|
+
albumId: RawTransactionArgument<string>
|
|
381
|
+
];
|
|
382
|
+
}
|
|
383
|
+
/**
|
|
384
|
+
* Builds an Apple Music album link (no track selector). Aborts if `storefront` or
|
|
385
|
+
* `album_id` is empty or exceeds its maximum length.
|
|
386
|
+
*/
|
|
387
|
+
export declare function newAppleMusicAlbum(options: NewAppleMusicAlbumOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
388
|
+
export interface NewAppleMusicTrackArguments {
|
|
389
|
+
storefront: RawTransactionArgument<string>;
|
|
390
|
+
albumId: RawTransactionArgument<string>;
|
|
391
|
+
trackId: RawTransactionArgument<string>;
|
|
392
|
+
}
|
|
393
|
+
export interface NewAppleMusicTrackOptions {
|
|
394
|
+
package?: string;
|
|
395
|
+
arguments: NewAppleMusicTrackArguments | [
|
|
396
|
+
storefront: RawTransactionArgument<string>,
|
|
397
|
+
albumId: RawTransactionArgument<string>,
|
|
398
|
+
trackId: RawTransactionArgument<string>
|
|
399
|
+
];
|
|
400
|
+
}
|
|
401
|
+
/**
|
|
402
|
+
* Builds an Apple Music track link — addresses `track_id` within its `album_id`.
|
|
403
|
+
* Aborts if any identifier is empty or exceeds its maximum length.
|
|
404
|
+
*/
|
|
405
|
+
export declare function newAppleMusicTrack(options: NewAppleMusicTrackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
406
|
+
export interface NewAmazonMusicAlbumArguments {
|
|
407
|
+
albumId: RawTransactionArgument<string>;
|
|
408
|
+
}
|
|
409
|
+
export interface NewAmazonMusicAlbumOptions {
|
|
410
|
+
package?: string;
|
|
411
|
+
arguments: NewAmazonMusicAlbumArguments | [
|
|
412
|
+
albumId: RawTransactionArgument<string>
|
|
413
|
+
];
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Builds an Amazon Music album link (no track selector). Aborts if `album_id` is
|
|
417
|
+
* empty or exceeds `MAX_AMAZON_MUSIC_ALBUM_ID_LENGTH`.
|
|
418
|
+
*/
|
|
419
|
+
export declare function newAmazonMusicAlbum(options: NewAmazonMusicAlbumOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
420
|
+
export interface NewAmazonMusicTrackArguments {
|
|
421
|
+
albumId: RawTransactionArgument<string>;
|
|
422
|
+
trackId: RawTransactionArgument<string>;
|
|
423
|
+
}
|
|
424
|
+
export interface NewAmazonMusicTrackOptions {
|
|
425
|
+
package?: string;
|
|
426
|
+
arguments: NewAmazonMusicTrackArguments | [
|
|
427
|
+
albumId: RawTransactionArgument<string>,
|
|
428
|
+
trackId: RawTransactionArgument<string>
|
|
429
|
+
];
|
|
430
|
+
}
|
|
431
|
+
/**
|
|
432
|
+
* Builds an Amazon Music track link — addresses `track_id` within its `album_id`.
|
|
433
|
+
* Aborts if either ASIN is empty or exceeds its maximum length.
|
|
434
|
+
*/
|
|
435
|
+
export declare function newAmazonMusicTrack(options: NewAmazonMusicTrackOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
436
|
+
export interface NewBandcampArguments {
|
|
437
|
+
subdomain: RawTransactionArgument<string>;
|
|
438
|
+
slug: RawTransactionArgument<string>;
|
|
439
|
+
}
|
|
440
|
+
export interface NewBandcampOptions {
|
|
441
|
+
package?: string;
|
|
442
|
+
arguments: NewBandcampArguments | [
|
|
443
|
+
subdomain: RawTransactionArgument<string>,
|
|
444
|
+
slug: RawTransactionArgument<string>
|
|
445
|
+
];
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Builds a Bandcamp link. Aborts if `subdomain` or `slug` is empty or exceeds its
|
|
449
|
+
* maximum length.
|
|
450
|
+
*/
|
|
451
|
+
export declare function newBandcamp(options: NewBandcampOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
452
|
+
export interface NewDeezerArguments {
|
|
453
|
+
id: RawTransactionArgument<string>;
|
|
454
|
+
}
|
|
455
|
+
export interface NewDeezerOptions {
|
|
456
|
+
package?: string;
|
|
457
|
+
arguments: NewDeezerArguments | [
|
|
458
|
+
id: RawTransactionArgument<string>
|
|
459
|
+
];
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Builds a Deezer link from its id. Aborts if `id` is empty or exceeds
|
|
463
|
+
* `MAX_DEEZER_ID_LENGTH`.
|
|
464
|
+
*/
|
|
465
|
+
export declare function newDeezer(options: NewDeezerOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
466
|
+
export interface NewSoundcloudArguments {
|
|
467
|
+
user: RawTransactionArgument<string>;
|
|
468
|
+
slug: RawTransactionArgument<string>;
|
|
469
|
+
}
|
|
470
|
+
export interface NewSoundcloudOptions {
|
|
471
|
+
package?: string;
|
|
472
|
+
arguments: NewSoundcloudArguments | [
|
|
473
|
+
user: RawTransactionArgument<string>,
|
|
474
|
+
slug: RawTransactionArgument<string>
|
|
475
|
+
];
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Builds a SoundCloud link. Aborts if `user` or `slug` is empty or exceeds its
|
|
479
|
+
* maximum length.
|
|
480
|
+
*/
|
|
481
|
+
export declare function newSoundcloud(options: NewSoundcloudOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
482
|
+
export interface NewTidalArguments {
|
|
483
|
+
id: RawTransactionArgument<string>;
|
|
484
|
+
}
|
|
485
|
+
export interface NewTidalOptions {
|
|
486
|
+
package?: string;
|
|
487
|
+
arguments: NewTidalArguments | [
|
|
488
|
+
id: RawTransactionArgument<string>
|
|
489
|
+
];
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* Builds a Tidal link from its id. Aborts if `id` is empty or exceeds
|
|
493
|
+
* `MAX_TIDAL_ID_LENGTH`.
|
|
494
|
+
*/
|
|
495
|
+
export declare function newTidal(options: NewTidalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
496
|
+
export interface NewYoutubeMusicArguments {
|
|
497
|
+
id: RawTransactionArgument<string>;
|
|
498
|
+
}
|
|
499
|
+
export interface NewYoutubeMusicOptions {
|
|
500
|
+
package?: string;
|
|
501
|
+
arguments: NewYoutubeMusicArguments | [
|
|
502
|
+
id: RawTransactionArgument<string>
|
|
503
|
+
];
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
* Builds a YouTube Music link from its id. Aborts if `id` is empty or exceeds
|
|
507
|
+
* `MAX_YOUTUBE_MUSIC_ID_LENGTH`.
|
|
508
|
+
*/
|
|
509
|
+
export declare function newYoutubeMusic(options: NewYoutubeMusicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
510
|
+
export interface SetReleaseLinkArguments {
|
|
511
|
+
self: RawTransactionArgument<string>;
|
|
512
|
+
cap: RawTransactionArgument<string>;
|
|
513
|
+
link: TransactionArgument;
|
|
514
|
+
}
|
|
515
|
+
export interface SetReleaseLinkOptions {
|
|
516
|
+
package?: string;
|
|
517
|
+
arguments: SetReleaseLinkArguments | [
|
|
518
|
+
self: RawTransactionArgument<string>,
|
|
519
|
+
cap: RawTransactionArgument<string>,
|
|
520
|
+
link: TransactionArgument
|
|
521
|
+
];
|
|
522
|
+
}
|
|
523
|
+
/**
|
|
524
|
+
* Sets (or replaces) a DSP's album-level link. The platform is derived from `link`
|
|
525
|
+
* itself. Per-track links are untouched.
|
|
526
|
+
*/
|
|
527
|
+
export declare function setReleaseLink(options: SetReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
528
|
+
export interface ClearReleaseLinkArguments {
|
|
529
|
+
self: RawTransactionArgument<string>;
|
|
530
|
+
cap: RawTransactionArgument<string>;
|
|
531
|
+
platform: RawTransactionArgument<number>;
|
|
532
|
+
}
|
|
533
|
+
export interface ClearReleaseLinkOptions {
|
|
534
|
+
package?: string;
|
|
535
|
+
arguments: ClearReleaseLinkArguments | [
|
|
536
|
+
self: RawTransactionArgument<string>,
|
|
537
|
+
cap: RawTransactionArgument<string>,
|
|
538
|
+
platform: RawTransactionArgument<number>
|
|
539
|
+
];
|
|
540
|
+
}
|
|
541
|
+
/** Clears a DSP's album-level link. No-op if unset. */
|
|
542
|
+
export declare function clearReleaseLink(options: ClearReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
543
|
+
export interface SetTrackLinkArguments {
|
|
544
|
+
self: RawTransactionArgument<string>;
|
|
545
|
+
cap: RawTransactionArgument<string>;
|
|
546
|
+
trackIndex: RawTransactionArgument<number | bigint>;
|
|
547
|
+
link: TransactionArgument;
|
|
548
|
+
}
|
|
549
|
+
export interface SetTrackLinkOptions {
|
|
550
|
+
package?: string;
|
|
551
|
+
arguments: SetTrackLinkArguments | [
|
|
552
|
+
self: RawTransactionArgument<string>,
|
|
553
|
+
cap: RawTransactionArgument<string>,
|
|
554
|
+
trackIndex: RawTransactionArgument<number | bigint>,
|
|
555
|
+
link: TransactionArgument
|
|
556
|
+
];
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* Sets (or replaces) a DSP's link for one track (by tracklist index). The platform
|
|
560
|
+
* is derived from `link` itself. Aborts if the index is out of range.
|
|
561
|
+
*/
|
|
562
|
+
export declare function setTrackLink(options: SetTrackLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
563
|
+
export interface ClearTrackLinkArguments {
|
|
564
|
+
self: RawTransactionArgument<string>;
|
|
565
|
+
cap: RawTransactionArgument<string>;
|
|
566
|
+
platform: RawTransactionArgument<number>;
|
|
567
|
+
trackIndex: RawTransactionArgument<number | bigint>;
|
|
568
|
+
}
|
|
569
|
+
export interface ClearTrackLinkOptions {
|
|
570
|
+
package?: string;
|
|
571
|
+
arguments: ClearTrackLinkArguments | [
|
|
572
|
+
self: RawTransactionArgument<string>,
|
|
573
|
+
cap: RawTransactionArgument<string>,
|
|
574
|
+
platform: RawTransactionArgument<number>,
|
|
575
|
+
trackIndex: RawTransactionArgument<number | bigint>
|
|
576
|
+
];
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* Clears a DSP's link for one track (the track falls back to the album-level
|
|
580
|
+
* link). No-op if no per-track array exists for this platform. Aborts if the index
|
|
581
|
+
* is out of range (when an array exists).
|
|
582
|
+
*/
|
|
583
|
+
export declare function clearTrackLink(options: ClearTrackLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
584
|
+
export interface ClearTrackLinksArguments {
|
|
585
|
+
self: RawTransactionArgument<string>;
|
|
586
|
+
cap: RawTransactionArgument<string>;
|
|
587
|
+
platform: RawTransactionArgument<number>;
|
|
588
|
+
}
|
|
589
|
+
export interface ClearTrackLinksOptions {
|
|
590
|
+
package?: string;
|
|
591
|
+
arguments: ClearTrackLinksArguments | [
|
|
592
|
+
self: RawTransactionArgument<string>,
|
|
593
|
+
cap: RawTransactionArgument<string>,
|
|
594
|
+
platform: RawTransactionArgument<number>
|
|
595
|
+
];
|
|
596
|
+
}
|
|
597
|
+
/** Removes a DSP's entire per-track array. No-op if absent. */
|
|
598
|
+
export declare function clearTrackLinks(options: ClearTrackLinksOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
599
|
+
export interface HasReleaseLinkArguments {
|
|
600
|
+
self: RawTransactionArgument<string>;
|
|
601
|
+
platform: RawTransactionArgument<number>;
|
|
602
|
+
}
|
|
603
|
+
export interface HasReleaseLinkOptions {
|
|
604
|
+
package?: string;
|
|
605
|
+
arguments: HasReleaseLinkArguments | [
|
|
606
|
+
self: RawTransactionArgument<string>,
|
|
607
|
+
platform: RawTransactionArgument<number>
|
|
608
|
+
];
|
|
609
|
+
}
|
|
610
|
+
/** Whether a DSP's album-level link is set. */
|
|
611
|
+
export declare function hasReleaseLink(options: HasReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
612
|
+
export interface ReleaseLinkArguments {
|
|
613
|
+
self: RawTransactionArgument<string>;
|
|
614
|
+
platform: RawTransactionArgument<number>;
|
|
615
|
+
}
|
|
616
|
+
export interface ReleaseLinkOptions {
|
|
617
|
+
package?: string;
|
|
618
|
+
arguments: ReleaseLinkArguments | [
|
|
619
|
+
self: RawTransactionArgument<string>,
|
|
620
|
+
platform: RawTransactionArgument<number>
|
|
621
|
+
];
|
|
622
|
+
}
|
|
623
|
+
/** A DSP's album-level link, if set. */
|
|
624
|
+
export declare function releaseLink(options: ReleaseLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
625
|
+
export interface TrackLinkArguments {
|
|
626
|
+
self: RawTransactionArgument<string>;
|
|
627
|
+
platform: RawTransactionArgument<number>;
|
|
628
|
+
trackIndex: RawTransactionArgument<number | bigint>;
|
|
629
|
+
}
|
|
630
|
+
export interface TrackLinkOptions {
|
|
631
|
+
package?: string;
|
|
632
|
+
arguments: TrackLinkArguments | [
|
|
633
|
+
self: RawTransactionArgument<string>,
|
|
634
|
+
platform: RawTransactionArgument<number>,
|
|
635
|
+
trackIndex: RawTransactionArgument<number | bigint>
|
|
636
|
+
];
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* A DSP's link for one track, if set. An unset slot — or no array at all — yields
|
|
640
|
+
* `none`, meaning the track inherits the album-level link. Aborts if the index is
|
|
641
|
+
* out of range (when an array exists).
|
|
642
|
+
*/
|
|
643
|
+
export declare function trackLink(options: TrackLinkOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
644
|
+
//# sourceMappingURL=release_dsp_link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"release_dsp_link.d.ts","sourceRoot":"","sources":["../../../src/contracts/release_dsp_link/release_dsp_link.ts"],"names":[],"mappings":"AAAA;;gEAEgE;AAGhE;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAA0B,KAAK,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEzH,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEtF,eAAO,MAAM,cAAc,gJAAgF,CAAC;AAC5G,eAAO,MAAM,aAAa,+IAA+E,CAAC;AAC1G;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,WAAW;IAChB;;;;QAII;;;;IAIJ;;;;;;;;;OASG;;;;;;IAMH;;;;;OAKG;;;;;IAKH;;;;;OAKG;;;;;IAKH;;;;;OAKG;;;;IAIH;;;;;OAKG;;;;;IAKH;;;;;OAKG;;;;IAIH;;;;;OAKG;;;;gEAIH,CAAC;AACT,eAAO,MAAM,mBAAmB;;;QAjFxB;;;;YAII;;;;QAIJ;;;;;;;;;WASG;;;;;;QAMH;;;;;WAKG;;;;;QAKH;;;;;WAKG;;;;;QAKH;;;;;WAKG;;;;QAIH;;;;;WAKG;;;;;QAKH;;;;;WAKG;;;;QAIH;;;;;WAKG;;;;;wEAQH,CAAC;AACT,eAAO,MAAM,uBAAuB;;;4EAG5B,CAAC;AACT,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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