Skip to content

Commit

Permalink
Fixed getAllDeletes signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Jul 4, 2024
1 parent 65271c7 commit f1e1462
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import { {{pascal_case entry_type.name}} } from './types.js';
return this.callZome('delete_{{snake_case entry_type.name}}', original{{pascal_case entry_type.name}}Hash);
}

getAllDeletesFor{{pascal_case entry_type.name}}(original{{pascal_case entry_type.name}}Hash: ActionHash): Promise<Array<SignedActionHashed<Delete>>> {
getAllDeletesFor{{pascal_case entry_type.name}}(original{{pascal_case entry_type.name}}Hash: ActionHash): Promise<Array<SignedActionHashed<Delete>> | undefined> {
return this.callZome('get_all_deletes_for_{{snake_case entry_type.name}}', original{{pascal_case entry_type.name}}Hash);
}

Expand Down
2 changes: 1 addition & 1 deletion templates/app/web-app/tests/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@msgpack/msgpack": "^2.8.0",
"@holochain/client": "^0.17.0",
"@holochain/tryorama": "{{tryorama_version}}",
"@holochain-open-dev/signals": "^0.300.0",
"@holochain-open-dev/signals": "^0.300.3",
"@holochain-open-dev/utils": "^0.300.0",
"typescript": "^5.4.5",
"vitest": "^1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion templates/app/web-app/ui/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"dependencies": {
"@holochain/client": "^0.17.0",
"@holochain-open-dev/elements": "^0.300.0",
"@holochain-open-dev/signals": "^0.300.0",
"@holochain-open-dev/signals": "^0.300.3",
"@holochain-open-dev/utils": "^0.300.0",
"@lit/context": "^1.0.0",
"@lit/localize": "^0.12.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import { {{pascal_case entry_type.name}} } from './types.js';
return this.callZome('delete_{{snake_case entry_type.name}}', original{{pascal_case entry_type.name}}Hash);
}

getAllDeletesFor{{pascal_case entry_type.name}}(original{{pascal_case entry_type.name}}Hash: ActionHash): Promise<Array<SignedActionHashed<Delete>>> {
getAllDeletesFor{{pascal_case entry_type.name}}(original{{pascal_case entry_type.name}}Hash: ActionHash): Promise<Array<SignedActionHashed<Delete>> | undefined> {
return this.callZome('get_all_deletes_for_{{snake_case entry_type.name}}', original{{pascal_case entry_type.name}}Hash);
}

Expand Down
2 changes: 1 addition & 1 deletion templates/zome/web-app/tests/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@msgpack/msgpack": "^2.8.0",
"@holochain/client": "^0.17.0",
"@holochain/tryorama": "{{tryorama_version}}",
"@holochain-open-dev/signals": "^0.300.0",
"@holochain-open-dev/signals": "^0.300.3",
"@holochain-open-dev/utils": "^0.300.0",
"typescript": "^5.4.5",
"vitest": "^1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion templates/zome/web-app/ui/package.json.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@holochain/client": "^0.17.0",
"@holochain-open-dev/elements": "^0.300.0",
"@holochain-open-dev/profiles": "github:holochain-open-dev/profiles#nixify&path:ui",
"@holochain-open-dev/signals": "^0.300.0",
"@holochain-open-dev/signals": "^0.300.3",
"@holochain-open-dev/utils": "^0.300.0",
"@lit/context": "^1.0.0",
"@lit/localize": "^0.12.0",
Expand Down
2 changes: 1 addition & 1 deletion templates/zome/web-app/workdir/happ.nix.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
, self'
, ...
}: {
packages.{{snake_case app_name}}_test_app = inputs.hc-infra.outputs.lib.happ {
packages.{{snake_case app_name}}_test_happ = inputs.hc-infra.outputs.lib.happ {
holochain = inputs'.holochain;
happManifest = ./happ.yaml;

Expand Down

0 comments on commit f1e1462

Please sign in to comment.