Skip to content

Commit

Permalink
do not reimplement the full object
Browse files Browse the repository at this point in the history
  • Loading branch information
keplervital committed Sep 30, 2024
1 parent a4f65ab commit 129033b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/station/api/src/external_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,7 @@ pub struct CreateExternalCanisterOperationInput {
pub request_policies: ExternalCanisterRequestPoliciesInput,
}

#[derive(CandidType, serde::Serialize, Deserialize, Debug, Clone)]
pub struct ExternalCanisterPermissionsCreateInput {
pub read: AllowDTO,
pub change: AllowDTO,
pub calls: Vec<ExternalCanisterCallPermissionDTO>,
}
pub type ExternalCanisterPermissionsCreateInput = ExternalCanisterPermissionsDTO;

#[derive(CandidType, serde::Serialize, Deserialize, Debug, Clone)]
pub struct ExternalCanisterPermissionsUpdateInput {
Expand Down

0 comments on commit 129033b

Please sign in to comment.