diff --git a/404.html b/404.html index f9320f0..f613cb4 100644 --- a/404.html +++ b/404.html @@ -17,7 +17,7 @@
- + \ No newline at end of file diff --git a/assets/setup.md.vg48Spnj.js b/assets/setup.md.CAeu3JFa.js similarity index 96% rename from assets/setup.md.vg48Spnj.js rename to assets/setup.md.CAeu3JFa.js index 8864a59..8605f38 100644 --- a/assets/setup.md.vg48Spnj.js +++ b/assets/setup.md.CAeu3JFa.js @@ -10,7 +10,7 @@ import{_ as i,c as t,a2 as a,o as e}from"./chunks/framework.CQ46jkEd.js";const g }
  1. Import the <roles-context> element and add it to your html wrapping the whole section of your page in which you are going to be placing the other elements from @darksoil-studio/file-storage-zome:
js
// This can be placed in the index.js, at the top level of your web-app.
 import "@darksoil-studio/file-storage-zome/elements/roles-context.js";

And then add the <roles-context> element in your html:

html
<roles-context>
   <!-- Add here other elements from @darksoil-studio/file-storage-zome -->
-</roles-context>
  1. Attach the rolesStore to the <roles-context> element:

You need to set the store property of it to your already instantiated RolesStore object:

html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context [store]="rolesStore"><!-- ... --></roles-context>
html
<roles-context :store="rolesStore"><!-- ... --></roles-context>
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context .store=\${ rolesStore}><!-- ... --></roles-context>

OR

js
const contextElement = document.querySelector("roles-context");
+</roles-context>
  1. Attach the rolesStore to the <roles-context> element:

You need to set the store property of it to your already instantiated RolesStore object:

html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context [store]="rolesStore"><!-- ... --></roles-context>
html
<roles-context :store="rolesStore"><!-- ... --></roles-context>
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context .store=\${ rolesStore}><!-- ... --></roles-context>

OR

js
const contextElement = document.querySelector("roles-context");
 contextElement.store = store;

You can read more about the context pattern here.

  1. Choose which elements you need and import them like this:
js
import "@darksoil-studio/file-storage-zome/dist/elements/roles-context.js";

And then they are ready be used inside the <roles-context> just like any other HTML tag.

This will define all the elements from this module in the global CustomElementsRegistry. You can read more about Custom Elements here.

  1. Add your preferred shoelace theme in your <head> tag:
html
  <head>
     <link rel="stylesheet" href="path/to/shoelace/dist/themes/light.css" />
   </head>

You can read more about how to initialize the shoelace theme here.


That's it! You have now integrated both the backend and the frontend for the profiles module.

Example

You can see a full working example of the UI working in here.

