Skip to content

Commit

Permalink
dfx generate
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Nov 25, 2024
1 parent 38206bd commit 830dca6
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions apps/wallet/src/generated/station/station.did
Original file line number Diff line number Diff line change
Expand Up @@ -825,22 +825,22 @@ type SnapshotExternalCanisterOperationInput = record {
// The canister to snapshot.
canister_id : principal;
// A snapshot to be replaced.
replace_snapshot : opt blob;
replace_snapshot : opt text;
// Should a snapshot be taken if the external canister fails to stop.
force : bool;
};

type SnapshotExternalCanisterOperation = record {
input : SnapshotExternalCanisterOperationInput;
// The snapshot id of the new snapshot.
snapshot_id : opt blob;
snapshot_id : opt text;
};

type RestoreExternalCanisterOperationInput = record {
// The canister to restore from a snapshot.
canister_id : principal;
// A snapshot to be restored.
snapshot_id : blob;
snapshot_id : text;
};

type RestoreExternalCanisterOperation = record {
Expand Down Expand Up @@ -2693,8 +2693,8 @@ type CanisterSnapshotsInput = record {
};

type CanisterSnapshotsResponse = vec record {
id : blob;
taken_at_timestamp : nat64;
snapshot_id : text;
taken_at_timestamp : TimestampRFC3339;
total_size : nat64;
};

Expand Down
10 changes: 5 additions & 5 deletions apps/wallet/src/generated/station/station.did.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ export interface CanisterMethod {
export interface CanisterSnapshotsInput { 'canister_id' : Principal }
export type CanisterSnapshotsResponse = Array<
{
'id' : Uint8Array | number[],
'total_size' : bigint,
'taken_at_timestamp' : bigint,
'taken_at_timestamp' : TimestampRFC3339,
'snapshot_id' : string,
}
>;
export type CanisterSnapshotsResult = { 'Ok' : CanisterSnapshotsResponse } |
Expand Down Expand Up @@ -1119,7 +1119,7 @@ export interface RestoreExternalCanisterOperation {
}
export interface RestoreExternalCanisterOperationInput {
'canister_id' : Principal,
'snapshot_id' : Uint8Array | number[],
'snapshot_id' : string,
}
export interface SetDisasterRecoveryOperation {
'committee' : [] | [DisasterRecoveryCommittee],
Expand All @@ -1130,11 +1130,11 @@ export interface SetDisasterRecoveryOperationInput {
export type Sha256Hash = string;
export interface SnapshotExternalCanisterOperation {
'input' : SnapshotExternalCanisterOperationInput,
'snapshot_id' : [] | [Uint8Array | number[]],
'snapshot_id' : [] | [string],
}
export interface SnapshotExternalCanisterOperationInput {
'force' : boolean,
'replace_snapshot' : [] | [Uint8Array | number[]],
'replace_snapshot' : [] | [string],
'canister_id' : Principal,
}
export type SortByDirection = { 'Asc' : null } |
Expand Down
10 changes: 5 additions & 5 deletions apps/wallet/src/generated/station/station.did.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ export const idlFactory = ({ IDL }) => {
});
const SnapshotExternalCanisterOperationInput = IDL.Record({
'force' : IDL.Bool,
'replace_snapshot' : IDL.Opt(IDL.Vec(IDL.Nat8)),
'replace_snapshot' : IDL.Opt(IDL.Text),
'canister_id' : IDL.Principal,
});
const SnapshotExternalCanisterOperation = IDL.Record({
'input' : SnapshotExternalCanisterOperationInput,
'snapshot_id' : IDL.Opt(IDL.Vec(IDL.Nat8)),
'snapshot_id' : IDL.Opt(IDL.Text),
});
const Allow = IDL.Record({
'user_groups' : IDL.Vec(UUID),
Expand Down Expand Up @@ -593,7 +593,7 @@ export const idlFactory = ({ IDL }) => {
});
const RestoreExternalCanisterOperationInput = IDL.Record({
'canister_id' : IDL.Principal,
'snapshot_id' : IDL.Vec(IDL.Nat8),
'snapshot_id' : IDL.Text,
});
const RestoreExternalCanisterOperation = IDL.Record({
'input' : RestoreExternalCanisterOperationInput,
Expand Down Expand Up @@ -674,9 +674,9 @@ export const idlFactory = ({ IDL }) => {
const CanisterSnapshotsInput = IDL.Record({ 'canister_id' : IDL.Principal });
const CanisterSnapshotsResponse = IDL.Vec(
IDL.Record({
'id' : IDL.Vec(IDL.Nat8),
'total_size' : IDL.Nat64,
'taken_at_timestamp' : IDL.Nat64,
'taken_at_timestamp' : TimestampRFC3339,
'snapshot_id' : IDL.Text,
})
);
const CanisterSnapshotsResult = IDL.Variant({
Expand Down

0 comments on commit 830dca6

Please sign in to comment.