-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8596fb9
commit 31925fd
Showing
34 changed files
with
684 additions
and
244 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
templates/app/coordinator-zome/dnas/{{dna_role_name}}/dna.nix.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{{#merge previous_file_content}} | ||
{{#match_scope "zomes = {"}} | ||
{{previous_scope_content}} | ||
{{zome_manifest.name}} = self'.packages.{{zome_manifest.name}}; | ||
{{zome_manifest.name}} = self'.packages.{{zome_manifest.name}}; | ||
{{/match_scope}} | ||
{{/merge}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
{{#each entry_type.fields}} | ||
{{#if (and widget (eq widget "Image"))}} | ||
You have scaffolded an entry type with an image field. | ||
You have scaffolded an entry type with an image field. The image must be stored in the "file-storage" zome, that you can find at https://github.com/holochain-open-dev/file-storage. You must include this zome at least once in your app to enable "Image" as a field type. | ||
|
||
Scaffold the file-storage zome in one of your DNAs by running these commands, if you haven't already: | ||
If you haven't already, scaffold the file-storage zome in one of your DNAs by running these commands: | ||
|
||
pnpm add -F ui github:holochain-open-dev/file-storage#main&path:ui | ||
hc-scaffold zome file_storage --coordinator dnas/{{../dna_role_name}}/zomes/coordinator --integrity dnas/{{../dna_role_name}}/zomes/integrity | ||
rm -rf dnas/{{../dna_role_name}}/zomes/coordinator/file-storage | ||
rm -rf dnas/{{../dna_role_name}}/zomes/integrity/file-storage | ||
head -n -5 Cargo.toml > Cargo.tmp && mv Cargo.tmp Cargo.toml | ||
nix run github:holochain-open-dev/file-storage/nixify#scaffold | ||
{{/if}} | ||
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
templates/app/integrity-zome/dnas/{{dna_role_name}}/dna.nix.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{{#merge previous_file_content}} | ||
{{#match_scope "zomes = {"}} | ||
{{previous_scope_content}} | ||
{{zome_manifest.name}} = self'.packages.{{zome_manifest.name}}; | ||
{{/match_scope}} | ||
{{/merge}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
templates/app/web-app/.github/actions/extend-space/action.yaml.hbs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.