@le-space/shared-types 0.3.10 → 0.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +25 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -288,4 +288,28 @@ interface DeploymentInspectionResult extends MessageInspectionResult {
288
288
  type MessageSigner = (sender: string, payload: string) => Promise<string>;
289
289
  type MessageHasher = (payload: string) => Promise<string> | string;
290
290
 
291
- export type { AlephAggregateContent, AlephBroadcastMessage, AlephBroadcastResponse, AlephInstanceContent, AlephMessageType, AlephSenderChain, CrnRecord, CrnSystemUsage, DeploymentInspectionResult, DeploymentIntent, DeploymentIntentEnvelope, DeploymentProgressEvent, DeploymentProgressListener, DeploymentProgressStage, DeploymentResult, GatewayProbeStatus, InstanceAllocation, InstanceAllocationNode, InstanceAllocationPeriod, InstanceExecution, InstanceExecutionNetworking, InstanceExecutionStatus, InstanceRuntimeDetails, InstanceWebAccess, MessageHasher, MessageInspectionResult, MessageReference, MessageSigner, MessageStatus, PortForwardAggregate, PortForwardAggregateEntry, PortForwardFlags, PortMapping, ReferenceStatus, RootfsInstallStrategy, RootfsManifest, RootfsManifestState, RootfsRequiredPortForward, RootfsResolution, RuntimeDiagnostics, RuntimeMetadata };
291
+ type VmBootstrapConfigStatus = 'pending' | 'applied' | 'expired' | 'failed';
292
+ interface VmBootstrapConfigRuntime {
293
+ publicIpv4: string;
294
+ publicIpv6?: string | null;
295
+ proxyUrl?: string | null;
296
+ mappedPorts: Record<string, PortMapping>;
297
+ }
298
+ interface VmBootstrapConfigBootstrap {
299
+ registrationId?: string | null;
300
+ ownerAuthorizationBase64?: string | null;
301
+ }
302
+ interface VmBootstrapConfigRecord {
303
+ deploymentToken: string;
304
+ profile: string;
305
+ ownerAddress: string;
306
+ instanceItemHash: string;
307
+ createdAt: string;
308
+ expiresAt: string;
309
+ status: VmBootstrapConfigStatus;
310
+ runtime: VmBootstrapConfigRuntime;
311
+ bootstrap?: VmBootstrapConfigBootstrap | null;
312
+ }
313
+ type VmBootstrapConfigAggregate = Record<string, VmBootstrapConfigRecord>;
314
+
315
+ export type { AlephAggregateContent, AlephBroadcastMessage, AlephBroadcastResponse, AlephInstanceContent, AlephMessageType, AlephSenderChain, CrnRecord, CrnSystemUsage, DeploymentInspectionResult, DeploymentIntent, DeploymentIntentEnvelope, DeploymentProgressEvent, DeploymentProgressListener, DeploymentProgressStage, DeploymentResult, GatewayProbeStatus, InstanceAllocation, InstanceAllocationNode, InstanceAllocationPeriod, InstanceExecution, InstanceExecutionNetworking, InstanceExecutionStatus, InstanceRuntimeDetails, InstanceWebAccess, MessageHasher, MessageInspectionResult, MessageReference, MessageSigner, MessageStatus, PortForwardAggregate, PortForwardAggregateEntry, PortForwardFlags, PortMapping, ReferenceStatus, RootfsInstallStrategy, RootfsManifest, RootfsManifestState, RootfsRequiredPortForward, RootfsResolution, RuntimeDiagnostics, RuntimeMetadata, VmBootstrapConfigAggregate, VmBootstrapConfigBootstrap, VmBootstrapConfigRecord, VmBootstrapConfigRuntime, VmBootstrapConfigStatus };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@le-space/shared-types",
3
- "version": "0.3.10",
3
+ "version": "0.3.12",
4
4
  "description": "Shared type contracts for the shared Aleph tooling monorepo.",
5
5
  "license": "MIT",
6
6
  "type": "module",