mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
Chore/unexport api ts (#2585)
* don't export api params * import from SDK instead of BE --------- Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ActionId } from "./ActionId";
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type ActionParams = {
|
||||
id: PackageId;
|
||||
actionId: ActionId;
|
||||
input: { [key: string]: any } | null;
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { ImageId } from "./ImageId";
|
||||
|
||||
export type AddImageParams = { id: ImageId; image: string };
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { SshPubKey } from "./SshPubKey";
|
||||
|
||||
export type AddParams = { key: SshPubKey };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ApplyParams = { expr: string; path: string | null };
|
||||
@@ -1,7 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { EncryptedWire } from "./EncryptedWire";
|
||||
|
||||
export type AttachParams = {
|
||||
startOsPassword: EncryptedWire | null;
|
||||
guid: string;
|
||||
};
|
||||
@@ -1,11 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BackupTargetId } from "./BackupTargetId";
|
||||
import type { PackageId } from "./PackageId";
|
||||
import type { PasswordType } from "./PasswordType";
|
||||
|
||||
export type BackupParams = {
|
||||
targetId: BackupTargetId;
|
||||
oldPassword: PasswordType | null;
|
||||
packageIds: Array<PackageId> | null;
|
||||
password: PasswordType;
|
||||
};
|
||||
@@ -1,7 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BlockDev } from "./BlockDev";
|
||||
import type { Cifs } from "./Cifs";
|
||||
|
||||
export type BackupTargetFS =
|
||||
| ({ type: "disk" } & BlockDev)
|
||||
| ({ type: "cifs" } & Cifs);
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type BackupTargetId = string;
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type BlockDev = { logicalname: string };
|
||||
@@ -1,8 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type Cifs = {
|
||||
hostname: string;
|
||||
path: string;
|
||||
username: string;
|
||||
password: string | null;
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type ConfigParams = { id: PackageId };
|
||||
@@ -1,7 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type ConfigureParams = {
|
||||
dependentId: PackageId;
|
||||
dependencyId: PackageId;
|
||||
};
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type ConnectParams = { id: PackageId };
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type ControlParams = { id: PackageId };
|
||||
@@ -1,10 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { NotificationLevel } from "./NotificationLevel";
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type CreateParams = {
|
||||
package: PackageId | null;
|
||||
level: NotificationLevel;
|
||||
title: string;
|
||||
message: string;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type DeleteBeforeParams = { before: number };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type DeleteParams = { fingerprint: string };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type DumpParams = {};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type EchoParams = { message: string };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type EditManifestParams = { expression: string };
|
||||
@@ -1,10 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { EncryptedWire } from "./EncryptedWire";
|
||||
import type { RecoverySource } from "./RecoverySource";
|
||||
|
||||
export type ExecuteParams = {
|
||||
startOsLogicalname: string;
|
||||
startOsPassword: EncryptedWire;
|
||||
recoverySource: RecoverySource | null;
|
||||
recoveryPassword: EncryptedWire | null;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type GetParams = { url: string };
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Governor } from "./Governor";
|
||||
|
||||
export type GovernorParams = { set: Governor | null };
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BackupTargetId } from "./BackupTargetId";
|
||||
|
||||
export type InfoParams = { targetId: BackupTargetId; password: string };
|
||||
@@ -1,10 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { MinMax } from "./MinMax";
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type InstallParams = {
|
||||
id: PackageId;
|
||||
marketplaceUrl: string | null;
|
||||
versionSpec: string | null;
|
||||
versionPriority: MinMax | null;
|
||||
};
|
||||
@@ -1,8 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type KernelLogsParams = {
|
||||
limit: number | null;
|
||||
cursor: string | null;
|
||||
before: boolean;
|
||||
follow: boolean;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type KillParams = { ids: Array<string> };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ListParams = { before: number | null; limit: number | null };
|
||||
@@ -1,8 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PasswordType } from "./PasswordType";
|
||||
|
||||
export type LoginParams = {
|
||||
password: PasswordType | null;
|
||||
userAgent: string | null;
|
||||
metadata: any;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type LogoutParams = { session: string };
|
||||
@@ -1,8 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type LogsParams = {
|
||||
limit: number | null;
|
||||
cursor: string | null;
|
||||
before: boolean;
|
||||
follow: boolean;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type MinMax = "min" | "max";
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type NotificationLevel = "success" | "info" | "warning" | "error";
|
||||
@@ -1,6 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BackupTargetFS } from "./BackupTargetFS";
|
||||
|
||||
export type RecoverySource =
|
||||
| { type: "migrate"; guid: string }
|
||||
| { type: "backup"; target: BackupTargetFS };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type RemoveParams = { guid: string };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ResetParams = { wipeState: boolean; reason: string };
|
||||
@@ -1,7 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PasswordType } from "./PasswordType";
|
||||
|
||||
export type ResetPasswordParams = {
|
||||
oldPassword: PasswordType | null;
|
||||
newPassword: PasswordType | null;
|
||||
};
|
||||
@@ -1,9 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BackupTargetId } from "./BackupTargetId";
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type RestorePackageParams = {
|
||||
ids: Array<PackageId>;
|
||||
targetId: BackupTargetId;
|
||||
password: string;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type SetCountryParams = { country: string };
|
||||
@@ -1,7 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Duration } from "./Duration";
|
||||
|
||||
export type SetParams = {
|
||||
timeout: Duration | null;
|
||||
config: { [key: string]: any } | null;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type SshPubKey = string;
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type SsidParams = { ssid: string };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type UiParams = { pointer: string; value: any };
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { BackupTargetId } from "./BackupTargetId";
|
||||
|
||||
export type UmountParams = { targetId: BackupTargetId | null };
|
||||
@@ -1,4 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { PackageId } from "./PackageId";
|
||||
|
||||
export type UninstallParams = { id: PackageId };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type UpdateParams = { interface: string };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type UpdateSystemParams = { marketplaceUrl: string };
|
||||
@@ -1,9 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { EncryptedWire } from "./EncryptedWire";
|
||||
|
||||
export type VerifyCifsParams = {
|
||||
hostname: string;
|
||||
path: string;
|
||||
username: string;
|
||||
password: EncryptedWire | null;
|
||||
};
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type VerifyParams = { path: string };
|
||||
@@ -1,3 +0,0 @@
|
||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type ZramParams = { enable: boolean };
|
||||
@@ -1,8 +1,5 @@
|
||||
export { ActionId } from "./ActionId";
|
||||
export { ActionMetadata } from "./ActionMetadata";
|
||||
export { ActionParams } from "./ActionParams";
|
||||
export { AddImageParams } from "./AddImageParams";
|
||||
export { AddParams } from "./AddParams";
|
||||
export { AddressInfo } from "./AddressInfo";
|
||||
export { AddSslOptions } from "./AddSslOptions";
|
||||
export { Alerts } from "./Alerts";
|
||||
@@ -10,30 +7,16 @@ export { Algorithm } from "./Algorithm";
|
||||
export { AllowedStatuses } from "./AllowedStatuses";
|
||||
export { AllPackageData } from "./AllPackageData";
|
||||
export { AlpnInfo } from "./AlpnInfo";
|
||||
export { ApplyParams } from "./ApplyParams";
|
||||
export { AttachParams } from "./AttachParams";
|
||||
export { BackupParams } from "./BackupParams";
|
||||
export { BackupProgress } from "./BackupProgress";
|
||||
export { BackupTargetFS } from "./BackupTargetFS";
|
||||
export { BackupTargetId } from "./BackupTargetId";
|
||||
export { BindInfo } from "./BindInfo";
|
||||
export { BindOptions } from "./BindOptions";
|
||||
export { BindParams } from "./BindParams";
|
||||
export { BlockDev } from "./BlockDev";
|
||||
export { Callback } from "./Callback";
|
||||
export { ChrootParams } from "./ChrootParams";
|
||||
export { Cifs } from "./Cifs";
|
||||
export { ConfigParams } from "./ConfigParams";
|
||||
export { ConfigureParams } from "./ConfigureParams";
|
||||
export { ConnectParams } from "./ConnectParams";
|
||||
export { ControlParams } from "./ControlParams";
|
||||
export { CreateOverlayedImageParams } from "./CreateOverlayedImageParams";
|
||||
export { CreateParams } from "./CreateParams";
|
||||
export { CurrentDependencies } from "./CurrentDependencies";
|
||||
export { CurrentDependencyInfo } from "./CurrentDependencyInfo";
|
||||
export { DataUrl } from "./DataUrl";
|
||||
export { DeleteBeforeParams } from "./DeleteBeforeParams";
|
||||
export { DeleteParams } from "./DeleteParams";
|
||||
export { Dependencies } from "./Dependencies";
|
||||
export { DependencyConfigErrors } from "./DependencyConfigErrors";
|
||||
export { DependencyKind } from "./DependencyKind";
|
||||
@@ -41,13 +24,9 @@ export { DependencyRequirement } from "./DependencyRequirement";
|
||||
export { DepInfo } from "./DepInfo";
|
||||
export { Description } from "./Description";
|
||||
export { DestroyOverlayedImageParams } from "./DestroyOverlayedImageParams";
|
||||
export { DumpParams } from "./DumpParams";
|
||||
export { Duration } from "./Duration";
|
||||
export { EchoParams } from "./EchoParams";
|
||||
export { EditManifestParams } from "./EditManifestParams";
|
||||
export { EncryptedWire } from "./EncryptedWire";
|
||||
export { ExecuteAction } from "./ExecuteAction";
|
||||
export { ExecuteParams } from "./ExecuteParams";
|
||||
export { ExportActionParams } from "./ExportActionParams";
|
||||
export { ExportedHostInfo } from "./ExportedHostInfo";
|
||||
export { ExportedHostnameInfo } from "./ExportedHostnameInfo";
|
||||
@@ -58,7 +37,6 @@ export { ExposeForDependentsParams } from "./ExposeForDependentsParams";
|
||||
export { FullProgress } from "./FullProgress";
|
||||
export { GetHostInfoParamsKind } from "./GetHostInfoParamsKind";
|
||||
export { GetHostInfoParams } from "./GetHostInfoParams";
|
||||
export { GetParams } from "./GetParams";
|
||||
export { GetPrimaryUrlParams } from "./GetPrimaryUrlParams";
|
||||
export { GetServiceInterfaceParams } from "./GetServiceInterfaceParams";
|
||||
export { GetServicePortForwardParams } from "./GetServicePortForwardParams";
|
||||
@@ -66,7 +44,6 @@ export { GetSslCertificateParams } from "./GetSslCertificateParams";
|
||||
export { GetSslKeyParams } from "./GetSslKeyParams";
|
||||
export { GetStoreParams } from "./GetStoreParams";
|
||||
export { GetSystemSmtpParams } from "./GetSystemSmtpParams";
|
||||
export { GovernorParams } from "./GovernorParams";
|
||||
export { Governor } from "./Governor";
|
||||
export { HardwareRequirements } from "./HardwareRequirements";
|
||||
export { HealthCheckId } from "./HealthCheckId";
|
||||
@@ -77,27 +54,17 @@ export { HostInfo } from "./HostInfo";
|
||||
export { HostKind } from "./HostKind";
|
||||
export { Host } from "./Host";
|
||||
export { ImageId } from "./ImageId";
|
||||
export { InfoParams } from "./InfoParams";
|
||||
export { InstalledState } from "./InstalledState";
|
||||
export { InstallingInfo } from "./InstallingInfo";
|
||||
export { InstallingState } from "./InstallingState";
|
||||
export { InstallParams } from "./InstallParams";
|
||||
export { IpInfo } from "./IpInfo";
|
||||
export { KernelLogsParams } from "./KernelLogsParams";
|
||||
export { KillParams } from "./KillParams";
|
||||
export { ListParams } from "./ListParams";
|
||||
export { ListServiceInterfacesParams } from "./ListServiceInterfacesParams";
|
||||
export { LoginParams } from "./LoginParams";
|
||||
export { LogoutParams } from "./LogoutParams";
|
||||
export { LogsParams } from "./LogsParams";
|
||||
export { MainStatus } from "./MainStatus";
|
||||
export { Manifest } from "./Manifest";
|
||||
export { MaybeUtf8String } from "./MaybeUtf8String";
|
||||
export { MinMax } from "./MinMax";
|
||||
export { MountParams } from "./MountParams";
|
||||
export { MountTarget } from "./MountTarget";
|
||||
export { NamedProgress } from "./NamedProgress";
|
||||
export { NotificationLevel } from "./NotificationLevel";
|
||||
export { PackageDataEntry } from "./PackageDataEntry";
|
||||
export { PackageId } from "./PackageId";
|
||||
export { PackageState } from "./PackageState";
|
||||
@@ -106,13 +73,8 @@ export { ParamsPackageId } from "./ParamsPackageId";
|
||||
export { PasswordType } from "./PasswordType";
|
||||
export { Progress } from "./Progress";
|
||||
export { Public } from "./Public";
|
||||
export { RecoverySource } from "./RecoverySource";
|
||||
export { RemoveActionParams } from "./RemoveActionParams";
|
||||
export { RemoveAddressParams } from "./RemoveAddressParams";
|
||||
export { RemoveParams } from "./RemoveParams";
|
||||
export { ResetParams } from "./ResetParams";
|
||||
export { ResetPasswordParams } from "./ResetPasswordParams";
|
||||
export { RestorePackageParams } from "./RestorePackageParams";
|
||||
export { ReverseProxyBind } from "./ReverseProxyBind";
|
||||
export { ReverseProxyDestination } from "./ReverseProxyDestination";
|
||||
export { ReverseProxyHttp } from "./ReverseProxyHttp";
|
||||
@@ -129,24 +91,12 @@ export { SessionList } from "./SessionList";
|
||||
export { Sessions } from "./Sessions";
|
||||
export { Session } from "./Session";
|
||||
export { SetConfigured } from "./SetConfigured";
|
||||
export { SetCountryParams } from "./SetCountryParams";
|
||||
export { SetDependenciesParams } from "./SetDependenciesParams";
|
||||
export { SetHealth } from "./SetHealth";
|
||||
export { SetMainStatus } from "./SetMainStatus";
|
||||
export { SetParams } from "./SetParams";
|
||||
export { SetStoreParams } from "./SetStoreParams";
|
||||
export { SshPubKey } from "./SshPubKey";
|
||||
export { SsidParams } from "./SsidParams";
|
||||
export { Status } from "./Status";
|
||||
export { UiParams } from "./UiParams";
|
||||
export { UmountParams } from "./UmountParams";
|
||||
export { UninstallParams } from "./UninstallParams";
|
||||
export { UpdateParams } from "./UpdateParams";
|
||||
export { UpdateProgress } from "./UpdateProgress";
|
||||
export { UpdateSystemParams } from "./UpdateSystemParams";
|
||||
export { UpdatingState } from "./UpdatingState";
|
||||
export { VerifyCifsParams } from "./VerifyCifsParams";
|
||||
export { VerifyParams } from "./VerifyParams";
|
||||
export { VolumeId } from "./VolumeId";
|
||||
export { WifiInfo } from "./WifiInfo";
|
||||
export { ZramParams } from "./ZramParams";
|
||||
|
||||
@@ -51,7 +51,6 @@ pub fn display_action_result(params: WithIoFormat<ActionParams>, result: ActionR
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ActionParams {
|
||||
#[arg(id = "id")]
|
||||
#[serde(rename = "id")]
|
||||
|
||||
@@ -183,7 +183,6 @@ pub fn check_password_against_db(db: &DatabaseModel, password: &str) -> Result<(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct LoginParams {
|
||||
password: Option<PasswordType>,
|
||||
#[serde(default)]
|
||||
@@ -226,7 +225,6 @@ pub async fn login_impl(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct LogoutParams {
|
||||
#[ts(type = "string")]
|
||||
session: InternedString,
|
||||
@@ -320,7 +318,6 @@ fn display_sessions(params: WithIoFormat<ListParams>, arg: SessionList) {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ListParams {
|
||||
#[arg(skip)]
|
||||
#[ts(skip)]
|
||||
@@ -357,7 +354,6 @@ impl AsLogoutSessionId for KillSessionId {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct KillParams {
|
||||
ids: Vec<String>,
|
||||
}
|
||||
@@ -371,7 +367,6 @@ pub async fn kill(ctx: RpcContext, KillParams { ids }: KillParams) -> Result<(),
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ResetPasswordParams {
|
||||
old_password: Option<PasswordType>,
|
||||
new_password: Option<PasswordType>,
|
||||
|
||||
@@ -33,7 +33,6 @@ use crate::version::VersionT;
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct BackupParams {
|
||||
target_id: BackupTargetId,
|
||||
#[arg(long = "old-password")]
|
||||
|
||||
@@ -28,7 +28,6 @@ use crate::util::serde::IoFormat;
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct RestorePackageParams {
|
||||
pub ids: Vec<PackageId>,
|
||||
pub target_id: BackupTargetId,
|
||||
|
||||
@@ -71,7 +71,6 @@ pub fn cifs() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct AddParams {
|
||||
pub hostname: String,
|
||||
pub path: PathBuf,
|
||||
@@ -126,7 +125,6 @@ pub async fn add(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct UpdateParams {
|
||||
pub id: BackupTargetId,
|
||||
pub hostname: String,
|
||||
@@ -191,7 +189,6 @@ pub async fn update(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct RemoveParams {
|
||||
pub id: BackupTargetId,
|
||||
}
|
||||
|
||||
@@ -247,7 +247,6 @@ fn display_backup_info(params: WithIoFormat<InfoParams>, info: BackupInfo) {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct InfoParams {
|
||||
target_id: BackupTargetId,
|
||||
password: String,
|
||||
@@ -282,7 +281,6 @@ lazy_static::lazy_static! {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct MountParams {
|
||||
target_id: BackupTargetId,
|
||||
password: String,
|
||||
@@ -318,7 +316,6 @@ pub async fn mount(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct UmountParams {
|
||||
target_id: Option<BackupTargetId>,
|
||||
}
|
||||
|
||||
@@ -129,7 +129,6 @@ pub enum MatchError {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ConfigParams {
|
||||
pub id: PackageId,
|
||||
}
|
||||
@@ -160,7 +159,6 @@ pub async fn get(ctx: RpcContext, _: Empty, id: PackageId) -> Result<ConfigRes,
|
||||
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export)]
|
||||
pub struct SetParams {
|
||||
#[arg(long = "timeout")]
|
||||
pub timeout: Option<crate::util::serde::Duration>,
|
||||
|
||||
@@ -13,7 +13,6 @@ use crate::Error;
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ControlParams {
|
||||
pub id: PackageId,
|
||||
}
|
||||
|
||||
@@ -219,7 +219,6 @@ async fn cli_dump(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct DumpParams {
|
||||
#[arg(long = "include-private", short = 'p')]
|
||||
#[serde(default)]
|
||||
@@ -277,7 +276,6 @@ async fn cli_apply(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ApplyParams {
|
||||
expr: String,
|
||||
path: Option<PathBuf>,
|
||||
@@ -316,7 +314,6 @@ pub fn put() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct UiParams {
|
||||
#[ts(type = "string")]
|
||||
pointer: JsonPointer,
|
||||
|
||||
@@ -46,7 +46,6 @@ pub struct DepInfo {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ConfigureParams {
|
||||
dependent_id: PackageId,
|
||||
dependency_id: PackageId,
|
||||
|
||||
@@ -44,7 +44,6 @@ pub fn error(ctx: DiagnosticContext) -> Result<Arc<RpcError>, Error> {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct LogsParams {
|
||||
#[ts(type = "number | null")]
|
||||
limit: Option<usize>,
|
||||
|
||||
@@ -26,7 +26,6 @@ pub fn inspect() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct HashParams {
|
||||
path: PathBuf,
|
||||
}
|
||||
@@ -42,7 +41,6 @@ pub async fn hash(_: CliContext, HashParams { path }: HashParams) -> Result<Stri
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ManifestParams {
|
||||
path: PathBuf,
|
||||
#[arg(long = "no-verify")]
|
||||
@@ -61,7 +59,6 @@ pub async fn manifest(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct InspectParams {
|
||||
path: PathBuf,
|
||||
#[arg(long = "no-verify")]
|
||||
@@ -94,7 +91,6 @@ pub async fn icon(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct InstructionParams {
|
||||
path: PathBuf,
|
||||
#[arg(long = "no-verify")]
|
||||
|
||||
@@ -106,7 +106,6 @@ impl std::fmt::Display for MinMax {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct InstallParams {
|
||||
id: PackageId,
|
||||
#[arg(short = 'm', long = "marketplace-url")]
|
||||
@@ -397,7 +396,6 @@ pub async fn cli_install(ctx: CliContext, params: CliInstallParams) -> Result<()
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct UninstallParams {
|
||||
id: PackageId,
|
||||
}
|
||||
|
||||
@@ -83,7 +83,6 @@ use crate::util::serde::HandlerExtSerde;
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct EchoParams {
|
||||
message: String,
|
||||
}
|
||||
|
||||
@@ -353,7 +353,6 @@ pub async fn list(ctx: RpcContext) -> Result<Vec<InternedString>, Error> {
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[ts(export)]
|
||||
pub struct RemoveParams {
|
||||
#[ts(type = "string")]
|
||||
pub guid: InternedString,
|
||||
@@ -367,7 +366,6 @@ pub async fn remove(ctx: RpcContext, RemoveParams { guid }: RemoveParams) -> Res
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[ts(export)]
|
||||
pub struct ConnectParams {
|
||||
#[ts(type = "string")]
|
||||
pub guid: InternedString,
|
||||
|
||||
@@ -64,7 +64,6 @@ pub fn dhcp() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct UpdateParams {
|
||||
interface: String,
|
||||
}
|
||||
|
||||
@@ -108,7 +108,6 @@ pub fn tor() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ResetParams {
|
||||
#[arg(name = "wipe-state", short = 'w', long = "wipe-state")]
|
||||
wipe_state: bool,
|
||||
@@ -147,7 +146,6 @@ pub async fn list_services(ctx: RpcContext, _: Empty) -> Result<Vec<OnionAddress
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct LogsParams {
|
||||
#[arg(short = 'l', long = "limit")]
|
||||
#[ts(type = "number | null")]
|
||||
|
||||
@@ -91,7 +91,6 @@ pub fn country() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct AddParams {
|
||||
ssid: String,
|
||||
password: String,
|
||||
@@ -143,7 +142,6 @@ pub async fn add(ctx: RpcContext, AddParams { ssid, password }: AddParams) -> Re
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct SsidParams {
|
||||
ssid: String,
|
||||
}
|
||||
@@ -408,7 +406,6 @@ pub async fn get_available(ctx: RpcContext, _: Empty) -> Result<Vec<WifiListOut>
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct SetCountryParams {
|
||||
#[arg(value_parser = CountryCodeParser)]
|
||||
#[ts(type = "string")]
|
||||
|
||||
@@ -52,7 +52,6 @@ pub fn notification() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ListParams {
|
||||
#[ts(type = "number | null")]
|
||||
before: Option<u32>,
|
||||
@@ -117,7 +116,6 @@ pub async fn list(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct DeleteParams {
|
||||
#[ts(type = "number")]
|
||||
id: u32,
|
||||
@@ -134,7 +132,6 @@ pub async fn delete(ctx: RpcContext, DeleteParams { id }: DeleteParams) -> Resul
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct DeleteBeforeParams {
|
||||
#[ts(type = "number")]
|
||||
before: u32,
|
||||
@@ -159,7 +156,6 @@ pub async fn delete_before(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct CreateParams {
|
||||
package: Option<PackageId>,
|
||||
level: NotificationLevel,
|
||||
|
||||
@@ -116,7 +116,6 @@ async fn partition(disk: &mut DiskInfo, overwrite: bool) -> Result<OsPartitionIn
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ExecuteParams {
|
||||
logicalname: PathBuf,
|
||||
#[arg(short = 'o')]
|
||||
|
||||
@@ -40,7 +40,6 @@ pub fn with_query_params(ctx: RpcContext, mut url: Url) -> Url {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct GetParams {
|
||||
#[ts(type = "string")]
|
||||
url: Url,
|
||||
|
||||
@@ -69,7 +69,6 @@ fn inspect() -> ParentHandler<S9pkPath> {
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[ts(export)]
|
||||
struct AddImageParams {
|
||||
id: ImageId,
|
||||
image: String,
|
||||
@@ -186,7 +185,6 @@ async fn add_image(
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[ts(export)]
|
||||
struct EditManifestParams {
|
||||
expression: String,
|
||||
}
|
||||
|
||||
@@ -16,7 +16,6 @@ pub const SIG_CONTEXT: &[u8] = b"s9pk";
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct VerifyParams {
|
||||
pub path: PathBuf,
|
||||
}
|
||||
|
||||
@@ -501,7 +501,6 @@ impl Actor for ServiceActor {
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[ts(export)]
|
||||
pub struct ConnectParams {
|
||||
pub id: PackageId,
|
||||
}
|
||||
|
||||
@@ -102,7 +102,6 @@ async fn setup_init(
|
||||
|
||||
#[derive(Deserialize, Serialize, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export)]
|
||||
pub struct AttachParams {
|
||||
#[serde(rename = "startOsPassword")]
|
||||
password: Option<EncryptedWire>,
|
||||
@@ -214,7 +213,6 @@ pub fn cifs() -> ParentHandler {
|
||||
|
||||
#[derive(Deserialize, Serialize, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export)]
|
||||
pub struct VerifyCifsParams {
|
||||
hostname: String,
|
||||
path: PathBuf,
|
||||
@@ -258,7 +256,6 @@ pub enum RecoverySource {
|
||||
|
||||
#[derive(Deserialize, Serialize, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export)]
|
||||
pub struct ExecuteParams {
|
||||
start_os_logicalname: PathBuf,
|
||||
start_os_password: EncryptedWire,
|
||||
|
||||
@@ -107,7 +107,6 @@ pub fn ssh() -> ParentHandler {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct AddParams {
|
||||
key: SshPubKey,
|
||||
}
|
||||
@@ -141,7 +140,6 @@ pub async fn add(ctx: RpcContext, AddParams { key }: AddParams) -> Result<SshKey
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct DeleteParams {
|
||||
#[ts(type = "string")]
|
||||
fingerprint: InternedString,
|
||||
|
||||
@@ -77,7 +77,6 @@ pub async fn enable_zram() -> Result<(), Error> {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct ZramParams {
|
||||
enable: bool,
|
||||
}
|
||||
@@ -140,7 +139,6 @@ fn display_governor_info(params: WithIoFormat<GovernorParams>, result: GovernorI
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct GovernorParams {
|
||||
set: Option<Governor>,
|
||||
}
|
||||
@@ -235,7 +233,6 @@ pub async fn time(ctx: RpcContext, _: Empty) -> Result<TimeInfo, Error> {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct LogsParams {
|
||||
#[arg(short = 'l', long = "limit")]
|
||||
#[ts(type = "number | null")]
|
||||
@@ -321,7 +318,6 @@ pub async fn logs_follow(
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct KernelLogsParams {
|
||||
#[arg(short = 'l', long = "limit")]
|
||||
#[ts(type = "number | null")]
|
||||
|
||||
@@ -38,7 +38,6 @@ lazy_static! {
|
||||
#[derive(Deserialize, Serialize, Parser, TS)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[command(rename_all = "kebab-case")]
|
||||
#[ts(export)]
|
||||
pub struct UpdateSystemParams {
|
||||
#[ts(type = "string")]
|
||||
marketplace_url: Url,
|
||||
|
||||
Reference in New Issue
Block a user