Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion tests/data/output.did
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type DbConfig = record { max_memory_size : opt ConfigMaxMemorySize };
type DelDoc = record { version : opt nat64 };
type DelRule = record { version : opt nat64 };
type DeleteControllersArgs = record { controllers : vec principal };
type DemoArg = record { status : text; message : text };
type DepositCyclesArgs = record { cycles : nat; destination_id : principal };
type Doc = record {
updated_at : nat64;
Expand Down Expand Up @@ -117,6 +118,7 @@ type ListResults_1 = record {
type Memory = variant { Heap; Stable };
type MemorySize = record { stable : nat64; heap : nat64 };
type Permission = variant { Controllers; Private; Public; Managed };
type Result = variant { Ok : text; Err : text };
type Rule = record {
max_capacity : opt nat32;
memory : opt Memory;
Expand Down Expand Up @@ -195,7 +197,6 @@ type UploadChunk = record {
};
type UploadChunkResult = record { chunk_id : nat };
service : {
build_version : () -> (text) query;
commit_asset_upload : (CommitBatch) -> ();
count_assets : (text, ListParams) -> (nat64) query;
count_collection_assets : (text) -> (nat64) query;
Expand All @@ -212,6 +213,7 @@ service : {
del_many_assets : (vec record { text; text }) -> ();
del_many_docs : (vec record { text; text; DelDoc }) -> ();
del_rule : (RulesType, text, DelRule) -> ();
demo : (DemoArg) -> (Result) query;
deposit_cycles : (DepositCyclesArgs) -> ();
get_asset : (text, text) -> (opt AssetNoContent) query;
get_auth_config : () -> (opt AuthenticationConfig) query;
Expand All @@ -236,6 +238,7 @@ service : {
list_docs : (text, ListParams) -> (ListResults_1) query;
list_rules : (RulesType) -> (vec record { text; Rule }) query;
memory_size : () -> (MemorySize) query;
say : () -> () query;
set_auth_config : (AuthenticationConfig) -> ();
set_controllers : (SetControllersArgs) -> (
vec record { principal; Controller },
Expand Down
Loading