chore: regenerate SDK TypeScript bindings for metrics types

This commit is contained in:
Aiden McClelland
2026-03-31 20:52:41 -06:00
parent 3de91687f1
commit 7c304eef02
8 changed files with 71 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type CountEntry = { label: string; count: bigint }

View File

@@ -0,0 +1,9 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CountEntry } from './CountEntry'
import type { PackageVersionCount } from './PackageVersionCount'
export type DownloadsResponse = {
totalRequests: bigint
byPackage: Array<CountEntry>
byPackageVersion: Array<PackageVersionCount>
}

View File

@@ -0,0 +1,20 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type GetDownloadsParams = {
/**
* Filter by package ID
*/
pkgId: string | null
/**
* Filter by version
*/
version: string | null
/**
* Start of time range (RFC 3339)
*/
after: string | null
/**
* End of time range (RFC 3339)
*/
before: string | null
}

View File

@@ -0,0 +1,12 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type GetUsersParams = {
/**
* Start of time range (RFC 3339)
*/
after: string | null
/**
* End of time range (RFC 3339)
*/
before: string | null
}

View File

@@ -0,0 +1,10 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { CountEntry } from './CountEntry'
export type MetricsSummary = {
totalCheckins: bigint
uniqueServers: bigint
totalPackageRequests: bigint
byArch: Array<CountEntry>
byOsVersion: Array<CountEntry>
}

View File

@@ -0,0 +1,7 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type PackageVersionCount = {
pkgId: string
version: string
count: bigint
}

View File

@@ -0,0 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type UsersResponse = { uniqueServers: bigint; totalCheckins: bigint }

View File

@@ -74,6 +74,7 @@ export { ClearTasksParams } from './ClearTasksParams'
export { CliSetIconParams } from './CliSetIconParams'
export { ContactInfo } from './ContactInfo'
export { ControlParams } from './ControlParams'
export { CountEntry } from './CountEntry'
export { CreateSubcontainerFsParams } from './CreateSubcontainerFsParams'
export { CreateTaskParams } from './CreateTaskParams'
export { CurrentDependencies } from './CurrentDependencies'
@@ -90,6 +91,7 @@ export { DestroySubcontainerFsParams } from './DestroySubcontainerFsParams'
export { DeviceFilter } from './DeviceFilter'
export { DnsSettings } from './DnsSettings'
export { DomainSettings } from './DomainSettings'
export { DownloadsResponse } from './DownloadsResponse'
export { Duration } from './Duration'
export { EchoParams } from './EchoParams'
export { EditSignerParams } from './EditSignerParams'
@@ -110,6 +112,7 @@ export { GenerateCertificateParams } from './GenerateCertificateParams'
export { GenerateCertificateResponse } from './GenerateCertificateResponse'
export { GetActionInputParams } from './GetActionInputParams'
export { GetContainerIpParams } from './GetContainerIpParams'
export { GetDownloadsParams } from './GetDownloadsParams'
export { GetHostInfoParams } from './GetHostInfoParams'
export { GetOsAssetParams } from './GetOsAssetParams'
export { GetOsVersionParams } from './GetOsVersionParams'
@@ -124,6 +127,7 @@ export { GetSslCertificateParams } from './GetSslCertificateParams'
export { GetSslKeyParams } from './GetSslKeyParams'
export { GetStatusParams } from './GetStatusParams'
export { GetSystemSmtpParams } from './GetSystemSmtpParams'
export { GetUsersParams } from './GetUsersParams'
export { GigaBytes } from './GigaBytes'
export { GitHash } from './GitHash'
export { Governor } from './Governor'
@@ -175,6 +179,7 @@ export { MetricsDisk } from './MetricsDisk'
export { MetricsFollowResponse } from './MetricsFollowResponse'
export { MetricsGeneral } from './MetricsGeneral'
export { MetricsMemory } from './MetricsMemory'
export { MetricsSummary } from './MetricsSummary'
export { Metrics } from './Metrics'
export { ModifyNotificationBeforeParams } from './ModifyNotificationBeforeParams'
export { ModifyNotificationParams } from './ModifyNotificationParams'
@@ -202,6 +207,7 @@ export { PackageInfoShort } from './PackageInfoShort'
export { PackageInfo } from './PackageInfo'
export { PackagePlugin } from './PackagePlugin'
export { PackageState } from './PackageState'
export { PackageVersionCount } from './PackageVersionCount'
export { PackageVersionInfo } from './PackageVersionInfo'
export { PartitionInfo } from './PartitionInfo'
export { PassthroughInfo } from './PassthroughInfo'
@@ -300,6 +306,7 @@ export { UrlPluginClearUrlsParams } from './UrlPluginClearUrlsParams'
export { UrlPluginExportUrlParams } from './UrlPluginExportUrlParams'
export { UrlPluginRegisterParams } from './UrlPluginRegisterParams'
export { UrlPluginRegistration } from './UrlPluginRegistration'
export { UsersResponse } from './UsersResponse'
export { VerifyCifsParams } from './VerifyCifsParams'
export { VersionSignerParams } from './VersionSignerParams'
export { Version } from './Version'