-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcandid-client.toml
44 lines (31 loc) · 1.23 KB
/
candid-client.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Base namespace for all generated files
namespace = "Rogues"
# Will create a subfolder within this directory with all the files
output-directory = "./Assets/GAME/Clients"
# Will override default boundry node url (like for local development)
# Only useful for generating clients from a canister id
#url = "https://localhost:8000"
# Will make generated files in a flat structure with no folders, for all clients
#no-folders = true
[[clients]]
# Defines name folder and api client class name
name = "ClickerGame"
# Get definition from a *.did file
type = "canister"
# Path to the *.did file to use
canister-id = "mdx42-oyaaa-aaaam-ac2ba-cai"
# Or use the following to get definition from a canister
# and remove type and file-path from above
# Get the definition from a live canister on the IC
#type = "canister"
# Canister to pull definition from
#canister-id = "rrkah-fqaaa-aaaaa-aaaaq-cai"
# Override base output directory, but this specifies the subfolder
#output-directory = "./Clients/MyS"
# Will make generated files in a flat structure with no folders, for this client
#no-folders = true
# Can specify multiple clients by creating another [[clients]]
#[[clients]]
#name = "MyClient2"
#type = "file"
#file-path = "../MyService2.did"