-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1351 from demergent-labs/fix_list_of_lists
update list_of_lists example
- Loading branch information
Showing
2 changed files
with
89 additions
and
114 deletions.
There are no files selected for viewing
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,34 +1,30 @@ | ||
type rec_0 = record {age:nat8; name:text}; | ||
type rec_1 = record {age:nat8; name:text}; | ||
type rec_2 = variant {gas; solid; liquid}; | ||
type rec_3 = variant {gas; solid; liquid}; | ||
service: () -> { | ||
listOfStringOne: (vec text) -> (vec text) query; | ||
listOfStringTwo: (vec vec text) -> (vec vec text) query; | ||
listOfStringFour: (vec vec vec vec text) -> (vec vec vec vec text) query; | ||
listOfListOfInt8: () -> (vec vec vec vec vec vec vec int8) query; | ||
listOfNull: (vec vec vec null) -> (vec vec vec null) query; | ||
listOfBlob: (vec vec nat8) -> (vec vec nat8) query; | ||
listOfBool: (vec vec vec bool) -> (vec vec vec bool) query; | ||
listOfString: (vec vec vec text) -> (vec vec vec text) query; | ||
listOfOptionString: (vec vec vec opt text) -> (vec vec vec opt text) query; | ||
listOfEmpty: () -> (vec vec vec empty) query; | ||
listOfReserved: () -> (vec vec vec reserved) query; | ||
listOfFunc: (vec vec vec func (text) -> (text) query) -> (vec vec vec func (text) -> (text) query) query; | ||
listOfPrincipal: (vec vec vec principal) -> (vec vec vec principal) query; | ||
listOfF64: (vec vec vec float64) -> (vec vec vec float64) query; | ||
listOfF32: (vec vec vec float32) -> (vec vec vec float32) query; | ||
listOfF64: (vec vec vec float64) -> (vec vec vec float64) query; | ||
listOfFunc: (vec vec vec func (text) -> (text) query) -> (vec vec vec func (text) -> (text) query) query; | ||
listOfInt: (vec vec vec int) -> (vec vec vec int) query; | ||
listOfInt64: (vec vec vec int64) -> (vec vec vec int64) query; | ||
listOfInt32: (vec vec vec int32) -> (vec vec vec int32) query; | ||
listOfInt16: (vec vec vec int16) -> (vec vec vec int16) query; | ||
listOfInt32: (vec vec vec int32) -> (vec vec vec int32) query; | ||
listOfInt64: (vec vec vec int64) -> (vec vec vec int64) query; | ||
listOfInt8: (vec vec vec int8) -> (vec vec vec int8) query; | ||
listOfListOfBlob: (vec vec vec nat8) -> (vec vec vec nat8) query; | ||
listOfListOfInt8: () -> (vec vec vec vec vec vec vec int8) query; | ||
listOfNat: (vec vec vec nat) -> (vec vec vec nat) query; | ||
listOfNat64: (vec vec vec nat64) -> (vec vec vec nat64) query; | ||
listOfNat32: (vec vec vec nat32) -> (vec vec vec nat32) query; | ||
listOfNat16: (vec vec vec nat16) -> (vec vec vec nat16) query; | ||
listOfNat32: (vec vec vec nat32) -> (vec vec vec nat32) query; | ||
listOfNat64: (vec vec vec nat64) -> (vec vec vec nat64) query; | ||
listOfNat8: (vec vec vec nat8) -> (vec vec vec nat8) query; | ||
listOfRecord: (vec vec vec rec_0) -> (vec vec vec rec_1) query; | ||
listOfVariant: (vec vec vec rec_2) -> (vec vec vec rec_3) query; | ||
listOfBlob: (vec vec nat8) -> (vec vec nat8) query; | ||
listOfListOfBlob: (vec vec vec nat8) -> (vec vec vec nat8) query; | ||
listOfNull: (vec vec vec null) -> (vec vec vec null) query; | ||
listOfOptionString: (vec vec vec opt text) -> (vec vec vec opt text) query; | ||
listOfPrincipal: (vec vec vec principal) -> (vec vec vec principal) query; | ||
listOfRecord: (vec vec vec record {age:nat8; name:text}) -> (vec vec vec record {age:nat8; name:text}) query; | ||
listOfReserved: () -> (vec vec vec reserved) query; | ||
listOfString: (vec vec vec text) -> (vec vec vec text) query; | ||
listOfStringFour: (vec vec vec vec text) -> (vec vec vec vec text) query; | ||
listOfStringOne: (vec text) -> (vec text) query; | ||
listOfStringTwo: (vec vec text) -> (vec vec text) query; | ||
listOfVariant: (vec vec vec variant {gas; solid; liquid}) -> (vec vec vec variant {gas; solid; liquid}) query; | ||
} |
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