Skip to content

Commit

Permalink
rename to index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Sep 12, 2023
1 parent e095e0c commit 0947d1f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ic, Manual, nat, Principal, query, Service, text, update } from 'azle';
import Canister2 from '../canister2/canister2';
import Canister2 from '../canister2';

// Composite query calling a query
class Canister1 extends Service {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ic, Manual, nat, Principal, query, Service, text, update } from 'azle';
import Canister3 from '../canister3/canister3';
import Canister3 from '../canister3';

export default class extends Service {
canister3 = new Canister3(
Expand Down
12 changes: 6 additions & 6 deletions examples/composite_queries/dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"type": "custom",
"build": "npx azle canister1",
"root": "canisters/canister1",
"ts": "canisters/canister1/canister1.ts",
"candid": "canisters/canister1/canister1.did",
"ts": "canisters/canister1/index.ts",
"candid": "canisters/canister1/index.did",
"wasm": ".azle/canister1/canister1.wasm.gz",
"declarations": {
"output": "test/dfx_generated/canister1",
Expand All @@ -17,8 +17,8 @@
"type": "custom",
"build": "npx azle canister2",
"root": "canisters/canister2",
"ts": "canisters/canister2/canister2.ts",
"candid": "canisters/canister2/canister2.did",
"ts": "canisters/canister2/index.ts",
"candid": "canisters/canister2/index.did",
"wasm": ".azle/canister2/canister2.wasm.gz",
"declarations": {
"output": "test/dfx_generated/canister2",
Expand All @@ -30,8 +30,8 @@
"type": "custom",
"build": "npx azle canister3",
"root": "canisters/canister3",
"ts": "canisters/canister3/canister3.ts",
"candid": "canisters/canister3/canister3.did",
"ts": "canisters/canister3/index.ts",
"candid": "canisters/canister3/index.did",
"wasm": ".azle/canister3/canister3.wasm.gz",
"declarations": {
"output": "test/dfx_generated/canister3",
Expand Down

0 comments on commit 0947d1f

Please sign in to comment.