`,33)]))}const c=i(l,[["render",n]]);export{g as __pageData,c as default}; diff --git a/assets/setup.md.vg48Spnj.lean.js b/assets/setup.md.CAeu3JFa.lean.js similarity index 96% rename from assets/setup.md.vg48Spnj.lean.js rename to assets/setup.md.CAeu3JFa.lean.js index 8864a59..8605f38 100644 --- a/assets/setup.md.vg48Spnj.lean.js +++ b/assets/setup.md.CAeu3JFa.lean.js @@ -10,7 +10,7 @@ import{_ as i,c as t,a2 as a,o as e}from"./chunks/framework.CQ46jkEd.js";const g }
  1. Import the <roles-context> element and add it to your html wrapping the whole section of your page in which you are going to be placing the other elements from @darksoil-studio/file-storage-zome:
js
// This can be placed in the index.js, at the top level of your web-app.
 import "@darksoil-studio/file-storage-zome/elements/roles-context.js";

And then add the <roles-context> element in your html:

html
<roles-context>
   <!-- Add here other elements from @darksoil-studio/file-storage-zome -->
-</roles-context>
  1. Attach the rolesStore to the <roles-context> element:

You need to set the store property of it to your already instantiated RolesStore object:

html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context [store]="rolesStore"><!-- ... --></roles-context>
html
<roles-context :store="rolesStore"><!-- ... --></roles-context>
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context .store=\${ rolesStore}><!-- ... --></roles-context>

OR

js
const contextElement = document.querySelector("roles-context");
+</roles-context>
  1. Attach the rolesStore to the <roles-context> element:

You need to set the store property of it to your already instantiated RolesStore object:

html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context [store]="rolesStore"><!-- ... --></roles-context>
html
<roles-context :store="rolesStore"><!-- ... --></roles-context>
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context .store=\${ rolesStore}><!-- ... --></roles-context>

OR

js
const contextElement = document.querySelector("roles-context");
 contextElement.store = store;

You can read more about the context pattern here.

  1. Choose which elements you need and import them like this:
js
import "@darksoil-studio/file-storage-zome/dist/elements/roles-context.js";

And then they are ready be used inside the <roles-context> just like any other HTML tag.

This will define all the elements from this module in the global CustomElementsRegistry. You can read more about Custom Elements here.

  1. Add your preferred shoelace theme in your <head> tag:
html
  <head>
     <link rel="stylesheet" href="path/to/shoelace/dist/themes/light.css" />
   </head>

You can read more about how to initialize the shoelace theme here.


That's it! You have now integrated both the backend and the frontend for the profiles module.

Example

You can see a full working example of the UI working in here.

`,33)]))}const c=i(l,[["render",n]]);export{g as __pageData,c as default}; diff --git a/backend/.rustc_info.json b/backend/.rustc_info.json index 75a60da..29d1232 100644 --- a/backend/.rustc_info.json +++ b/backend/.rustc_info.json @@ -1 +1 @@ -{"rustc_fingerprint":228827764526643180,"outputs":{"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.78.0 (9b00956e5 2024-04-29)\nbinary: rustc\ncommit-hash: 9b00956e56009bab2aa15d7bff10916599e3d6d6\ncommit-date: 2024-04-29\nhost: x86_64-unknown-linux-gnu\nrelease: 1.78.0\nLLVM version: 18.1.2\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/nix/store/1y7dp01zc2v40i7nnlq3gvh9clhnn6gp-rust-minimal-1.78.0\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""}},"successes":{}} \ No newline at end of file +{"rustc_fingerprint":228827764526643180,"outputs":{"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/nix/store/1y7dp01zc2v40i7nnlq3gvh9clhnn6gp-rust-minimal-1.78.0\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_abi=\"\"\ntarget_arch=\"x86_64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"fxsr\"\ntarget_feature=\"sse\"\ntarget_feature=\"sse2\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""},"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.78.0 (9b00956e5 2024-04-29)\nbinary: rustc\ncommit-hash: 9b00956e56009bab2aa15d7bff10916599e3d6d6\ncommit-date: 2024-04-29\nhost: x86_64-unknown-linux-gnu\nrelease: 1.78.0\nLLVM version: 18.1.2\n","stderr":""}},"successes":{}} \ No newline at end of file diff --git a/backend/doc/help.html b/backend/doc/help.html index 99f148f..c4b5bbd 100644 --- a/backend/doc/help.html +++ b/backend/doc/help.html @@ -1,2 +1,2 @@ -Help -

Rustdoc help

Back
\ No newline at end of file +Help +

Rustdoc help

Back
\ No newline at end of file diff --git a/backend/doc/settings.html b/backend/doc/settings.html index 4cf83b5..1bec4eb 100644 --- a/backend/doc/settings.html +++ b/backend/doc/settings.html @@ -1,2 +1,2 @@ -Settings -

Rustdoc settings

Back
\ No newline at end of file +Settings +

Rustdoc settings

Back
\ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage b/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage index 50c6f15..ee82080 100644 --- a/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage +++ b/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage @@ -1 +1 @@ -efa098cb69bc5453 \ No newline at end of file +05b1e0bf1e7f64a9 \ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage.json b/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage.json index 57ad35f..263a603 100644 --- a/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage.json +++ b/backend/release/.fingerprint/file_storage-9ebf578e3c50ca1d/doc-lib-file_storage.json @@ -1 +1 @@ -{"rustc":1059629350237521597,"features":"[]","declared_features":"","target":5135058978674492911,"profile":827317455619428155,"path":17850156052891733425,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[9421938517031136346,"file_storage_integrity",false,7271734079032132722],[17561310600912174232,"hdk",false,17097062081486967824]],"local":[{"Precalculated":"1730997070.463598385s (Cargo.toml)"}],"rustflags":[],"metadata":17628642038445744783,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file +{"rustc":1059629350237521597,"features":"[]","declared_features":"","target":5135058978674492911,"profile":827317455619428155,"path":17850156052891733425,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[9421938517031136346,"file_storage_integrity",false,7271734079032132722],[17561310600912174232,"hdk",false,17097062081486967824]],"local":[{"Precalculated":"1730997385.850500234s (Cargo.toml)"}],"rustflags":[],"metadata":17628642038445744783,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway b/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway index 0dc68bc..c048d62 100644 --- a/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway +++ b/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway @@ -1 +1 @@ -9b50489cf90ba9eb \ No newline at end of file +73dca91bb16a4fa4 \ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway.json b/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway.json index ed531b2..5495022 100644 --- a/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway.json +++ b/backend/release/.fingerprint/file_storage_gateway-6a265671754f217e/doc-lib-file_storage_gateway.json @@ -1 +1 @@ -{"rustc":1059629350237521597,"features":"[]","declared_features":"","target":12233790045540722846,"profile":827317455619428155,"path":14766370662460290509,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[3240399704940170641,"file_storage_gateway_integrity",false,9052680842011693275],[9421938517031136346,"file_storage_integrity",false,7271734079032132722],[17561310600912174232,"hdk",false,17097062081486967824]],"local":[{"Precalculated":"1730997070.463598385s (src/types.rs)"}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file +{"rustc":1059629350237521597,"features":"[]","declared_features":"","target":12233790045540722846,"profile":827317455619428155,"path":14766370662460290509,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[3240399704940170641,"file_storage_gateway_integrity",false,9052680842011693275],[9421938517031136346,"file_storage_integrity",false,7271734079032132722],[17561310600912174232,"hdk",false,17097062081486967824]],"local":[{"Precalculated":"1730997385.850500234s (Cargo.toml)"}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity b/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity index 224e3c6..50137a9 100644 --- a/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity +++ b/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity @@ -1 +1 @@ -ab722e78175db3e0 \ No newline at end of file +9ffe9f832403213e \ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity.json b/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity.json index edb2c1b..1ed5a1d 100644 --- a/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity.json +++ b/backend/release/.fingerprint/file_storage_gateway_integrity-c28c60a1309a9181/doc-lib-file_storage_gateway_integrity.json @@ -1 +1 @@ -{"rustc":1059629350237521597,"features":"[]","declared_features":"","target":6367449335522368866,"profile":827317455619428155,"path":4799060619912637345,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[14835087553131692964,"hdi",false,5727009679194771884]],"local":[{"Precalculated":"1730997070.463598385s (Cargo.toml)"}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file +{"rustc":1059629350237521597,"features":"[]","declared_features":"","target":6367449335522368866,"profile":827317455619428155,"path":4799060619912637345,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[14835087553131692964,"hdi",false,5727009679194771884]],"local":[{"Precalculated":"1730997385.850500234s (Cargo.toml)"}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity b/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity index b000f4f..bc34a1d 100644 --- a/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity +++ b/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity @@ -1 +1 @@ -10c85aa41d0b308f \ No newline at end of file +f3fbbbf30355c8d8 \ No newline at end of file diff --git a/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity.json b/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity.json index a71970e..892cbb9 100644 --- a/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity.json +++ b/backend/release/.fingerprint/file_storage_integrity-b81a32df8709f05c/doc-lib-file_storage_integrity.json @@ -1 +1 @@ -{"rustc":1059629350237521597,"features":"[\"default\", \"externs\"]","declared_features":"","target":4251449040753164583,"profile":827317455619428155,"path":8076843955857483856,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[14835087553131692964,"hdi",false,5727009679194771884]],"local":[{"Precalculated":"1730997070.463598385s (Cargo.toml)"}],"rustflags":[],"metadata":17628642038445744783,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file +{"rustc":1059629350237521597,"features":"[\"default\", \"externs\"]","declared_features":"","target":4251449040753164583,"profile":827317455619428155,"path":8076843955857483856,"deps":[[2511671586729554969,"serde",false,7361000322858205436],[14835087553131692964,"hdi",false,5727009679194771884]],"local":[{"Precalculated":"1730997385.850500234s (Cargo.toml)"}],"rustflags":[],"metadata":17628642038445744783,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file diff --git a/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_5b80f23cda6329ab_0.ll b/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_c426056a57520731_0.ll similarity index 72% rename from backend/release/build/indexmap-45364b675e87a08e/out/autocfg_5b80f23cda6329ab_0.ll rename to backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_c426056a57520731_0.ll index 4e8fd90..ec3bb24 100644 --- a/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_5b80f23cda6329ab_0.ll +++ b/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_c426056a57520731_0.ll @@ -1,5 +1,5 @@ -; ModuleID = 'autocfg_5b80f23cda6329ab_0.298131cbf4edfbb3-cgu.0' -source_filename = "autocfg_5b80f23cda6329ab_0.298131cbf4edfbb3-cgu.0" +; ModuleID = 'autocfg_c426056a57520731_0.699a43b37410de8c-cgu.0' +source_filename = "autocfg_c426056a57520731_0.699a43b37410de8c-cgu.0" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_5b80f23cda6329ab_1.ll b/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_c426056a57520731_1.ll similarity index 72% rename from backend/release/build/indexmap-45364b675e87a08e/out/autocfg_5b80f23cda6329ab_1.ll rename to backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_c426056a57520731_1.ll index fc9dbdf..82281e7 100644 --- a/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_5b80f23cda6329ab_1.ll +++ b/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_c426056a57520731_1.ll @@ -1,5 +1,5 @@ -; ModuleID = 'autocfg_5b80f23cda6329ab_1.f66c94e6f3723de-cgu.0' -source_filename = "autocfg_5b80f23cda6329ab_1.f66c94e6f3723de-cgu.0" +; ModuleID = 'autocfg_c426056a57520731_1.81b48a44fadfb24-cgu.0' +source_filename = "autocfg_c426056a57520731_1.81b48a44fadfb24-cgu.0" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/backend/release/build/lock_api-7fbb775ee7d00605/out/autocfg_820ffe5df0c32c3b_0.ll b/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_93c4619b2c459f1d_0.ll similarity index 72% rename from backend/release/build/lock_api-7fbb775ee7d00605/out/autocfg_820ffe5df0c32c3b_0.ll rename to backend/release/build/indexmap-45364b675e87a08e/out/autocfg_93c4619b2c459f1d_0.ll index 9bb35cc..ada9f54 100644 --- a/backend/release/build/lock_api-7fbb775ee7d00605/out/autocfg_820ffe5df0c32c3b_0.ll +++ b/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_93c4619b2c459f1d_0.ll @@ -1,5 +1,5 @@ -; ModuleID = 'autocfg_820ffe5df0c32c3b_0.23d93ec93c6cc370-cgu.0' -source_filename = "autocfg_820ffe5df0c32c3b_0.23d93ec93c6cc370-cgu.0" +; ModuleID = 'autocfg_93c4619b2c459f1d_0.f455f93cac256718-cgu.0' +source_filename = "autocfg_93c4619b2c459f1d_0.f455f93cac256718-cgu.0" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_4a5838bc0ac0b797_0.ll b/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_93c4619b2c459f1d_1.ll similarity index 72% rename from backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_4a5838bc0ac0b797_0.ll rename to backend/release/build/indexmap-45364b675e87a08e/out/autocfg_93c4619b2c459f1d_1.ll index 0151aea..467bf60 100644 --- a/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_4a5838bc0ac0b797_0.ll +++ b/backend/release/build/indexmap-45364b675e87a08e/out/autocfg_93c4619b2c459f1d_1.ll @@ -1,5 +1,5 @@ -; ModuleID = 'autocfg_4a5838bc0ac0b797_0.61aa513330002c83-cgu.0' -source_filename = "autocfg_4a5838bc0ac0b797_0.61aa513330002c83-cgu.0" +; ModuleID = 'autocfg_93c4619b2c459f1d_1.513f9177b7a9c08d-cgu.0' +source_filename = "autocfg_93c4619b2c459f1d_1.513f9177b7a9c08d-cgu.0" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_4a5838bc0ac0b797_1.ll b/backend/release/build/lock_api-7fbb775ee7d00605/out/autocfg_618fe4ebf9408c99_0.ll similarity index 72% rename from backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_4a5838bc0ac0b797_1.ll rename to backend/release/build/lock_api-7fbb775ee7d00605/out/autocfg_618fe4ebf9408c99_0.ll index c9e4c6d..a86a3f7 100644 --- a/backend/release/build/indexmap-04c71850ff3d78af/out/autocfg_4a5838bc0ac0b797_1.ll +++ b/backend/release/build/lock_api-7fbb775ee7d00605/out/autocfg_618fe4ebf9408c99_0.ll @@ -1,5 +1,5 @@ -; ModuleID = 'autocfg_4a5838bc0ac0b797_1.6cb41d7e8d400ec0-cgu.0' -source_filename = "autocfg_4a5838bc0ac0b797_1.6cb41d7e8d400ec0-cgu.0" +; ModuleID = 'autocfg_618fe4ebf9408c99_0.a29f7f442764ff94-cgu.0' +source_filename = "autocfg_618fe4ebf9408c99_0.a29f7f442764ff94-cgu.0" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" diff --git a/backend/release/build/lock_api-a8cb6ba56fe11fe7/out/autocfg_65182b090769156f_0.ll b/backend/release/build/lock_api-a8cb6ba56fe11fe7/out/autocfg_65182b090769156f_0.ll deleted file mode 100644 index 7bc279f..0000000 --- a/backend/release/build/lock_api-a8cb6ba56fe11fe7/out/autocfg_65182b090769156f_0.ll +++ /dev/null @@ -1,11 +0,0 @@ -; ModuleID = 'autocfg_65182b090769156f_0.57eef6ec522ab46f-cgu.0' -source_filename = "autocfg_65182b090769156f_0.57eef6ec522ab46f-cgu.0" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -!llvm.module.flags = !{!0, !1} -!llvm.ident = !{!2} - -!0 = !{i32 8, !"PIC Level", i32 2} -!1 = !{i32 2, !"RtLibUseGOT", i32 1} -!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/lock_api-a8cb6ba56fe11fe7/out/autocfg_e882950421beeeb3_0.ll b/backend/release/build/lock_api-a8cb6ba56fe11fe7/out/autocfg_e882950421beeeb3_0.ll new file mode 100644 index 0000000..ce743b5 --- /dev/null +++ b/backend/release/build/lock_api-a8cb6ba56fe11fe7/out/autocfg_e882950421beeeb3_0.ll @@ -0,0 +1,11 @@ +; ModuleID = 'autocfg_e882950421beeeb3_0.e30de0f2cbe6fb51-cgu.0' +source_filename = "autocfg_e882950421beeeb3_0.e30de0f2cbe6fb51-cgu.0" +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +!llvm.module.flags = !{!0, !1} +!llvm.ident = !{!2} + +!0 = !{i32 8, !"PIC Level", i32 2} +!1 = !{i32 2, !"RtLibUseGOT", i32 1} +!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/memoffset-768a61514350d2cf/out/autocfg_126d5226695f75db_0.ll b/backend/release/build/memoffset-768a61514350d2cf/out/autocfg_126d5226695f75db_0.ll deleted file mode 100644 index 0876f5e..0000000 --- a/backend/release/build/memoffset-768a61514350d2cf/out/autocfg_126d5226695f75db_0.ll +++ /dev/null @@ -1,11 +0,0 @@ -; ModuleID = 'autocfg_126d5226695f75db_0.e53fbf23b3180c90-cgu.0' -source_filename = "autocfg_126d5226695f75db_0.e53fbf23b3180c90-cgu.0" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -!llvm.module.flags = !{!0, !1} -!llvm.ident = !{!2} - -!0 = !{i32 8, !"PIC Level", i32 2} -!1 = !{i32 2, !"RtLibUseGOT", i32 1} -!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/memoffset-768a61514350d2cf/out/autocfg_9cd19623b83d4123_0.ll b/backend/release/build/memoffset-768a61514350d2cf/out/autocfg_9cd19623b83d4123_0.ll new file mode 100644 index 0000000..477f317 --- /dev/null +++ b/backend/release/build/memoffset-768a61514350d2cf/out/autocfg_9cd19623b83d4123_0.ll @@ -0,0 +1,11 @@ +; ModuleID = 'autocfg_9cd19623b83d4123_0.f3bafbba86921bb5-cgu.0' +source_filename = "autocfg_9cd19623b83d4123_0.f3bafbba86921bb5-cgu.0" +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +!llvm.module.flags = !{!0, !1} +!llvm.ident = !{!2} + +!0 = !{i32 8, !"PIC Level", i32 2} +!1 = !{i32 2, !"RtLibUseGOT", i32 1} +!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/memoffset-a7e37eb0bd169269/out/autocfg_28fd18ba061ad407_0.ll b/backend/release/build/memoffset-a7e37eb0bd169269/out/autocfg_28fd18ba061ad407_0.ll new file mode 100644 index 0000000..4ddad38 --- /dev/null +++ b/backend/release/build/memoffset-a7e37eb0bd169269/out/autocfg_28fd18ba061ad407_0.ll @@ -0,0 +1,11 @@ +; ModuleID = 'autocfg_28fd18ba061ad407_0.34546997e6c64d8b-cgu.0' +source_filename = "autocfg_28fd18ba061ad407_0.34546997e6c64d8b-cgu.0" +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +!llvm.module.flags = !{!0, !1} +!llvm.ident = !{!2} + +!0 = !{i32 8, !"PIC Level", i32 2} +!1 = !{i32 2, !"RtLibUseGOT", i32 1} +!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/memoffset-a7e37eb0bd169269/out/autocfg_e4cda2d07e0011a3_0.ll b/backend/release/build/memoffset-a7e37eb0bd169269/out/autocfg_e4cda2d07e0011a3_0.ll deleted file mode 100644 index 5cc9636..0000000 --- a/backend/release/build/memoffset-a7e37eb0bd169269/out/autocfg_e4cda2d07e0011a3_0.ll +++ /dev/null @@ -1,11 +0,0 @@ -; ModuleID = 'autocfg_e4cda2d07e0011a3_0.a22e9d1e44316875-cgu.0' -source_filename = "autocfg_e4cda2d07e0011a3_0.a22e9d1e44316875-cgu.0" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -!llvm.module.flags = !{!0, !1} -!llvm.ident = !{!2} - -!0 = !{i32 8, !"PIC Level", i32 2} -!1 = !{i32 2, !"RtLibUseGOT", i32 1} -!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_c8b677e437de7c59_0.ll b/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_c8b677e437de7c59_0.ll new file mode 100644 index 0000000..da2d28e --- /dev/null +++ b/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_c8b677e437de7c59_0.ll @@ -0,0 +1,11 @@ +; ModuleID = 'autocfg_c8b677e437de7c59_0.4aa806972bb53dcc-cgu.0' +source_filename = "autocfg_c8b677e437de7c59_0.4aa806972bb53dcc-cgu.0" +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +!llvm.module.flags = !{!0, !1} +!llvm.ident = !{!2} + +!0 = !{i32 8, !"PIC Level", i32 2} +!1 = !{i32 2, !"RtLibUseGOT", i32 1} +!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_e38f2d3cb780cf45_1.ll b/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_c8b677e437de7c59_1.ll similarity index 88% rename from backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_e38f2d3cb780cf45_1.ll rename to backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_c8b677e437de7c59_1.ll index 3f4f2e9..882c6ce 100644 --- a/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_e38f2d3cb780cf45_1.ll +++ b/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_c8b677e437de7c59_1.ll @@ -1,5 +1,5 @@ -; ModuleID = 'autocfg_e38f2d3cb780cf45_1.abfa270ec36bb80c-cgu.0' -source_filename = "autocfg_e38f2d3cb780cf45_1.abfa270ec36bb80c-cgu.0" +; ModuleID = 'autocfg_c8b677e437de7c59_1.4f23545eef4ffd33-cgu.0' +source_filename = "autocfg_c8b677e437de7c59_1.4f23545eef4ffd33-cgu.0" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @@ -8,7 +8,7 @@ target triple = "x86_64-unknown-linux-gnu" ; core::f64::::total_cmp ; Function Attrs: inlinehint nonlazybind uwtable -define internal i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17hff3864b17af1fb14E"(ptr align 8 %self, ptr align 8 %other) unnamed_addr #0 { +define internal i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17h426594bb781f04f9E"(ptr align 8 %self, ptr align 8 %other) unnamed_addr #0 { start: %right = alloca i64, align 8 %left = alloca i64, align 8 @@ -60,12 +60,12 @@ bb6: ; preds = %bb1, %bb5 ret i8 %4 } -; autocfg_e38f2d3cb780cf45_1::probe +; autocfg_c8b677e437de7c59_1::probe ; Function Attrs: nonlazybind uwtable -define void @_ZN26autocfg_e38f2d3cb780cf45_15probe17h99fc07212fb4ec03E() unnamed_addr #1 { +define void @_ZN26autocfg_c8b677e437de7c59_15probe17h6393698d09ccc3d6E() unnamed_addr #1 { start: ; call core::f64::::total_cmp - %_1 = call i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17hff3864b17af1fb14E"(ptr align 8 @alloc_f93507f8ba4b5780b14b2c2584609be0, ptr align 8 @alloc_ef0a1f828f3393ef691f2705e817091c), !range !4 + %_1 = call i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17h426594bb781f04f9E"(ptr align 8 @alloc_f93507f8ba4b5780b14b2c2584609be0, ptr align 8 @alloc_ef0a1f828f3393ef691f2705e817091c), !range !4 ret void } diff --git a/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_e38f2d3cb780cf45_0.ll b/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_e38f2d3cb780cf45_0.ll deleted file mode 100644 index 4886f93..0000000 --- a/backend/release/build/num-traits-46bc2b619fcd2245/out/autocfg_e38f2d3cb780cf45_0.ll +++ /dev/null @@ -1,11 +0,0 @@ -; ModuleID = 'autocfg_e38f2d3cb780cf45_0.e531fb4af3326bb0-cgu.0' -source_filename = "autocfg_e38f2d3cb780cf45_0.e531fb4af3326bb0-cgu.0" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -!llvm.module.flags = !{!0, !1} -!llvm.ident = !{!2} - -!0 = !{i32 8, !"PIC Level", i32 2} -!1 = !{i32 2, !"RtLibUseGOT", i32 1} -!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_5d8caeaca42cda23_0.ll b/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_5d8caeaca42cda23_0.ll deleted file mode 100644 index 991726b..0000000 --- a/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_5d8caeaca42cda23_0.ll +++ /dev/null @@ -1,11 +0,0 @@ -; ModuleID = 'autocfg_5d8caeaca42cda23_0.1fba3ce129d7347c-cgu.0' -source_filename = "autocfg_5d8caeaca42cda23_0.1fba3ce129d7347c-cgu.0" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -!llvm.module.flags = !{!0, !1} -!llvm.ident = !{!2} - -!0 = !{i32 8, !"PIC Level", i32 2} -!1 = !{i32 2, !"RtLibUseGOT", i32 1} -!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_687c94efd439d18b_0.ll b/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_687c94efd439d18b_0.ll new file mode 100644 index 0000000..bd58ad4 --- /dev/null +++ b/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_687c94efd439d18b_0.ll @@ -0,0 +1,11 @@ +; ModuleID = 'autocfg_687c94efd439d18b_0.59c3faf47d4cf6b6-cgu.0' +source_filename = "autocfg_687c94efd439d18b_0.59c3faf47d4cf6b6-cgu.0" +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +!llvm.module.flags = !{!0, !1} +!llvm.ident = !{!2} + +!0 = !{i32 8, !"PIC Level", i32 2} +!1 = !{i32 2, !"RtLibUseGOT", i32 1} +!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_5d8caeaca42cda23_1.ll b/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_687c94efd439d18b_1.ll similarity index 88% rename from backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_5d8caeaca42cda23_1.ll rename to backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_687c94efd439d18b_1.ll index a4a8363..8acaccd 100644 --- a/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_5d8caeaca42cda23_1.ll +++ b/backend/release/build/num-traits-d2cd16d1a97e0d13/out/autocfg_687c94efd439d18b_1.ll @@ -1,5 +1,5 @@ -; ModuleID = 'autocfg_5d8caeaca42cda23_1.9f70b558a85c289c-cgu.0' -source_filename = "autocfg_5d8caeaca42cda23_1.9f70b558a85c289c-cgu.0" +; ModuleID = 'autocfg_687c94efd439d18b_1.1f8c019dcae3950-cgu.0' +source_filename = "autocfg_687c94efd439d18b_1.1f8c019dcae3950-cgu.0" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" @@ -8,7 +8,7 @@ target triple = "x86_64-unknown-linux-gnu" ; core::f64::::total_cmp ; Function Attrs: inlinehint nonlazybind uwtable -define internal i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17hef5ae80bc67efe2dE"(ptr align 8 %self, ptr align 8 %other) unnamed_addr #0 { +define internal i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17h1bd96267624e94c0E"(ptr align 8 %self, ptr align 8 %other) unnamed_addr #0 { start: %right = alloca i64, align 8 %left = alloca i64, align 8 @@ -60,12 +60,12 @@ bb6: ; preds = %bb1, %bb5 ret i8 %4 } -; autocfg_5d8caeaca42cda23_1::probe +; autocfg_687c94efd439d18b_1::probe ; Function Attrs: nonlazybind uwtable -define void @_ZN26autocfg_5d8caeaca42cda23_15probe17h4458f94ffe5dd30dE() unnamed_addr #1 { +define void @_ZN26autocfg_687c94efd439d18b_15probe17h876ac1f776d9d530E() unnamed_addr #1 { start: ; call core::f64::::total_cmp - %_1 = call i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17hef5ae80bc67efe2dE"(ptr align 8 @alloc_f93507f8ba4b5780b14b2c2584609be0, ptr align 8 @alloc_ef0a1f828f3393ef691f2705e817091c), !range !4 + %_1 = call i8 @"_ZN4core3f6421_$LT$impl$u20$f64$GT$9total_cmp17h1bd96267624e94c0E"(ptr align 8 @alloc_f93507f8ba4b5780b14b2c2584609be0, ptr align 8 @alloc_ef0a1f828f3393ef691f2705e817091c), !range !4 ret void } diff --git a/backend/release/build/slab-834c755a1c17732d/out/autocfg_95eb691e0aaf896d_0.ll b/backend/release/build/slab-834c755a1c17732d/out/autocfg_95eb691e0aaf896d_0.ll deleted file mode 100644 index f619add..0000000 --- a/backend/release/build/slab-834c755a1c17732d/out/autocfg_95eb691e0aaf896d_0.ll +++ /dev/null @@ -1,11 +0,0 @@ -; ModuleID = 'autocfg_95eb691e0aaf896d_0.89f693cfa16e1206-cgu.0' -source_filename = "autocfg_95eb691e0aaf896d_0.89f693cfa16e1206-cgu.0" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -!llvm.module.flags = !{!0, !1} -!llvm.ident = !{!2} - -!0 = !{i32 8, !"PIC Level", i32 2} -!1 = !{i32 2, !"RtLibUseGOT", i32 1} -!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/slab-834c755a1c17732d/out/autocfg_e4caf2c83942332b_0.ll b/backend/release/build/slab-834c755a1c17732d/out/autocfg_e4caf2c83942332b_0.ll new file mode 100644 index 0000000..c2fa8db --- /dev/null +++ b/backend/release/build/slab-834c755a1c17732d/out/autocfg_e4caf2c83942332b_0.ll @@ -0,0 +1,11 @@ +; ModuleID = 'autocfg_e4caf2c83942332b_0.3b8ee3959c751b37-cgu.0' +source_filename = "autocfg_e4caf2c83942332b_0.3b8ee3959c751b37-cgu.0" +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +!llvm.module.flags = !{!0, !1} +!llvm.ident = !{!2} + +!0 = !{i32 8, !"PIC Level", i32 2} +!1 = !{i32 2, !"RtLibUseGOT", i32 1} +!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/slab-a14bb16216fc1d43/out/autocfg_247a35b74a8645eb_0.ll b/backend/release/build/slab-a14bb16216fc1d43/out/autocfg_247a35b74a8645eb_0.ll new file mode 100644 index 0000000..83c45ca --- /dev/null +++ b/backend/release/build/slab-a14bb16216fc1d43/out/autocfg_247a35b74a8645eb_0.ll @@ -0,0 +1,11 @@ +; ModuleID = 'autocfg_247a35b74a8645eb_0.fbcb96650a862c4-cgu.0' +source_filename = "autocfg_247a35b74a8645eb_0.fbcb96650a862c4-cgu.0" +target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" +target triple = "x86_64-unknown-linux-gnu" + +!llvm.module.flags = !{!0, !1} +!llvm.ident = !{!2} + +!0 = !{i32 8, !"PIC Level", i32 2} +!1 = !{i32 2, !"RtLibUseGOT", i32 1} +!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/backend/release/build/slab-a14bb16216fc1d43/out/autocfg_750f93a72983b633_0.ll b/backend/release/build/slab-a14bb16216fc1d43/out/autocfg_750f93a72983b633_0.ll deleted file mode 100644 index a32467a..0000000 --- a/backend/release/build/slab-a14bb16216fc1d43/out/autocfg_750f93a72983b633_0.ll +++ /dev/null @@ -1,11 +0,0 @@ -; ModuleID = 'autocfg_750f93a72983b633_0.b34dcf2ab33536fb-cgu.0' -source_filename = "autocfg_750f93a72983b633_0.b34dcf2ab33536fb-cgu.0" -target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -!llvm.module.flags = !{!0, !1} -!llvm.ident = !{!2} - -!0 = !{i32 8, !"PIC Level", i32 2} -!1 = !{i32 2, !"RtLibUseGOT", i32 1} -!2 = !{!"rustc version 1.78.0 (9b00956e5 2024-04-29)"} diff --git a/elements/show-image.html b/elements/show-image.html index 5025acc..b9d97fd 100644 --- a/elements/show-image.html +++ b/elements/show-image.html @@ -53,7 +53,7 @@
Skip to content

<show-image>

Usage

  1. If you haven't already, go through the setup for the module.

  2. Import the <show-image> element somewhere in the javascript side of your web-app like this:

js
import '@darksoil-studio/file-storage-zome/dist/elements/show-image.js'
  1. Use it in the html side of your web-app like this:
html
<show-image>
 </show-image>

WARNING

Like all the elements in this module, <show-image> needs to be placed inside an initialized <file-storage-context>.

Demo

Here is an interactive demo of the element:

API Reference

<show-image> is a custom element, which means that it can be used in any web app or website. Here is the reference for its API:

- + \ No newline at end of file diff --git a/elements/upload-files.html b/elements/upload-files.html index d7c2c4b..c94f3a8 100644 --- a/elements/upload-files.html +++ b/elements/upload-files.html @@ -53,7 +53,7 @@
Skip to content

<upload-files>

Usage

  1. If you haven't already, go through the setup for the module.

  2. Import the <upload-files> element somewhere in the javascript side of your web-app like this:

js
import '@darksoil-studio/file-storage-zome/dist/elements/upload-files.js'
  1. Use it in the html side of your web-app like this:
html
<upload-files>
 </upload-files>

WARNING

Like all the elements in this module, <upload-files> needs to be placed inside an initialized <file-storage-context>.

Demo

Here is an interactive demo of the element:

API Reference

<upload-files> is a custom element, which means that it can be used in any web app or website. Here is the reference for its API:

- + \ No newline at end of file diff --git a/file-storage-client.html b/file-storage-client.html index 4f57c00..6cf8cbb 100644 --- a/file-storage-client.html +++ b/file-storage-client.html @@ -53,7 +53,7 @@ const fileHash: EntryHash = await client.uploadFile(file); console.log(await client.downloadFile(fileHash)); // Will print the file

NOTE

Learn how to setup the AppClient object here.

- + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index e1844e8..829cf3a 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"elements_show-image.md":"TEdZtfFT","elements_upload-files.md":"DNItBXuY","file-storage-client.md":"BZCGISUs","index.md":"-kjHkzgJ","setup.md":"vg48Spnj"} +{"elements_show-image.md":"TEdZtfFT","elements_upload-files.md":"DNItBXuY","file-storage-client.md":"BZCGISUs","index.md":"-kjHkzgJ","setup.md":"CAeu3JFa"} diff --git a/index.html b/index.html index 4423340..bd5bad6 100644 --- a/index.html +++ b/index.html @@ -47,7 +47,7 @@
Skip to content

@darksoil-studio/file-storage

File Storage zome for holochain apps

Plug-and-play file storage for your hApps

- + \ No newline at end of file diff --git a/setup.html b/setup.html index 4f26485..8a2e049 100644 --- a/setup.html +++ b/setup.html @@ -40,7 +40,7 @@ - + @@ -58,11 +58,11 @@ }
  1. Import the <roles-context> element and add it to your html wrapping the whole section of your page in which you are going to be placing the other elements from @darksoil-studio/file-storage-zome:
js
// This can be placed in the index.js, at the top level of your web-app.
 import "@darksoil-studio/file-storage-zome/elements/roles-context.js";

And then add the <roles-context> element in your html:

html
<roles-context>
   <!-- Add here other elements from @darksoil-studio/file-storage-zome -->
-</roles-context>
  1. Attach the rolesStore to the <roles-context> element:
  • Go to this page, select the framework you are using, and follow its example.

You need to set the store property of it to your already instantiated RolesStore object:

  • If you are using some JS framework:
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context [store]="rolesStore"><!-- ... --></roles-context>
html
<roles-context :store="rolesStore"><!-- ... --></roles-context>
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context .store=${ rolesStore}><!-- ... --></roles-context>

OR

  • If you are not using any framework:
js
const contextElement = document.querySelector("roles-context");
+</roles-context>
  1. Attach the rolesStore to the <roles-context> element:
  • Go to this page, select the framework you are using, and follow its example.

You need to set the store property of it to your already instantiated RolesStore object:

  • If you are using some JS framework:
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context [store]="rolesStore"><!-- ... --></roles-context>
html
<roles-context :store="rolesStore"><!-- ... --></roles-context>
html
<roles-context store={ rolesStore}><!-- ... --></roles-context>
html
<roles-context .store=${ rolesStore}><!-- ... --></roles-context>

OR

  • If you are not using any framework:
js
const contextElement = document.querySelector("roles-context");
 contextElement.store = store;

You can read more about the context pattern here.

  1. Choose which elements you need and import them like this:
js
import "@darksoil-studio/file-storage-zome/dist/elements/roles-context.js";

And then they are ready be used inside the <roles-context> just like any other HTML tag.

This will define all the elements from this module in the global CustomElementsRegistry. You can read more about Custom Elements here.

  1. Add your preferred shoelace theme in your <head> tag:
html
  <head>
     <link rel="stylesheet" href="path/to/shoelace/dist/themes/light.css" />
   </head>

You can read more about how to initialize the shoelace theme here.


That's it! You have now integrated both the backend and the frontend for the profiles module.

Example

You can see a full working example of the UI working in here.

- + \ No newline at end of file