Skip to content

Commit f878cb2

Browse files
docs: set token asset store SDK (#602)
* docs: set token asset store SDK Signed-off-by: David Dal Busco <[email protected]> * πŸ“„ Update LLMs.txt snapshot for PR review * πŸ“„ Update LLMs.txt snapshot for PR review --------- Signed-off-by: David Dal Busco <[email protected]> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 5956208 commit f878cb2

File tree

3 files changed

+117
-30
lines changed

3 files changed

+117
-30
lines changed

β€Ž.llms-snapshots/llms-full.txtβ€Ž

Lines changed: 71 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -8706,36 +8706,36 @@ For most applications, we recommend using the default subnets and staying on the
87068706

87078707
| Subnet ID | Type | Canisters (Running/Stopped) | Nodes (Up/Total) |
87088708
| --- | --- | --- | --- |
8709-
| 6pbhf-qzpdk-kuqbr-pklfa-5ehhf-jfjps-zsj6q-57nrl-kzhpd-mu7hc-vae | Juno's Subnet | 35692/697 | 13/13 |
8710-
| pzp6e-ekpqk-3c5x7-2h6so-njoeq-mt45d-h3h6c-q3mxf-vpeq5-fk5o7-yae | Fiduciary | 3478/12 | 33/34 |
8711-
| bkfrj-6k62g-dycql-7h53p-atvkj-zg4to-gaogh-netha-ptybj-ntsgw-rqe | European | 25082/634 | 12/13 |
8712-
| brlsh-zidhj-3yy3e-6vqbz-7xnih-xeq2l-as5oc-g32c4-i5pdn-2wwof-oae | | 35146/734 | 13/13 |
8713-
| o3ow2-2ipam-6fcjo-3j5vt-fzbge-2g7my-5fz2m-p4o2t-dwlc4-gt2q7-5ae | | 57264/67 | 12/13 |
8714-
| 4ecnw-byqwz-dtgss-ua2mh-pfvs7-c3lct-gtf4e-hnu75-j7eek-iifqm-sqe | | 8273/251 | 13/13 |
8715-
| opn46-zyspe-hhmyp-4zu6u-7sbrh-dok77-m7dch-im62f-vyimr-a3n2c-4ae | | 40171/727 | 13/13 |
8716-
| nl6hn-ja4yw-wvmpy-3z2jx-ymc34-pisx3-3cp5z-3oj4a-qzzny-jbsv3-4qe | | 32018/721 | 12/13 |
8717-
| io67a-2jmkw-zup3h-snbwi-g6a5n-rm5dn-b6png-lvdpl-nqnto-yih6l-gqe | | 2580/2398 | 13/13 |
8718-
| ejbmu-grnam-gk6ol-6irwa-htwoj-7ihfl-goimw-hlnvh-abms4-47v2e-zqe | | 11765/35 | 13/13 |
8719-
| gmq5v-hbozq-uui6y-o55wc-ihop3-562wb-3qspg-nnijg-npqp5-he3cj-3ae | | 34247/172 | 13/13 |
8720-
| pjljw-kztyl-46ud4-ofrj6-nzkhm-3n4nt-wi3jt-ypmav-ijqkt-gjf66-uae | | 32486/165 | 12/13 |
8721-
| 4zbus-z2bmt-ilreg-xakz4-6tyre-hsqj4-slb4g-zjwqo-snjcc-iqphi-3qe | | 58455/9 | 12/13 |
8722-
| 5kdm2-62fc6-fwnja-hutkz-ycsnm-4z33i-woh43-4cenu-ev7mi-gii6t-4ae | | 12954/64 | 13/13 |
8723-
| e66qm-3cydn-nkf4i-ml4rb-4ro6o-srm5s-x5hwq-hnprz-3meqp-s7vks-5qe | | 35547/682 | 13/13 |
8724-
| qdvhd-os4o2-zzrdw-xrcv4-gljou-eztdp-bj326-e6jgr-tkhuc-ql6v2-yqe | | 53347/28 | 13/13 |
8725-
| snjp4-xlbw4-mnbog-ddwy6-6ckfd-2w5a2-eipqo-7l436-pxqkh-l6fuv-vae | | 3759/1401 | 13/13 |
8726-
| shefu-t3kr5-t5q3w-mqmdq-jabyv-vyvtf-cyyey-3kmo4-toyln-emubw-4qe | | 2590/2516 | 13/13 |
8727-
| csyj4-zmann-ys6ge-3kzi6-onexi-obayx-2fvak-zersm-euci4-6pslt-lae | | 3269/1692 | 13/13 |
8728-
| yinp6-35cfo-wgcd2-oc4ty-2kqpf-t4dul-rfk33-fsq3r-mfmua-m2ngh-jqe | | 7958/564 | 13/13 |
8729-
| w4asl-4nmyj-qnr7c-6cqq4-tkwmt-o26di-iupkq-vx4kt-asbrx-jzuxh-4ae | | 2740/2342 | 13/13 |
8730-
| c4isl-65rwf-emhk5-5ta5m-ngl73-rgrl3-tcc56-2hkja-4erqd-iivmy-7ae | | 1279/3885 | 13/13 |
8731-
| mpubz-g52jc-grhjo-5oze5-qcj74-sex34-omprz-ivnsm-qvvhr-rfzpv-vae | | 55570/252 | 12/13 |
8732-
| fuqsr-in2lc-zbcjj-ydmcw-pzq7h-4xm2z-pto4i-dcyee-5z4rz-x63ji-nae | | 21804/29 | 13/13 |
8733-
| cv73p-6v7zi-u67oy-7jc3h-qspsz-g5lrj-4fn7k-xrax3-thek2-sl46v-jae | | 51550/276 | 13/13 |
8734-
| pae4o-o6dxf-xki7q-ezclx-znyd6-fnk6w-vkv5z-5lfwh-xym2i-otrrw-fqe | | 4698/527 | 13/13 |
8735-
| qxesv-zoxpm-vc64m-zxguk-5sj74-35vrb-tbgwg-pcird-5gr26-62oxl-cae | | 2042/3029 | 13/13 |
8736-
| 4utr6-xo2fz-v7fsb-t3wsg-k7sfl-cj2ba-ghdnd-kcrfo-xavdb-ebean-mqe | | 2290/2919 | 13/13 |
8737-
| lspz2-jx4pu-k3e7p-znm7j-q4yum-ork6e-6w4q6-pijwq-znehu-4jabe-kqe | | 39700/883 | 13/13 |
8738-
| jtdsg-3h6gi-hs7o5-z2soi-43w3z-soyl3-ajnp3-ekni5-sw553-5kw67-nqe | | 27466/145 | 13/13 |
8709+
| 6pbhf-qzpdk-kuqbr-pklfa-5ehhf-jfjps-zsj6q-57nrl-kzhpd-mu7hc-vae | Juno's Subnet | 35885/697 | 13/13 |
8710+
| pzp6e-ekpqk-3c5x7-2h6so-njoeq-mt45d-h3h6c-q3mxf-vpeq5-fk5o7-yae | Fiduciary | 3564/12 | 34/34 |
8711+
| bkfrj-6k62g-dycql-7h53p-atvkj-zg4to-gaogh-netha-ptybj-ntsgw-rqe | European | 25096/663 | 13/13 |
8712+
| brlsh-zidhj-3yy3e-6vqbz-7xnih-xeq2l-as5oc-g32c4-i5pdn-2wwof-oae | | 35432/815 | 13/13 |
8713+
| o3ow2-2ipam-6fcjo-3j5vt-fzbge-2g7my-5fz2m-p4o2t-dwlc4-gt2q7-5ae | | 57571/170 | 13/13 |
8714+
| 4ecnw-byqwz-dtgss-ua2mh-pfvs7-c3lct-gtf4e-hnu75-j7eek-iifqm-sqe | | 8684/303 | 13/13 |
8715+
| opn46-zyspe-hhmyp-4zu6u-7sbrh-dok77-m7dch-im62f-vyimr-a3n2c-4ae | | 40491/835 | 13/13 |
8716+
| nl6hn-ja4yw-wvmpy-3z2jx-ymc34-pisx3-3cp5z-3oj4a-qzzny-jbsv3-4qe | | 32293/818 | 13/13 |
8717+
| io67a-2jmkw-zup3h-snbwi-g6a5n-rm5dn-b6png-lvdpl-nqnto-yih6l-gqe | | 2997/2528 | 13/13 |
8718+
| ejbmu-grnam-gk6ol-6irwa-htwoj-7ihfl-goimw-hlnvh-abms4-47v2e-zqe | | 12068/111 | 13/13 |
8719+
| gmq5v-hbozq-uui6y-o55wc-ihop3-562wb-3qspg-nnijg-npqp5-he3cj-3ae | | 34558/256 | 13/13 |
8720+
| pjljw-kztyl-46ud4-ofrj6-nzkhm-3n4nt-wi3jt-ypmav-ijqkt-gjf66-uae | | 32743/243 | 12/13 |
8721+
| 4zbus-z2bmt-ilreg-xakz4-6tyre-hsqj4-slb4g-zjwqo-snjcc-iqphi-3qe | | 59568/87 | 13/13 |
8722+
| 5kdm2-62fc6-fwnja-hutkz-ycsnm-4z33i-woh43-4cenu-ev7mi-gii6t-4ae | | 13234/154 | 13/13 |
8723+
| e66qm-3cydn-nkf4i-ml4rb-4ro6o-srm5s-x5hwq-hnprz-3meqp-s7vks-5qe | | 35861/769 | 13/13 |
8724+
| qdvhd-os4o2-zzrdw-xrcv4-gljou-eztdp-bj326-e6jgr-tkhuc-ql6v2-yqe | | 53577/125 | 13/13 |
8725+
| snjp4-xlbw4-mnbog-ddwy6-6ckfd-2w5a2-eipqo-7l436-pxqkh-l6fuv-vae | | 4277/1511 | 13/13 |
8726+
| shefu-t3kr5-t5q3w-mqmdq-jabyv-vyvtf-cyyey-3kmo4-toyln-emubw-4qe | | 3004/2624 | 13/13 |
8727+
| csyj4-zmann-ys6ge-3kzi6-onexi-obayx-2fvak-zersm-euci4-6pslt-lae | | 3682/1812 | 13/13 |
8728+
| yinp6-35cfo-wgcd2-oc4ty-2kqpf-t4dul-rfk33-fsq3r-mfmua-m2ngh-jqe | | 8457/582 | 13/13 |
8729+
| w4asl-4nmyj-qnr7c-6cqq4-tkwmt-o26di-iupkq-vx4kt-asbrx-jzuxh-4ae | | 3151/2468 | 12/13 |
8730+
| c4isl-65rwf-emhk5-5ta5m-ngl73-rgrl3-tcc56-2hkja-4erqd-iivmy-7ae | | 1700/4011 | 13/13 |
8731+
| mpubz-g52jc-grhjo-5oze5-qcj74-sex34-omprz-ivnsm-qvvhr-rfzpv-vae | | 55938/327 | 12/13 |
8732+
| fuqsr-in2lc-zbcjj-ydmcw-pzq7h-4xm2z-pto4i-dcyee-5z4rz-x63ji-nae | | 22380/117 | 13/13 |
8733+
| cv73p-6v7zi-u67oy-7jc3h-qspsz-g5lrj-4fn7k-xrax3-thek2-sl46v-jae | | 51889/339 | 13/13 |
8734+
| pae4o-o6dxf-xki7q-ezclx-znyd6-fnk6w-vkv5z-5lfwh-xym2i-otrrw-fqe | | 5134/630 | 13/13 |
8735+
| qxesv-zoxpm-vc64m-zxguk-5sj74-35vrb-tbgwg-pcird-5gr26-62oxl-cae | | 2531/3146 | 13/13 |
8736+
| 4utr6-xo2fz-v7fsb-t3wsg-k7sfl-cj2ba-ghdnd-kcrfo-xavdb-ebean-mqe | | 2756/3071 | 13/13 |
8737+
| lspz2-jx4pu-k3e7p-znm7j-q4yum-ork6e-6w4q6-pijwq-znehu-4jabe-kqe | | 40004/944 | 13/13 |
8738+
| jtdsg-3h6gi-hs7o5-z2soi-43w3z-soyl3-ajnp3-ekni5-sw553-5kw67-nqe | | 27813/206 | 13/13 |
87398739

87408740
# Wallet
87418741

@@ -10643,6 +10643,18 @@ pub fn delete_filtered_assets_store( caller: Principal, collection: Collec
1064310643

1064410644
---
1064510645

10646+
### set\_asset\_token\_store
10647+
10648+
Set or update an access token for an asset.
10649+
10650+
```
10651+
pub fn set_asset_token_store( caller: Principal, collection: &CollectionKey, full_path: &FullPath, token: &AssetAccessToken,) -> Result<Option<Asset>, String>
10652+
```
10653+
10654+
πŸ“¦ See full definition on [docs.rs](https://docs.rs/junobuild-satellite/latest/junobuild_satellite/fn.set_asset_token_store.html)
10655+
10656+
---
10657+
1064610658
### get\_content\_chunks\_store
1064710659

1064810660
Retrieves content chunks of an asset. Particularly useful when stable memory is used.
@@ -11656,6 +11668,35 @@ function deleteFilteredAssetsStore( params: DeleteFilteredAssetsStoreParams): O
1165611668

1165711669
---
1165811670

11671+
### setAssetTokenStore
11672+
11673+
Set or update an access token for an asset.
11674+
11675+
```
11676+
function setAssetTokenStore(params: SetAssetTokenStoreParams): void;
11677+
```
11678+
11679+
πŸ“¦ Import from `@junobuild/functions/sdk`
11680+
11681+
#### Parameters:
11682+
11683+
* `params`: An object containing:
11684+
* `caller`: The identity initiating the deletion.
11685+
* `collection`: The collection name.
11686+
* `full_path`: The asset path to delete.
11687+
* `token`: The token to apply to the asset. Setting `undefined` removes the protection and makes the asset public.
11688+
11689+
#### Returns:
11690+
11691+
* `void`
11692+
11693+
#### Throws:
11694+
11695+
* `ZodError` if the input schema is invalid.
11696+
* `Error` if the operation fails.
11697+
11698+
---
11699+
1165911700
### getContentChunksStore
1166011701

1166111702
Retrieves a specific chunk of an asset.

β€Ždocs/reference/functions/rust/sdk.mdxβ€Ž

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,23 @@ pub fn delete_filtered_assets_store(
283283

284284
---
285285

286+
### set_asset_token_store
287+
288+
Set or update an access token for an asset.
289+
290+
```rust
291+
pub fn set_asset_token_store(
292+
caller: Principal,
293+
collection: &CollectionKey,
294+
full_path: &FullPath,
295+
token: &AssetAccessToken,
296+
) -> Result<Option<Asset>, String>
297+
```
298+
299+
πŸ“¦ See full definition on [docs.rs](https://docs.rs/junobuild-satellite/latest/junobuild_satellite/fn.set_asset_token_store.html)
300+
301+
---
302+
286303
### get_content_chunks_store
287304

288305
Retrieves content chunks of an asset. Particularly useful when stable memory is used.

β€Ždocs/reference/functions/typescript/sdk.mdxβ€Ž

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,35 @@ function deleteFilteredAssetsStore(
485485

486486
---
487487

488+
### setAssetTokenStore
489+
490+
Set or update an access token for an asset.
491+
492+
```typescript
493+
function setAssetTokenStore(params: SetAssetTokenStoreParams): void;
494+
```
495+
496+
πŸ“¦ Import from `@junobuild/functions/sdk`
497+
498+
#### Parameters:
499+
500+
- `params`: An object containing:
501+
- `caller`: The identity initiating the deletion.
502+
- `collection`: The collection name.
503+
- `full_path`: The asset path to delete.
504+
- `token`: The token to apply to the asset. Setting `undefined` removes the protection and makes the asset public.
505+
506+
#### Returns:
507+
508+
- `void`
509+
510+
#### Throws:
511+
512+
- `ZodError` if the input schema is invalid.
513+
- `Error` if the operation fails.
514+
515+
---
516+
488517
### getContentChunksStore
489518

490519
Retrieves a specific chunk of an asset.

0 commit comments

Comments
Β (0)